www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2018/12/26/17:06:52

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=ipFI3Huqc42XgVIO2hmJUq3u0ikpQhkJ5Xloi+bc2CI=;
b=oW27gBnnhCJB7iLJtommn3Vk09jS9WtbwabkCdFKbss4NPF4uE28DpfA4IRZOH4bRo
ScFjJDRg9voM4V7o1TaL0gXAVLfguXD830fjl4OJ8lVIZJ5BPVBj5bWAv0I6FSd8uBbr
/ivghV6UFt9GV+GUiGTZw05wV0C597S/813jWdDHuRjq94SGdU4BVlaH9k3us1zlASeo
ujmQjiYb+r2+23xqwGknFFSiQowlbJIsx+TJk7cRPSB3VAvr9K4YpCOTVtFzXiwJv+yL
s8fHMjmbetKBEgyy+Y3C5IX/cfnK2sGG4TgwdQ128zDCPPvwRL/6M+IMYGEjd6bOu3GG
ckTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=ipFI3Huqc42XgVIO2hmJUq3u0ikpQhkJ5Xloi+bc2CI=;
b=jIGtvyWcmmz/lrwv8FxNLakYDuI/LGibiXM3wrZmDJhGcFz4jX4oVL82G3shdFXegG
dgrtdyJa1XtWmWOFnnY12+HdUVfabqD2Ja4TeySmFSNvwwXDN+/ob2ECjORhVRx7jPaE
gsDRXF5tQUcDJsyQ+WMCHnn2ZVY8wiNcu1AAGN3jueAqwUJN1lytbOVJz3rzJqgJLNn4
t6CKvPlFZXImCSnljNho/mzxovNUY/70JRIdU3nzMQLjJrjV/ml35mq9tF3+4KPQ8mFV
jU8GoOa0DWCVaV3h51AakSfNPKesMiRaeF0L4sCoesuoOqChXL2hiShQ3PFih8eXT34a
UYmQ==
X-Gm-Message-State: AJcUukfVMfWxhADhKnfhTfjJgm1o0Ze/R6c57/auhJW7SBihHcoNAsio
WPRUGL+TtVYlbXQWSHA0rvjF6IJWYKSqZrO57EbeZQ==
X-Google-Smtp-Source: ALg8bN6yRcAVZXlban7I3eCbAO3etxWHUAZEJ7lFBEoIz+/Zbv9J/4embVlCEDVFuBTw+o4M424aVWwyeiU72aBvt7Q=
X-Received: by 2002:a17:902:930b:: with SMTP id bc11mr21779955plb.17.1545861991213;
Wed, 26 Dec 2018 14:06:31 -0800 (PST)
MIME-Version: 1.0
References: <CAMw9acAjN4jNQfwv45=UXhFbZpbrHpmO3fj9oP7mYMU+97i8dw AT mail DOT gmail DOT com>
<CAJZxidD3Hczu+yCD_8a3SMx9ZOrrWDVUJB25AQNBtWQN-+Rywg AT mail DOT gmail DOT com>
<CAMw9acBe7WpstUxgT_wsBX+7FB0sNkn1RSYnz43BcwNU4f0yXw AT mail DOT gmail DOT com> <CAMw9acDSnS6BSOXkbsCPsBs6jsrFLN1248tZeTi6-q8QaECA5Q AT mail DOT gmail DOT com>
In-Reply-To: <CAMw9acDSnS6BSOXkbsCPsBs6jsrFLN1248tZeTi6-q8QaECA5Q@mail.gmail.com>
From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Wed, 26 Dec 2018 17:03:23 -0500
Message-ID: <CAJZxidD=5S1h=pOGF4BuofkZto5PishESxoPMDZDO2hEq-GMjg@mail.gmail.com>
Subject: Re: [geda-help] Tutorial
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

--000000000000dbb0b1057df40a3e
Content-Type: text/plain; charset="UTF-8"

Hi Torben-

The second time you run gsch2pcb it looks at the differences. The first
time it may not have picked up all of the elements due to footprint name
errors. The second time (and all subsequent times) you run it, it produces
board.*new*.pcb, which contains the new elements, so that it doesn't
overwrite your original file. To get them into the layout, you have to do
as it says: open the layout then go to the file menu, select "load layout
data to paste buffer", and select board.new.pcb. Then you can paste them
into the layout.

Alternatively, if you haven't done any work on the pcb yet, you can delete
board.pcb and board.new.pcb and rerun gsch2pcb.

Also, make sure that you execute Select > Disperse All Elements, as
sometimes the elements will overlap when they're brought into the layout.

Cheers,
--Chad


On Wed, Dec 26, 2018 at 2:44 PM Torben Friis (friistf AT gmail DOT com) [via
geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:

> Hi,
> It is rather confusing. When I run gsch2pcb project I get:
>
> ----------------------------------
> Done processing.  Work performed:
> 5 file elements and 0 m4 elements added to board.new.pcb.
>
> Next steps:
> 1.  Run pcb on your file board.pcb.
> 2.  From within PCB, select "File -> Load layout data to paste buffer"
>     and select board.new.pcb to load the new footprints into your existing
> layout.
> 3.  From within PCB, select "File -> Load netlist file" and select
>     board.net to load the updated netlist.
>
> 4.  From within PCB, enter
>
>            :ExecuteFile(board.cmd)
>
>     to update the pin names of all footprints.
>
> First it does not tally with the description given in the tutorial - I am
> using the one that comes with Ubuntu.
>
> Second, when I run pcb board.pcb I get only the transistor and the
> resistor on the screen with a yellow line leading nowhere. Should'nt I get
> both one.sch and two.sch? If I folllow the instructions above I add the
> one.sch to the screen all bundled up. Both one.sch and two.sch appear to be
> OK.
>
> As I say, I am confused.
> best ergards
> torben
>
> On Wed, Dec 26, 2018 at 3:46 PM Torben Friis <friistf AT gmail DOT com> wrote:
>
>> It worked.
>>
>> On Wed, Dec 26, 2018 at 3:26 PM Chad Parker (parker DOT charles AT gmail DOT com)
>> [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
>>
>>> Hi Torben-
>>>
>>> Welcome to the community! Please feel free to post any questions you may
>>> have.
>>>
>>> I think the issue is that the CONNECTOR is no longer an m4 element, so,
>>> it's not generating it the way the tutorial thinks it should.
>>>
>>> Looking through the pcb element footprints, there is, however, a
>>> footprint "CONNECTOR 1 2". I suspect that will serve for your purposes.
>>> Please try changing "CONNECTOR 2 1" --> "CONNECTOR 1 2" and see if that
>>> fixes it.
>>>
>>> Thanks,
>>> --Chad
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Dec 26, 2018 at 7:00 AM Torben Friis (friistf AT gmail DOT com) [via
>>> geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
>>>
>>>> Hi,
>>>> This is my first attempt at using geda-help.
>>>>
>>>> When in the Bill Wilson gEDA tutorial I use:
>>>>
>>>> gsch2pcb project
>>>>
>>>> I get the following message in the log:
>>>>
>>>> CONN202: can't find PCB element for footprint CONNECTOR-2-1
>>>> (value=unknown).
>>>> So device CONN202 will not be in the layout.
>>>>
>>>> The attributes of the connector are.
>>>>
>>>> device: BNC
>>>> footprint: CONNECTOR 2 1
>>>> refdes: CONN202
>>>>
>>>> I think that I have followed the instructions, so what is wrong?
>>>> best regards
>>>> torben
>>>>
>>>

--000000000000dbb0b1057df40a3e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Torben-</div><div><br></div><div>The second time y=
ou run gsch2pcb it looks at the differences. The first time it may not have=
 picked up all of the elements due to footprint name errors. The second tim=
e (and all subsequent times) you run it, it produces board.<i>new</i>.pcb, =
which contains the new elements, so that it doesn&#39;t overwrite your orig=
inal file. To get them into the layout, you have to do as it says: open the=
 layout then go to the file menu, select &quot;load layout data to paste bu=
ffer&quot;, and select board.new.pcb. Then you can paste them into the layo=
ut.<br></div><div><br></div><div>Alternatively, if you haven&#39;t done any=
 work on the pcb yet, you can delete board.pcb and board.new.pcb and rerun =
gsch2pcb.</div><div><br></div><div>Also, make sure that you execute Select =
&gt; Disperse All Elements, as sometimes the elements will overlap when the=
y&#39;re brought into the layout.<br></div><div><br></div><div>Cheers,</div=
><div>--Chad<br></div><div><br></div></div><br><div class=3D"gmail_quote"><=
div dir=3D"ltr">On Wed, Dec 26, 2018 at 2:44 PM Torben Friis (<a href=3D"ma=
ilto:friistf AT gmail DOT com">friistf AT gmail DOT com</a>) [via <a href=3D"mailto:geda-=
help AT delorie DOT com">geda-help AT delorie DOT com</a>] &lt;<a href=3D"mailto:geda-hel=
p AT delorie DOT com">geda-help AT delorie DOT com</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div =
dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-fam=
ily:arial,helvetica,sans-serif;font-size:large">Hi,</div><div class=3D"gmai=
l_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:large"=
>It is rather confusing. When I run gsch2pcb project I get:</div><div class=
=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-siz=
e:large"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,=
helvetica,sans-serif;font-size:large">----------------------------------<br=
>Done processing.=C2=A0 Work performed:<br>5 file elements and 0 m4 element=
s added to board.new.pcb.<br><br>Next steps:<br>1.=C2=A0 Run pcb on your fi=
le board.pcb.<br>2.=C2=A0 From within PCB, select &quot;File -&gt; Load lay=
out data to paste buffer&quot;<br>=C2=A0=C2=A0=C2=A0 and select board.new.p=
cb to load the new footprints into your existing layout.<br>3.=C2=A0 From w=
ithin PCB, select &quot;File -&gt; Load netlist file&quot; and select <br>=
=C2=A0=C2=A0=C2=A0 <a href=3D"http://board.net" target=3D"_blank">board.net=
</a> to load the updated netlist.<br><br>4.=C2=A0 From within PCB, enter<br=
><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :ExecuteF=
ile(board.cmd)<br><br>=C2=A0=C2=A0=C2=A0 to update the pin names of all foo=
tprints.</div><div class=3D"gmail_default" style=3D"font-family:arial,helve=
tica,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" sty=
le=3D"font-family:arial,helvetica,sans-serif;font-size:large">First it does=
 not tally with the description given in the tutorial - I am using the one =
that comes with Ubuntu.</div><div class=3D"gmail_default" style=3D"font-fam=
ily:arial,helvetica,sans-serif;font-size:large"><br></div><div class=3D"gma=
il_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:large=
">Second, when I run pcb board.pcb I get only the transistor and the resist=
or on the screen with a yellow line leading nowhere. Should&#39;nt I get bo=
th one.sch and two.sch? If I folllow the instructions above I add the one.s=
ch to the screen all bundled up. Both one.sch and two.sch appear to be OK.<=
br></div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,=
sans-serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D=
"font-family:arial,helvetica,sans-serif;font-size:large">As I say, I am con=
fused.</div><div class=3D"gmail_default" style=3D"font-family:arial,helveti=
ca,sans-serif;font-size:large">best ergards<br></div><div class=3D"gmail_de=
fault" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">tor=
ben<br></div></div></div></div></div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr">On Wed, Dec 26, 2018 at 3:46 PM Torben Friis &lt;<a href=3D"mailt=
o:friistf AT gmail DOT com" target=3D"_blank">friistf AT gmail DOT com</a>&gt; wrote:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><d=
iv class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;=
font-size:large">It worked. <br></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr">On Wed, Dec 26, 2018 at 3:26 PM Chad Parker (<a href=3D"ma=
ilto:parker DOT charles AT gmail DOT com" target=3D"_blank">parker DOT charles AT gmail DOT com</=
a>) [via <a href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">geda-he=
lp AT delorie DOT com</a>] &lt;<a href=3D"mailto:geda-help AT delorie DOT com" target=3D"=
_blank">geda-help AT delorie DOT com</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi Torben-</div><div><br=
></div><div>Welcome to the community! Please feel free to post any question=
s you may have.<br></div><div><br></div><div>I think the issue is that the =
CONNECTOR is no longer an m4 element, so, it&#39;s not generating it the wa=
y the tutorial thinks it should. <br></div><div><br></div><div>Looking thro=
ugh the pcb element footprints, there is, however, a footprint &quot;CONNEC=
TOR 1 2&quot;. I suspect that will serve for your purposes. Please try chan=
ging &quot;CONNECTOR 2 1&quot; --&gt; &quot;CONNECTOR 1 2&quot; and see if =
that fixes it.</div><div><br></div><div>Thanks,</div><div>--Chad<br></div><=
div><br></div><div><br></div><div><br></div><div><br></div></div><br><div c=
lass=3D"gmail_quote"><div dir=3D"ltr">On Wed, Dec 26, 2018 at 7:00 AM Torbe=
n Friis (<a href=3D"mailto:friistf AT gmail DOT com" target=3D"_blank">friistf AT gma=
il.com</a>) [via <a href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank"=
>geda-help AT delorie DOT com</a>] &lt;<a href=3D"mailto:geda-help AT delorie DOT com" ta=
rget=3D"_blank">geda-help AT delorie DOT com</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div=
 class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;fo=
nt-size:large">Hi,<br>This is my first attempt at using geda-help.<br><br>W=
hen in the Bill Wilson gEDA tutorial I use:<br><br>gsch2pcb project<br><br>=
I get the following message in the log:<br><br>CONN202: can&#39;t find PCB =
element for footprint CONNECTOR-2-1 (value=3Dunknown).<br>So device CONN202=
 will not be in the layout.<br><br>The attributes of the connector are.<br>=
<br>device: BNC<br>footprint: CONNECTOR 2 1<br>refdes: CONN202<br><br>I thi=
nk that I have followed the instructions, so what is wrong?<br>best regards=
<br>torben<br></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--000000000000dbb0b1057df40a3e--

- Raw text -


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