pcb-stator-coil-generator/README.md

35 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2022-10-22 17:31:55 +00:00
[![Demo Video](https://img.youtube.com/vi/CDhlx_VMpCc/0.jpg)](https://www.youtube.com/watch?v=CDhlx_VMpCc)
2022-10-02 15:50:49 +00:00
# Getting set up
## Running the notebook locally
Make sure you have python3 installed. Then run the following commands:
```bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
jupyter notebook
```
## Getting KiCad set up
2022-10-08 17:01:14 +00:00
Add the plugin to KiCad by symbolically linking it to the `kicad_plugins` directory.
2022-10-02 15:50:49 +00:00
```bash
2022-10-08 17:01:14 +00:00
ln -s ${PWD}/coil_plugin.py ~/Documents/KiCad/6.0/scripting/plugins/coil_plugin.py
2022-10-02 15:50:49 +00:00
```
2022-10-25 08:48:51 +00:00
## 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...
2022-11-19 08:24:27 +00:00
- 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/