mirror of
https://github.com/atomic14/kicad-coil-plugins.git
synced 2024-10-18 09:06:57 +00:00
plot multiple coils
This commit is contained in:
parent
5bd727aa48
commit
ca1193d2ba
3 changed files with 176 additions and 42 deletions
27
README.md
Normal file
27
README.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# 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
|
||||||
|
|
||||||
|
This is a bit of a pain as KiCad comes with its own python installation. You'll need to install any required dependencies into this installation.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin
|
||||||
|
pip3 install numpy scikit-spatial
|
||||||
|
```
|
||||||
|
|
||||||
|
You can now link any plugins that you want to make available to KiCad by symbolic linking them into the `kicad_plugins` directory.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ln -s ~/Library/Application Support/kicad/scripting/plugins/XXXXXX.py XXXXXX.py
|
||||||
|
```
|
188
coil.ipynb
188
coil.ipynb
File diff suppressed because one or more lines are too long
|
@ -2,4 +2,5 @@ matplotlib
|
||||||
jupyter
|
jupyter
|
||||||
numpy
|
numpy
|
||||||
pandas
|
pandas
|
||||||
scikit-spatial
|
scikit-spatial
|
||||||
|
scipy
|
Loading…
Reference in a new issue