mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-22 06:55:56 +02:00
modules/dfn.fpd: DFN-8 (aka TI's WSON-8) package, for TPS6216x
This commit is contained in:
parent
a841da7f79
commit
694cebf972
1
AUTHORS
1
AUTHORS
@ -91,6 +91,7 @@ Werner Almesberger <werner@almesberger.net>
|
||||
modules/ssop.fpd
|
||||
modules/sot.fpd
|
||||
modules/evqq7.fpd
|
||||
modules/dfn.fpd
|
||||
|
||||
Xiangfu <xiangfu@openmobilefree.net>
|
||||
|
||||
|
@ -276,6 +276,8 @@ Discrete_Multi
|
||||
TSOP348
|
||||
Dual
|
||||
SMT
|
||||
DFN
|
||||
DFN-8
|
||||
MDIP
|
||||
MDIP-4-355mil
|
||||
MDIP-6-355mil
|
||||
|
@ -1,7 +1,7 @@
|
||||
MODULES=8_10-card 8_10-socket-ra \
|
||||
bat-clip-aa-th bga \
|
||||
c-smd c-t-smd \
|
||||
dcjack din-5 dip dip4of6 do-214 dvi-recept-ra \
|
||||
dcjack dfn din-5 dip dip4of6 do-214 dvi-recept-ra \
|
||||
e-switch320 eus evqq7 \
|
||||
fiducial \
|
||||
header he-2row-dip he-shrouded \
|
||||
|
82
modules/dfn.fpd
Normal file
82
modules/dfn.fpd
Normal file
@ -0,0 +1,82 @@
|
||||
/* MACHINE-GENERATED ! */
|
||||
|
||||
frame pad {
|
||||
set n = pins+1
|
||||
|
||||
__0: vec @(cx/2, cy/2)
|
||||
__1: vec @(-cx/2, -cy/2)
|
||||
pad "$n" . __0
|
||||
}
|
||||
|
||||
frame pin {
|
||||
__0: vec @(px/2, py/2)
|
||||
__1: vec @(-px/2, -py/2)
|
||||
pad "$n" . __0
|
||||
}
|
||||
|
||||
frame pins {
|
||||
set x = e*(i-(pins/2-1)/2)
|
||||
|
||||
set y = (iy+oy)/4*dy
|
||||
|
||||
set n = a+f*i
|
||||
|
||||
table
|
||||
{ dy, f, a }
|
||||
{ 1, -1, 8 }
|
||||
{ -1, 1, 1 }
|
||||
|
||||
loop i = 0, pins/2-1
|
||||
|
||||
__0: vec @(x, y)
|
||||
frame pin .
|
||||
}
|
||||
|
||||
frame outline {
|
||||
set x = (X+gap)/2
|
||||
|
||||
set y = (Y+gap)/2
|
||||
|
||||
__0: vec @(X/2, Y/2)
|
||||
__6: vec .(gap, gap)
|
||||
__1: vec @(X/2, -Y/2)
|
||||
__2: vec .(gap, -gap)
|
||||
line __6 . w
|
||||
__3: vec @(-X/2, Y/2)
|
||||
__7: vec .(-gap, gap)
|
||||
__8: vec @(-X/2, -Y/2)
|
||||
__9: vec .(-gap, -gap)
|
||||
line __7 . w
|
||||
__4: vec .(-(w+r+0.1mm), r)
|
||||
__5: vec .(0mm, r)
|
||||
circ __4 . w
|
||||
}
|
||||
|
||||
package "DFN-$pins$variant"
|
||||
unit mm
|
||||
|
||||
table
|
||||
{ pins, variant, X, Y, e, iy, oy, px, cx, cy }
|
||||
{ 8, "", 2mm, 2mm, 0.5mm, 1.4mm, 2.4mm, 0.28mm, 1.3mm, 0.7mm }
|
||||
|
||||
set py = (oy-iy)/2
|
||||
|
||||
set w = 5mil
|
||||
|
||||
set gap = 0.2mm+w/2
|
||||
|
||||
set r = 0.25mm
|
||||
|
||||
frame pins @
|
||||
frame pad @
|
||||
frame outline @
|
||||
measy pin.__1 >> pin.__0 2mm
|
||||
measy pin.__0 >> pin.__1 2mm
|
||||
measy pad.__1 >> pad.__0 1.5mm
|
||||
measx pin.__1 >> pin.__0 -1mm
|
||||
measx pin.__1 -> pin.__0 -0.5mm
|
||||
measy pin.__1 -> pin.__0 2mm-px
|
||||
measx pins.__0 -> pins.__0 oy+0.5mm
|
||||
measy outline.__1 >> outline.__0 -1mm
|
||||
measx outline.__3 >> outline.__0 1.5mm
|
||||
measx pad.__1 >> pad.__0 cy/2
|
Loading…
Reference in New Issue
Block a user