← Back to team overview

kicad-developers team mailing list archive

Re: Forward-compatibility in s-expression formats

 

On 06.05.2014 20:28, John Beard wrote:
I think it would be a good idea to allow unknown fields in the
s-expression formats so that an older KiCad doesn't choke on things it
doesn't understand, and doesn't need to.

For example, I was thinking that it might be helpful to add a field to
the footprint format: "part_reference", which would hold a list of
manufacturer and/or vendor IDs associated with this part. For example:

     (part_reference (fci 343233222) (farnell 1234567))

Hi John,

How about about adding a generic attribute set for each part, stored as a list of type-name-value entries:

(part xxx
   (attribute "simulation_model" (string "xxxx.cir") )
   (attribute "part_reference_farnell" (int 123456 ) )
)

Such scheme would not only allow adding a vendor P/N to each symbol, but also simulation models, high speed constraints (length, impedance) and so on.

My 3 cents,
Tom


Follow ups

References