mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
New option to specify G-code to be used at layer change. #279
This commit is contained in:
@@ -49,6 +49,9 @@ sub change_layer {
|
||||
$gcode .= $self->G0(undef, $z, 0, 'move to next layer')
|
||||
if $self->z != $z;
|
||||
|
||||
$gcode .= Slic3r::Config->replace_options($Slic3r::layer_gcode) . "\n"
|
||||
if $Slic3r::layer_gcode;
|
||||
|
||||
return $gcode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user