delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/01/31/20:51:36

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Subject: Re: [geda-user] Multiple footprint attributes in gschem symbols?
From: Stefan Salewski <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
In-Reply-To: <1328059480.18404.1@kwak>
References: <1328059480 DOT 18404 DOT 1 AT kwak>
Date: Wed, 01 Feb 2012 02:47:49 +0100
Message-ID: <1328060869.6886.32.camel@AMD64X2.fritz.box>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.3
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q111oQRZ014219
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 2012-02-01 at 02:24 +0100, Kai-Martin wrote:
> For my effort to provide a newbie friendly starter library ("essential lib")
> I went for additional attributes "footprints" and "values". These plural
> attributes contain comma separated lists. E.g.
> 
> footprints=SO8, DIP8
> values=LL4148, 1N4148, 1N4001, 1N4005
> 
> My reasoning for this:
> 1) plural is intuitive
> 2) easy to expand -- just add more values when needed
> 3) the list provides a natural order. The designer of the lib may
> put the most common value to the front.
> 4) the list already shows with the current GUI
> 5) easy to parse for future releases to provide a drop-down list
> 

On Tue, 2012-01-31 at 17:31 -0800, Colin D Bennett wrote:
> footprint=X, Y isn't good because it overloads the footprint
> attribute.  I say the most general and cleanest way is to use
> “footprints=X, Y, Z” (note plural) and then choose the specific
> footprint for an instance of the symbol by settings
> “footprint=Y” (note singular).

Thanks, I fully agree. When other developers do agree also, maybe we can
add that to the documentation.

Best wishes,

Stefan



- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019