Skip to content

Commit

Permalink
chore: minor code ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
bennymeg committed Sep 28, 2022
1 parent 5b43ce9 commit adb10d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ def generate_gerber(self, temp_dir):
plot_options.SetScale(1)
plot_options.SetMirror(False)
plot_options.SetUseGerberAttributes(True)
if hasattr(plot_options, "SetExcludeEdgeLayer"):
plot_options.SetExcludeEdgeLayer(True)
plot_options.SetUseGerberProtelExtensions(False)
plot_options.SetUseAuxOrigin(True)
plot_options.SetSubtractMaskFromSilk(False)
plot_options.SetDrillMarksType(0) # NO_DRILL_SHAPE

if hasattr(plot_options, "SetExcludeEdgeLayer"):
plot_options.SetExcludeEdgeLayer(True)

for layer_info in plotPlan:
if self.board.IsLayerEnabled(layer_info[1]):
Expand Down

0 comments on commit adb10d3

Please sign in to comment.