Commits

saar drimer committed 2b4ec82

remove superfluous ids

Comments (0)

Files changed (3)

                 # place mask
                 if path_type not in ['pour_bridge']:
                     mask_element = et.SubElement(routing_mask_group, 'path',
-                                                 id="%s" % pcb_layer,
+                                                 #id="%s" % pcb_layer,
                                                  type="mask_shape",
                                                  style=mask_style_template % (fill, stroke_width + pour_buffer * 2),
                                                  d=path)
                             path_segments = path.split('m')
                             for path_segment in path_segments[1:]:
                                 mask_element = et.SubElement(routing_mask_group, 'path',
-                                                             id="%s" % pcb_layer,
+                                                             #id="%s" % pcb_layer,
                                                              type="mask_shape",
                                                              style="fill:#000;stroke:none;",
                                                              d='m '+path_segment)
         # add a mask buffer between pour and board outline; this will cut out
         # any paths that go beyond the board's outline
         pour_mask = et.SubElement(pour_mask_group, 'path',
-                                 id="%s" % pcb_layer,
+                                 #id="%s" % pcb_layer,
                                  type="mask_shape",
                                  style="fill:none;stroke:#000;stroke-linejoin:round;stroke-width:%s;" % str(pour_buffer*2),
                                  d=board_outline)

utils/footprint.py

 
                     # place mask
                     mask_element = et.SubElement(footprint_masks[pcb_layer], 'path', 
-                                                 id="%s" % pcb_layer,
+                                                 #id="%s" % pcb_layer,
                                                  transform=transform,
                                                  type="mask_shape",
                                                  style=cfg['pcbmode']['mask_style'] % str(pour_buffer * 2),
                    '--export-id-only',
                    '--export-area-drawing',
                    '--export-background=#FFFFFF',
-                   '--export-id=%s_layer' % layer]
+                   '--export-id=%s' % layer]
         
         try:
             subp.call(command)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.