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=aBGdGFjP35pzyH6jPF77DrhJpoQYO/cd6/KpF9FZaTg=; b=HRKCYtGegdHrRTe2pT1AARU6j8ahqeeaBkORi4MBKYFfJEg5c5BZHaRtr4RxGSVqcW 217mUIXxnLy8IKJItEkEsNkM7tXZNzTsg3Y6JGBTD4tXtBZPOMWNyjkAX8d3uya8SHYy C8dejvp7/CQ41qFyXkxxxPOuQ/30UM/kg+DQn1864GQQbwBmA1dTHtWjREz8EOJTSi2p Q4cDc10TEqGzSHs5oAAjqz8q/+6kTY4Dm0mRT/LscF6Npg0k9Y4NA+7S4KLyRQUcweE0 x4oKEeGUEcT8nQSutnqJPzin4hlpgL+CLmiNaOY5ifs18HiMWUkxZtcSsO8KkYwUybMF 745g== MIME-Version: 1.0 X-Received: by 10.182.104.101 with SMTP id gd5mr1657510obb.54.1396703217156; Sat, 05 Apr 2014 06:06:57 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Apr 2014 17:06:57 +0400 Message-ID: Subject: Re: [geda-user] geda renumbering tool From: =?KOI8-R?B?4czFy9PFyiDowdLYy8/X08vJyg==?= To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=089e0115ec141d870b04f64b4f89 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 --089e0115ec141d870b04f64b4f89 Content-Type: text/plain; charset=ISO-8859-1 http://www.gedasymbols.org/user/alexey_kharikovskiy/ 2014-04-02 9:22 GMT+04:00 Britton Kerin : > > I do it with the attached script. Its somewhat ugly but works for me. > From the header comment of the script: > > # This script supports a style of repetitive layout in PCB in which you > # do the layout for the first copy of a subcircuit, turn off 'Require > # unique element names', copy the subcircuit layout, paste that subcircuit > # layout exactly once, then run this script to get the refdeses set right. > # At some point you probably have to delete the not-layed-out original > # elements with the adopted names as well. > # > # To do the above we take a pcb file name which should contain exactly two > # identical sets of selected elements and a number, then find all repeated > # refdeses (e.g. the second "S1/R1") that occur before the NetList() line > # in the file, and change them to for example "Sn/R1", where n is the given > # number. A backup of the given pcb file called given_file.rrbackup is > # created before anything is done. Beware running this script wrong twice > :) > > Britton > > > On Tue, Apr 1, 2014 at 3:09 AM, Filippo Micheletti < > filippomicheletti AT gmail DOT com> wrote: > >> Hi, >> I use this way too, but it produces long names and you have to provide an >> incremental "head-number" foreach "module" you design... also when you >> paste modules into a project you obtain not so clear numbering. >> What I would to do is to design each module using the standard numbering >> (starting from 1, using autonumbering tool) and then renumber globally all >> the used modules in a project applying new names to each module layout for >> pasting them in the whole layout of the project where I used them. >> I found a renumbering plugin here ( >> http://www.bourbonstreetsoftware.com/GEDAComponentRenumbering.html) it >> does the renumbering job, what it's missed is the creation of command files >> to renumber component on the single layouts... I think it should be not so >> hard to do but I have no free-time to learn the gschem and pcb working and >> add this functionnality :( >> >> >> -Filippo- >> >> >> >> >> On 1 April 2014 10:53, Levente wrote: >> >>> Ten years ago, I've done the grenum utility that does the job. However, >>> the built in renumber function is good enough so I don't use it myself. >>> What I do is I have 3 digit RefDes's on each layout. The first digit (MSB) >>> is the sheet number. So I have R100, R101 on one sheet, and R201, R202 on >>> the other. This can be done with the integrated tool. >>> >>> So you can say that sheet N will allways be this or that circuit. >>> >>> I don't know if I got your problem right... >>> >>> 73! de HA5OGL >>> >>> >>> On Tue, Apr 1, 2014 at 10:17 AM, Filippo Micheletti < >>> filippomicheletti AT gmail DOT com> wrote: >>> >>>> Hi everyone, >>>> does a tool for renumbering elements in a schematic avoiding to >>>> reposition them on layout exist? >>>> This would be very useful to reuse circuits blocks with already done >>>> layout in other projects... >>>> Thank you >>>> >>>> -Filippo- >>>> >>> >>> >> > --089e0115ec141d870b04f64b4f89 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2014-04-02 9:22= GMT+04:00 Britton Kerin <britton DOT kerin AT gmail DOT com>:

I do it with the attached script.=A0 Its= somewhat ugly but works for me.=A0 From the header comment of the script:<= br>
# This script supports a style of repetitive layout in PCB in which you
= # do the layout for the first copy of a subcircuit, turn off 'Require # unique element names', copy the subcircuit layout, paste that subcirc= uit
# layout exactly once, then run this script to get the refdeses set = right.
# At some point you probably have to delete the not-layed-out ori= ginal
# elements with the adopted names as well.
#
# To do the above we tak= e a pcb file name which should contain exactly two
# identical sets of s= elected elements and a number, then find all repeated
# refdeses (e.g. t= he second "S1/R1") that occur before the NetList() line
# in the file, and change them to for example "Sn/R1", where n is= the given
# number.=A0 A backup of the given pcb file called given_file= .rrbackup is
# created before anything is done.=A0 Beware running this s= cript wrong twice :)

Britton


On Tue, Apr 1, 2014 at 3:09 AM, Filippo Micheletti= <filippomicheletti AT gmail DOT com> wrote:
Hi,
I use this way too,= but it produces long names and you have to provide an incremental "he= ad-number" foreach "module" you design... also when you past= e modules into a project you obtain not so clear numbering.
What I would to do is to design each module using the standard numbering (s= tarting from 1, using autonumbering tool) and then renumber globally all th= e used modules in a project applying new names to each module layout for pa= sting them in the whole layout of the project where I used them.
I found a renumbering plugin here (http://www.bo= urbonstreetsoftware.com/GEDAComponentRenumbering.html) it does the renu= mbering job, what it's missed is the creation of command files to renum= ber component on the single layouts... I think it should be not so hard to = do but I have no free-time to learn the gschem and pcb working and add this= functionnality :(


-Filippo-
<= br>



On 1 April 2014 10:53, Levente <lev= entelist AT gmail DOT com> wrote:
Ten years ago, I've done the grenum uti= lity that does the job. However, the built in renumber function is good eno= ugh so I don't use it myself. What I do is I have 3 digit RefDes's = on each layout. The first digit (MSB) is the sheet number. So I have R100, = R101 on one sheet, and R201, R202 on the other. This can be done with the i= ntegrated tool.

So you can say that sheet N will allways be this or that circuit.=

I don't know if I got your problem right...

= 73! de HA5OGL


On Tue, Apr 1, 2014 at 10:17 AM, Filippo Micheletti <<= a href=3D"mailto:filippomicheletti AT gmail DOT com" target=3D"_blank">filippomich= eletti AT gmail DOT com> wrote:
Hi everyone,
does a tool for renumbering elements in a= schematic avoiding to reposition them on layout exist?
This woul= d be very useful to reuse circuits blocks with already done layout in other= projects...
Thank you

-Filippo-




--089e0115ec141d870b04f64b4f89--