dda793c0ef
- Introduced `kicad_cli.sh` for local and Docker-based kicad-cli execution. - Created `schops.py` for schematic operations including ERC, BOM, netlist exports, and bulk edits. - Added README.md for schops with installation and usage instructions. - Included requirements.txt for necessary Python packages. - Implemented rules engine for applying field defaults and renaming nets. - Added tests for rules engine functionality. - Introduced scope guard script to enforce file modification policies based on PR labels. - Created watch script to monitor KiCad files and trigger hardware gate on changes.
596 B
596 B
PR previews (SVG) + evidence pack
Ce repo génère automatiquement :
- schéma en SVG (1 fichier / sheet)
- PCB en SVG (layers sélectionnés)
- ERC + DRC en JSON
- BOM + netlist
Via kicad-cli (local) ou l’image Docker officielle KiCad. citeturn1view0turn0search3turn0search7
Local
bash tools/hw/hw_gate.sh hardware/kicad
# ou
python tools/hw/exports.py --schematic hardware/kicad/<proj>/<proj>.kicad_sch --pcb hardware/kicad/<proj>/<proj>.kicad_pcb
CI
Le workflow hardware_previews.yml exporte ces fichiers et les publie en artifacts pour review PR.