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: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 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