- made sure that the CNCJob UI building no longer have issues with table items added from an already existing table

- fixed CNCJob UI showing all tools in the Tools Table even when only some tools were selected for processing
- fixed the `drillcncjob` Tcl Command to work in the case of drilling a selection of tools instead of all, with toolchange inactive
This commit is contained in:
Marius Stanciu
2022-02-18 15:16:05 +02:00
committed by Marius Stanciu
parent f7f88a34be
commit 4d2181eda7
6 changed files with 288 additions and 249 deletions

View File

@@ -3260,8 +3260,10 @@ class ToolMilling(AppTool, Excellon):
new_cncjob_obj.tools.update(tools_dict)
used_tools = list(tools_dict.keys())
new_cncjob_obj.used_tools = used_tools
total_gcode = ''
for tooluid_key in list(tools_dict.keys()):
for tooluid_key in used_tools:
tool_cnt += 1
dia_cnc_dict = deepcopy(tools_dict[tooluid_key])