ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/19/21:24:58

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=laserlinc-com.20150623.gappssmtp.com; s=20150623;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type;
bh=EzTWZLtud2Jq5g8c3cdLcPLdRHtrtuX3eG++WKsmv54=;
b=A2FynqX6V5VWiLIh/Q/hRiG2LEjYn3Zk/NoOs5z8ZFyqnPuG1Tv+Q79fRQ1fql3z3f
oCqcF4m8VjHHE887gAq/028W+bRbjvWQLUmrwDvGjFHQCw+VFf/dO4pACKU740nqBmfj
hgMLSXZIk6fXV4tCzJ4t8rLRrwxzsEFClJGWgRSn1v9RwM0VoIEa2JYLXumWR7brCz5g
nnKcS7c7+IPwaAa23ecATJDoSkK/BXhUZ3pQ9Rso0yexpb0ckw+73W54vxaGgHUYGo7e
Fdhg/EvJTpClxqP2A77bjMk7ExgCRxd86EZqsLxERKHuRPLsKHg9d9gz90cu/votQOiN
IxXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type;
bh=EzTWZLtud2Jq5g8c3cdLcPLdRHtrtuX3eG++WKsmv54=;
b=gJyPq83NO7xNSW0JSiDCD1gEB491a0PyfD7wvGfHZVoAgbg8DNmacv11aCQdAdJoQK
87bPvSkUyH18uJrnUdRdqQG1mZ/jp+TRO07CCkX3W6K0xATuf0SDFe1n5d7fSXUmfMdy
fQkjBHlqzmOgu17HriGA+Rry1wyRFDNZe+drWi7rp5034owghn+duarMLxsQTBL+rui6
z7j77fdqgfKkvEoHNAHYCLYxnOh3iRrP9ArhPr5a+yZ2Ltuv+6rIj+qwsRhiJjSnAzkP
OskHVzb39nxBdGfd/BMW1/lpvuCE+B+JX0LS94qK39YJ8dYRT3xG32dXGHYALSKbYhlU
gvrw==
X-Gm-Message-State: ALoCoQkScXsl8Z85qT6gbmpRHZqne2v9Sc4S80CFBF8FGKSxP+XiWmFkZQG67o+WkF3HnX+q0GhbzA5ik/SZfsSepsn0Y21GKw==
X-Received: by 10.107.131.40 with SMTP id f40mr106797iod.190.1450578252136;
Sat, 19 Dec 2015 18:24:12 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.11.1504241630570.16346@nimbus>
References: <CAOkiwas6BgzP1gB0DzgR6FVBEP-RpMrMfB9wZewZzDwC5Xya0g AT mail DOT gmail DOT com>
<20150414113158 DOT GB29193 AT visitor2 DOT iram DOT es> <mgjfti$46s$1 AT ger DOT gmane DOT org>
<CAGRhJMZqu-mxkPAJkMz1KFWqSp4qEeGnDeBynW6nHw9Q+FB92A AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 11 DOT 1504241630570 DOT 16346 AT nimbus>
From: "Joshua Lansford (joshua DOT lansford AT laserlinc DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Sat, 19 Dec 2015 21:23:52 -0500
Message-ID: <CAGRhJMbQ63+dMz7pq-4z-o0ubS2co5=g7-N-EYrE8OX5KUYRNw@mail.gmail.com>
Subject: Re: [geda-user] Multiple symbols for a single device?
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

--001a113eabf670189605274b11e5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 24, 2015 at 10:47 AM, Roland Lutz <rlutz AT hedmen DOT org> wrote:
>
>
> For my schematics, it exits with an error as I'm not regularly using the
> "device=3D" attribute.  Also, when using the option "--force", it adds
> numbers to the input/output ports which breaks the schematic hierarchy.
> After patching these things, though, it worked well with my test
> schematic.  Thanks for sharing this! :)
>
> I translated the script to Python to make it more accessible and started
> improving a few things.  Here is my current version:
>
>
> https://raw.githubusercontent.com/rlutz/refdes_renum_slots/master/refdes_=
renum_slots.py
>
> When using "--force", there are some cases in which the script breaks
> existing slotted components--I'm not sure if this is a bug in the origina=
l
> script or a translation error.  Also, numbered ports are renumbered when
> using "--force" (but there doesn't seem to be an easy way to detect wheth=
er
> a component is a port).
>
> Roland
>

=E2=80=8BWow.  I totally missed this.=E2=80=8B  Thanks for taking advantage=
 of it :-)  I
hope it does you good thing.  I am honored that it was useful enough to you
that you translated it into python.  It is very weird seeing one's own code
in a different language.  I will have to look into the errors you mentioned=
.
~Joshua

--001a113eabf670189605274b11e5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:times ne=
w roman,serif"><br></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Fri, Apr 24, 2015 at 10:47 AM, Roland Lutz <span dir=3D"ltr">&lt=
;<a href=3D"mailto:rlutz AT hedmen DOT org" target=3D"_blank">rlutz AT hedmen DOT org</a>=
&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">
<br></span>
For my schematics, it exits with an error as I&#39;m not regularly using th=
e &quot;device=3D&quot; attribute.=C2=A0 Also, when using the option &quot;=
--force&quot;, it adds numbers to the input/output ports which breaks the s=
chematic hierarchy. After patching these things, though, it worked well wit=
h my test schematic.=C2=A0 Thanks for sharing this! :)<br>
<br>
I translated the script to Python to make it more accessible and started im=
proving a few things.=C2=A0 Here is my current version:<br>
<br>
<a href=3D"https://raw.githubusercontent.com/rlutz/refdes_renum_slots/maste=
r/refdes_renum_slots.py" rel=3D"noreferrer" target=3D"_blank">https://raw.g=
ithubusercontent.com/rlutz/refdes_renum_slots/master/refdes_renum_slots.py<=
/a><br>
<br>
When using &quot;--force&quot;, there are some cases in which the script br=
eaks existing slotted components--I&#39;m not sure if this is a bug in the =
original script or a translation error.=C2=A0 Also, numbered ports are renu=
mbered when using &quot;--force&quot; (but there doesn&#39;t seem to be an =
easy way to detect whether a component is a port).<span class=3D"HOEnZb"><f=
ont color=3D"#888888"><br>
<br>
Roland<br>
</font></span></blockquote></div><br></div><div class=3D"gmail_extra"><div =
class=3D"gmail_default" style=3D"font-family:&#39;times new roman&#39;,seri=
f">=E2=80=8BWow.=C2=A0 I totally missed this.=E2=80=8B =C2=A0Thanks for tak=
ing advantage of it :-) =C2=A0I hope it does you good thing.=C2=A0 I am hon=
ored that it was useful enough to you that you translated it into python.=
=C2=A0 It is very weird seeing one&#39;s own code in a different language.=
=C2=A0 I will have to look into the errors you mentioned.</div><div class=
=3D"gmail_default" style=3D"font-family:&#39;times new roman&#39;,serif">~J=
oshua</div><br></div></div>

--001a113eabf670189605274b11e5--

- Raw text -


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