ByteBard
bb1c7a0883
Fix BOM export for KiCAD 9.0 - GetFootprintName() API change
Replace FOOTPRINT.GetFootprintName() with str(GetFPID()) for KiCAD 9.0 compatibility.
Issue:
- KiCAD 9.0 removed FOOTPRINT.GetFootprintName() method
- BOM export was failing with AttributeError
Fix:
- Changed: module.GetFootprintName() → str(module.GetFPID())
- GetFPID() returns the footprint library ID (LIB_ID object)
- Converting to string gives "Library:Footprint" format
Testing:
- Endpoint test: export_bom ✅ PASS
- Generates CSV BOM with all 415 components
- Footprint names correctly formatted (e.g., "Capacitor_SMD:C_0603_1608Metric")
Related KiCAD 9.0 fixes in this repo:
- design_rules.py: SetCurrent* → SetCustom* API
- export.py: EXCELLON_WRITER → kicad-cli for drill files
- view.py: PlotLayer() signature update
- component.py: FP_VIRTUAL → FP_BOARD_ONLY
Status: All export operations working ✅
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 16:44:00 -05:00
..
2025-11-17 15:40:20 -05:00
2025-10-25 20:48:00 -04:00
2025-10-25 20:48:00 -04:00
2025-10-25 20:48:00 -04:00
2025-11-14 16:38:16 -05:00
2025-10-25 20:48:00 -04:00
2025-11-14 16:38:16 -05:00
2025-11-17 16:44:00 -05:00
2025-10-25 20:48:00 -04:00
2025-11-05 09:10:45 -05:00
2025-10-25 20:48:00 -04:00
2025-11-05 09:10:45 -05:00
2025-10-25 20:48:00 -04:00