Use G92 to apply Z offset. #486

This commit is contained in:
Alessandro Ranellucci 2012-10-29 19:54:04 +01:00
parent 709cbc1c15
commit 887634e1e2
2 changed files with 9 additions and 1 deletions

View file

@ -71,7 +71,7 @@ sub move_z {
my $self = shift;
my ($z, $comment) = @_;
$z = $Slic3r::Config->z_offset + $z * &Slic3r::SCALING_FACTOR;
$z = $z * &Slic3r::SCALING_FACTOR;
my $gcode = "";
$gcode .= $self->retract(move_z => $z);