mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 19:03:56 +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:
parent
8af4f45573
commit
66adb05ad9
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user