Hi Johannes, To convert a library programmatically, you have to build KiCad with python scripting enabled. Then, in kicad/scripts, you have a file called lib_convert.py which can do the conversion. I did a script, a while ago, that simply called this . It's on the developer's mailing list here<https://lists.launchpad.net/kicad-developers/msg11357.html>, but I attached it again because there were some other changes in the patch, which I just removed.
Carl On Fri, Jan 10, 2014 at 2:57 AM, Johannes Spanier <[email protected]> wrote: > Hi Carl, > > You have converted the entire existing module library from legacy to the > new s-expression format. How exactly did you do that? It works OK if I do > it manually for some modules in KiCad, i.e. load legacy module and save to > new format. But is there a better way to do this in bulk? > > There are many very good libraries out there and we should give > contributors a hand and tell them how to convert their legacy libraries. > > Regards > Johannes > > > > -- > Mailing list: https://launchpad.net/~kicad-lib-committers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-lib-committers > More help : https://help.launchpad.net/ListHelp >
lib_convert_batch.patch
Description: Binary data
-- Mailing list: https://launchpad.net/~kicad-lib-committers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-lib-committers More help : https://help.launchpad.net/ListHelp

