- fixed errors on project load, in ParseGerber and Extract and Punch Gerber Plugins due of refactoring the 'apertures' attribute to 'tools'
This commit is contained in:
@@ -215,7 +215,6 @@ class ToolExtract(AppTool):
|
||||
# calculate how many rows to add
|
||||
n = 0
|
||||
for ap_code in sorted_apertures:
|
||||
ap_code = str(ap_code)
|
||||
ap_type = obj.tools[ap_code]['type']
|
||||
|
||||
if ap_type == 'C' and self.ui.circular_cb.get_value() is True:
|
||||
@@ -234,8 +233,6 @@ class ToolExtract(AppTool):
|
||||
|
||||
row = 0
|
||||
for ap_code in sorted_apertures:
|
||||
ap_code = str(ap_code)
|
||||
|
||||
ap_type = obj.tools[ap_code]['type']
|
||||
if ap_type == 'C':
|
||||
if self.ui.circular_cb.get_value() is False:
|
||||
|
||||
Reference in New Issue
Block a user