[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Open Source mechanical CAD on the horizon



On Mar 9, 2010, at 4:01 PM, DJ Delorie wrote:

> 
>> is that true?  Is it simply generated on the fly off the pad
>> information during gerber export?
> 
> That's true.
Just in case anyone is confused by the tight snippage: It is true that there is no "real" paste layer, it is generated on the fly off the pad information.

OK, so... for a long time, I've been thinking about how to add refined paste information.  My approach would be:

0. Extend the lexer and parser to "warn and ignore" on unrecognized keywords in footprints. This allows some backwards compatibility of pcb with new footprint keywords, although at the expense of error checking.  Maybe should have a 'strict' option to cause an error.

1. Extend footprints to include a "paste (...)" keyword that looks pretty much like the 'pad()" keyword.

2. If "paste()" doesn't exist for a footprint, synthesize one from the "pad()" information.  That way, old footprints work just as they do now.

3. Add a paste layer to carry around the paste() information through all the translation/rotation of the symbol.

0, 1, and 2 I think I can sort out relatively easily.  I have no idea how to add a layer and do all the necessary updates for footprint relocation.

-dave



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user