Skip to content

Commit

Permalink
Remove redundant drill and edge cut for all layers
Browse files Browse the repository at this point in the history
  • Loading branch information
asukiaaa committed Oct 11, 2022
1 parent e4762d4 commit 0bad0ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gerber_to_order_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,16 @@ def plotLayers(
po.SetOutputDirectory(gerberDirPath)
po.SetPlotValue(True)
po.SetPlotReference(True)
po.SetExcludeEdgeLayer(False)
po.SetExcludeEdgeLayer(True)
if hasattr(po, "SetLineWidth"):
po.SetLineWidth(pcbnew.FromMM(0.1))
else:
po.SetSketchPadLineWidth(pcbnew.FromMM(0.1))
po.SetSubtractMaskFromSilk(True)
po.SetSubtractMaskFromSilk(False)
po.SetUseAuxOrigin(useAuxOrigin)
po.SetUseGerberProtelExtensions(gerberProtelExtensions)
po.SetDrillMarksType(pcbnew.PCB_PLOT_PARAMS.NO_DRILL_SHAPE)
po.SetSkipPlotNPTH_Pads(False)

plotFiles = []
for i in range(targetLayerCount):
Expand Down

0 comments on commit 0bad0ce

Please sign in to comment.