Mail Archives: geda-help/2014/04/11/19:52:12
On 14-04-09 07:47 AM, Vladimir Zhbanov wrote:
> On Wed, Apr 09, 2014 at 07:08:57AM -0400, Carlos Moreno wrote:
> ...
>> I had later found out the configuration trick to avoid the above
>> for the symbol files, but not for the footprints. I will try the
>> elements-dir trick you mention above. BTW, should I add this
>> elements-dir line to gafrc as well? (I guess the schematic editor
>> does not need to locate the FP files, but both gsch2pcb *and*
>> PCB Editor need to know where to look, right?)
> gsch2pcb need not know the paths, either, it just outputs netlists
> using the footprint= attributes of your schematic.
> In PCB, you can use File->Preferences...->Library to set up your
> libraries.
>
> BTW, there is File->Import Schematics menu in recent versions
> of PCB, which you can use to eliminate the gsch2pcb step.
Hi again,
I've been able to make things work for the most part.
Working on some custom symbols and footprints; but
now I'm running into trouble again.
The actual symptom is: one of the components, a
transistor with a custom footprint, is showing up on
the PCB board, but not its connections. I've been using
the PCB Editor's "File -> Import Schematics" trick.
I could give more details if needed, but I'm suspecting
an issue with the directories, so I'll ask you guys directly
about those:
One strange detail:
The "Select component" window of the Schematic editor
shows me my custom symbols twice. In the "Libraries"
tab, I see:
> User-defined Symbols
LME49811.sym
NPN-custom.sym
etc.
> symbols
LME49811.sym
NPN-custom.sym
etc.
(it actually shows the entire list of symbols in my directory
/home/carlos/gEDA/symbols --- it shows it twice, that is)
I played with the configuration files to try to get rid of that,
and I suspect that that's what's causing the trouble.
Here's the *current* contents of the config files:
~/.gEDA/gschemrc:
(load (build-path geda-rc-path "gschem-colormap-lightbg")) ; light
background
(log-window "later")
(component-library "/home/carlos/gEDA/symbols/" "User-defined Symbols")
~/.gEDA/gafrc:
(component-library "/home/carlos/gEDA/symbols/")
(elements-dir "/home/carlos/gEDA/footprints/")
~/.gEDA/gsch2pcbrc:
(elements-dir "/home/carlos/gEDA/footprints/")
I tried the File -> Preferences in PCB Editor, and now the file
~/.pcb/preferences contains the following line:
library-newlib = /home/carlos/gEDA/footprints
My custom footprints do show up in the Library window inside
PCB Designer.
Am I missing or doing something wrong in these configuration
files? The duplicate entries in Schematic editor seem weird;
and the trouble I'm having now is also very weird --- one custom
transistor showing up but no nets connected to it. I defined the
custom symbol exactly the same way I defined another
transistor being used, and the other transistor shows up fine
and all of its connections are fine. Only difference is, the
other transitor (the one that's working) uses a built-in footprint
(SO23.fp or something like that --- a surface-mount one), and
the one that's not working uses a custom footprint (its footprint
shows up in the PCB, and I can see that footprint and use it
from within PCB Designer).
Any ideas?
Thanks,
Carlos
--
- Raw text -