Can somebody please supply more details of the metadata database.
The documentation gives an example which it says can be exported from a spreadsheet. But what format should it be exported? CSV, XLS XLSX?
Also looking at the column headings I don’t see how it ties up which Eagle Part is which entry. Is it straight numerical order?
Okay I found out that dif is a data interchange format and that is presumably what lib2svg wants. Still not sure how one ties up the Eagle part to be converted. Maybe nr is the number of part within the library
Yes I managed to create a part PIC32mx250f128-B.
Had to run some windows library program to create the Eagle Part and then I created a eagle library with just the one part.
The instructions for running lbr2svg are in the README.md file at
https://github.com/fritzing/eagle2fritzing/tree/master/lbr2svg
I created a cut down spreadsheet as per instructions with just the one entry and nr set to 1 and then did a saveas choosing format dif
Then ran lbr2svg
Once I found the instructions it was fairly straight forward unlike
converting a PCB
Appreciate the steps/info on how you successfully used lbr2svg. Do you happen to know of a way to convert a Eagle library/part to SVG (for those who don’t have a copy of Eagle)?
Like Old_Grey says use the free version of eagle. The Free version restricts the size and number of layers on boards, other than that its the full product
I tried to follow the instructions and pulled the item I wanted out of the spreadsheet, placed it into a new spreadsheet, then saved it as a .dif.
When I run the command “lbr2svg” and get the error “command not found”. I’m in the following directory ~/eagle-7.6.0/lbr/seeed/lbr2svg. I’ve it with the extension and without, as root and without. The file is in the directory. Not really sure what’s wrong.
I seem to have lots of errors.
sudo ./lbr2svg.pro
: not foundro: 6: ./lbr2svg.pro:
./lbr2svg.pro: 8: ./lbr2svg.pro: FRITZING_SRC: not found
: not foundro: 9: ./lbr2svg.pro:
: not foundro: 10: ./lbr2svg.pro:
./lbr2svg.pro: 11: ./lbr2svg.pro: INCLUDEPATH: not found
: not foundro: 12: ./lbr2svg.pro:
./lbr2svg.pro: 13: ./lbr2svg.pro: QT: not found
xmlpatterns: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/xmlpatterns': No such file or directory
./lbr2svg.pro: 15: ./lbr2svg.pro: network: not found
: not foundro: 19: ./lbr2svg.pro:
./lbr2svg.pro: 20: ./lbr2svg.pro: TARGET: not found
./lbr2svg.pro: 21: ./lbr2svg.pro: CONFIG: not found
./lbr2svg.pro: 22: ./lbr2svg.pro: CONFIG: not found
./lbr2svg.pro: 23: ./lbr2svg.pro: TEMPLATE: not found
./lbr2svg.pro: 24: ./lbr2svg.pro: SOURCES: not found
./lbr2svg.pro: 25: ./lbr2svg.pro: lbrapplication.cpp: not found
./lbr2svg.pro: 26: ./lbr2svg.pro: miscutils.cpp: not found
./lbr2svg.pro: 29: ./lbr2svg.pro: 29544FRITZING_SRC/utils/textutils.cpp: not found
./lbr2svg.pro: 30: ./lbr2svg.pro: 29544FRITZING_SRC/utils/schematicrectconstants.cpp: not found
./lbr2svg.pro: 31: ./lbr2svg.pro: 29544FRITZING_SRC/utils/misc.cpp: not found
./lbr2svg.pro: 32: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgfilesplitter.cpp: not found
./lbr2svg.pro: 33: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathlexer.cpp: not found
./lbr2svg.pro: 34: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathparser.cpp: not found
./lbr2svg.pro: 35: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathgrammar.cpp: not found
./lbr2svg.pro: 36: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathrunner.cpp: not found
: not foundro: 37: ./lbr2svg.pro:
: not foundro: 38: ./lbr2svg.pro:
./lbr2svg.pro: 39: ./lbr2svg.pro: HEADERS: not found
./lbr2svg.pro: 40: ./lbr2svg.pro: miscutils.h: not found
./lbr2svg.pro: 42: ./lbr2svg.pro: 29544FRITZING_SRC/installedfonts.h: not found
./lbr2svg.pro: 43: ./lbr2svg.pro: 29544FRITZING_SRC/utils/textutils.h: not found
./lbr2svg.pro: 45: ./lbr2svg.pro: 29544FRITZING_SRC/utils/schematicrectconstants.h: not found
./lbr2svg.pro: 46: ./lbr2svg.pro: 29544FRITZING_SRC/utils/misc.h: not found
./lbr2svg.pro: 47: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgfilesplitter.h: not found
./lbr2svg.pro: 48: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathlexer.h: not found
./lbr2svg.pro: 49: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathparser.h: not found
./lbr2svg.pro: 50: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathgrammar_p.h: not found
./lbr2svg.pro: 51: ./lbr2svg.pro: 29544FRITZING_SRC/svg/svgpathrunner.h: not found
: not foundro: 52: ./lbr2svg.pro:
./lbr2svg.pro: 53: ./lbr2svg.pro: RESOURCES: not found
: not foundro: 54: ./lbr2svg.pro:
./lbr2svg.pro: 55: ./lbr2svg.pro: win32: not found
./lbr2svg.pro: 56: ./lbr2svg.pro: DEFINES: not found
: not foundro: 57: ./lbr2svg.pro: }
: not foundro: 58: ./lbr2svg.pro:
Brd2svg is a tool for converting EAGLE .brd files to Fritzing
parts.We make no guarantees about brd2svg’s usefulness or
suitability, and furthermore the program is unsupported: we will
cheerfully ignore all questions, bug reports and feature requests.
We release brd2svg under the same open-source license as that of the
overall Fritzing project (GPL2/GPL3).
How to build it
Brd2svg relies on the Qt Framework, and should work with versions 4 and 5. To build brd2svg, you first have to install the Qt SDK, and then
easiest path for building it is to use Qt Creator (an IDE that comes with the SDK) to open brd2svg.pro. We have built and used brd2svg on both Mac and Windows (though it has been some time since anyone has used the Mac build). It should also work under Linux.
If you prefer the command line, you can also build it like this:
Mac
brew install qt
qmake -spec macx-g++ brd2svg.pro
make
Hi…i am a new user here. In my case when I run the command “lbr2svg” and get the error “command not found”. I’m in the following directory ~/eagle-7.6.0/lbr/seeed/lbr2svg. I’ve it with the extension and without, as root and without. The file is in the directory. Any suggestion.