- made sure that for the Tcl command cncjob when using the dpp parameter (multi depth) the value is always positive, as expected

- the `cutout` Tcl command creates a non-multigeo Geometry object
This commit is contained in:
Marius Stanciu
2022-01-27 14:36:24 +02:00
committed by Marius
parent d6d251173c
commit b003b95022
5 changed files with 14 additions and 5 deletions

View File

@@ -5900,6 +5900,8 @@ class CNCjob(Geometry):
return 'fail'
self.z_depthpercut = float(depthpercut) if depthpercut is not None and depthpercut != 0 else abs(self.z_cut)
# must be a positive value
self.z_depthpercut = abs(self.z_depthpercut)
self.multidepth = multidepth
self.z_toolchange = float(toolchangez) if toolchangez is not None else \
self.app.defaults["tools_mill_toolchangez"]