mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 09:02:53 +00:00
@@ -705,14 +705,6 @@ sub write_gcode {
|
||||
}
|
||||
}
|
||||
|
||||
# apply Z offset
|
||||
if ($Slic3r::Config->z_offset > 0) {
|
||||
printf $fh "G1 Z%s ; set Z offset\n", $Slic3r::Config->z_offset;
|
||||
print $fh "G92 Z0 ; set Z offset\n";
|
||||
} elsif ($Slic3r::Config->z_offset < 0) {
|
||||
printf $fh "G92 Z%s ; set Z offset\n", 1*(-$Slic3r::Config->z_offset);
|
||||
}
|
||||
|
||||
# calculate X,Y shift to center print around specified origin
|
||||
my @print_bb = $self->bounding_box;
|
||||
my @shift = (
|
||||
|
||||
Reference in New Issue
Block a user