mirror of
https://github.com/atomic14/kicad-coil-plugins.git
synced 2024-10-18 09:06:57 +00:00
An iPython Notebook and KiCad plugin that together can generate a variety of PCB stator coil designs for manufacture by PCBWay.
2b8a4be149
Feature/visualisations |
||
---|---|---|
simulations | ||
.DS_Store | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.python-version | ||
coil_generator-6.ipynb | ||
coil_generator-12.ipynb | ||
coil_generator-radial.ipynb | ||
coil_plugin.py | ||
helpers.py | ||
pcb_json.py | ||
README.md | ||
requirements.txt |
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
You can order the PCBs directly from PCBWay (or download the Gerbers) from these links
The project is still very experimental - so there are no guarantees that these will work or do anything useful...
- 6 circular coils - https://www.pcbway.com/project/shareproject/Proof_of_concept_6_coil_spiral_PCB_stator_23ae7370.html
- 6 wedge coils - https://www.pcbway.com/project/shareproject/Proof_of_concept_6_coil_wedge_PCB_stator_c231a379.html
- 12 wedge coils - https://www.pcbway.com/project/shareproject/Proof_of_concept_12_coil_wedge_PCB_stator_c54d9374.html
Building python to take advantage of the M1 Mac Multiprocessors
https://www.reddit.com/r/Python/comments/qog8x3/if_you_are_using_apples_m1_macs_compiling_numpy/