[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: gschem2pcb question
Chris,
[snip]
>If I add an attribute "footprint=SMD 8" to a component on the
>schematics, gschem2pcb complains that "Error: the footprint SMD for the
>device U2 does not exist".
You are going to have to provide a simplified schematic
(which fails with gschem2pcb), since I did this and could not
replicate the problem:
1) Create a schematic call blah.sch:
v 20010722
C 58800 59600 1 0 0 7400-1.sym
{
T 59100 60500 5 10 1 1 0 0
uref=U1
T 59100 60800 5 10 1 0 0 0
footprint=SMD 8
}
2) Ran: gnetlist -i blah.sch
3) at the gnetlist> prompt ran:
(gnetlist:get-package-attribute "U1" "footprint")
And that returned "SMD 8"
So, looks like my code is working right, time to examine gschem2pcb
and the backend in a bit more detail, a sample schematic which mostly
works will be of great help here. Also, you may want to try the above
experiment with your schematic first.
-Ales
[ interactive gnetlist is quite handy. :) ]