mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Switch print_z to unscaled coordinates
This commit is contained in:
parent
3bcb2f04ed
commit
51de3ce14f
5 changed files with 11 additions and 12 deletions
|
@ -119,12 +119,11 @@ sub change_layer {
|
|||
return $gcode;
|
||||
}
|
||||
|
||||
# this method accepts Z in scaled coordinates
|
||||
# this method accepts Z in unscaled coordinates
|
||||
sub move_z {
|
||||
my $self = shift;
|
||||
my ($z, $comment) = @_;
|
||||
|
||||
$z *= &Slic3r::SCALING_FACTOR;
|
||||
$z += $self->config->z_offset;
|
||||
|
||||
my $gcode = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue