- 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:
Marius Stanciu
2021-03-04 17:45:47 +02:00
parent cda5f830be
commit 0986ef143c
19 changed files with 217 additions and 205 deletions

View File

@@ -995,7 +995,7 @@ class Panelize(AppTool):
new_solid_list.append(deepcopy(new_el))
new_obj.tools = {
'0': {
0: {
'type': 'REG',
'size': 0.0,
'geometry': deepcopy(new_solid_list)
@@ -1007,7 +1007,7 @@ class Panelize(AppTool):
del new_obj.tools
else:
new_obj.tools = {
'0': {
0: {
'type': 'REG',
'size': 0.0,
'geometry': deepcopy(new_obj.solid_geometry)