[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: footprint name's max length



I run gsch2pcb to search newlib first as

gsch2pcb --use-files --element-dir <mydir> -v project

Is this correct ?

Still 2 components are M4 lib's, Itry to find them and kick off them.
Generating huge non use pad take 20 minutes.

Thanks

Hiroshi
Dan McMahill wrote:

Change all the "-" to "_". Also you might look for the setting which says search newlib before m4lib. This sounds like that name with dashes is getting fed into m4lib which does not like "-" at all.

-Dan


hiroshi wrote:

When I changed the footprint name from SOD123-370L1-160W__On-Semiconductor, .pcb's element is looks right format.

But still I can see only one diode, I use 5 diodes !
And still .pcb file includes big Element(0x00 "" "" "" 0 0 120 0 3 100 0x00) .


It seems memory handling problem ?
.sch are only five schematics.

Is there any idea ?

Hiroshi


hiroshi wrote:


Hi!

I corrected footprint name but result was same.

I use SOD123-370L1-160W__On-Semiconductor footprint for several components.

But I can find only one in .pcb file and looks strange format as below.

Element(0x00 "" "" "" 0 0 120 0 3 100 0x00)
(
ElementLine(-110 -40 -110 40 20)
ElementLine(-110 40 -76 51 10)
ElementLine(-76 51 100 51 10)
ElementLine(100 51 100 -51 10)
ElementLine(100 -51 -76 -51 10)
ElementLine(-76 -51 -110 -40 10)
Pad(-55 -6
-55 6
69 20 75 "1" "1" 0x00000100)
Pad(55 -6
55 6
69 20 75 "2" "2" 0x00000100)
)-370L1-160W__On-Semiconductor(SOD123-370L1-160W__On-Semiconductor,Z501,43V)




And aslo following element is generated ! End of element looks a aprt of Layer.

Element(0x00 "" "" "" 152 50 3 100 0x00)
(
   Pad(7 13 30 13 14 "1" 0x00)
   Pad(7 39 30 39 14 "2" 0x100)
   Pad(7 65 30 65 14 "3" 0x100)
   Pad(7 91 30 91 14 "4" 0x100)

here comes about 240,000 pads
   Pad(7 2067026 30 2067026 14 "1731412" 0x100)
   Pad(7 2067052Layer(1 "solder")
(
)
Layer(2 "GND-sldr")
(
)
Layer(3 "Vcc-sldr")
(
)
Layer(4 "component")
(
)
Layer(5 "GND-comp")
(
)
Layer(6 "Vcc-comp")
(
)
Layer(7 "unused")
(
)
Layer(8 "unused")
(
)

How can I solve this problem  ?  I use 512M memory, Do I need more ?


By the way , reason I try to use gschem2xpcb is as Dan mentioned

>gsch2pcb places all footprints on top of each other but PCB has an action to disperse elements.

If i try to disperse element, current gsch2pcb set pcb max size and disperse put some components outside of PCB area then I can not drag those.

Thanks

Hiroshi


Ales Hvezda wrote:

Hi Dan,


[snip]


Actually he said "gschem2xpcb" which is YAFAT (yet another forward annotation tool).




    Ah, yes.  I am generally blind to all 'x' characters. :)
Thanks for the correction.




But yes, use gsch2pcb instead of gschem2pcb or gschem2xpcb. The former is much more widely used and supported. I think the main complaint which caused gschem2xpcb to exist is that gsch2pcb places all footprints on top of each other but PCB has an action to disperse elements.



Agreed. gsch2pcb is more likely to be maintained and is far more widely used. Plus it's GPL which is just plain nice. :)

                                -Ales