Default excellon milling tool dia. Fixes #160.
This commit is contained in:
parent
7112ac5caf
commit
3717169105
|
@ -231,6 +231,7 @@ class App(QtCore.QObject):
|
|||
"excellon_feedrate": self.defaults_form.excellon_group.feedrate_entry,
|
||||
"excellon_spindlespeed": self.defaults_form.excellon_group.spindlespeed_entry,
|
||||
"excellon_toolchangez": self.defaults_form.excellon_group.toolchangez_entry,
|
||||
"excellon_tooldia": self.defaults_form.excellon_group.tooldia_entry,
|
||||
"geometry_plot": self.defaults_form.geometry_group.plot_cb,
|
||||
"geometry_cutz": self.defaults_form.geometry_group.cutz_entry,
|
||||
"geometry_travelz": self.defaults_form.geometry_group.travelz_entry,
|
||||
|
@ -360,6 +361,7 @@ class App(QtCore.QObject):
|
|||
"excellon_feedrate": self.options_form.excellon_group.feedrate_entry,
|
||||
"excellon_spindlespeed": self.options_form.excellon_group.spindlespeed_entry,
|
||||
"excellon_toolchangez": self.options_form.excellon_group.toolchangez_entry,
|
||||
"excellon_tooldia": self.options_form.excellon_group.tooldia_entry,
|
||||
"geometry_plot": self.options_form.geometry_group.plot_cb,
|
||||
"geometry_cutz": self.options_form.geometry_group.cutz_entry,
|
||||
"geometry_travelz": self.options_form.geometry_group.travelz_entry,
|
||||
|
|
|
@ -607,6 +607,23 @@ class ExcellonOptionsGroupUI(OptionsGroupUI):
|
|||
self.spindlespeed_entry = IntEntry(allow_empty=True)
|
||||
grid1.addWidget(self.spindlespeed_entry, 4, 1)
|
||||
|
||||
#### Milling Holes ####
|
||||
self.mill_hole_label = QtGui.QLabel('<b>Mill Holes</b>')
|
||||
self.mill_hole_label.setToolTip(
|
||||
"Create Geometry for milling holes."
|
||||
)
|
||||
self.layout.addWidget(self.mill_hole_label)
|
||||
|
||||
grid1 = QtGui.QGridLayout()
|
||||
self.layout.addLayout(grid1)
|
||||
tdlabel = QtGui.QLabel('Tool dia:')
|
||||
tdlabel.setToolTip(
|
||||
"Diameter of the cutting tool."
|
||||
)
|
||||
grid1.addWidget(tdlabel, 0, 0)
|
||||
self.tooldia_entry = LengthEntry()
|
||||
grid1.addWidget(self.tooldia_entry, 0, 1)
|
||||
|
||||
|
||||
class GeometryOptionsGroupUI(OptionsGroupUI):
|
||||
def __init__(self, parent=None):
|
||||
|
|
Loading…
Reference in New Issue