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

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 01 Feb 2012 02:24:37 +0100
From: Kai-Martin <kmk AT familieknaak DOT de>
Subject: Re: [geda-user] Multiple footprint attributes in gschem symbols?
To: geda-user AT delorie DOT com
In-Reply-To: <1328057213.6886.19.camel@AMD64X2.fritz.box> (from
mail AT ssalewski DOT de on Wed Feb 1 01:46:53 2012)
X-Mailer: Balsa 2.4.10
Message-Id: <1328059480.18404.1@kwak>
MIME-Version: 1.0
X-Spam_score: -2.9
X-Spam_bar: --
X-Provags-ID: V02:K0:aoon4qdtth/wXouyMEjjNs99sTlhebNZvBTeclvPlV6
BsK1v9M4J3CWkJ27INS88LKU5t/l+DxBDJe/AmYsogVqdwAzt6
PBl3tcjKw48QqKtyJ20VEX65a4eh84Z4zpbHMrEv6QQXWA/Yea
ZUKWaJPbgtgtwuxnVr18T+5+y8R+XphO8Z3h3xmz9ilaOS5i8w
RnTo+0zbyHVe33G86pr0T8NwunQpqCvfxd8tSxkNVOnoVM9T3m
z8i6ABtwbUsUT/WSfEFq8CM4XtMoMP36/P0eCI2Iw2LvW/c31c
O3OVjhcbExhpsSZjpLEsohP2KDhNNevn4kAupUFKf3l9/ikdw=
=
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

--=-FwGNsCm3b+KINShwGx9h
Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 02/01/2012 01:46:53 AM, Stefan Salewski wrote:

> How do we specify these two footprints in symbols?
>=20
> I am asking because I intend to display the variants in an editable
> GtkComboBox in the attribute editor.
>=20
> footprint_1=3DDIP8
> footprint_2=3DSO8
>=20
> or
>=20
> footprint=3DDIP8, SO8

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=3DSO8, DIP8
values=3DLL4148, 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

---<)kaimartin(>---
PS: http://www.gedasymbols.org/user/kai_martin_knaak/essential/essential.ht=
ml
--=20
Kai-Martin Knaak
Email: kmk AT familieknaak DOT de
=D6ffentlicher PGP-Schl=FCssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=3D0x6C0B9F53=

--=-FwGNsCm3b+KINShwGx9h
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk8olFgACgkQt9RkiGwLn1OiywCeLD2+F1OHjn8J/XFjj1F3CShT
xrkAn1D/WP3XCahZ1AfJVeppWJcufGAr
=Y2iM
-----END PGP SIGNATURE-----

--=-FwGNsCm3b+KINShwGx9h--

- Raw text -


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