X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JQqQWFFlkwyaUCKzplT0BNBaDGUYdNGyupeKHrbUH7k=; b=jFmnVmD0S7k46M3k8x8brcI+dDNOHxC/vS4ibyxbTote4+eeSrRfdCJupyIEh1bvHS Ike+RydjTqr5Fo+jEMlBST9EiUEyG2Y9vxMVMK0s9ipM7K2YsWIRbPDEvKFCbew1bWRp jUmN5oOHa6xutpEW1pf9EeImQQnQAghfi0itnJPyfRDXTYnpqZx1Am07crkUSQT26pzP 1EgApermyn1XjO7R0wURPbxws6DTP/HKp/cTp8kpgGJW6o6LY3IOMYf69OBawENcwuj3 rZhjKlgqGcT3OxF1rZ9xS2WQngp9sma4/OQfNqkCNl05qCSnMUz2qr9497/IjNADoNdK 5TjQ== MIME-Version: 1.0 X-Received: by 10.180.185.44 with SMTP id ez12mr1322wic.7.1370648089810; Fri, 07 Jun 2013 16:34:49 -0700 (PDT) In-Reply-To: References: Date: Fri, 7 Jun 2013 19:34:49 -0400 Message-ID: Subject: Re: [geda-user] Re: refdes renumber From: Nathan Stewart To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=001a11c2257481674b04de98e03f 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 --001a11c2257481674b04de98e03f Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable I actually have a working renumber command in the my local working copy gui. I sent email to the list but nobody responded, so I figured interest was low. Right now its limited to fixed string prefixes, but I am considering making it regex based if it provides usable functionality. On Jun 7, 2013 6:57 PM, "Kai-Martin Knaak" wrote: > =E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA wrote: > > > This script completely compatible with refdes_renum script of geda > > project. > > Meaning, it may evolve into a drop-in replacement in the GUI? > > > > Main difference of this script that his renumber REFDESs attribute > > in schematic files or schematic and PCB files sumaltenuously. > > Nice. > Can the script deal with refdes mangling? That is, refdes strings in > the layout that are a concatenation of the refdes of a sub sheet > symbol and the refdes of the symbol itself. E.g, if the refdes of a > sub sheet symbol is "SUB5" and the refdes of a resistor in the sub > sheet is "R1", then the footprint in the layout may receive the refdes > "SUB5R1". > > IMHO, python is an excellent choice for scripting :-) > > ---<)kaimartin(>--- > -- > Kai-Martin Knaak > > --001a11c2257481674b04de98e03f Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable

I actually have a working renumber command in the my local working copy = gui. I sent email to the list but nobody responded, so I figured interest w= as low.

Right now its limited to fixed string prefixes, but I am considering mak= ing it regex based if it provides usable functionality.

On Jun 7, 2013 6:57 PM, "Kai-Martin Knaak&q= uot; <kmk AT familieknaak DOT de>= wrote:
=E1=CC=C5=CB=D3=C5=CA =E8=C1=D2=D8=CB=CF=D7=D3=CB=C9=CA wrote:

> This script completely compatible with refdes_renum script of geda
> project.

Meaning, it may evolve into a drop-in replacement in the GUI?


> Main difference of this script that his renumber REFDESs attribute
> in schematic files or schematic and PCB files sumaltenuously.

Nice.
Can the script deal with refdes mangling? That is, refdes strings in
the layout that are a concatenation of the refdes of a sub sheet
symbol and the refdes of the symbol itself. E.g, if the refdes of a
sub sheet symbol is "SUB5" and the refdes of a resistor in the su= b
sheet is "R1", then the footprint in the layout may receive the r= efdes
"SUB5R1".

IMHO, python is an excellent choice for scripting :-)

---<)kaimartin(>---
--
Kai-Martin Knaak

--001a11c2257481674b04de98e03f--