Put layer number in G-code comments. #327
This commit is contained in:
parent
7ee08be0b8
commit
d58a741d99
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ sub change_layer {
|
||||||
my $gcode = "";
|
my $gcode = "";
|
||||||
|
|
||||||
$gcode .= $self->retract(move_z => $z);
|
$gcode .= $self->retract(move_z => $z);
|
||||||
$gcode .= $self->G0(undef, $z, 0, 'move to next layer')
|
$gcode .= $self->G0(undef, $z, 0, 'move to next layer (' . $layer->id . ')')
|
||||||
if $self->z != $z;
|
if $self->z != $z;
|
||||||
|
|
||||||
$gcode .= Slic3r::Config->replace_options($Slic3r::layer_gcode) . "\n"
|
$gcode .= Slic3r::Config->replace_options($Slic3r::layer_gcode) . "\n"
|
||||||
|
|
Loading…
Reference in a new issue