Mask/paste global footprint support & new BGA entries
When added the footprints at https://github.com/KiCad/kicad-footprints/pull/718, @Ratfink mentioned that I should use his generator. He was right.
I added the footprint entries, then found two things:
- KiCad comes with Python 2.7 and I used that for broadest compatibility (why they've not gone to 3 I don't know...).
- This framework didn't support the global settings for pad mask/paste.
This commit adds the BGAs info the YAML file, updates the BGA script to support global mask/paste settings, and also updates the framework to support the same.
Clay, you probably should take a look here. Does everything look OK to you? I realized it really make no sense to use per-pad mask/paste settings since it would be applied to every single pad in the footprint, and so this only made sense. I also aligned some of the variable terminology with the framework.
Quick per-file breakdown of changes: bga.yml
- Added entries for 3 TI footprints
bga.py
- Made denominators floats for Python 2.7 compatibility
- Simplified CSP BGA 3D model repo determination
- Support CSP in keywords if appropriate
- Silkscreen offset to 0.11mm (was 0.12mm)
- Support mask/paste clearance parameters for whole footprint (not per pad)
Pad.py
- Fixed typo
- Minor wordsmithing
- Used a more explicit variable name since elsewhere is full words
Footprint.py / KicadFileHandler.py:
- Support mask margin, paste margin, and paste margin ratio