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: In-Reply-To: From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Sat, 29 Dec 2018 17:10:22 +0100 Message-ID: Subject: Re: [geda-help] Tutorial To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="00000000000061dbd7057e2b6bcb" 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] 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] 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 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] 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] 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
Hi Chad,
I dele= ted all files except Project, one.sch and two.sch and ran gsch2pcb once - a= nd it worked.
torben

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 c= ontains the new elements, so that it doesn'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 "load layout data to paste buffer&qu= ot;, and select board.new.pcb. Then you can paste them into the layout.
=

Alternatively, if you haven't done any work o= n the pcb yet, you can delete board.pcb and board.new.pcb and rerun gsch2pc= b.

Also, make sure that you execute Select > Di= sperse All Elements, as sometimes the elements will overlap when they'r= e 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] &= lt;geda-help AT del= orie.com> wrote:
Hi,
It is rather confusing. Whe= n I run gsch2pcb project I get:

----------------------------------
Done processing.=C2=A0 Work= performed:
5 file elements and 0 m4 elements added to board.new.pcb.
Next steps:
1.=C2=A0 Run pcb on your file board.pcb.
2.=C2=A0 Fr= om within PCB, select "File -> Load layout data to paste buffer&quo= t;
=C2=A0=C2=A0=C2=A0 and select board.new.pcb to load the new footprint= s into your existing layout.
3.=C2=A0 From within PCB, select "File= -> Load netlist file" and select
=C2=A0=C2=A0=C2=A0 board.net to load the updated netl= ist.

4.=C2=A0 From within PCB, enter

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :ExecuteFile(board.cmd)

=C2=A0= =C2=A0=C2=A0 to update the pin names of all footprints.

First it does not tally with the descript= ion given in the tutorial - I am using the one that comes with Ubuntu.

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'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, 20= 18 at 3:46 PM Torben Friis <friistf AT gmail DOT com> wrote:
It worked.=

On Wed, De= c 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 c= om> 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 m= 4 element, so, it's not generating it the way the tutorial thinks it sh= ould.

Looking through the pcb element footpri= nts, there is, however, a footprint "CONNECTOR 1 2". I suspect th= at will serve for your purposes. Please try changing "CONNECTOR 2 1&qu= ot; --> "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 d= elorie.com> wrote:
Hi,
This= is my first attempt at using geda-help.

When in the Bill Wilson gED= A tutorial I use:

gsch2pcb project

I get the following messag= e in the log:

CONN202: can't find PCB element for footprint CONN= ECTOR-2-1 (value=3Dunknown).
So device CONN202 will not be in the layout= .

The attributes of the connector are.

device: BNC
footpri= nt: CONNECTOR 2 1
refdes: CONN202

I think that I have followed th= e instructions, so what is wrong?
best regards
torben
=
--00000000000061dbd7057e2b6bcb--