- working on the Isolation Tool and Milling Tool

This commit is contained in:
Marius Stanciu
2021-01-13 04:10:49 +02:00
committed by Marius
parent 0386dbf258
commit 3b8519276f
4 changed files with 16 additions and 12 deletions

View File

@@ -2965,7 +2965,7 @@ class ToolMilling(AppTool, Excellon):
tools_dict[tooluid_key]['data']['ppname_g'] = self.ui.pp_geo_name_cb.get_value()
# Offset calculation
offset_type = dia_cnc_dict['tools_mill_offset_type']
offset_type = dia_cnc_dict['data']['tools_mill_offset_type']
if offset_type == 1: # 'in'
tool_offset = -tooldia_val / 2
elif offset_type == 2: # 'out'