This commit is contained in:
木 王 2022-02-10 07:27:57 +00:00 committed by jean-pierre charras
parent c125cb673e
commit 261b1df47f
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class PadMaker(object):
pad = pcbnew.PAD(self.module)
pad.SetSize(pcbnew.VECTOR2I(drill, drill))
pad.SetShape(pcbnew.PAD_SHAPE_CIRCLE)
pad.SetAttribute(pcbnew.PAD_ATTRIB_HOLE_NOT_PLATED)
pad.SetAttribute(pcbnew.PAD_ATTRIB_NPTH)
pad.SetLayerSet(pad.UnplatedHoleMask())
pad.SetDrillSize(pcbnew.VECTOR2I(drill, drill))
return pad