- added the Exclusion zones processing to Excellon GCode generation

- fixed a non frequent plotting problem for CNCJob objects made out of Excellon objects
This commit is contained in:
Marius Stanciu
2020-05-21 21:49:48 +03:00
committed by Marius
parent facbdf0fd7
commit 51c9023bbe
4 changed files with 381 additions and 51 deletions

View File

@@ -3404,7 +3404,8 @@ class MainGUI(QtWidgets.QMainWindow):
elif modifiers == QtCore.Qt.NoModifier:
if key == QtCore.Qt.Key_Escape or key == 'Escape':
sel_obj = self.app.collection.get_active()
assert sel_obj.kind == 'geometry', "Expected a Geometry Object, got %s" % type(sel_obj)
assert sel_obj.kind == 'geometry' or sel_obj.kind == 'excellon', \
"Expected a Geometry or Excellon Object, got %s" % type(sel_obj)
sel_obj.area_disconnect()
return