Fix python footprint wizards after recent changes in code

This commit is contained in:
jean-pierre charras
2020-10-09 20:48:13 +02:00
parent 4d8ee4685d
commit 411914dffb
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ class PadMaker(object):
pad = pcbnew.D_PAD(self.module)
pad.SetSize(pcbnew.wxSize(Hsize, Vsize))
pad.SetShape(shape)
pad.SetAttribute(pcbnew.PAD_ATTRIB_STANDARD)
pad.SetLayerSet(pad.StandardMask())
pad.SetAttribute(pcbnew.PAD_ATTRIB_PTH)
pad.SetLayerSet(pad.PTHMask())
pad.SetDrillSize(pcbnew.wxSize(drill, drill))
pad.SetOrientation(rot_degree*10) # rotation is in 0.1 degrees