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=gLUTqt/0YK6xKNJqo++EFER5kofxVZrOCfB50p82vv0=; b=OnlKo5oICPOq8aIxh3dZcCUl9TXDE6NovZwc/EFDjIYysm/n53kbG79RQ00ezRiABG zUUZZQTve9cR0g++KIUWHe+XFnVEMY3nFErxhJk4pF8zMdZ0lpQXnGuo/ROY2IkqjTOw +6hPBZHBt7npU3BU1AHvbW3VUoUWKpjekTIwohDhmsfb+VK2Jbx0JMF9dXaGwD6TkLEI NFfsx7xXDrLa9x5K9AieZ/6EAkiNCkNnsiDdoczy7D/j+O6rzTpI9vYewPd+GgoWXZJo LlpIPHsmKgBVSwB3gpHfVLYgLkgtZJxKwcEBin/rnyF3waZhHyl5d/hHH3KDFTaPHJzN XfZQ== 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=gLUTqt/0YK6xKNJqo++EFER5kofxVZrOCfB50p82vv0=; b=fSfja14U61TygpykVBEWY8Yi2uMf+bpCKggZMBaS2ChiZ+M781wNhlSo6NSU2xl7LL lTsWHXEPKCCe640C0Z9mUSi9OdDE2XmR4HP4RRGeaKPVbdl4spQUclUAv2tuytgTZ+fD CSsGFsR1vvxFvIiABaFBcoeJ4U74oAq9gGz9Gb38bQ4cDeL53IOwt2KLXk3MuBJDJYmD HANBx2QNCKJrNOQoK418v7PwJU32EBFsq+ooGPT8m4vvCJjX9mBUmnVHOkw2hy8d2Z4p lEIvgcmnN4zp5cJbLSMdR9LqAk+jnFIq2gZ5KuBzAOyRJD7VU1RqJ8KfQV+drhwtHm1e PFqw== X-Gm-Message-State: AJcUuke+tki5oXSF+3+cu/cFQA8xfdimsOWdi9h68Cin5BCd6WYMtFg+ UoolPdDEOULsmyhwxcUkS++fRtwEfGXnPX3OzMVQTijwEdg= X-Google-Smtp-Source: ALg8bN5nS+FubPTDWLtbixVaQTzkvdC/LZX7iBEmlPYo2vl6frb5r5Jfgna9eh2YXiE1T8A8TEkfkgZUU8N44sSLurk= X-Received: by 2002:a25:a269:: with SMTP id b96mr1395613ybi.148.1548241005205; Wed, 23 Jan 2019 02:56:45 -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: Wed, 23 Jan 2019 11:56:33 +0100 Message-ID: Subject: Re: [geda-help] Tutorial To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000245c7d05801df3a2" Reply-To: geda-help AT delorie DOT com --000000000000245c7d05801df3a2 Content-Type: text/plain; charset="UTF-8" Hi Chad, As I understand you the following file structure will work: /home/ gaf/ gafrc (contents: (component-library-search "../gschem-sym")) gschem-sym/ myproject1/ board.cmd board.net board.pcb one.sch PCB.0005336.backup project (contents: schematics one.sch two.sch & output-name board) two.sch #one.sch# ?????????????? myproject2 . . . packages ??????????????? pcb-elements/ packages where my own symbols are stored in /home/gaf/gschem-sym/ and my own pcb-elements are stored in /home/gaf/pcb-elements/packages. The symbols file (as the name implies) only contains symbols (fx. 300 mil, microprocessor with 8 legs) and the pcb-elements contains actual products (fx. Picaxe 08M2). When I chose a component the first 3 attributes (device, symversion and refdes) deal with the symbol and the 4th is the actual product? Where do I find the sym- and pcb-elements files that turn up when I have not entered my own versions? Can I make do with the already (pre)installed sym files and just enter my own pcb-elements? What should go into the separate file "packages"? Will the file (CVS) I showed in my previous mail do as pcb-elements? I hope the many questions dont bother you, but your answers would greatly help me understand the system. best regards torben On Tue, Jan 22, 2019 at 7:56 PM Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > 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] < >>>>>>>> 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 >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> --000000000000245c7d05801df3a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Chad,
As I under= stand you the following file structure will work:

/home/
=C2=A0= =C2=A0=C2=A0 gaf/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 gafrc (contents:= (component-library-search "../gschem-sym"))
=C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 gschem-sym/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= myproject1/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 bo= ard.cmd
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 board.net
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 board.pcb
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 one.sch
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 PCB.0005336.backup
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0 project (contents: schematics one.sch two.sch & outp= ut-name board)
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 = two.sch
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 #one.sc= h#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ??????????????
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 myproject= 2
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 .
=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 .
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 .
=C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 packages=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 ???????????????
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 pcb-elements/
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 packages
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0
where my own symb= ols are stored in /home/gaf/gschem-sym/ and my own pcb-elements are stored = in /home/gaf/pcb-elements/packages.
The symbols file (as the name implie= s) only contains symbols (fx. 300 mil, microprocessor with 8 legs) and the = pcb-elements contains actual products (fx. Picaxe 08M2).

When I chos= e a component the first 3 attributes (device, symversion and refdes) deal w= ith the symbol and the 4th is the actual product?

Where do I find th= e sym- and pcb-elements files that turn up when I have not entered my own v= ersions?

Can I make do with the already (pre)installed sym files and= just enter my own pcb-elements?

What should go into the separate fi= le "packages"?

Will the file (CVS) I showed in my previous= mail do as pcb-elements?

I hope the many questions dont bother you,= but your answers would greatly help me understand the system.
best rega= rds
torben


On Tue, Jan 22, 2019 at 7:56 PM Chad Parke= r (parker DOT charles AT gmail DOT com= ) [via geda-help AT delorie DOT com] = <geda-help AT delorie DOT com> = wrote:
Hi Torben-

The files $HOME/.gEDA/gaf= rc is global, and will apply to all designs. If you have centralized librar= ies, 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 calle= d "CPark" (substitute $HOME with your own path absolute path). Pa= ths 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/
=C2=A0=C2=A0=C2=A0 tutorial/
=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
=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gafrc
=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 tutorial.pcb
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 tutorial.prj
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 t= utorial1.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 se= e 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 pro= ject specific gafrc from the working directory. In the project specific gaf= rc file, I would have a line:

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

and = any gschem symbol files I put into the syms subdirectory of my project woul= d show up under a library named "ProjectSymbols" in gschem. In th= e tutorial.prj file, you would add a line:

element= s-dir ./elements

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

Now you can cop= y 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 Frii= s (friistf AT gmail DOT com= ) [via geda-= help AT delorie DOT com] <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/g= afrc
/home/.gEDA/gafrc

torben AT torben-Aspire-E5-773G:/usr/share/gE= DA$ cat /home/.gEDA/gafrc
(component-library-search "../gschem-sym&= quot;)
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):

=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 01005 - Standard SMT resistor, capacitor etc
=C2=A0= =C2=A0=C2=A0 0201 - Standard 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 - Standar= d SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 1008 - Standard SMT res= istor, capacitor etc
=C2=A0=C2=A0=C2=A0 1206 - Standard SMT resistor, ca= pacitor etc
=C2=A0=C2=A0=C2=A0 1210 - Standard SMT resistor, capacitor e= tc
=C2=A0=C2=A0=C2=A0 1806 - Standard SMT resistor, capacitor etc
=C2= =A0=C2=A0=C2=A0 1806 - Standard SMT resistor, capacitor etc
=C2=A0=C2=A0= =C2=A0 1825 - Standard SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 27= 06 - Standard SMT resistor, capacitor etc
=C2=A0=C2=A0=C2=A0 ACY1000 - A= xial 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 th= at is indeed the PCB-elements file, where do I find the corresponding symbo= ls file?
best regards
torben


On Thu, Jan 10, 2019 at 2:49 PM Chad Park= er (parker.ch= arles AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Torben-

Look under the "Setup&q= uot; section of the tutorial where he talks about setting up a project dire= ctory structure.


&qu= ot;in each project directory (like myproject1 and myproject2) there could b= e 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-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/s= ym/ 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 <friistf AT gmail DOT com> 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 instruc= tions in:

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

to place the followi= ng:

torben AT torben-Aspire-E5-773G: ls /home/geda
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$ ls
2pad.cgi=C2=A0= =C2=A0=C2=A0 dilpad.cgi=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 footprint.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 g= lobal_list.cgi=C2=A0 search.cgi
csv.cgi=C2=A0=C2=A0=C2=A0=C2=A0 footprin= t.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 regards
torben


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

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] <= geda-help AT delori= e.com> wrote:
Torben-

The square term= inal generally indicates "pin 1" of the device. This is done so t= hat when you're installing the components, you know the proper orientat= ion. For some parts this is important, like for the opamps in the design. F= or other parts, like the resistors, it doesn't matter, they can go eith= er 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 co= uld also arrange them in a pattern to resemble a bug, or a star, or anythin= g 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, J= an 3, 2019 at 9:32 AM Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wr= ote:
Hi Chad,
Should I place = R101, R102 and R103 together? And if I do, should'nt R103 have round te= rminal points at both ends? I assume that the square ones are to be connect= ed to the GND.
I am not an electronics expert.
<= /div>
torben

Torben-

<= /div>
Okay, I see what you're referring to. This is a bug in the tu= torial. It looks to me like the first set of figures were created with an o= lder version of PCB and the other set with a newer one and a later date. Wh= at 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 hav= e been swapped. You can even see that the footprint of R101 is different.

Ultimately, the rat lines on your pcb should be con= sistent 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 consi= stent.

Thanks,
--Chad

On Wed, Jan 2, 2019 at 5:3= 6 PM Torben Friis (f= riistf AT gmail DOT com) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
Hi Chad,
The link is:

best regards
torben

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] <geda-help AT delorie DOT com> wrot= e:
Hi Chad,
I am confused by th= e UBUNTU geda tutorial.
In the beginning R101, R102= and R103 are placed together. On page 6=C2=A0 R102, R201 and R103 are plac= ed 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.
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:large">torben

On Sat, Dec 29, 2018 at 5:10 PM Torben Friis <friistf AT gmail DOT com> wrote:<= br>
Hi Chad,
I deleted all files ex= cept Project, one.sch and two.sch and ran gsch2pcb once - and 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 footpri= nt name errors. The second time (and all subsequent times) you run it, it p= roduces board.new.pcb, which contains the new elements, so that it d= oesn't overwrite your original file. To get them into the layout, you h= ave to do as it says: open the layout then go to the file menu, select &quo= t;load layout data to paste buffer", and select board.new.pcb. Then yo= u can paste them into the layout.

Alternativel= y, if you haven't done any work on the pcb yet, you can delete board.pc= b 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 (fri= istf 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:
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:large">
----------------------------= ------
Done processing.=C2=A0 Work performed:
5 file elements and 0 m= 4 elements added to board.new.pcb.

Next steps:
1.=C2=A0 Run pcb o= n your file board.pcb.
2.=C2=A0 From within PCB, select "File ->= Load layout data to paste buffer"
=C2=A0=C2=A0=C2=A0 and select bo= ard.new.pcb to load the new footprints into your existing layout.
3.=C2= =A0 From within PCB, select "File -> Load netlist file" and se= lect
=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 o= f all footprints.

Firs= t 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 t= he 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 t= o 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> w= rote:
It worked.

On Wed, Dec 26, 2018 at 3:26 PM Chad Parker (parker.charles@= gmail.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 a= ny questions you may have.

I think the issue i= s that the CONNECTOR is no longer an m4 element, so, it's not generatin= g it the way the tutorial thinks it should.

L= ooking through the pcb element footprints, there is, however, a footprint &= quot;CONNECTOR 1 2". I suspect that will serve for your purposes. Plea= se 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-h= elp.

When in the Bill Wilson gEDA tutorial I use:

gsch2pcb pr= oject

I get the following message in the log:

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

The attributes of the conne= ctor are.

device: BNC
footprint: CONNECTOR 2 1
refdes: CONN202=

I think that I have followed the instructions, so what is wrong?best regards
torben
--000000000000245c7d05801df3a2--