- minor change
This commit is contained in:
13
app_Main.py
13
app_Main.py
@@ -6123,6 +6123,8 @@ class App(QtCore.QObject):
|
|||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
self.log.debug("Running conversion to Excellon object...")
|
||||||
|
|
||||||
def initialize_from_geometry(obj_init, app_obj):
|
def initialize_from_geometry(obj_init, app_obj):
|
||||||
tools = {}
|
tools = {}
|
||||||
tooluid = 1
|
tooluid = 1
|
||||||
@@ -6205,11 +6207,12 @@ class App(QtCore.QObject):
|
|||||||
tools[tool]['drills'].append(new_drill)
|
tools[tool]['drills'].append(new_drill)
|
||||||
tools[tool]['solid_geometry'].append(deepcopy(new_drill_geo))
|
tools[tool]['solid_geometry'].append(deepcopy(new_drill_geo))
|
||||||
else:
|
else:
|
||||||
tools[tooluid] = {}
|
tools[tooluid] = {
|
||||||
tools[tooluid]['tooldia'] = new_dia
|
'tooldia': new_dia,
|
||||||
tools[tooluid]['drills'] = [new_drill]
|
'drills': [new_drill],
|
||||||
tools[tooluid]['slots'] = []
|
'slots': [],
|
||||||
tools[tooluid]['solid_geometry'] = [new_drill_geo]
|
'solid_geometry': [new_drill_geo]
|
||||||
|
}
|
||||||
tooluid += 1
|
tooluid += 1
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user