1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-26 05:34:58 +02:00

to.fpd: added TO-263 variant

This commit is contained in:
Adam Wang 2012-06-04 10:22:24 +08:00
parent b287ab53d2
commit 27019d128d
2 changed files with 44 additions and 20 deletions

View File

@ -178,15 +178,21 @@ F: tsop
# http://pdfserv.maxim-ic.com/land_patterns/90-0320.PDF # http://pdfserv.maxim-ic.com/land_patterns/90-0320.PDF
# #
# "Generic" simple TO-252 # "Generic" simple TO-252, TO-263
F: to-252 F: to
# #
# - for example: the LP38690DT-3.3 data sheet, it's TO-252 # - TO-252 for example: the LP38690DT-3.3 data sheet, it's TO-252
# http://www.ti.com/lit/ds/symlink/lp38690.pdf # http://www.ti.com/lit/ds/symlink/lp38690.pdf
# #
# - JEDEC Spec: TO-252 AA -> package drawing and land pattern # - JEDEC Spec: TO-252 AA -> package drawing and land pattern
# http://www.national.com/packaging/mkt/td03b.pdf # http://www.national.com/packaging/mkt/td03b.pdf
# #
# - TO-263 for example: the LP38511TJ-ADJ/NOPB data sheet, it's TO-263
# http://www.ti.com/lit/ds/symlink/lp38511-adj.pdf
#
# - JEDEC Spec: TO-263 THIN -> package drawing and land pattern
# http://www.national.com/packaging/mkt/tj5a.pdf
#
# USB A plug for SMT # USB A plug for SMT
# #

View File

@ -1,5 +1,16 @@
/* MACHINE-GENERATED ! */ /* MACHINE-GENERATED ! */
frame outline {
__0: vec @(D/2, E/2+offset)
__1: vec @(D/2, -(E/2-offset))
line __0 . w
__2: vec @(-D/2, E/2+offset)
__3: vec @(-D/2, -(E/2-offset))
line . __2 w
__4: vec @(gx/2, 0mm)
__5: vec @(-gx/2, 0mm)
}
frame pad { frame pad {
set x = dx*e set x = dx*e
@ -13,15 +24,20 @@ frame pad {
__4: vec __2(index*px/2+ground*gx/2, -(index*py/2+ground*gy/2)) __4: vec __2(index*px/2+ground*gx/2, -(index*py/2+ground*gy/2))
} }
frame outline { frame pads263 {
__0: vec @(D/2, E/2+offset) table
__1: vec @(D/2, -(E/2-offset)) { n, index, ground, dx, dy }
line __0 . w { 1, 1, 0, -2, -1 }
__2: vec @(-D/2, E/2+offset) { 2, 1, 0, -1, -1 }
__3: vec @(-D/2, -(E/2-offset)) { 3, 1, 0, 0, -1 }
line . __2 w { 4, 1, 0, 1, -1 }
__4: vec @(gx/2, 0mm) { 5, 1, 0, 2, -1 }
__5: vec @(-gx/2, 0mm) { 6, 0, 1, 0, 1 }
loop if = sqrt((N-6)*(N-6)), 0
frame outline @
frame pad @
} }
frame pads252 { frame pads252 {
@ -32,9 +48,7 @@ frame pads252 {
{ 3, 1, 0, 1, -1 } { 3, 1, 0, 1, -1 }
{ 4, 0, 1, 0, 1 } { 4, 0, 1, 0, 1 }
set gx = 5.5mm loop if = sqrt((N-3)*(N-3)), 0
set gy = 5.7mm
frame outline @ frame outline @
frame pad @ frame pad @
@ -44,17 +58,21 @@ package "TO-$Name"
unit mm unit mm
table table
{ Name, N, D, E, e, cy, px, py, offset } { Name, N, D, E, e, cy, px, py, offset, gx, gy }
{ "252", 3, 6.58mm, 9.91mm, 2.285mm, 6.44mm, 1.3mm, 1.7mm, 1mm } { "252", 3, 6.58mm, 9.91mm, 2.285mm, 6.44mm, 1.3mm, 1.7mm, 1mm, 5.5mm, 5.7mm }
{ "263", 6, 10.16mm, 14.01mm, 1.7mm, 9.225mm, 1.07mm, 2.41mm, 1mm, 5.59mm, 6.35mm }
set w = 5mil set w = 5mil
frame pads252 @ frame pads252 @
measy outline.__3 >> outline.__2 3mm frame pads263 @
measy outline.__3 >> outline.__2 3.5mm
measx pad.__1 -> pad.__0 -1mm measx pad.__1 -> pad.__0 -1mm
measx pad.__2 -> pad.__2 1.5mm measx pad.__2 -> pad.__2 1.5mm
measy pad.__2 >> pad.__2 3mm measy pad.__2 >> pad.__2 3mm
measy pad.__2 -> pad.__3 2mm measy pad.__2 -> pad.__3 2mm
measy pad.__4 -> pad.__2 2.5mm measy pad.__4 -> pad.__2 2.5mm
meas outline.__3 >> outline.__1 -1.5mm meas outline.__3 >> outline.__1 -2.5mm
measx outline.__5 >> outline.__4 7mm measx outline.__5 >> outline.__4 8mm
measy pad.__2 >> pad.__3 4mm
measx pad.__2 >> pad.__2 -2.5mm