- added to the NonCopperClear.clear_copper() a parameter to be able to run it non-threaded

This commit is contained in:
Marius Stanciu
2019-09-14 18:27:08 +03:00
committed by Marius
parent 297d5abb48
commit 57f4762261
5 changed files with 30 additions and 18 deletions

View File

@@ -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')