gEDA-user: refdes and footprint not automatic from sym to sch

Stuart Brorson sdb at cloud9.net
Thu Apr 19 15:26:24 EDT 2007


You need to have two RC files:  gafrc and projectrc.  Here are their
contents:

gafrc (leave the parens in):

(component-library "/mnt/sda2/frank/gEDAfrank")


projectrc (gsch2pcb RC file):

schematics /mnt/sda2/frank/geda_pcb/cti/cti.sch
elements-dir /mnt/sda2/frank/gEDAfrank
components-dir /mnt/sda2/frank/gEDAfrank
output-name cti500a


HTH,

Stuart





On Thu, 19 Apr 2007, Transistor Toaster wrote:

>
>> This seems to be an issue which confuses newbies. Confused about gafrc? Yes. I thought gnetlist is run at one point when I use the gsch2pcb utility. gnetlist uses gnetlistrc and gafrc. What I put was originally a gafrc and I added some lines from a gsch2pcb project config file. The gsch2pcb is complaining about possibly unbalanced parantheses, but I thought the syntax required one pair. Could you please edit my gafrc?
> Thanks,
>
> Frank
>
>>> gafrc
>>> -----
>>> schematics /mnt/sda2/frank/geda_pcb/cti/cti.sch NOT NEEDED AT ALL, OR JUST TAKE OUT THE CTI.SCH?
>>> elements-dir /mnt/sda2/frank/gEDAfrank
>>> components-dir /mnt/sda2/frank/gEDAfrank
>>> (component-library "/mnt/sda2/frank/gEDAfrank")  WHAT DO I DO ABOUT THE PARENTHESES?
>>> output-name cti500a        NOT NEEDED?
>
>
> On Thu, 19 Apr 2007 14:56:51 -0400 (EDT), "Stuart Brorson"
> <sdb at cloud9.net> said:
>>> In include my gafrc file. It probably has too many lines. Could you
>>> please cut out the unnecessary ones?
>>> Thanks,
>>> Frank
>>>
>>> gafrc
>>> -----
>>> schematics /mnt/sda2/frank/geda_pcb/cti/cti.sch
>>> elements-dir /mnt/sda2/frank/gEDAfrank
>>> components-dir /mnt/sda2/frank/gEDAfrank
>>> (component-library "/mnt/sda2/frank/gEDAfrank")
>>> output-name cti500a
>>
>> This is not a gafrc file.  I belive you are confused about which
>> program needs which config file, and what the config files look like.
>> Here's a summary:
>>
>> gschem, gnetlist, gattrib, etc.
>> Config file = gafrc.
>> It contains scheme directives like this:
>> (component-library "/mnt/sda2/frank/gEDAfrank")
>>
>>
>> gsch2pcb:
>> Config file = whatever you want to call it.  I call mine project.rc.
>> It contains name/value pairs like this:
>> schematics /mnt/sda2/frank/geda_pcb/cti/cti.sch
>> elements-dir /mnt/sda2/frank/gEDAfrank
>> components-dir /mnt/sda2/frank/gEDAfrank
>> output-name cti500a
>>
>> With these file names, the design flow is:
>>
>> gschem cti.sch
>>
>> gsch2pcb project.rc
>>
>> pcb cti500a.pcb
>>
>>
>> Stuart
>>
>> p.s.  Note to developers:  Perhaps we should spend some time at the
>> code sprint fixing gsch2pcb so that it uses the gafrc rather than its
>> own config file.  This seems to be an issue which confuses newbies.
>> Since we're gonna make gsch2pcb export PCB commands (a major change),
>> now is a good time to implement this type of improvement also.  I'd be
>> happy to take a stab at it.  Just MHO.
>>
>>
>>
>> _______________________________________________
>> geda-user mailing list
>> geda-user at moria.seul.org
>> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
> --
>  Transistor Toaster
>  transistortoaster at fastmail.fm
>
>
>
> _______________________________________________
> geda-user mailing list
> geda-user at moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>


More information about the geda-user mailing list