[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-user: gschem2pcb Issues




>Eric Winsor wrote:
>> Could the path be the issue
>> here?
>> 
>
>Yes it is.
>
>in ~/geda/share/gEDA/scheme the file gnet-PCBboard.scm defines:
>
>(define *m4-pcbdir* "/usr/X11R6/lib/X11/pcb/m4")
>
>This is where pcb installs all the components libraries...
>

Chris was right, this was the problem.

After changing the (define *m4-pcbdir* "/usr/X11R6/lib/X11/pcb/m4") path in the file gnet-PCBboard.scm like he said, It worked-I didn't get the usual error messages.  It could now find all of the footprints.  However, upon running gschem2pcb on a very simple schematic it produced the netlist ok, but when it moved on to the "-g PCBboard" part, it just sat there cranking away until it finally produced the following .pcb file:


# release: pcb 1.6.3
PCB("" 6000 5000)
Grid(10 0 0)
Cursor(10 270 3)
Flags(0x000000d0)
Groups("1,2,3,s:4,5,6,c:7:8:")
Styles("Signal,10,40,20:Power,25,60,35:Fat,40,60,35:Skinny,8,36,20")

Element(0x00 "CONNECTOR_2" "CONN2" "unknown" 160 10 3 100 0x00)
(
	Pin(50 50 50 20 "1" 0x101)
	Pin(50 150 50 20 "2" 0x01)
	
	ElementLine(  0 50   0 150 20)
	ElementLine(100 50 100 150 20)
	ElementArc(50  50 50 50 180 180 20)
	ElementArc(50 150 50 50   0 180 20)
	ElementLine(0 200 100 200 10)
	ElementLine(0 400 100 400 10)
	ElementLine(0 600 100 600 10)
	ElementLine(0 800 100 800 10)
	ElementLine(0 1000 100 1000 10)

... and continues incrementing the two values by 200 until, 35 MB later ...

	ElementLine(0 169997000 100 169997000 10)
	ElementLine(0 169997200 100 169997200 10)
	ElementLine(0 169997400 100

Where it ends without finishing the line, causing a parse error when I try to load the beast in PCB. 
An attempt with a different (more complex) schematic produced a similar result. 

Has anyone ever seen this before, and what the heck is causing it?

Thanks,
B Cattle





Communicate in total privacy.
Get your free encrypted email at https://www.hushmail.com/?l=2

Looking for a good deal on a domain name? http://www.hush.com/partners/offers.cgi?id=domainpeople