X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ham03.websitewelcome.com X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gibibit.com; h=Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-BWhitelist:X-Source:X-Source-Args:X-Source-Dir:X-Source-Sender:X-Source-Auth:X-Email-Count:X-Source-Cap; b=FsjUFllKa5Up0TtkXRzQqi3SJwgCWjoWHYASNBUP7AZGRQ1M3Wx1LIZJHySOPwGhtDZ3KLwxoKAaxPkAZCAN3T0UMxHJy+3tAWRnQbix/065rXXUymalQIBvj3UrOmcT; Date: Tue, 31 Jan 2012 17:31:18 -0800 From: Colin D Bennett To: geda-user AT delorie DOT com Subject: Re: [geda-user] Multiple footprint attributes in gschem symbols? Message-ID: <20120131173118.27613323@svelte> In-Reply-To: <1328057213.6886.19.camel@AMD64X2.fritz.box> References: <1328057213 DOT 6886 DOT 19 DOT camel AT AMD64X2 DOT fritz DOT box> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.6; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - delorie.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: spk.venturedesignservices.com (svelte) [65.61.115.34]:61816 X-Source-Auth: colin AT gibibit DOT com X-Email-Count: 3 X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q111VPJa013283 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 Precedence: bulk On Wed, 01 Feb 2012 01:46:53 +0100 Stefan Salewski wrote: > There exist devices like special DC/DC-converters, > micro-controllers and other special parts, which are available in > two or three footprints, like DIP8 and SO8. (With identical > function and pin numbering!) > > How do we specify these two footprints in symbols? > > I am asking because I intend to display the variants in an > editable GtkComboBox in the attribute editor. > > footprint_1=DIP8 > footprint_2=SO8 > > or > > footprint=DIP8, SO8 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). > may be fine for the symbol file, so we can use > > footprint=DIP8 > > in the schematic file for users selection? I think someone (Kai-Martin?) made a patch or at least a design mockup suggesting how it would be implemented where a heavyweight symbol could provide a 'footprints=FOOTPRINT1, FOOTPRINT2, FOOTPRINT3' attribute that can give the user choices. Regards, Colin