delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
Date: | Tue, 26 Jul 2022 01:00:19 +0200 (CEST) |
From: | Roland Lutz <rlutz AT hedmen DOT org> |
To: | "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Subject: | Re: [geda-user] Defaults for net attribute |
In-Reply-To: | <20220725164851.B70A680FBE4D@turkos.aspodata.se> |
Message-ID: | <4a12fc33-7d9b-95c-7c93-18d9e2eab0e@grinsen-ohne-katze.de> |
References: | <20220725164851 DOT B70A680FBE4D AT turkos DOT aspodata DOT se> |
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 |
On Mon, 25 Jul 2022, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote: > Hello, the net symbols I have have a e.g. net=+5V:1 > attribute which is visible so it is easily to change. > It would be nice to be able to drop the ":1" part of > the attribute: > . there is only one pin > . without it I could have the rest in a larger font > . it is plain ugly and might confuse beginners > > So I'm loocking in the code to find where it is parsed. > Unforturnately gschem doesn't work here so I'm loockin into lepton. Do you mean the net symbol doesn't work with gschem, or gschem doesn't work for some other reason? I don't know about lepton, but in gEDA/gaf, net= attributes are handled in pp_netattrib.py: https://github.com/rlutz/geda-gaf/blob/master/xorn/src/gaf/netlist/pp_netattrib.py gEDA supports this out of the box, though, so you don't need to change the code; just replace "net=+5V:1" with "netname=+5V" and remove the pinnumber= attribute. Roland
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |