- created a new App Tool named Drilling Tool where I will move the drilling out of the Excellon UI

This commit is contained in:
Marius Stanciu 2020-06-15 19:14:50 +03:00 committed by Marius
parent 87524bcfc9
commit 30d5400da1
6 changed files with 2352 additions and 0 deletions

View File

@ -16,6 +16,8 @@ CHANGELOG for FlatCAM beta
- Isolation Tool - fixed to work with selection of tools in the Tool Table (previously it always used all the tools in the Tool Table)
- Tools Database - added a context menu action to Save the changes to the database even if it's not in the Administration mode
- Tool Isolation - fixed a UI minor issue: 'forced rest' checkbox state at startup was always enabled
- started working in moving the Excellon drilling in its own Application Tool
- created a new App Tool named Drilling Tool where I will move the drilling out of the Excellon UI
14.06.2020

View File

@ -926,6 +926,8 @@ class MainGUI(QtWidgets.QMainWindow):
QtGui.QIcon(self.app.resource_location + '/paint20_1.png'), _("Paint Tool"))
self.isolation_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/iso_16.png'), _("Isolation Tool"))
self.drill_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/drill16.png'), _("Drilling Tool"))
self.toolbartools.addSeparator()
self.panelize_btn = self.toolbartools.addAction(
@ -2075,6 +2077,8 @@ class MainGUI(QtWidgets.QMainWindow):
QtGui.QIcon(self.app.resource_location + '/paint20_1.png'), _("Paint Tool"))
self.isolation_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/iso_16.png'), _("Isolation Tool"))
self.drill_btn = self.toolbartools.addAction(
QtGui.QIcon(self.app.resource_location + '/drill16.png'), _("Drilling Tool"))
self.toolbartools.addSeparator()
self.panelize_btn = self.toolbartools.addAction(

2338
appTools/ToolDrilling.py Normal file

File diff suppressed because it is too large Load Diff

View File

@ -19,6 +19,7 @@ from appTools.ToolCutOut import CutOut
from appTools.ToolNCC import NonCopperClear
from appTools.ToolPaint import ToolPaint
from appTools.ToolIsolation import ToolIsolation
from appTools.ToolDrilling import ToolDrilling
from appTools.ToolOptimal import ToolOptimal

View File

@ -1329,6 +1329,7 @@ class App(QtCore.QObject):
self.ncclear_tool = None
self.paint_tool = None
self.isolation_tool = None
self.drilling_tool = None
self.optimal_tool = None
self.transform_tool = None
@ -1929,6 +1930,10 @@ class App(QtCore.QObject):
self.isolation_tool.install(icon=QtGui.QIcon(self.resource_location + '/iso_16.png'), pos=self.ui.menutool,
before=self.sub_tool.menuAction, separator=True)
self.drilling_tool = ToolDrilling(self)
self.drilling_tool.install(icon=QtGui.QIcon(self.resource_location + '/drill16.png'), pos=self.ui.menutool,
before=self.sub_tool.menuAction, separator=True)
self.copper_thieving_tool = ToolCopperThieving(self)
self.copper_thieving_tool.install(icon=QtGui.QIcon(self.resource_location + '/copperfill32.png'),
pos=self.ui.menutool)
@ -2042,6 +2047,7 @@ class App(QtCore.QObject):
ui.ncc_btn.triggered.connect(lambda: self.ncclear_tool.run(toggle=True))
ui.paint_btn.triggered.connect(lambda: self.paint_tool.run(toggle=True))
ui.isolation_btn.triggered.connect(lambda: self.isolation_tool.run(toggle=True))
ui.drill_btn.triggered.connect(lambda: self.drilling_tool.run(toggle=True))
ui.panelize_btn.triggered.connect(lambda: self.panelize_tool.run(toggle=True))
ui.film_btn.triggered.connect(lambda: self.film_tool.run(toggle=True))

View File

@ -250,6 +250,7 @@ class FlatCAMDefaults:
# Excellon Options
"excellon_operation": "drill",
"excellon_tool_order": 'rev',
"excellon_milling_type": "drills",
"excellon_milling_dia": 0.8,