1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 19:51:08 +02:00

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

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;