- TclCommand Geocutout is now creating a new geometry object when working on a geometry, preserving also the origin object

This commit is contained in:
Marius Stanciu
2019-06-03 04:47:29 +03:00
parent c409df0a8e
commit 2a30101bb0
6 changed files with 110 additions and 72 deletions

View File

@@ -415,7 +415,7 @@ class CutOut(FlatCAMTool):
object_geo = cutout_obj.solid_geometry
try:
_ = iter(object_geo)
__ = iter(object_geo)
except TypeError:
object_geo = [object_geo]
@@ -565,7 +565,7 @@ class CutOut(FlatCAMTool):
object_geo = cutout_obj.solid_geometry
try:
_ = iter(object_geo)
__ = iter(object_geo)
except TypeError:
object_geo = [object_geo]