- fixed issue in camlib.CNCjob.generate_from_excellon_by_tool() in the drill path optimization algorithm selection when selecting the MH algorithm. The new API's for Google OR-tools required some changes and also the time parameter can be now just an integer therefore I modified the GUI

This commit is contained in:
Marius Stanciu
2019-05-11 04:41:18 +03:00
parent b566f4e601
commit 883cf3372a
3 changed files with 10 additions and 5 deletions

View File

@@ -4525,7 +4525,8 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
)
self.optimization_time_entry = LengthEntry()
self.optimization_time_entry = IntEntry()
self.optimization_time_entry.setValidator(QtGui.QIntValidator(0, 999))
form_box_excellon.addRow(self.optimization_time_label, self.optimization_time_entry)
current_platform = platform.architecture()[0]