- created a new App Tool named Drilling Tool where I will move the drilling out of the Excellon UI
This commit is contained in:
parent
87524bcfc9
commit
30d5400da1
|
@ -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
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -250,6 +250,7 @@ class FlatCAMDefaults:
|
|||
|
||||
# Excellon Options
|
||||
"excellon_operation": "drill",
|
||||
"excellon_tool_order": 'rev',
|
||||
"excellon_milling_type": "drills",
|
||||
|
||||
"excellon_milling_dia": 0.8,
|
||||
|
|
Loading…
Reference in New Issue