I’m interested in making schematic symbols from a Python script (currently interested in Atmel ARM chips), and am wondering if there’s a description of the lib format, outside of the Eeschema source code? If not, I’m happy to make one as I figure it out, but would prefer not to reinvent the wheel if such a description exists. Thanks! -Ian-
I’ve made some progress this weekend on a script that’s much like yours, but tailored to generating Atmel SAM symbols, and have started up a document to describe the lib format. I’ll attach it to this thread as soon as I’m not a new forum member anymore. -Ian-
Thanks Bob, somehow I just managed to read through the doc you linked to earlier - not sure if my Internet connection just wasn’t working or if I overlooked it earlier. Very good doc at any rate!
I think the notes about the tildes (~) that you mentioned and the Ti both came from reading the source code, though could be mistaken.
@davidsrsb - The TODOs are things that weren’t required to accomplish my immediate goal (making a set of symbols for some Atmel SAM parts). So I agree 100% that the doc is not complete, but it does contain enough to make a script for generating parts for instance. I guess if the plan is to change the format anyways, it’s probably not worth putting effort in to making a full format description just for the sake of completeness?
Not for some time and I am sure that there will be an issue or two with peoples private libs converting to the new format, especially with script generated parts or converted from a third party pcb package.
If nothing else writing a document like this makes everyone think a bit deeper about what they just assumed.