Run once after creating a new repository from this template:
python3 init.py # Windows: python init.pyIt asks for the repository name, the PBS number and a board title, renames template.kicad_* accordingly, fills the title block (#122-000 Board Title, date), runs setup-libs.py (see below) and deletes itself. It then offers to fold everything into the single commit GitHub created from the template, reworded to feat: :tada: initialise project from template – review with git show --stat and git push --force-with-lease. Decline (or --no-amend) and it only stages, so you commit yourself. python3 init.py --help lists the flags that pre-answer the prompts.
This project uses kicad-custom-libs through the KiCad path variable LRV_CUSTOM_LIBS. That variable is a per-machine KiCad setting, so every machine that opens the project needs it once:
python3 setup-libs.py # Windows: python setup-libs.pyIt checks whether the library is cloned and LRV_CUSTOM_LIBS is set in KiCad, and clones / sets it if not (close KiCad first, it rewrites its settings on exit). By hand instead:
- Clone
kicad-custom-libs - In KiCad, open Preferences → Configure Paths and add
LRV_CUSTOM_LIBS, pointing it to the cloned repo path - You’ll now have access to the custom symbols, footprints, and 3D models included with the custom library. Enjoy! ✨