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=XqqoDb61ObarT38tsFBjBBpaiP11g/IEo2hfCfcc5wo=; b=ovD8rTHUeIi9sx1XxQWjUPKin1df9rAoAUFPYuM5bkhWFSUGrZnGoTwmzC/YF4uWWL aB1WbmPHJOp+qxAFZN4Av88eoFcfZxtpjdf8VAaRQBwnOjH2giajZvMwjZ3unA/VHpUA d4PvoBEGwfQ/jSt/RGXan1h0AZ7d+xiGrAPlXIIQJ4kS1cCTGfMucXo/hQ6QYbK4YAEH L+W5HRD+BXAkWYjMtf5sLK5L5Bko269SI4uKsv3rwJOp/cDKP04o3RMvK94N0WJgE4Ss WCEL50VXPzPz23XdEdyqy227V2HX7c3gWmMo4R+BLTdlFFDUyV+N1LbvqmtQojDiiM+1 RMgw== 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=XqqoDb61ObarT38tsFBjBBpaiP11g/IEo2hfCfcc5wo=; b=qo/Lztcp0TFjZ/97D90WAi1sWbHhNYQyU7F8g8guh48yheJubGQ1Rxiy+7/vAXF0EP TN8ZbNF/WF9pu3R9SgTnQ/kP08FdFPYyXn4CXUY8R4YfFFdUTf+VObcloKIaM5UFdCl/ M4UhKi0/q9b2rVPZiyEAqkl1H92lTjaB9Tax+CON9Nm6ajhl8cZ3HMWfp3n1NReYe74X T3INE5KCkyJDvFZGgVKhMcweQyrS1eA8USwyQ7m51U09n3TgpTh/iNUNlTzQDkpmYbpR /9uQmlzDWz0Jt105o8RcCoMl/yDrN00uk64DP8OFdWRgva3LejfWs+n6XfRkt/QTPO67 qgug== X-Gm-Message-State: AJcUukf84OcgrEz/V4cij99kySMeND0dDW8nRKUQDqkVkJWjXEHBlB7Z Jy9Bxwb0XqtQOoP/r/K/NpKlw2yd6GCtalQx1vOxofWq X-Google-Smtp-Source: ALg8bN55BWoFbMqbaopJz/HGp5wjCwvrnowT7QheZonRHohC4S9EDfs6IhwDBkjfdIySTmPxeObP1VOt8sUk92ko4+E= X-Received: by 2002:a17:902:4324:: with SMTP id i33mr34811040pld.227.1548183090366; Tue, 22 Jan 2019 10:51:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Tue, 22 Jan 2019 13:51:18 -0500 Message-ID: Subject: Re: [geda-help] Tutorial To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000260cbf058010775c" Reply-To: geda-help AT delorie DOT com --000000000000260cbf058010775c Content-Type: text/plain; charset="UTF-8" Hi Torben- The files $HOME/.gEDA/gafrc is global, and will apply to all designs. If you have centralized libraries, you would want to include them there. For example, I have a $HOME/lib/geda/sym directory. So, in $HOME/.gEDA/gafrc, I have a line that looks like this: (component-library "$HOME/lib/geda/sym", "CPark") Any symbol file that I put in $HOME/lib/geda/sym will show up as part of a library in gschem called "CPark" (substitute $HOME with your own path absolute path). Paths that you put into this file should be absolute paths (e.g. /home/me/lib/geda/sym), not relative (e.g. ./lib/geda/sym). For a particular project, my project directory might look like this: workspace/ tutorial/ syms/ my-gschem-symbol.sym elements/ my-pcb-footprint.fp gafrc tutorial.cmd tutorial.net tutorial.pcb tutorial.prj tutorial1.sch tutorial2.sch The gafrc file that you see there, is local to the project, so, if I execute the following: > cd workspace/tutorial > gschem & gschem will use the global file in $HOME/.gEDA/gafrc and also the project specific gafrc from the working directory. In the project specific gafrc file, I would have a line: (component-library "./syms" "ProjectSymbols") and any gschem symbol files I put into the syms subdirectory of my project would show up under a library named "ProjectSymbols" in gschem. In the tutorial.prj file, you would add a line: elements-dir ./elements so that it knows where to look for project specific footprints. Now you can copy whatever symbols or footprints you want to use into the syms or elements directories and they should be found. --Chad On Tue, Jan 22, 2019 at 11:21 AM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > Hi, > I am still not quite sure what to do. I have created the file: > > torben AT torben-Aspire-E5-773G:/usr/share/gEDA$ ls /home/.gEDA/gafrc > /home/.gEDA/gafrc > > torben AT torben-Aspire-E5-773G:/usr/share/gEDA$ cat /home/.gEDA/gafrc > (component-library-search "../gschem-sym") > I have version GSCHEM 1.8.2. > > I suppose that I have to fill the files "gaf/gschem-sym/" and > "gaf/pcb-elements/packages/". > > I have found a file (CVS Access): > > PCB "~geda" library > > 01005 - Standard SMT resistor, capacitor etc > 0201 - Standard SMT resistor, capacitor etc > 0402 - Standard SMT resistor, capacitor etc > 0603 - Standard SMT resistor, capacitor etc > 0805 - Standard SMT resistor, capacitor etc > 1008 - Standard SMT resistor, capacitor etc > 1206 - Standard SMT resistor, capacitor etc > 1210 - Standard SMT resistor, capacitor etc > 1806 - Standard SMT resistor, capacitor etc > 1806 - Standard SMT resistor, capacitor etc > 1825 - Standard SMT resistor, capacitor etc > 2706 - Standard SMT resistor, capacitor etc > ACY1000 - Axial non-polar component (typically resistor or capacitor), > ACY1000P - Axial polar component (typically capacitor), > . > . > . > > If that is indeed the PCB-elements file, where do I find the corresponding > symbols file? > best regards > torben > > > On Thu, Jan 10, 2019 at 2:49 PM Chad Parker (parker DOT charles AT gmail DOT com) > [via geda-help AT delorie DOT com] wrote: > >> Torben- >> >> Look under the "Setup" section of the tutorial where he talks about >> setting up a project directory structure. >> >> http://wiki.geda-project.org/geda:gsch2pcb_tutorial#setup >> >> "in each project directory (like myproject1 and myproject2) there could >> be a *gafrc* file..." >> >> --Chad >> >> On Thu, Jan 10, 2019 at 4:14 AM Torben Friis (friistf AT gmail DOT com) [via >> geda-help AT delorie DOT com] wrote: >> >>> Hi Chad, >>> Before I got your reply I had prepared the following: >>> I might add that I have added "picaxe" to /usr/share/gEDA/sym/ with the >>> following 3 symbols: >>> >>> SIP3.fp >>> SIP4.fp >>> SO8W.fp >>> >>> but picaxe does not show up under Library. >>> >>> I have followed BW's tutorial, but I do not have a gafrc file. How do I >>> get that? >>> torben >>> >>> On Wed, Jan 9, 2019 at 1:43 PM Torben Friis wrote: >>> >>>> Hi Chad, >>>> In gschem I only have "library" to chose symbols from. I wanted more - >>>> fx. newlib. How do I get it? >>>> >>>> I have used the instructions in: >>>> >>>> http://www.gedasymbols.org/cvs.html >>>> >>>> to place the following: >>>> >>>> torben AT torben-Aspire-E5-773G: ls /home/geda >>>> CVS CVSROOT scripts www >>>> >>>> where /home/geda was an empty directory. >>>> >>>> torben AT torben-Aspire-E5-773G:/home/geda/scripts$ ls >>>> 2pad.cgi dilpad.cgi footprint.pcb reindex >>>> cgi-lib.pl eps2png global_list.cgi search.cgi >>>> csv.cgi footprint.cgi make-fp-library symbol.cgi >>>> CVS footprint.html math.pl symbol.html >>>> >>>> Can I get from this to a more comprehensive list of symbols in gschem? >>>> I am stuck. >>>> best regards >>>> torben >>>> >>>> >>>> On Thu, Jan 3, 2019 at 7:58 PM Torben Friis wrote: >>>> >>>>> Hi Chad, >>>>> OK. I will try again. >>>>> torben >>>>> >>>>> On Thu, Jan 3, 2019 at 3:45 PM Chad Parker (parker DOT charles AT gmail DOT com) >>>>> [via geda-help AT delorie DOT com] wrote: >>>>> >>>>>> Torben- >>>>>> >>>>>> The square terminal generally indicates "pin 1" of the device. This >>>>>> is done so that when you're installing the components, you know the proper >>>>>> orientation. For some parts this is important, like for the opamps in the >>>>>> design. For other parts, like the resistors, it doesn't matter, they can go >>>>>> either way. >>>>>> >>>>>> Part of the fun of building a circuit board is figuring out where to >>>>>> place the components and how to connect them, kind of like a puzzle, but >>>>>> with no one answer. You can place them however you like. Many people use a >>>>>> strategy where you try to place the parts such that you minimize the >>>>>> lengths of the traces connecting those parts. You could also arrange them >>>>>> in a pattern to resemble a bug, or a star, or anything you find >>>>>> aesthetically pleasing. In most cases (i.e. not radio frequency or high >>>>>> speed (>10s of MHz) digital electronics), the exact placement of parts >>>>>> doesn't matter. >>>>>> >>>>>> --Chad >>>>>> >>>>>> >>>>>> On Thu, Jan 3, 2019 at 9:32 AM Torben Friis (friistf AT gmail DOT com) [via >>>>>> geda-help AT delorie DOT com] wrote: >>>>>> >>>>>>> Hi Chad, >>>>>>> Should I place R101, R102 and R103 together? And if I do, should'nt >>>>>>> R103 have round terminal points at both ends? I assume that the square ones >>>>>>> are to be connected to the GND. >>>>>>> I am not an electronics expert. >>>>>>> torben >>>>>>> >>>>>>> On Thu, Jan 3, 2019 at 2:13 PM Chad Parker (parker DOT charles AT gmail DOT com) >>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>> >>>>>>>> Torben- >>>>>>>> >>>>>>>> Okay, I see what you're referring to. This is a bug in the >>>>>>>> tutorial. It looks to me like the first set of figures were created with an >>>>>>>> older version of PCB and the other set with a newer one and a later date. >>>>>>>> What likely happened is that the same circuit was used, but the schematic >>>>>>>> was redrawn when the new figures were added, and because the parts would >>>>>>>> have been arranged differently, the reference designators ended up >>>>>>>> changing. The underlying circuit appears to be the same, just the names of >>>>>>>> the parts have been swapped. You can even see that the footprint of R101 is >>>>>>>> different. >>>>>>>> >>>>>>>> Ultimately, the rat lines on your pcb should be consistent with the >>>>>>>> connections you made in the schematic. So, as long as you connect your >>>>>>>> parts accordingly, you should be fine. >>>>>>>> >>>>>>>> Thanks for pointing this out. We should fix it so that it's >>>>>>>> consistent. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> --Chad >>>>>>>> >>>>>>>> On Wed, Jan 2, 2019 at 5:36 PM Torben Friis (friistf AT gmail DOT com) >>>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>>> >>>>>>>>> Hi Chad, >>>>>>>>> The link is: >>>>>>>>> >>>>>>>>> http://wiki.geda-project.org/geda:gsch2pcb_tutorial >>>>>>>>> best regards >>>>>>>>> torben >>>>>>>>> >>>>>>>>> On Wed, Jan 2, 2019 at 10:55 PM Chad Parker ( >>>>>>>>> parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com] < >>>>>>>>> geda-help AT delorie DOT com> wrote: >>>>>>>>> >>>>>>>>>> Torben- >>>>>>>>>> >>>>>>>>>> Are you still working through the Bill Wilson tutorial? If so, >>>>>>>>>> I'm not sure what you mean by page 6. Can you please provide a link to the >>>>>>>>>> tutorial you're referring to? >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> --Chad >>>>>>>>>> >>>>>>>>>> On Wed, Jan 2, 2019 at 3:44 PM Torben Friis (friistf AT gmail DOT com) >>>>>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>>>>> >>>>>>>>>>> Hi Chad, >>>>>>>>>>> I am confused by the UBUNTU geda tutorial. >>>>>>>>>>> In the beginning R101, R102 and R103 are placed together. On >>>>>>>>>>> page 6 R102, R201 and R103 are placed together in the same place and R102 >>>>>>>>>>> is placed where R201 was before. >>>>>>>>>>> I have other problems - fx with lines created in PCB - but I >>>>>>>>>>> would take one example to see if the confusion is my problem. >>>>>>>>>>> torben >>>>>>>>>>> >>>>>>>>>>> On Sat, Dec 29, 2018 at 5:10 PM Torben Friis >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> --000000000000260cbf058010775c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Torben-

The files $HOME/.= gEDA/gafrc is global, and will apply to all designs. If you have centralize= d libraries, you would want to include them there. For example, I have a $H= OME/lib/geda/sym directory. So, in $HOME/.gEDA/gafrc, I have a line that lo= oks like this:

(component-library "$HOME/lib/= geda/sym", "CPark")

Any symbol file= that I put in $HOME/lib/geda/sym will show up as part of a library in gsch= em called "CPark" (substitute $HOME with your own path absolute p= ath). Paths that you put into this file should be absolute paths (e.g. /hom= e/me/lib/geda/sym), not relative (e.g. ./lib/geda/sym).

<= /div>
For a particular project, my project directory might look like th= is:
workspace/
=C2=A0=C2=A0=C2=A0 tutorial/
<= div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 syms/
=C2=A0 =C2= =A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 my-gschem-symbol.sym
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 elements/
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 my-pcb-footprint.fp<= br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gafrc
<= div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tutorial.cmd
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = tutorial.net
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 t= utorial.pcb
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tutorial.p= rj
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tutorial1.sch
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tutorial2.sch
=C2=A0=C2=A0=C2=A0
The gafrc file that you see there, is lo= cal to the project, so, if I execute the following:
> cd works= pace/tutorial
> gschem &

gschem w= ill use the global file in $HOME/.gEDA/gafrc and also the project specific = gafrc from the working directory. In the project specific gafrc file, I wou= ld have a line:

(component-library "./syms&qu= ot; "ProjectSymbols")

and any gschem sym= bol files I put into the syms subdirectory of my project would show up unde= r a library named "ProjectSymbols" in gschem. In the tutorial.prj= file, you would add a line:

elements-dir ./elemen= ts

so that it knows where to look for project = specific footprints.

Now you can copy whatever sym= bols or footprints you want to use into the syms or elements directories an= d they should be found.

--Chad

=
On Tue, Ja= n 22, 2019 at 11:21 AM Torben Friis (f= riistf AT gmail DOT com) [via geda-he= lp AT delorie DOT com] <geda-help@= delorie.com> wrote:
Hi,
I am= still not quite sure what to do. I have created the file:

torben AT to= rben-Aspire-E5-773G:/usr/share/gEDA$ ls /home/.gEDA/gafrc
/home/.gEDA/ga= frc

torben AT torben-Aspire-E5-773G:/usr/share/gEDA$ cat /home/.gEDA/ga= frc
(component-library-search "../gschem-sym")
I have versi= on GSCHEM 1.8.2.

I suppose that I have to fill the files "gaf/g= schem-sym/" and "gaf/pcb-elements/packages/".

I have = found a file (CVS Access):

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 PCB "~geda" library

=C2=A0=C2=A0=C2=A0 010= 05 - Standard SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 0201 - Stan= dard SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 0402 - Standard SMT = resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 0603 - Standard SMT resistor,= capacitor etc
=C2=A0=C2=A0=C2=A0 0805 - Standard SMT resistor, capacito= r etc
=C2=A0=C2=A0=C2=A0 1008 - Standard SMT resistor, capacitor etc
= =C2=A0=C2=A0=C2=A0 1206 - Standard SMT resistor, capacitor etc
=C2=A0=C2= =A0=C2=A0 1210 - Standard SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0= 1806 - Standard SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 1806 - S= tandard SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 1825 - Standard S= MT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 2706 - Standard SMT resist= or, capacitor etc
=C2=A0=C2=A0=C2=A0 ACY1000 - Axial non-polar component= (typically resistor or capacitor),
=C2=A0=C2=A0=C2=A0 ACY1000P - Axial = polar component (typically capacitor),
=C2=A0=C2=A0=C2=A0 .
=C2=A0= =C2=A0=C2=A0 .
=C2=A0=C2=A0=C2=A0 .

If that is indeed the PCB-ele= ments file, where do I find the corresponding symbols file?
best regards=
torben


On Thu, Jan 10, 20= 19 at 2:49 PM Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com&g= t; wrote:
Torben-

Look unde= r the "Setup" section of the tutorial where he talks about settin= g up a project directory structure.


"in each project directory (like myproject1 and mypr= oject2) there could be a gafrc file..."
--Chad

On Thu, Jan 10, 2019 at 4:14 AM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-hel= p AT delorie DOT com> wrote:
Hi Chad,<= /div>
Before I got your reply I had prepared the followin= g:
I might add that I have added "picaxe"= to /usr/share/gEDA/sym/ with the following 3 symbols:

SIP3.fp
SIP4.fp
SO8W.fp

but picaxe does not show up under Library.

I have followed BW's tutorial, but I do n= ot have a gafrc file. How do I get that?
torben=

On We= d, Jan 9, 2019 at 1:43 PM Torben Friis <friistf AT gmail DOT com> wrote:
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:large">Hi Chad,
In gschem I only have "library" to = chose symbols from. I wanted more - fx. newlib. How do I get it?

I h= ave used the instructions in:

http://www.gedasymbols.org/cvs.html

= to place the following:

torben AT torben-Aspire-E5-773G: ls /home/geda<= br>CVS=C2=A0 CVSROOT=C2=A0 scripts=C2=A0 www

where /home/geda was an= empty directory.

torben AT torben-Aspire-E5-773G:/home/geda/scripts$ l= s
2pad.cgi=C2=A0=C2=A0=C2=A0 dilpad.cgi=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fo= otprint.pcb=C2=A0=C2=A0=C2=A0 reindex
cgi-lib.pl=C2=A0 eps2png=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 global_list.cgi=C2=A0 search.cgi
csv.cgi=C2=A0=C2=A0=C2= =A0=C2=A0 footprint.cgi=C2=A0=C2=A0 make-fp-library=C2=A0 symbol.cgi
CVS= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 footprint.html=C2=A0 math.pl=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 symbol.html

Can I get from this to a = more comprehensive list of symbols in gschem? I am stuck.
best regardstorben


On Thu, Jan 3, 2019 at 7:58 PM Torben Friis <friistf AT gmail DOT com> wrote:
Hi Chad,
OK. I will try again.
=
torben

On Thu, Jan 3, 2019 at 3:45 PM Chad Parker (parker DOT charles AT gmail DOT com) = [via geda-help AT d= elorie.com] <geda-help AT delorie DOT com> wrote:
Torben-

=
The square terminal generally indicates "pin 1" of the devic= e. This is done so that when you're installing the components, you know= the proper orientation. For some parts this is important, like for the opa= mps in the design. For other parts, like the resistors, it doesn't matt= er, they can go either way.

Part of the fun of= building a circuit board is figuring out where to place the components and= how to connect them, kind of like a puzzle, but with no one answer. You ca= n place them however you like. Many people use a strategy where you try to = place the parts such that you minimize the lengths of the traces connecting= those parts. You could also arrange them in a pattern to resemble a bug, o= r a star, or anything you find aesthetically pleasing. In most cases (i.e. = not radio frequency or high speed (>10s of MHz) digital electronics), th= e exact placement of parts doesn't matter.

--Chad


On Thu, Jan 3, 2019 at 9:32 AM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] = <geda-help AT de= lorie.com> wrote:
Hi Chad,
Should I place R101, R102 and R103 together? And if I do, should'n= t R103 have round terminal points at both ends? I assume that the square on= es are to be connected to the GND.
I am not an ele= ctronics expert.
torben

On Thu, Jan 3, 2019 at 2:13 PM Chad= Parker (park= er DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
To= rben-

Okay, I see what you're referring to. Th= is is a bug in the tutorial. It looks to me like the first set of figures w= ere created with an older version of PCB and the other set with a newer one= and a later date. What likely happened is that the same circuit was used, = but the schematic was redrawn when the new figures were added, and because = the parts would have been arranged differently, the reference designators e= nded up changing. The underlying circuit appears to be the same, just the n= ames of the parts have been swapped. You can even see that the footprint of= R101 is different.

Ultimately, the rat lines on y= our pcb should be consistent with the connections you made in the schematic= . So, as long as you connect your parts accordingly, you should be fine.

Thanks for pointing this out. We should fix it s= o that it's consistent.

Thanks,
= --Chad

On We= d, Jan 2, 2019 at 5:36 PM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com>= ; wrote:
Hi Chad,
The link is:<= /div>

best regar= ds
torben

On Wed, Jan 2, 2019 at 10:55 PM Chad Parker (parker DOT charles AT gmail= .com) [via g= eda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Torben-
=
Are you still working through the Bill Wilson tutorial? If s= o, I'm not sure what you mean by page 6. Can you please provide a link = to the tutorial you're referring to?

Thank= s,
--Chad

On Wed, Jan 2, 2019 at 3:44 PM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] &l= t;geda-help AT delo= rie.com> wrote:
Hi Chad,
I am confused by the UBUNTU geda tutorial.
In the = beginning R101, R102 and R103 are placed together. On page 6=C2=A0 R102, R2= 01 and R103 are placed together in the same place and R102 is placed where = R201 was before.
I have other problems - fx with li= nes created in PCB - but I would take one example to see if the confusion i= s my problem.
torben

On Sat, Dec 29, 2018 at 5:10 PM Torben Fr= iis <friistf AT gmai= l.com> wrote:
Hi Chad,
I= deleted all files except Project, one.sch and two.sch and ran gsch2pcb onc= e - and it worked.
torben

On Wed, Dec 26, 2018 at 11:11 PM Chad= Parker (park= er 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 el= ements due to footprint name errors. The second time (and all subsequent ti= mes) you run it, it produces board.new.pcb, which contains the new e= lements, so that it doesn't overwrite your original file. To get them i= nto the layout, you have to do as it says: open the layout then go to the f= ile menu, select "load layout data to paste buffer", and select b= oard.new.pcb. Then you can paste them into the layout.

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

=
Also, make sure that you execute Select > Disperse All Elemen= ts, as sometimes the elements will overlap when they're brought into th= e 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.=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 From within PCB, s= elect "File -> Load layout data to paste buffer"
=C2=A0=C2= =A0=C2=A0 and select board.new.pcb to load the new footprints into your exi= sting layout.
3.=C2=A0 From within PCB, select "File -> Load net= list file" and select
=C2=A0=C2=A0=C2=A0 board.net to load the updated netlist.

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 description given in = the tutorial - I am using the one that comes with Ubuntu.

Second, when I run pcb board.pcb I ge= t only the transistor and the resistor on the screen with a yellow line lea= ding nowhere. Should'nt I get both one.sch and two.sch? If I folllow th= e instructions above I add the one.sch to the screen all bundled up. Both o= ne.sch and two.sch appear to be OK.

<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:large">As I say, I am confused.
best erg= ards
torben
On Wed, Dec 26, 2018 at 3:46 = PM Torben Friis <= friistf AT gmail DOT com> wrote:
It worked.
<= /div>
On Wed, Dec 26, 2018 a= t 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 se= rve 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 firs= t attempt at using geda-help.

When in the Bill Wilson gEDA tutorial = I use:

gsch2pcb project

I get the following message in the lo= g:

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

Th= e attributes of the connector are.

device: BNC
footprint: CONNECT= OR 2 1
refdes: CONN202

I think that I have followed the instructi= ons, so what is wrong?
best regards
torben
--000000000000260cbf058010775c--