Question from newbie...
Example pad without problem:
kicad_mod.append(Pad(number=1, type=Pad.TYPE_THT, shape=Pad.SHAPE_RECT, at=[0,0], size=[2,2], drill=1.2, layers=['*.Cu', '*.Mask']))
Example pad with problem:
kicad_mod.append(Pad(number=1, type=Pad.TYPE_THT, shape=Pad.SHAPE_RECT, at=[0,0], size=[2,2], drill=1.2, offset=[0.8, 0], layers=['*.Cu', '*.Mask']))
The generator write a wrong syntax for the offset to the resulting *.kicad_mod file.
The resulting library can not be added to a project due to the wrong footprint inside the library.
Maybe someone already using the kicad-footprint-generator and can confirm this bug by simply pasting above line into a footprint.py as your choice?
I identified the reason in KicadModTree and adjusted the code. Problem was gone.
But I'm not sure if should create a gitlab account to report the error and the modification? I have no experience to create a MR...
Thank you.