David wrote:

> Hi,
> Thanks for finding the error?

You're welcome.

> The file formats are in the appendices of the main kicad documentation. 

No, but you did put me on the trail of the format docs.  In my
installation, they're in
/usr/local/kicad/doc/help/file_formats/file_formats.pdf. Unfortunately
it doesn't explain the pad attribute flag structure, just that it exists.

Anyway, for the file transistor-power.mod, I figured out the offending line:

At STD N 00A88001

Change to

At STD N 00E0FFFF

If the file is opened in Vi, the command is:

:%s/At STD N 00A88001/At STD N 00E0FFFF/

I tried this on a few other .mod files and it worked the same.  The
major problem, one preventing the easy use of sed to fix things is that
it's impossible to tell from the file name whether the file has SMD
footprints in it or not.  The existing attribute is correct for an SMD
component most of the time.

My approach is going to be to fix each file as I need a footprint from it.

John


-- 
John DeArmond
Tellico Plains, Occupied TN
http://www.neon-john.com    <-- email from here
http://www.johndearmond.com <-- Best damned Blog on the net
PGP key: wwwkeys.pgp.net: BCB68D77

Reply via email to