An iPython Notebook and KiCad plugin that together can generate a variety of PCB stator coil designs for manufacture by PCBWay.
Find a file
Chris Greening 769c980002 All wired up
2022-10-12 12:30:53 +01:00
.gitignore Drive the plugin off json 2022-10-04 18:43:35 +01:00
.pre-commit-config.yaml New version that handles shape corners elegantly and optimises lines 2022-10-07 15:33:20 +01:00
.python-version Arbitrary coil POC 2022-10-01 21:09:14 +01:00
coil_generator-6.ipynb All wired up 2022-10-12 12:30:53 +01:00
coil_generator-12.ipynb All wired up 2022-10-12 12:30:53 +01:00
coil_plugin.py WIP board connector 2022-10-12 10:33:06 +01:00
coils.png All wired up 2022-10-12 12:30:53 +01:00
helpers.py WIP board connector 2022-10-12 10:33:06 +01:00
pcb_json.py WIP board connector 2022-10-12 10:33:06 +01:00
README.md Uodate readme 2022-10-08 18:01:14 +01:00
requirements.txt Refactor common functions out from notebooks 2022-10-11 11:14:28 +01:00

Getting set up

Running the notebook locally

Make sure you have python3 installed. Then run the following commands:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
jupyter notebook

Getting KiCad set up

Add the plugin to KiCad by symbolically linking it to the kicad_plugins directory.

ln -s ${PWD}/coil_plugin.py ~/Documents/KiCad/6.0/scripting/plugins/coil_plugin.py