- working on a new tool to process automatically PcbWizard Excellon files which are generated in 2 files

This commit is contained in:
Marius Stanciu
2019-04-15 03:29:43 +03:00
parent 2e7d9f953f
commit db26895b5b
6 changed files with 437 additions and 7 deletions

View File

@@ -2006,6 +2006,9 @@ class App(QtCore.QObject):
self.image_tool = ToolImage(self)
self.image_tool.install(icon=QtGui.QIcon('share/image32.png'), pos=self.ui.menufileimport,
separator=True)
self.pcb_wizard_tool = PcbWizard(self)
self.pcb_wizard_tool.install(icon=QtGui.QIcon('share/drill32.png'), pos=self.ui.menufileimport,
separator=True)
self.log.debug("Tools are installed.")
@@ -7081,7 +7084,7 @@ class App(QtCore.QObject):
# self.progress.emit(20)
try:
ret = excellon_obj.parse_file(filename)
ret = excellon_obj.parse_file(filename=filename)
if ret == "fail":
log.debug("Excellon parsing failed.")
self.inform.emit(_("[ERROR_NOTCL] This is not Excellon file."))