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

Re: gEDA-user: PCB format wishlist



On Mon, Sep 06, 2010 at 04:40:47PM -0400, DJ Delorie wrote:
> 
> I like the idea of using geometric shapes at the lowest level, but for
> most PCBs this is *way* too low-level to be efficient.  We need some
> way of arbitrarily grouping shapes, grouping groups, etc, and creating
> some sort of macro/library/callout for those groups, so that we don't
> end up (for example) redefining a pad stack for every one of hundreds
> of pins.
> 
> If our PCB file format had the concept of a "grouping function" that
> could define named macros that took named parameters, with some simple
> math and control logic, we could then use those macros to define new
> primitives.  So a function that defined a standard pad stack for a pin
> could be later called with a few simple parameters for each needed
> pin.
> 
> This same grouping function becomes our element library :-)
>

YAML has facilities for this: both creating user-defined types, and
concatenating multiple documents so that we can preface every .pcb
file with a global types file.
 


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