www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/08/29/09:23:22

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sat, 29 Aug 2015 15:25:26 +0200 (CEST)
X-X-Sender: igor2 AT igor2priv
To: geda-user AT delorie DOT com
X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu"
From: gedau AT igor2 DOT repo DOT hu
Subject: [geda-user] [pcb-rnd] 2nd new feature: footprint tags on gtk
In-Reply-To: <alpine.DEB.2.00.1508290850290.6924@igor2priv>
Message-ID: <alpine.DEB.2.00.1508291516500.6924@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1508290850290 DOT 6924 AT igor2priv>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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

Hi all,

according to the poll, the 3rd most popular feature was footprint tagging.

I've introduced an optional syntax in file elements (static footprint 
files): lines starting with ## are not just comments but also define a 
tag for the footprint. Tags are freeform text. I've tagged pcb-rnd's 
pcblib making up some conventions, e.g. for connectors there's a geo:90 or 
geo:180 tag depending on whether the connector is facing up (180) or side 
(90). This syntax should not cause compatibility problems between mainline 
pcb and pcb-rnd.

Tags are read into the memory cache during the initial footprint library 
crawl.

The gtk footprint selector (the library window) now prints tags under the 
preview drawing.

The filter text assumes words after the first space are tags and filters 
the results for them. For example if I type

db15

all dsub 15 connector variants appear; if I typ

db15 geo:90

the list is limited to side facing dsub15 connectors. Multiple tags can be 
specified, e.g.

db geo:180 geo:male

will list all upward facing male dsub connectors. A special use is to 
leave the name empty (start the filter text with a space); in this case 
any name matches and the filter is by tags only. For example

  for:diode

will filter for any footprint that is tagged for "in common use for 
diodes", regardless of the footprint name.

Regards,

Igor2

- Raw text -


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