Python and footprint wizard: fix issues and update to be compatible

with recent changes in Kicad code.
This commit is contained in:
jean-pierre charras
2023-04-15 10:30:33 +02:00
parent 4a3f77cd9d
commit 27ebba6b33
7 changed files with 22 additions and 25 deletions
-1
View File
@@ -49,7 +49,6 @@ class FPC_FootprintWizard(FootprintWizardBase.FootprintWizard):
pad.SetShape(pcbnew.PAD_SHAPE_RECT)
pad.SetAttribute(pcbnew.PAD_ATTRIB_SMD)
pad.SetLayerSet( pad.SMDMask() )
pad.SetPos0(pos)
pad.SetPosition(pos)
pad.SetName(name)
return pad