mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Print first layer at Z = 1 * layer_height instead of zero like it was until now. #17
This commit is contained in:
parent
b4e268efad
commit
0b42139e54
3 changed files with 10 additions and 3 deletions
|
@ -431,7 +431,7 @@ sub export_gcode {
|
|||
# write gcode commands layer by layer
|
||||
foreach my $layer (@{ $self->layers }) {
|
||||
# go to layer
|
||||
printf $fh $extruder->move_z($Slic3r::z_offset + $layer->z * $Slic3r::resolution);
|
||||
printf $fh $extruder->move_z($Slic3r::z_offset + $layer->print_z * $Slic3r::resolution);
|
||||
|
||||
# extrude skirts
|
||||
printf $fh $extruder->extrude_loop($_, 'skirt') for @{ $layer->skirts };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue