New option to specify G-code to be used at layer change. #279

This commit is contained in:
Alessandro Ranellucci 2012-03-26 12:14:15 +02:00
parent bf964b5273
commit 1a06e35687
6 changed files with 24 additions and 10 deletions

View file

@ -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;
}