- Geometry object - work in upgrade of the data structure

This commit is contained in:
Marius Stanciu
2020-12-08 00:14:49 +02:00
committed by Marius Stanciu
parent 9d2aac1046
commit d843cf7da7
21 changed files with 247 additions and 351 deletions

View File

@@ -1694,7 +1694,7 @@ class ToolIsolation(AppTool, Gerber):
def iso_init(geo_obj, fc_obj):
# Propagate options
geo_obj.options["cnctooldia"] = str(tool_dia)
geo_obj.options["tools_mill_tooldia"] = str(tool_dia)
geo_obj.solid_geometry = deepcopy(new_solid_geo)
# ############################################################
@@ -1895,7 +1895,7 @@ class ToolIsolation(AppTool, Gerber):
tools_storage.pop(tool, None)
def iso_init(geo_obj, app_obj):
geo_obj.options["cnctooldia"] = str(tool_dia)
geo_obj.options["tools_mill_tooldia"] = str(tool_dia)
geo_obj.tools = dict(tools_storage)
geo_obj.solid_geometry = total_solid_geometry
@@ -2083,7 +2083,7 @@ class ToolIsolation(AppTool, Gerber):
tools_storage.pop(tool, None)
def iso_init(geo_obj, app_obj):
geo_obj.options["cnctooldia"] = str(tool_dia)
geo_obj.options["tools_mill_tooldia"] = str(tool_dia)
geo_obj.tools = dict(tools_storage)
geo_obj.solid_geometry = total_solid_geometry