kicad-footprint-generator
kicad-footprint-generator copied to clipboard
Capacitor_THT: Update and regenerate models
Update scripts to allow to generate capacitors withouth splitting the lib. An atempt on continuing https://github.com/KiCad/kicad-footprints/pull/1715
Code Climate has analyzed commit a19ec74d and detected 0 issues on this pull request.
View more on Code Climate.
It has been a while since I last had a look at this. To make things easier I have added comments to code to make it easier for the reviewer. Summary of the changes:
- Avoid using
${KISYS3DMOD}
in library name in the top level script. Underlying generator script will add this to corresponding places instead. - Avoid capacitor splitting by libraries yet (Someone had introduced this into the scripts but the models were not updated and changes have been refused so I fixed this situation by reversing those changes). It will probably be done in the future but planning is required.
- Check that the output folders exist before writing the footprint files to avoid errors.