- starting to work on storing the solid_geometry for each tool in part in Excellon Object

This commit is contained in:
Marius Stanciu
2019-02-12 16:55:43 +02:00
committed by Marius
parent 9b61e4cc37
commit 02793f7ae2
4 changed files with 48 additions and 17 deletions

View File

@@ -6012,9 +6012,14 @@ class App(QtCore.QObject):
log.debug("Could not create geometry for Excellon object.")
return "fail"
if excellon_obj.is_empty():
app_obj.inform.emit("[ERROR_NOTCL] No geometry found in file: " + filename)
return "fail"
# if excellon_obj.is_empty():
# app_obj.inform.emit("[ERROR_NOTCL] No geometry found in file: " + filename)
# return "fail"
for tool in excellon_obj.tools:
if excellon_obj.tools[tool]['solid_geometry']:
return
app_obj.inform.emit("[ERROR_NOTCL] No geometry found in file: " + filename)
return "fail"
with self.proc_container.new("Opening Excellon."):