Dolphin Plugin for footprint viewing


#1

Hello All, I was wondering if anyone had any experience with Dolphin file manager. Since the pcbnew pretty libs are basically directory file structures now, I find it’s easier to use Dolphin to move and clean up my footprint libs than the built in kicad tools. That being said, it would be really nice if I could actually see the footprint in preview on Dolphin. Since Dolphin support svg, I’ve written a script that gens svg’s automagically (do this with sch libs too, but much more complicated to explain), however this is 2 files that I move, and sometimes I drag and drop the wrong thing from time to time… I was thinking it would be nice to have a plugin for Dolphin that would show the footprint, thus only one file and easy to use. Anyway, it seems that the thumbnailers are binaries, however I did hear from someone, on another forum, that there is a way to use scripts, but I hit a dead end on that path. Any pointers?


#2

Hi Richard, hope its not inappropriate to bump this old of a topic, but if that script is python based, would you be willing to share it? I’m working on building a Django based management tool for KiCAD, and would like to add FP previews to the tool. I’ve posed a preview here.


#3

It was a perl script and not too clever, more of a hack in many ways from a
few other scripts that I wrote so it has a little bloat. I just put it out
on GIT.

https://github.com/rhowlett/kicad_scripts
https://github.com/rhowlett/kicad_scripts

Look for 2 scripts, one is a perl module called* gen_svg.pm
http://gen_svg.pm* and the other is the main script* kicad_sym2svg.pl
http://kicad_sym2svg.pl *You will need to modify the path in the main
file to find the gen_svg lib.

Maybe not to hard to convert to python, perl is just really good at parsing
files like this.