diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 872a6e4f..6c0701b0 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -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, diff --git a/FlatCAMGUI.py b/FlatCAMGUI.py index 3c01d124..2ec95ac3 100644 --- a/FlatCAMGUI.py +++ b/FlatCAMGUI.py @@ -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('Mill Holes') + 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):