mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 21:14:01 -06:00
New option to shift Z coordinates
This commit is contained in:
parent
92eb3ea365
commit
8d13d4b21e
3 changed files with 5 additions and 1 deletions
|
@ -187,7 +187,7 @@ sub export_gcode {
|
|||
foreach my $layer (@{ $self->layers }) {
|
||||
|
||||
# go to layer
|
||||
printf $fh $extruder->move_z($layer->z * $Slic3r::resolution);
|
||||
printf $fh $extruder->move_z($Slic3r::z_offset + $layer->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