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

gEDA-user: [pcb] bug in overlapping pad/pin stack ?



There is either a bug in the CVS verison of PCB, or in my brain.  (My 
friend Kent would point out that both of those conditions might be 
simultaneously true.)

I was trying to create some hand-solder footprints for simple DIPs, 
using the common pin+pad trick to create oblong pads.  It appears that 
the clearance information is lost if an overlapping pin and pad are 
specified. I've included a hacked-up footprint below that demonstrates 
the cases.  It appears that a pin by itself or a pad by itself will 
correctly clear a polygon, but a pad+pin used together to create an 
oblong pad will not clear the polygon, except that in some cases it 
appears to correctly clear the first pad+pad stack that the polygon 
encounters.

I checked one footprint from the famous Lucianni library and it also
fails.  This leads me to believe that I have created a correct 
footprint, although I certainly could be missing something.

What is insidious is that the rat lister does *NOT* report a massive 
short.  I checked a gerber and the gerber *DOES* contain a massive 
short.  This could be a very nasty surprise for somebody.

-dave



Element ["" "DIP 8, 300 width" "" "" 0 0 0 0 0 100 ""]
(
     # generated by dipgen on: Sun Mar  9 08:59:17 2008
     # dipgen 8 300 40
     # num pins: 8
     # dimensions: mils (mm)
     # width: 300.00 (7.62)
     # pad dia: 58.00 (1.47)
     # min spacing: 8.00 (0.20)
     # mask relief: 4.000 (0.10)
     # silk outer base: 80.00 (2.03)
     # silk width: 10.00 (0.25)
     # stretch: 40.00 (1.02)
     # side 1
     Pad [-15000  13000 -15000  17000   5800   1600   6600 "" "1" 0x180]
     Pin [-15000  15000   5800   1600   6600   3500 "" "1" 0x0101]
     Pad [ -5000  13000  -5000  17000   5800   1600   6600 "" "2" 0x080]
     Pin [ -5000  15000   5800   1600   6600   3500 "" "2" 0x0001]
     Pin [  5000  15000   5800   1600   6600   3500 "" "3" 0x0001]
     Pad [ 15000  13000  15000  17000   5800   1600   6600 "" "4" 0x080]
     # side 2
     Pin [ 15000 -15000   5800   1600   6600   3500  "" "5" 0x0001]
     Pad [  5000 -17000   5000 -13000   5800   1600   6600 "" "6" 
"onsolder"]
     Pad [ -5000 -17000  -5000 -13000   5800   1600   6600 "" "7" 
"onsolder"]
     Pin [ -5000 -15000   5800   1600   6600   3500  "" "7" 0x0001]
     Pad [-15000 -17000 -15000 -13000   5800   1600   6600 "" "8" 
"onsolder"]
     Pin [-15000 -15000   5800   1600   6600   3500  "" "8" 0x0001]
     # Silk screen
     ElementLine [-22500  -8000  22500  -8000   1000]
     ElementLine [ 22500  -8000  22500   8000   1000]
     ElementLine [ 22500   8000 -22500   8000   1000]
     ElementLine [-22500   8000 -22500   3500   1000]
     ElementLine [-22500  -8000 -22500  -3500   1000]
     ElementArc [-22500      0   3500   3500     90    180   1000]
)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user