sl2/slicer.pl: use same Z offset calculation as slicer.py

Else, we don't mill into the workpiece but into its support.
This commit is contained in:
Werner Almesberger 2015-09-29 16:48:28 -03:00
parent 8af4f45573
commit 66adb05ad9
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ $height = $zmax - $zmin unless defined $height;
# align with bottom (zmin == 0), z_pos = height - zoff
$z_off = -$zmin - $height;
$z_off = -$zmin;
$z_pos = $height + $zmin;