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=TPd1cul8T2DzRy07o0odKkN31ZQBKEtslASga2GivKk=; b=QPoW/mowGzXToxWBBL8zMqx7gpHfVKIGJVwR14wRP57Pvq7iJ0GNlTY39S2F4+4anL 6CsZGwPL+rXmbxShljljnCpmFNbRTVlopub6VCryVbxR648Z2/bY0kL6nUUMniA9SKHO pqY6wUMU29IXI4TiUhkPoCsIXV72YeFGTnLhLrZGpQ/WKSDqxoLlitF0D6E9rX5bE0i/ X5B3T10UrciTAG1AqHmBYaV/3yPC3o3PaKaehOM5PMFw1pp2LRMknNfRSTRV0ARvr6Ek uqwkzHXJTJ8ZqlH/mgJp+5oaJYxiJhPr+nTysf8hPl/zBpVe1TRd8ZNf33avnC3OInYv uPYA== 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=TPd1cul8T2DzRy07o0odKkN31ZQBKEtslASga2GivKk=; b=X/Q5c+INR7w35lqAc+++ZB57/g+EZE0oyjd9eMveIkhQGlJr99MuwCbKejuS/gYF8M bJCPjgl1/8INpd0bxJJD7g5yoWFRPe6R2PHdGNoKKfj/7qe35vG91OiodUVkS8pN1drM hKbCQa/CvzrjkLPgV9YoFYBCh2GrEOBQs6z+304BRdj7wG1XOSLP/Y/jll1eyl0H8V2P RKKC79Rn4p88aMK3sHJAdJrgBpK/EVNevYs/lnWZDxC0X1sWJET4aC1MRqyVIGQ5q5AD TgK4lsRY4hbn3mvHGTqOm2CZq2vNU+CaVsECLC0z6iCLiJNKYHYPjNnkNrpDbpGsFpeW igWw== X-Gm-Message-State: APjAAAXd2+wfqb0JEYoRBYK1ZII0/OuaKgkvaSI5ZK9uoj6vo9ObN5HA nx5WHMUXN8zPe/JSJq3cf/11s0iEcNga0DBjPNWUFbnG X-Google-Smtp-Source: APXvYqzN5HcBYisbYsvkJEtXbslFEavW3NaSy0KRYUiEKVWqNcT/pLDIl3IkXo4H1UAkKP6XTMV02rqqWAxw819XGFg= X-Received: by 2002:a05:6512:484:: with SMTP id v4mr5998247lfq.66.1563614922104; Sat, 20 Jul 2019 02:28:42 -0700 (PDT) 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, 20 Jul 2019 11:28:30 +0200 Message-ID: Subject: Re: [geda-help] Picaxe 14M2 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000ff6477058e1977fa" Reply-To: geda-help AT delorie DOT com --000000000000ff6477058e1977fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Erich Heinzle, I solved the immediate problem by changing the file system to:. /home/torben/gaf/gschem-sym /home/torben/gaf/pcb-elements /home/torben/.gEDA/gafrc (cat /home/torben/.gEDA/gafrc (component-library-search "/home/torben/gaf/gschem-sym") but I will setup my system as you have set up yours. I need to have some screw terminals set up and I found yours: /user/erich_heinzle/kicad/footprints/w_conn_screw.mod/mors_3p.fp I could not find the corresponding sym file. Is there one? I suppose I can use any(!) sym file as long as I set footprint to mors_3p.fp in the sym file and enter /user/erich_heinzle/kicad/footprints/w_conn_screw.mod/mors_3p.fp in the /home/torben/gaf/pcb-elements file? The pins in my screw terminals are =C3=B8 1 mm - is that OK with mors_3p.fp= (I dont know how to read a fp-file)? best regards torben On Sat, Jul 20, 2019 at 1:09 AM Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > Most users, myself included, set up a template, for a per-project > directory, which has the needed gafrc etc files, and subdirectories with > their local foorprints and symbols. > > This keeps a given design safe from filesystem changes or changes to > elements subsequently. > > It also means that once set up, it doesn't need to be thought about much. > > Here are some examples on github which should show you how to aim the > layout editor at a partucular directory, i.e. "fp" or "packages" in these > examples > > https://github.com/miloh/gEDA-git-template > > https://github.com/nocko/gEDA-template > > https://github.com/wojciechk8/geda-sym > > These examples should show you how it can be done > > Erich. > > On Sat, 20 Jul 2019 01:16 Torben Friis (friistf AT gmail DOT com) [via > geda-help AT delorie DOT com], wrote: > >> Hi Erich Heinzie, >> I think so. If I may reformulate it to show that I understand: >> The PICAXE14M.sym file contains a statement: footprint unknown. When I >> enter the symbol on the schematic I add the footprint attribute DIP14. T= he >> PCB program then picks it up from tha Symbol file and find the DIP14 >> footprint from /home/gaf/pcb-elements. >> >> Then the files: >> /home/gaf/gschem-sym >> (ls /home/gaf/gschem-sym >> PICAXE-14M.sym) >> >> /home/gaf/pcb-elements >> (ls /home/gaf/pcb-elements >> DIP14.fp) >> >> /home/.gEDA/gafrc >> (cat /home/.gEDA/gafrc >> (component-library-search "/home/gaf/gschem-sym") >> >> should do the job? >> >> But then, when I have filled in the files, how do I make the >> PICAXE14M.sym appear correctly in the add->component list?: >> >> > Basic devices >> > Connectors (generic) >> . >> . >> . >> >> I want to understand the stuff completely and really appreciate your hel= p. >> best regards >> torben >> >> On Fri, Jul 19, 2019 at 12:41 PM Erich Heinzle (a1039181 AT gmail DOT com) [via >> geda-help AT delorie DOT com] wrote: >> >>> In general, gschem is unaware of footprint file names, or the details o= f >>> any other attributes you attach to a symbol from a symbol library >>> >>> The usual procedure, after adding your symbol to the schematic from a >>> library, is to add an "attribute" to the symbol, in this case a "footpr= int" >>> attribute, equal to "DIP14" >>> >>> The schematic file will end up with an ectra attribute within the picax= e >>> instance, along the libes of >>> >>> "footprint=3DDIP18" >>> >>> The PCB layout editor, when you proceed to lay out uour design, is the >>> software that has an understanding of footprint attributes, and will se= arch >>> its library paths for a DIP18 >>> >>> Does that help? >>> >>> Erich >>> >>> >>> >>> On Fri, 19 Jul 2019 18:51 Torben Friis (friistf AT gmail DOT com) [via >>> geda-help AT delorie DOT com], wrote: >>> >>>> Hi Erich Heinzie, >>>> It should have been: >>>> >>>> /home/gaf/DIP14.fp >>>> >>>> and >>>> >>>> (component-library-search "/home/gaf/gschem-sym") in the /home/.gEDA/g= afrc file >>>> >>>> I still have the problem of having PICAXE14M not showing up in the lib= raries list. >>>> >>>> When in http://www.gedasymbols.org/ i search for screw terminal I get = a lot of .fp files, but no .sym files. How should they be handled? >>>> >>>> It is rather confusing. >>>> >>>> best regards >>>> >>>> torben >>>> >>>> >>>> >>>> >>>> On Thu, Jul 18, 2019 at 11:44 AM Torben Friis >>>> wrote: >>>> >>>>> Hi Erich Heinzie, >>>>> After following your advice (a long time ago) I have the following: >>>>> >>>>> /home/gaf/gschem-sym/PICAXE-14M.sym >>>>> /home/gaf/pcb-elements/SIP3.fp >>>>> >>>>> (component-library-search "../gschem-sym") in the /home/.gEDA$/gafrc = file >>>>> >>>>> Should not PICAXE-14M show up in Libraries when I click Add->Componen= t in gEDA schmatic? >>>>> >>>>> best regards >>>>> >>>>> torben >>>>> >>>>> >>>>> On Fri, Feb 15, 2019 at 9:19 PM Erich Heinzle (a1039181 AT gmail DOT com) >>>>> [via geda-help AT delorie DOT com] wrote: >>>>> >>>>>> >>>>>> http://www.gedasymbols.org/user/erich_heinzle/symbols/PICAXE-14M.sym= ?dl >>>>>> >>>>>> The above link will download the raw symbol file as a .sym for use i= n >>>>>> the gschem schematic editor >>>>>> >>>>>> The DIP14 footprint required in the pcb layout editor will be a .fp >>>>>> file and the raw file can be downloaded from >>>>>> >>>>>> http://www.gedasymbols.org/footprints/m4lib/DIP14.fp?dl >>>>>> >>>>>> You can place the respective files in the same directory as your >>>>>> schematic and pcb layout, but most people will use dedicated directo= ries in >>>>>> their project directory for symbols and for footprints. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Erich >>>>>> >>>>>> >>>>>> On Fri, 15 Feb 2019 02:34 Torben Friis (friistf AT gmail DOT com) [via >>>>>> geda-help AT delorie DOT com] >>>>> >>>>>>> Hi, >>>>>>> I found DIP14: >>>>>>> >>>>>>> torben AT torben-Aspire-E5-773G:~$ cat /home/torben/gEDAsym >>>>>>> http://www.gedasymbols.org/footprints/m4lib.cgi?geda >>>>>>> >>>>>> >>>>>>> http://www.gedasymbols.org/cvs.html >>>>>>> >>>>>>> It looks different from your file if I view it.. >>>>>>> >>>>>>> Where should I store the file you sent (if it is the file I should >>>>>>> store)? >>>>>>> torben >>>>>>> >>>>>>> On Thu, Feb 14, 2019 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: >>>>>>> >>>>>>>> >>>>>>>> http://www.gedasymbols.org/user/erich_heinzle/symbols/PICAXE-14M.s= ym >>>>>>>> >>>>>>>> It looks like the package is a 14-pin DIP, so "DIP14" should work >>>>>>>> as the footprint. >>>>>>>> >>>>>>>> Cheers, >>>>>>>> --Chad >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Feb 14, 2019 at 9:11 AM Torben Friis (friistf AT gmail DOT com) >>>>>>>> [via geda-help AT delorie DOT com] wrote: >>>>>>>> >>>>>>>>> Hi , >>>>>>>>> I have been looking fo the above element, but I cannot find it. I >>>>>>>>> have been looking for .../newlib and found it in two places, but = neither >>>>>>>>> one appeared to provide it. >>>>>>>>> Is there anywhere else I can look for it? >>>>>>>>> torben >>>>>>>>> >>>>>>>> --000000000000ff6477058e1977fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Erich Heinzle,
I solved the immed= iate problem by changing the file system to:.


/home/torben/gaf/g= schem-sym
/home/torben/gaf/pcb-elements
/home/torben/.gEDA/gafrc
(= cat /home/torben/.gEDA/gafrc
(component-library-search "/home/torbe= n/gaf/gschem-sym")

but I will setup my system as you have set u= p yours.

I need to have some screw terminals set up and I found your= s:

/user/erich_heinzle/kicad/footprints/w_conn_screw.mod/mors_3p.fp<= br>
I could not find the corresponding sym file. Is there one?

I = suppose I can use any(!) sym file as long as I set footprint to mors_3p.fp = in the sym file and enter /user/erich_heinzle/kicad/footprints/w_conn_screw= .mod/mors_3p.fp in the /home/torben/gaf/pcb-elements file?

The pins = in my screw terminals are =C3=B8 1 mm - is that OK with mors_3p.fp (I dont = know how to read a fp-file)?

best regards
torben

<= div class=3D"gmail_quote">
On Sat, Jul= 20, 2019 at 1:09 AM Erich Heinzle (a= 1039181 AT gmail DOT com) [via geda-h= elp AT delorie DOT com] <geda-help= @delorie.com> wrote:
Most users, myself included= , set up a template, for a per-project directory, which has the needed gafr= c etc files, and subdirectories with their local foorprints and symbols.

This keeps a given design = safe from filesystem changes or changes to elements subsequently.

It also means that once set up, i= t doesn't need to be thought about much.

Here are some examples on github which should show you= how to aim the layout editor at a partucular directory, i.e. "fp"= ; or "packages" in these examples


These examples should show you how it can be done

Erich.

On Sat, 20 Jul 2019 01:16 Torben = Friis (friistf AT gmail= .com) [via g= eda-help AT delorie DOT com], <geda-help AT delorie DOT com> wrote:
Hi = Erich Heinzie,
I think so. If I may reformulate it to show that I unders= tand:
The PICAXE14M.sym file contains a statement: footprint unknown. Wh= en I enter the symbol on the schematic I add the footprint attribute DIP14.= The PCB program then picks it up from tha Symbol file and find the DIP14 f= ootprint from /home/gaf/pcb-elements.

Then the files:
/home/gaf/g= schem-sym
(ls /home/gaf/gschem-sym
PICAXE-14M.sym)

/home/gaf/p= cb-elements
(ls /home/gaf/pcb-elements
DIP14.fp)

/home/.gEDA/g= afrc
(cat /home/.gEDA/gafrc
(component-library-search "/home/gaf= /gschem-sym")

should do the job?

But then, when I have f= illed in the files, how do I make the PICAXE14M.sym appear correctly in the= add->component list?:

> Basic devices
> Connectors (gen= eric)
.
.
.

I want to understand the stuff completely and r= eally appreciate your help.
best regards
torben

On Fri, Jul 19, = 2019 at 12:41 PM Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help= @delorie.com] <geda-help AT delorie DOT com> wrote:
In general,= gschem is unaware of footprint file names, or the details of any other att= ributes you attach to a symbol from a symbol library

<= /div>
The usual procedure, after adding your symbol to the= schematic from a library, is to add an "attribute" to the symbol= , in this case a "footprint" attribute, equal to "DIP14"= ;

The schematic file wil= l end up with an ectra attribute within the picaxe instance, along the libe= s of

"footprint=3DD= IP18"

The PCB layou= t editor, when you proceed to lay out uour design, is the software that has= an understanding of footprint attributes, and will search its library path= s for a DIP18=C2=A0

Does= that=C2=A0help?

Erich



On Fri, 19 Jul = 2019 18:51 Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT co= m], <geda-help AT delorie DOT com> wrote:
Hi = Erich Heinzie,
It should have been:

/home/gaf/DIP14.fp

and
(comp=
onent-library-search "/home/gaf/gschem-sym") in the /home/.gEDA/g=
afrc file

I still have the problem of having PICAXE14M not =
showing up in the libraries list.

When in http=
://www.gedasymbols.org/ i search for screw terminal I get a lot of .fp =
files, but no .sym files. How should they be handled?
It is r=
ather confusing.
best regards
torben


On Thu, Jul 18, 2019 at 11:44 AM Torben Friis <friistf AT gmail DOT com> wrote:
Hi Erich Heinzie,
After following your advice (a long time ago) I have= the following:

/home/= gaf/gschem-sym/PICAXE-14M.sym
/home/gaf/pcb-element= s/SIP3.fp
(component-library-search "../gsc=
hem-sym") in the /home/.gEDA$/gafrc file

Should not PI=
CAXE-14M show up in Libraries when I click Add->Component in gEDA schmat=
ic?
best regards
torben

On Fri, Feb = 15, 2019 at 9:19 PM Erich Heinzle (a1039181 AT gmail DOT com) [via = geda-help AT delorie DOT com] <geda-help AT delori= e.com> wrote:
http://www.gedasymbols.org/user/erich_heinzle/symbols/PICAXE-14= M.sym?dl

The above link wi= ll download the raw symbol file as a .sym for use in the gschem schematic e= ditor

The DIP14 footprin= t required in the pcb layout editor will be a .fp file and the raw file can= be downloaded from


You can place the respective files in the same directory as your schemati= c and pcb layout, but most people will use dedicated directories in their p= roject directory for symbols and for footprints.
Regards,

Erich


On= Fri, 15 Feb 2019 02:34 Torben Friis (friistf AT gmail DOT com) [via= geda-help AT delorie DOT com] <geda-help AT delor= ie.com wrote:
Hi,
I found DIP14:

torben AT torben-Aspire-E5-773G:~$ cat /home/torben/gEDAsym
http://www.gedasymbols.org/footprints/m= 4lib.cgi?geda=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 <here
http://www.gedasymbols.org/cvs.html



<= br>

It looks like the packag= e is a 14-pin DIP, so "DIP14" should work as the footprint.

Cheers,
--Chad


On Thu, Feb 14, 2019 at 9:11 AM Torben Friis (friistf AT gmail DOT com) [via geda-hel= p AT delorie DOT com] <geda-help AT delorie DOT com&g= t; wrote:
Hi ,
I have been loo= king fo the above element, but I cannot find it. I have been looking for ..= ./newlib and found it in two places, but neither one appeared to provide it= .
Is there anywhere else I can look for it?
torben
--000000000000ff6477058e1977fa--