Fix syntax issues in footprint wizards

Fixes #11867
https://gitlab.com/kicad/code/kicad/issues/11867
This commit is contained in:
jean-pierre charras
2022-06-20 20:31:18 +02:00
parent 048f277b1e
commit 6679decc8d
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ class PadMaker(object):
@param rot_degree: the pad rotation, in degrees
"""
pad = pcbnew.PAD(self.module)
pad.SetSize(pcbnew.VECTOR2I(Hsize, Vsize))
pad.SetSize(pcbnew.VECTOR2I( int(Hsize), int(Vsize) ) )
pad.SetShape(shape)
pad.SetAttribute(pcbnew.PAD_ATTRIB_SMD)
pad.SetLayerSet(pad.SMDMask())