- 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:
Marius Stanciu
2021-01-02 22:04:05 +02:00
committed by Marius
parent 3995080503
commit 230b8b9f3a
11 changed files with 2310 additions and 1949 deletions

2264
appTools/ToolLevelling.py Normal file

File diff suppressed because it is too large Load Diff

View File

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

View File

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