mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2025-04-21 12:27:27 +03: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:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user