delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2014/04/08/16:28:37

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <53445BD8.4070505@mochima.com>
Date: Tue, 08 Apr 2014 16:28:08 -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: Re: [geda-help] Workflow Schematic Editor -> schem2pcb -> PCB Designer
won't work!
References: <533F4740 DOT 5010606 AT mochima DOT com> <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>
In-Reply-To: <alpine.DEB.2.00.1404080523041.8305@igor2priv>
X-Added-Header:
Reply-To: geda-help AT delorie DOT com

On 14-04-07 11:31 PM, gedah AT igor2 DOT repo DOT hu wrote:
>
>>> 2. upload the pcb tight after gsch2pcb, then open from pcb, load 
>>> netlist, disperse, optimize rats, make sure the same 
>>> resistor-only-net has the rats then save the pcb and upload that as 
>>> well.
>>
>> I'm not sure what you're referring to in here --- what is "pcb tight"??
>
> s/tight/right/, it was a typo. 

D'oh!!  :-)

I'd like to think that under normal circumstances, I wouldn't miss 
something
like that --- but I guess between my lack of familiarity with gEDA 
terminology,
and the coincidence that "pcb tight" *sort of* makes sense... well....

> I have no idea what the GUI wrapper does, but it should have access to 
> the command interface of PCB so in theory it could rename components 
> or pins. 

I just tried, and the part I can't figure out is the last instruction 
that gsch2pcb
gives me.  I quote its output:

> Done processing.  Work performed:
> 3 file elements and 0 m4 elements added to nada-LME49811.pcb.
>
> Next step:
> 1.  Run pcb on your file nada-LME49811.pcb.
>     You will find all your footprints in a bundle ready for you to place
>     or disperse with "Select -> Disperse all elements" in PCB.
>
> 2.  From within PCB, select "File -> Load netlist file" and select
>     nada-LME49811.net to load the netlist.
>
> 3.  From within PCB, enter
>
>            :ExecuteFile(nada-LME49811.cmd)
>
>     to propagate the pin names of all footprints to the layout.
>

How exactly do I perform step 3?  The colon looks like vi syntax
(vi as in the text editor vi), but I try just typing and nothing happens.

Still, at that point, when I open with PCB, the LME footprint does not
show up  (not just the rat nets --- the LME itself is not showing up!!!)


So, I did the experiments as you suggested:   worked on the machine
with the distro packages (installed directly through the Ubuntu 
repositories).
gEDA version 1.6.2 20110115;  PCB Designer version 20110918.

Worked with the exact same files I had uploaded in the previous
message  (the ones you used and that worked on your side).  Quoting
from my previous message --- the following files:

> At any rate, I placed the footprint files at:
> http://www.mochima.com/tmp/LME49811.fp and
> http://www.mochima.com/tmp/R-SMT-0805.fp
>
> Quoting from my previous message --- the above files go with:
> Symbol file for the LME: http://www.mochima.com/tmp/LME49811.sym
>
> Schematic using this LME and just two resistors and a couple of
> connections: http://www.mochima.com/tmp/nada-LME49811.sch 

This time, I used gsch2pcb  (command-line).

The footprint files are located at /usr/share/pcb/pcblib-newlib/generic/
The LME49811.sym file is located at  /home/carlos/tmp/symbols/
(the .gEDA/schemrc file contains the line:
(component-library "/home/carlos/tmp/symbols/" "User-defined") )


I did the following:  Created a directory PCBs and placed the .sch file
only.  Run gsch2pcb, then cp * step-1/  to copy all files generated into
that directory.  Then, open the .pcb file with PCB Designer, load nets,
disperse, optimize rats, then save.  Then, cp * step-2/

I enabled directory listings so that you can see all the files. Here's
the link:

http://www.mochima.com/tmp/PCBs/

Hope we can figure out where the problem is!   As you pointed out, a
bug in the PCB or sch2pcb programs sounds strange, since I tried on
several different machines, Ubuntu, CentOS, and with the distro versions
and also the versions installed from source (from the latest stable 
versions).

Again, thank you very much for all the effort and your comments so far!!!

Thanks,
Carlos
--

- Raw text -


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