www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2018/12/29/11:11:15

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=8cc/GurTWwSiV0kO7QtrAA05oQxDDWoVV3F9/OYfGhI=;
b=cNP290eeU4TRh5zpQg82cp69+dl6gXFR2isGLb6uVrVOYg1lA/Y7G9u2iwUolkaol0
jyeq15+efQR/GKcqH518kmTv/ROjXnk5NBSBTf4Atlg2bUSxSBf5Hagxwh5+YV0g0XHo
8rRA5Q9qXVCMmUeFYzNvjsg5koZjSaU+t/UTzgalSc5aOMtR6yTE/xgOJ3T7emeL8d0p
qugxQ/O1Pm8dviA3BYWKLIRzS46louaKZOpnRd5cO/HueYKG4Smwls3BnHY0agmTpWkY
ORmAtQ6uI57k6+0WcVke1PwRcsBWI5P5N0UP59l80RRE5ziyonshcg6jQUlVFnSLlmop
huFQ==
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=8cc/GurTWwSiV0kO7QtrAA05oQxDDWoVV3F9/OYfGhI=;
b=aqLaFlD9LyvnUKJuNvwp6jvmygmd8F9kdXg3WBPo9njgZeGiY4H0fGex1GggM8tchN
zEC2I0CZwLspXdSse6fRzQGMBBrMPGtd67Puj/g6cwLJ2FzZsXIGYbz1MMljSq57lYSk
KfnCcTu4nyTfwn0W90vmjVelN4U0mA5qIAbtxkE6cc+jexaEvIXcmUKF4/We7p3dw1eV
wZEz4xjXS7FxIP+axYpQmOcuvU6Trca+rbXu70s+QPY6/MVXoz7hyq8qVnquQC7HtYIs
raeFT8BkmNyAzx4pn3PUvKB6edVD866cjnGRLlCbn7bZ+76MSvk5b0JVU26ezvMSUHEV
/mJQ==
X-Gm-Message-State: AA+aEWa3Z1d8xsjy9yMYvMrhgCXGUBtpRm7m+bbhOi5vrS1So6TL7fN1
weepiD1L5Z5g3IbRLV6ZUiyyKDLwe2Qr4SrKqNd4RjBS
X-Google-Smtp-Source: AFSGD/XpPpFpOTy6zmXGaAC4MzgB9KEJkZ1PxyLw85OO9BxuviT8dbpZGnFUSFTVllG/mSxt3YRiWa8HZW/D7vLlS6g=
X-Received: by 2002:a81:650b:: with SMTP id z11mr30768798ywb.441.1546099833820;
Sat, 29 Dec 2018 08:10:33 -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> <CAJZxidD=5S1h=pOGF4BuofkZto5PishESxoPMDZDO2hEq-GMjg AT mail DOT gmail DOT com>
In-Reply-To: <CAJZxidD=5S1h=pOGF4BuofkZto5PishESxoPMDZDO2hEq-GMjg@mail.gmail.com>
From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Sat, 29 Dec 2018 17:10:22 +0100
Message-ID: <CAMw9acBueeZzsHR24UPGjEuq8JDUccL9RCCegV0WXsc5Gs2JBA@mail.gmail.com>
Subject: Re: [geda-help] Tutorial
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

--00000000000061dbd7057e2b6bcb
Content-Type: text/plain; charset="UTF-8"

Hi Chad,
I deleted all files except Project, one.sch and two.sch and ran gsch2pcb
once - and it worked.
torben

On Wed, Dec 26, 2018 at 11:11 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-
>
> 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
>>>>>
>>>>

--00000000000061dbd7057e2b6bcb
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:arial,he=
lvetica,sans-serif;font-size:large">Hi Chad,</div><div class=3D"gmail_defau=
lt" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">I dele=
ted all files except Project, one.sch and two.sch and ran gsch2pcb once - a=
nd it worked.</div><div class=3D"gmail_default" style=3D"font-family:arial,=
helvetica,sans-serif;font-size:large">torben<br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr">On Wed, Dec 26, 2018 at 11:11 PM Chad Par=
ker (<a href=3D"mailto:parker DOT charles AT gmail DOT com">parker DOT charles 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-help AT delorie DOT com">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(204,204,204);padding-left:1ex"><div di=
r=3D"ltr"><div>Hi Torben-</div><div><br></div><div>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.<i>new</i>.pcb, which c=
ontains the new elements, so that it doesn&#39;t overwrite your original fi=
le. 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 buffer&qu=
ot;, and select board.new.pcb. Then you can paste them into the layout.<br>=
</div><div><br></div><div>Alternatively, if you haven&#39;t done any work o=
n the pcb yet, you can delete board.pcb and board.new.pcb and rerun gsch2pc=
b.</div><div><br></div><div>Also, make sure that you execute Select &gt; Di=
sperse All Elements, as sometimes the elements will overlap when they&#39;r=
e 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"mailto:fr=
iistf AT gmail DOT com" target=3D"_blank">friistf AT gmail DOT com</a>) [via <a href=3D"m=
ailto: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" target=3D"_blank">geda-help AT del=
orie.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft: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-family:arial,helvetica,sans-ser=
if;font-size:large">Hi,</div><div class=3D"gmail_default" style=3D"font-fam=
ily:arial,helvetica,sans-serif;font-size:large">It is rather confusing. Whe=
n I run gsch2pcb project I get:</div><div class=3D"gmail_default" style=3D"=
font-family:arial,helvetica,sans-serif;font-size:large"><br></div><div clas=
s=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-si=
ze:large">----------------------------------<br>Done processing.=C2=A0 Work=
 performed:<br>5 file elements and 0 m4 elements added to board.new.pcb.<br=
><br>Next steps:<br>1.=C2=A0 Run pcb on your file board.pcb.<br>2.=C2=A0 Fr=
om within PCB, select &quot;File -&gt; Load layout data to paste buffer&quo=
t;<br>=C2=A0=C2=A0=C2=A0 and select board.new.pcb to load the new footprint=
s into your existing layout.<br>3.=C2=A0 From within 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 netl=
ist.<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 :ExecuteFile(board.cmd)<br><br>=C2=A0=
=C2=A0=C2=A0 to update the pin names of all footprints.</div><div class=3D"=
gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:la=
rge"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,helv=
etica,sans-serif;font-size:large">First it does not tally with the descript=
ion given in the tutorial - I am using the one that comes with Ubuntu.</div=
><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-ser=
if;font-size:large"><br></div><div class=3D"gmail_default" style=3D"font-fa=
mily:arial,helvetica,sans-serif;font-size:large">Second, when I run pcb boa=
rd.pcb I get only the transistor and the resistor on the screen with a yell=
ow line leading nowhere. Should&#39;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.<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 confused.</div><div class=3D"gm=
ail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:larg=
e">best ergards<br></div><div class=3D"gmail_default" style=3D"font-family:=
arial,helvetica,sans-serif;font-size:large">torben<br></div></div></div></d=
iv></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed, Dec 26, 20=
18 at 3:46 PM Torben Friis &lt;<a href=3D"mailto: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;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div 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, De=
c 26, 2018 at 3:26 PM Chad Parker (<a href=3D"mailto:parker DOT charles AT gmail DOT c=
om" 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-help AT delorie DOT com</a>] &lt;<a =
href=3D"mailto:geda-help AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT c=
om</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,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 questions you may have.<br></div><d=
iv><br></div><div>I think the issue is that the CONNECTOR is no longer an m=
4 element, so, it&#39;s not generating it the way the tutorial thinks it sh=
ould. <br></div><div><br></div><div>Looking through the pcb element footpri=
nts, there is, however, a footprint &quot;CONNECTOR 1 2&quot;. I suspect th=
at will serve for your purposes. Please try changing &quot;CONNECTOR 2 1&qu=
ot; --&gt; &quot;CONNECTOR 1 2&quot; and see if that fixes it.</div><div><b=
r></div><div>Thanks,</div><div>--Chad<br></div><div><br></div><div><br></di=
v><div><br></div><div><br></div></div><br><div class=3D"gmail_quote"><div d=
ir=3D"ltr">On Wed, Dec 26, 2018 at 7:00 AM Torben Friis (<a href=3D"mailto:=
friistf AT gmail DOT com" target=3D"_blank">friistf AT gmail DOT 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" target=3D"_blank">geda-help AT d=
elorie.com</a>&gt; wrote:<br></div><blockquote class=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 class=3D"gmail_default" s=
tyle=3D"font-family:arial,helvetica,sans-serif;font-size:large">Hi,<br>This=
 is my first attempt at using geda-help.<br><br>When in the Bill Wilson gED=
A tutorial I use:<br><br>gsch2pcb project<br><br>I get the following messag=
e in the log:<br><br>CONN202: can&#39;t find PCB element for footprint CONN=
ECTOR-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>footpri=
nt: CONNECTOR 2 1<br>refdes: CONN202<br><br>I think that I have followed th=
e instructions, so what is wrong?<br>best regards<br>torben<br></div></div>=
</div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--00000000000061dbd7057e2b6bcb--

- Raw text -


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