- moved all the Levelling stuff out of the CNCjob Properties Tab to its own tool, Levelling Tool. The functionality itself is not finished yet.
This commit is contained in:
2264
appTools/ToolLevelling.py
Normal file
2264
appTools/ToolLevelling.py
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1150,8 +1150,11 @@ class ToolMilling(AppTool, Excellon):
|
||||
|
||||
def on_object_selection_changed(self, current, previous):
|
||||
try:
|
||||
name = current.indexes()[0].internalPointer().obj.options['name']
|
||||
self.ui.object_combo.set_value(name)
|
||||
sel_obj = current.indexes()[0].internalPointer().obj
|
||||
name = sel_obj.options['name']
|
||||
kind = sel_obj.kind
|
||||
if kind in ['geometry', 'excellon']:
|
||||
self.ui.object_combo.set_value(name)
|
||||
except IndexError:
|
||||
pass
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
from appTools.ToolCalculators import ToolCalculator
|
||||
from appTools.ToolCalibration import ToolCalibration
|
||||
|
||||
@@ -22,6 +21,7 @@ from appTools.ToolIsolation import ToolIsolation
|
||||
from appTools.ToolFollow import ToolFollow
|
||||
from appTools.ToolDrilling import ToolDrilling
|
||||
from appTools.ToolMilling import ToolMilling
|
||||
from appTools.ToolLevelling import ToolLevelling
|
||||
|
||||
from appTools.ToolOptimal import ToolOptimal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user