- added a new tool named "Optimal Tool" which will determine the minimum distance between the copper features for a Gerber object, in fact determining the maximum diameter for a isolation tool that can be used for a complete isolation
This commit is contained in:
@@ -679,6 +679,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
self.solder_btn = self.toolbartools.addAction(QtGui.QIcon('share/solderpastebis32.png'), _("SolderPaste Tool"))
|
||||
self.sub_btn = self.toolbartools.addAction(QtGui.QIcon('share/sub32.png'), _("Substract Tool"))
|
||||
self.rules_btn = self.toolbartools.addAction(QtGui.QIcon('share/rules32.png'), _("Rules Tool"))
|
||||
self.optimal_btn = self.toolbartools.addAction(QtGui.QIcon('share/open_excellon32.png'), _("Optimal Tool"))
|
||||
|
||||
self.toolbartools.addSeparator()
|
||||
|
||||
@@ -1236,6 +1237,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
<td height="20"><strong>ALT+N</strong></td>
|
||||
<td> %s</td>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<td height="20"><strong>ALT+O</strong></td>
|
||||
<td> %s</td>
|
||||
</tr>
|
||||
<tr height="20">
|
||||
<td height="20"><strong>ALT+P</strong></td>
|
||||
<td> %s</td>
|
||||
@@ -1333,7 +1338,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
_("Rotate by 90 degree CCW"), _("Run a Script"), _("Toggle the workspace"), _("Skew on X axis"),
|
||||
_("Skew on Y axis"), _("Calculators Tool"), _("2-Sided PCB Tool"), _("Transformations Tool"),
|
||||
_("Solder Paste Dispensing Tool"),
|
||||
_("Film PCB Tool"), _("Non-Copper Clearing Tool"),
|
||||
_("Film PCB Tool"), _("Non-Copper Clearing Tool"), _("Optimal Tool"),
|
||||
_("Paint Area Tool"), _("PDF Import Tool"), _("Rules Check Tool"),
|
||||
_("View File Source"),
|
||||
_("Cutout PCB Tool"), _("Enable all Plots"), _("Disable all Plots"), _("Disable Non-selected Plots"),
|
||||
@@ -2433,6 +2438,11 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
self.app.ncclear_tool.run(toggle=True)
|
||||
return
|
||||
|
||||
# Optimal Tool
|
||||
if key == QtCore.Qt.Key_O:
|
||||
self.app.optimal_tool.run(toggle=True)
|
||||
return
|
||||
|
||||
# Paint Tool
|
||||
if key == QtCore.Qt.Key_P:
|
||||
self.app.paint_tool.run(toggle=True)
|
||||
|
||||
Reference in New Issue
Block a user