- aperture keys in the gerber 'tools' dictionary are now stored as integers instead of strings as before; need to check the application especially the Gerber Editor
- fixed issues in Gerber Editor (using the '0' insteadd of 'REG' type for apertures)
This commit is contained in:
@@ -357,7 +357,7 @@ class ToolFiducials(AppTool):
|
||||
if ap_keys:
|
||||
new_apid = str(int(max(ap_keys)) + 1)
|
||||
else:
|
||||
new_apid = '10'
|
||||
new_apid = 10
|
||||
|
||||
new_apertures[new_apid] = {
|
||||
'type': 'C',
|
||||
@@ -415,7 +415,7 @@ class ToolFiducials(AppTool):
|
||||
if ap_keys:
|
||||
new_apid = str(int(max(ap_keys)) + 1)
|
||||
else:
|
||||
new_apid = '10'
|
||||
new_apid = 10
|
||||
|
||||
new_apertures[new_apid] = {
|
||||
'type': 'C',
|
||||
@@ -489,7 +489,7 @@ class ToolFiducials(AppTool):
|
||||
if ap_keys:
|
||||
new_apid = str(int(max(ap_keys)) + 1)
|
||||
else:
|
||||
new_apid = '10'
|
||||
new_apid = 10
|
||||
|
||||
new_apertures[new_apid] = {
|
||||
'type': 'R',
|
||||
|
||||
Reference in New Issue
Block a user