delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/04/05/09:07:58

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: <CAC4O8c_tSFNP5Y-R4M7atHhR73NOdb8ZALGk+2DDhWgfteVR_w@mail.gmail.com>
References: <CAHBVutC1GYEp0YoP6xQqnQoM8NBZzezKYuaVZwwE6EVfNmGOgw AT mail DOT gmail DOT com>
<CACwWb3D0FMnqgrB+qpfOjtSnpLL-kFbH1Lt55xFVR=z8QYTtYA AT mail DOT gmail DOT com>
<CAHBVutCgi0s++GaD7AZHztRg8pCHw2Rue7bQ4d7Et3beatfLcw AT mail DOT gmail DOT com>
<CAC4O8c_tSFNP5Y-R4M7atHhR73NOdb8ZALGk+2DDhWgfteVR_w AT mail DOT gmail DOT com>
Date: Sat, 5 Apr 2014 17:06:57 +0400
Message-ID: <CAG4ve9JdSeHZNVa23aDoLPfBMHqeXxqAkitXxC9+mTEjFGprkg@mail.gmail.com>
Subject: Re: [geda-user] geda renumbering tool
From: =?KOI8-R?B?4czFy9PFyiDowdLYy8/X08vJyg==?= <svetonomer AT gmail DOT com>
To: geda-user AT delorie DOT com
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

--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 <britton DOT kerin AT gmail DOT com>:

>
> 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 <leventelist AT gmail DOT com> 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

<div dir=3D"ltr"><a href=3D"http://www.gedasymbols.org/user/alexey_kharikov=
skiy/">http://www.gedasymbols.org/user/alexey_kharikovskiy/</a><br></div><d=
iv class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2014-04-02 9:22=
 GMT+04:00 Britton Kerin <span dir=3D"ltr">&lt;<a href=3D"mailto:britton.ke=
rin AT gmail DOT com" target=3D"_blank">britton DOT kerin AT gmail DOT com</a>&gt;</span>:<br=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>I do it with the attached script.=A0 Its=
 somewhat ugly but works for me.=A0 From the header comment of the script:<=
br><br>
# This script supports a style of repetitive layout in PCB in which you<br>=
# do the layout for the first copy of a subcircuit, turn off &#39;Require<b=
r>
# unique element names&#39;, copy the subcircuit layout, paste that subcirc=
uit<br># layout exactly once, then run this script to get the refdeses set =
right.<br># At some point you probably have to delete the not-layed-out ori=
ginal<br>

# elements with the adopted names as well.<br>#<br># To do the above we tak=
e a pcb file name which should contain exactly two<br># identical sets of s=
elected elements and a number, then find all repeated<br># refdeses (e.g. t=
he second &quot;S1/R1&quot;) that occur before the NetList() line<br>

# in the file, and change them to for example &quot;Sn/R1&quot;, where n is=
 the given<br># number.=A0 A backup of the given pcb file called given_file=
.rrbackup is<br># created before anything is done.=A0 Beware running this s=
cript wrong twice :)<span class=3D"HOEnZb"><font color=3D"#888888"><br>

<br>Britton</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br><br><d=
iv class=3D"gmail_quote">On Tue, Apr 1, 2014 at 3:09 AM, Filippo Micheletti=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:filippomicheletti AT gmail DOT com" targe=
t=3D"_blank">filippomicheletti AT gmail DOT com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi,<div>I use this way too,=
 but it produces long names and you have to provide an incremental &quot;he=
ad-number&quot; foreach &quot;module&quot; you design... also when you past=
e modules into a project you obtain not so clear numbering.<br>



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.</div>



<div>I found a renumbering plugin here (<a href=3D"http://www.bourbonstreet=
software.com/GEDAComponentRenumbering.html" target=3D"_blank">http://www.bo=
urbonstreetsoftware.com/GEDAComponentRenumbering.html</a>) it does the renu=
mbering job, what it&#39;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 :(</div>



</div><div class=3D"gmail_extra"><br clear=3D"all"><div><br>-Filippo-<div><=
br></div><div><img src=3D"http://mitexeced.com/mit_lightbox/images/think_be=
fore_you_print.png"><br></div></div><div><div>
<br><br><div class=3D"gmail_quote">On 1 April 2014 10:53, Levente <span dir=
=3D"ltr">&lt;<a href=3D"mailto:leventelist AT gmail DOT com" target=3D"_blank">lev=
entelist AT gmail DOT com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir=3D"ltr"><div><div><div>Ten years ago, I&#39;ve done the grenum uti=
lity that does the job. However, the built in renumber function is good eno=
ugh so I don&#39;t use it myself. What I do is I have 3 digit RefDes&#39;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.<br>




<br></div>So you can say that sheet N will allways be this or that circuit.=
<br><br></div>I don&#39;t know if I got your problem right...<br><br></div>=
73! de HA5OGL<br></div><div><div><div class=3D"gmail_extra">

<br><br><div class=3D"gmail_quote">
On Tue, Apr 1, 2014 at 10:17 AM, Filippo Micheletti <span dir=3D"ltr">&lt;<=
a href=3D"mailto:filippomicheletti AT gmail DOT com" target=3D"_blank">filippomich=
eletti AT gmail DOT com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir=3D"ltr">Hi everyone,<div>does a tool for renumbering elements in a=
 schematic avoiding to reposition them on layout exist?</div><div>This woul=
d be very useful to reuse circuits blocks with already done layout in other=
 projects...</div>






<div>Thank you</div><span><font color=3D"#888888"><div><div><br>-Filippo-</=
div>
</div></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>

--089e0115ec141d870b04f64b4f89--

- Raw text -


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