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

gEDA-user: 2N3904



Hello

I have been searching for some time in the libraries and am wondering
how to make a PCB where a 2N3904 transistor is.

I am having a schematic with 2n3904.sym where the pins are labeled
E,B,C

PCB library (pcb-bin-lib window) offers 2N3904 but I can't find it in
PKG macros.

/usr/local/share/pcb/pcblib lists only two occurences of 2N3904:
PinList_2N3904`E',`B',`C'
Description_2N3904general purpose NPN transisto

pcblib.contents shows this:
2N3904:TO92:2N3904:general purpose NPN transistor

However PKG_TO92 macro has only 3 parameters:
PKG_TO92:       Element(0x00 "$1" "$2" "$3" 60 70 0 100 0x00)
(
        PIN(50, 200, 80, 20, 1)
        PIN(150, 200, 80, 20, 2)
        PIN(250, 200, 80, 20, 3)

        ElementArc(150 200 100 100 315 270 10)
        ElementLine( 80 130 220 130 10)

        Mark(50 200)
)

As I can in footprint= control only parameters $4 and $5 (and maybe more) but
not $1, $2, $3, then how can I tell PCB through gsch2pcb that either it should
use 2N3904 footprint or at least TO92 footprint with pins labeled E, B, C?

Cl<