kicad-developers team mailing list archive
Mailing list archive
Re: Footprint Wizard Farnell/Eagle.scr/Ultra librarian, and scripting, how to integrate
Hi Edwin, some kind of REST api would be perfect, I've just found they have
But not sure if it provides the link or directions to get to the .zip file,
and they require you to register an api key (depending on license it could
be included in the script).
Other way would be to fetch the http for the part itself, and then parse
the HTML finding out the .zip file with the footprint description.
2012/8/6 Edwin van den Oetelaar <oetelaar.automatisering@xxxxxxxxx>
> Hello everyone,
> Short summary.
> I have been working with Miguel behind the scenes trying to get scripting
> fully integrated.
> One of the first thing we can do with scripting is generating foot-prints.
> Miguel already has an example working. (parametric footprint)
> Since the Farnell/Element14 website recently is making footprints
> available as eagle.scr files I would like
> to integrate that into the wizard.
> Some things are easy: getting a file from their website, like
> Parsing this will not be hard, just some work.
> ** I do have a problem: how to get from an order code : 1885120 on farnell
> to the number 1550314. **
> Once we have the zip file, the order code is easily found, since it is in
> the zip file:
> Attribute OC_NEWARK '41T0725';
> Attribute OC_FARNELL '1885120';
> Any thoughts or experience you want to share?
> Edwin van den Oetelaar
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
Miguel Angel Ajo Pelayo
+34 636 52 25 69