Commits

saar drimer  committed 9bf7e23

be explicit about aperture to use

  • Participants
  • Parent commits 71782d9

Comments (0)

Files changed (1)

File utils/gerber.py

                         for i in range(0, len(gerber_commands)):
                             for polarity in ['D', 'C']:
                                 if gerber_commands[i].get(polarity) is not None:
-                                    if stroke_width != current_stroke_width:
-                                        gerber_commands[i][polarity].insert(0, "D%d*\n" % apertures[str(stroke_width)])
-                                        current_stroke_width = stroke_width
+                                    gerber_commands[i][polarity].insert(0, "D%d*\n" % apertures[str(stroke_width)])
                         layer_commands.append(gerber_commands)
      
                     elif fill != 'none':