- 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

@@ -991,8 +991,8 @@ class GeometryObject(FlatCAMObj, Geometry):
:param spindlespeed: Spindle speed (RPM)
:param dwell:
:param dwelltime:
:param multidepth:
:param dpp: Depth for each pass when multidepth parameter is True
:param multidepth: Bool: If True use the `dpp` parameter
:param dpp: Depth for each pass when multidepth parameter is True. Positive value.
:param toolchange:
:param toolchangez:
:param toolchangexy: A sequence ox X,Y coordinates: a 2-length tuple or a string.
@@ -1011,7 +1011,7 @@ class GeometryObject(FlatCAMObj, Geometry):
:return: None
"""
self.app.log.debug("FlatCAMGeometry.generatecncjob()")
self.app.log.debug("FlatCAMGeometry.GeometryObject.generatecncjob()")
tooldia = dia if dia else float(self.options["tools_mill_tooldia"])
outname = outname if outname is not None else self.options["name"]