mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-25 17:55:20 +02:00
sot23.fpd: added SOT23 generic package with counter-clockweise or clockwise pin assignment
This commit is contained in:
parent
2f182e5e37
commit
acebf7df8f
@ -17,7 +17,6 @@ F: bga
|
||||
# http://www.xilinx.com/support/documentation/user_guides/ug385.pdf
|
||||
#
|
||||
|
||||
|
||||
# EUS (R-PDSS-T6)
|
||||
F: eus
|
||||
#
|
||||
@ -149,6 +148,13 @@ F: soic
|
||||
|
||||
F: sot
|
||||
|
||||
# SOT23 generic package with counter-clockweise or clockwise pin assignment
|
||||
F: sot23
|
||||
#
|
||||
# - SOT23: for example, the APX803-40SAG-7 data sheet, package drawing and land pattern
|
||||
# http://www.diodes.com/datasheets/APX803.pdf
|
||||
#
|
||||
|
||||
# Standard rectangular passive components
|
||||
F: stdpass
|
||||
|
||||
|
65
modules/sot23.fpd
Normal file
65
modules/sot23.fpd
Normal file
@ -0,0 +1,65 @@
|
||||
/* MACHINE-GENERATED ! */
|
||||
|
||||
frame pad {
|
||||
__0: vec @(w/2, h/2)
|
||||
__1: vec @(-w/2, -h/2)
|
||||
pad "$n" . __0
|
||||
}
|
||||
|
||||
frame pads {
|
||||
table
|
||||
{ n, x, y }
|
||||
{ 1, -e*ccw, -f/2 }
|
||||
{ 2, e*ccw, -f/2 }
|
||||
{ 3, 0mm, f/2 }
|
||||
|
||||
__0: vec @(x, y)
|
||||
frame pad .
|
||||
}
|
||||
|
||||
frame outline {
|
||||
set lw = 5mil
|
||||
|
||||
set clear = lw/2+0.1mm
|
||||
|
||||
set s = (A-w)/2-clear
|
||||
|
||||
set m2 = e-w/2-clear
|
||||
|
||||
__0: vec @(A/2, B/2)
|
||||
__2: vec @(-A/2, B/2)
|
||||
__3: vec .(0mm, -B)
|
||||
line __2 . lw
|
||||
__1: vec __0(0mm, -B)
|
||||
line . __0 lw
|
||||
__4: vec __2(s, 0mm)
|
||||
line __2 . lw
|
||||
__5: vec __0(-s, 0mm)
|
||||
line . __0 lw
|
||||
__6: vec @(0mm, -B/2)
|
||||
__7: vec .(m2, 0mm)
|
||||
__8: vec __6(-m2, 0mm)
|
||||
line . __7 lw
|
||||
}
|
||||
|
||||
package "SOT23$suffix"
|
||||
unit auto
|
||||
|
||||
table
|
||||
{ A, B, e, f, h, w }
|
||||
{ 2.9mm, 1.3mm, 0.95mm, 2.3mm, 0.95mm, 0.65mm }
|
||||
|
||||
table
|
||||
{ suffix, ccw }
|
||||
{ "", 1 }
|
||||
{ "-CW", -1 }
|
||||
|
||||
frame outline @
|
||||
frame pads @
|
||||
measx outline.__2 >> outline.__0 1.5mm
|
||||
measy outline.__3 >> outline.__2 0.5mm
|
||||
measx pads.__0 -> pads.__0 1.7mm+f/2
|
||||
measy pads.__0 >> pads.__0 1.5mm
|
||||
measy pad.__1 -> pad.__0 0.5mm
|
||||
measx pad.__1 -> pad.__0 -0.5mm
|
||||
measx pads.__0 >> pads.__0 1mm
|
Loading…
Reference in New Issue
Block a user