- initial add of a new Tcl COmmand named CopperClear

- remade the NCC Tool in preparation for the newly added TclCommand CopperClear
This commit is contained in:
Marius Stanciu
2019-08-25 04:45:16 +03:00
committed by Marius
parent d606c836f4
commit 8c0b8ed13d
7 changed files with 908 additions and 208 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -894,7 +894,7 @@ class ToolPaint(FlatCAMTool, Gerber):
# init values for the next usage
self.reset_usage()
self.app.report_usage(_("geometry_on_paint_button"))
self.app.report_usage(_("on_paint_button_click"))
# self.app.call_source = 'paint'
try:
@@ -1608,8 +1608,8 @@ class ToolPaint(FlatCAMTool, Gerber):
# Initializes the new geometry object
def gen_paintarea_rest_machining(geo_obj, app_obj):
# assert isinstance(geo_obj, FlatCAMGeometry), \
# "Initializer expected a FlatCAMGeometry, got %s" % type(geo_obj)
assert isinstance(geo_obj, FlatCAMGeometry), \
"Initializer expected a FlatCAMGeometry, got %s" % type(geo_obj)
tool_dia = None
sorted_tools.sort(reverse=True)