- added to the NonCopperClear.clear_copper() a parameter to be able to run it non-threaded
This commit is contained in:
@@ -111,5 +111,7 @@ class TclCommandCncjob(TclCommandSignaled):
|
||||
# HACK !!! Should be solved elsewhere!!!
|
||||
# default option for multidepth is False
|
||||
obj.options['multidepth'] = False
|
||||
|
||||
obj.generatecncjob(use_thread=False, **args)
|
||||
if not obj.multigeo:
|
||||
obj.generatecncjob(use_thread=False, **args)
|
||||
else:
|
||||
self.raise_tcl_error('The object is a multi-geo geometry which is not supported in cncjob Tcl Command')
|
||||
@@ -225,7 +225,8 @@ class TclCommandCopperClear(TclCommand):
|
||||
connect=connect,
|
||||
contour=contour,
|
||||
rest=rest,
|
||||
tools_storage=ncc_tools)
|
||||
tools_storage=ncc_tools,
|
||||
run_threaded=False)
|
||||
return
|
||||
|
||||
# Non-Copper clear all polygons found within the box object from the the non_copper cleared object
|
||||
@@ -257,7 +258,8 @@ class TclCommandCopperClear(TclCommand):
|
||||
connect=connect,
|
||||
contour=contour,
|
||||
rest=rest,
|
||||
tools_storage=ncc_tools)
|
||||
tools_storage=ncc_tools,
|
||||
run_threaded=False)
|
||||
return
|
||||
else:
|
||||
self.raise_tcl_error("%s:" % _("None of the following args: 'ref', 'all' were found or none was set to 1.\n"
|
||||
|
||||
Reference in New Issue
Block a user