mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
New option to shift Z coordinates
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user