1. boldport
  2. Untitled project
  3. PCBmodE

Commits

Saar Drimer  committed 2b4ec82

remove superfluous ids

  • Participants
  • Parent commits 9388a46
  • Branches production

Comments (0)

Files changed (3)

File utils/board.py

View file
                 # 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)

File utils/footprint.py

View file
 
                     # 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),

File utils/utils.py

View file
                    '--export-id-only',
                    '--export-area-drawing',
                    '--export-background=#FFFFFF',
-                   '--export-id=%s_layer' % layer]
+                   '--export-id=%s' % layer]
         
         try:
             subp.call(command)