This commit is contained in:
木 王 2022-02-10 07:27:57 +00:00 committed by jean-pierre charras
parent 1b8f25235c
commit 7c910c2d0b
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.wxSize(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.wxSize(drill, drill))
return pad