An iPython Notebook and KiCad plugin that together can generate a variety of PCB stator coil designs for manufacture by PCBWay.
Find a file
2022-10-12 17:10:13 +01:00
.gitignore Remove png image 2022-10-12 12:31:27 +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 Move connections arouns 2022-10-12 17:10:13 +01:00
coil_generator-12.ipynb Move connections arouns 2022-10-12 17:10:13 +01:00
coil_plugin.py Move connections arouns 2022-10-12 17:10:13 +01:00
helpers.py WIP board connector 2022-10-12 10:33:06 +01:00
pcb_json.py Move connections arouns 2022-10-12 17:10:13 +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