kicad-board-edit
Installation
SKILL.md
Edit a board
Make every change with board.py (this skill's folder), from a short script in <scratch>. Run it with KiCad's
bundled Python (KPY):
| OS | KPY |
|---|---|
| macOS | /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 |
| Linux | the system python3 that can import pcbnew |
| Windows | C:/Program Files/KiCad/10.0/bin/python.exe |
Run scripts as "$KPY" -I script.py. Ignore the "create wxApp" assertion and the swig "memory leak" lines; they're
harmless.
import sys; sys.path.insert(0, "<skill dir>")
from board import Board