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-11-01 13:21:26 +00: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 Auto wiring up for new larger stator completed 2022-11-01 13:21:26 +00:00
coil_generator-12.ipynb Auto wiring up for new larger stator completed 2022-11-01 13:21:26 +00:00
coil_plugin.py support for 4 layers 2022-10-28 14:11:33 +01:00
helpers.py Auto wiring up for new larger stator completed 2022-11-01 13:21:26 +00:00
pcb_json.py Auto wiring up for new larger stator completed 2022-11-01 13:21:26 +00:00
README.md Add links to gerber files 2022-10-25 09:48:51 +01:00
requirements.txt Refactor common functions out from notebooks 2022-10-11 11:14:28 +01:00

Demo Video

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

The project is still very experimental - so there are no guarantees that these will work or do anything useful...