4ms / 4ms-kicad-script

Scripts for kicad
23 stars 5 forks source link

How to install but also keep up to date with the dev updates #5

Closed electron271 closed 2 years ago

electron271 commented 2 years ago

As I try to contribute to these repos, and also want the latest plugins always, how do I get KiCAD to read the plugins but also easily pull new updates from git?

electron271 commented 2 years ago

I tried the normal install, but it only worked for the faceplate generator, and only partly

danngreen commented 2 years ago

I symlink the action plugin files into the Kicad 6 plug-in dir. Something like this does the trick:

ln -s /full/path/to/4ms-kicad-script/makefp/kicad-6-plugin/* /full/path/to/KiCad/6.0/scripting/plugins/

Also, keep in mind you have to copy the faceplate_footprint_lib_TEMPLATE.py file, rename it faceplate_footprint_lib.py, and then edit the new file with the path to your 4ms_Faceplate.pretty library

electron271 commented 2 years ago

I'm on windows, but there is something similar, I'll close this issue once I test it. (I do plan to dual-boot)

electron271 commented 2 years ago

@danngreen May I ask a few things?

  1. What KiCAD theme do you use? I saw it, and it looks pretty cool!
  2. What Linux Distro do you use?
  3. What software do you use?
  4. How do I prototype with thonkiconn? I ordered some of the breadboard friends, but they were the wrong size for my breadboard
danngreen commented 2 years ago
  1. I customized some of the colors from the Nord theme so it looked good on my screen. I use different colors for my different computers since the screens are different. And I often change the opacity and sometimes the colors as I work, depending on what layers I want to highlight at the moment.
  2. Mostly macOS
  3. Not sure what you mean... software for what?
  4. We use the PJ398SM jacks from WQP, which I think might be the same ones Thonk sells (I'm not sure, though, you'd have to ask Thonk). For using with a breadboard, my tip is to solder wires to the jack and then stick the wires in the breadboard. Use solid wire, not stranded. Another tip is to use an old faceplate and mount the jacks to that. Then you can keep all your jacks together, and if the wires are long enough, you can even mount the faceplate to a case.
electron271 commented 2 years ago

I mean software to make synthesizers (I'll work on stuff in a little)

electron271 commented 2 years ago

Also, where do you buy the jacks? I would buy some more jacks, but the shipping is ridiculous

electron271 commented 2 years ago

@danngreen I'm going to do the symlinks right now

danngreen commented 2 years ago

Synthcube, Modular Addict, and a few other places sell parts for eurorack modules.

electron271 commented 2 years ago

I live pretty close to ModularAddict (but not in the same state), so I'll see if maybe I can order from them (when they have it in stock)

electron271 commented 2 years ago

Alright, I'm on windows, so heres the command for anyone else who might want it (maybe put in the README?) mklink X:\full\path\to\4ms-kicad-script\makefp\kicad-6-plugin\* X:\full\path\to\KiCad\6.0\scripting\plugins\ RUN WITH ADMIN, REPLACE X: WITH DRIVE LETTER

danngreen commented 2 years ago

Thanks for that. I updated the makefp README in 5e4ea21cd21d7417ba989ff5b3ee70eff6e00ad6

danngreen commented 2 years ago

OK to close this issue?

electron271 commented 2 years ago

Yes, but actually revert that, windows has a lot of problems with symlinks that makes that command not work @danngreen

electron271 commented 2 years ago

So actually re-opened I guess! 🤦

danngreen commented 2 years ago

Ah ok. I'll remove it.

electron271 commented 2 years ago

I think that maybe there should be a bash and batch script for making all of the symlinks?

electron271 commented 2 years ago

I'm making a PR for it, I'll post the number in a second

electron271 commented 2 years ago

I'm on linux, so I'm testing it right now