Default excellon milling tool dia. Fixes #160.

This commit is contained in:
Juan Pablo Caram
2016-04-10 16:23:04 -04:00
parent 7112ac5caf
commit 3717169105
2 changed files with 19 additions and 0 deletions

View File

@@ -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):