delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/04/11/19:52:12

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <5348800F.3070500@mochima.com>
Date: Fri, 11 Apr 2014 19:51:43 -0400
From: Carlos Moreno <moreno+geda-help AT mochima DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: [geda-help] Having some trouble again!
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1404050517330 DOT 8305 AT igor2priv> <533F89FE DOT 2060808 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404050746030 DOT 8305 AT igor2priv> <534000E2 DOT 5080703 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404060625040 DOT 8305 AT igor2priv> <5342AF6B DOT 6010405 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404080523041 DOT 8305 AT igor2priv> <53445BD8 DOT 4070505 AT mochima DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1404090557260 DOT 8305 AT igor2priv> <53452A49 DOT 8000701 AT mochima DOT com> <20140409114728 DOT GA2172 AT localhost DOT localdomain>
In-Reply-To: <20140409114728.GA2172@localhost.localdomain>
X-Added-Header:
Reply-To: geda-help AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019