- working in NCC Tool
This commit is contained in:
parent
48888adb58
commit
5ff9f953c6
|
@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
|
||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
8.01.2019
|
||||||
|
|
||||||
|
- working in NCC Tool
|
||||||
|
|
||||||
7.01.2019
|
7.01.2019
|
||||||
|
|
||||||
- solved issue #368 - when using the Enable/Disable prj context menu entries the plotted status is not updated in the object properties
|
- solved issue #368 - when using the Enable/Disable prj context menu entries the plotted status is not updated in the object properties
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -219,22 +219,22 @@ class TclCommandCopperClear(TclCommand):
|
||||||
|
|
||||||
# Non-Copper clear all polygons in the non-copper clear object
|
# Non-Copper clear all polygons in the non-copper clear object
|
||||||
if 'all' in args and bool(args['all']):
|
if 'all' in args and bool(args['all']):
|
||||||
self.app.ncclear_tool.clear_copper(ncc_obj=obj,
|
self.app.ncclear_tool.clear_copper_tcl(ncc_obj=obj,
|
||||||
select_method='itself',
|
select_method='itself',
|
||||||
ncctooldia=tooldia,
|
ncctooldia=tooldia,
|
||||||
overlap=overlap,
|
overlap=overlap,
|
||||||
order=order,
|
order=order,
|
||||||
margin=margin,
|
margin=margin,
|
||||||
has_offset=has_offset,
|
has_offset=has_offset,
|
||||||
offset=offset,
|
offset=offset,
|
||||||
method=method,
|
method=method,
|
||||||
outname=outname,
|
outname=outname,
|
||||||
connect=connect,
|
connect=connect,
|
||||||
contour=contour,
|
contour=contour,
|
||||||
rest=rest,
|
rest=rest,
|
||||||
tools_storage=ncc_tools,
|
tools_storage=ncc_tools,
|
||||||
plot=False,
|
plot=False,
|
||||||
run_threaded=False)
|
run_threaded=False)
|
||||||
return
|
return
|
||||||
|
|
||||||
# Non-Copper clear all polygons found within the box object from the the non_copper cleared object
|
# Non-Copper clear all polygons found within the box object from the the non_copper cleared object
|
||||||
|
@ -252,23 +252,23 @@ class TclCommandCopperClear(TclCommand):
|
||||||
self.raise_tcl_error("%s: %s" % (_("Could not retrieve box object"), name))
|
self.raise_tcl_error("%s: %s" % (_("Could not retrieve box object"), name))
|
||||||
return "Could not retrieve object: %s" % name
|
return "Could not retrieve object: %s" % name
|
||||||
|
|
||||||
self.app.ncclear_tool.clear_copper(ncc_obj=obj,
|
self.app.ncclear_tool.clear_copper_tcl(ncc_obj=obj,
|
||||||
sel_obj=box_obj,
|
sel_obj=box_obj,
|
||||||
select_method='box',
|
select_method='box',
|
||||||
ncctooldia=tooldia,
|
ncctooldia=tooldia,
|
||||||
overlap=overlap,
|
overlap=overlap,
|
||||||
order=order,
|
order=order,
|
||||||
margin=margin,
|
margin=margin,
|
||||||
has_offset=has_offset,
|
has_offset=has_offset,
|
||||||
offset=offset,
|
offset=offset,
|
||||||
method=method,
|
method=method,
|
||||||
outname=outname,
|
outname=outname,
|
||||||
connect=connect,
|
connect=connect,
|
||||||
contour=contour,
|
contour=contour,
|
||||||
rest=rest,
|
rest=rest,
|
||||||
tools_storage=ncc_tools,
|
tools_storage=ncc_tools,
|
||||||
plot=False,
|
plot=False,
|
||||||
run_threaded=False)
|
run_threaded=False)
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
self.raise_tcl_error("%s:" % _("None of the following args: 'ref', 'all' were found or none was set to 1.\n"
|
self.raise_tcl_error("%s:" % _("None of the following args: 'ref', 'all' were found or none was set to 1.\n"
|
||||||
|
|
Loading…
Reference in New Issue