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 -2
View File
@@ -156,7 +156,7 @@ class PadArray(object):
def AddPad(self, pad):
"""!
Add a pad to the array, under the same moodule as the main
Add a pad to the array, under the same footprint as the main
prototype pad
@param pad: pad to add
"""
@@ -175,7 +175,6 @@ class PadArray(object):
# create a new pad with same characteristics
pad = pad.Duplicate()
pad.SetPos0(pos)
pad.SetPosition(pos)
return pad