Root/modules/sot23.fpd

Source at commit 7f3f9267cb007e13eca0af273f9eedad0c6c5659 created 1 year 6 months ago.
By Werner Almesberger, components/stm32.lib: add STM32L052x6/8 in QFN32 (KxU) package
1/* MACHINE-GENERATED ! */
2
3frame pad {
4    __0: vec @(w/2, h/2)
5    __1: vec @(-w/2, -h/2)
6    pad "$n" . __0
7}
8
9frame pads {
10    table
11        { n, x, y }
12        { 1, -e*ccw, -f/2 }
13        { 2, e*ccw, -f/2 }
14        { 3, 0mm, f/2 }
15
16    __0: vec @(x, y)
17    frame pad .
18}
19
20frame outline {
21    set lw = 5mil
22
23    set clear = lw/2+0.1mm
24
25    set s = (A-w)/2-clear
26
27    set m2 = e-w/2-clear
28
29    __0: vec @(A/2, B/2)
30    __2: vec @(-A/2, B/2)
31    __3: vec .(0mm, -B)
32    line __2 . lw
33    __1: vec __0(0mm, -B)
34    line . __0 lw
35    __4: vec __2(s, 0mm)
36    line __2 . lw
37    __5: vec __0(-s, 0mm)
38    line . __0 lw
39    __6: vec @(0mm, -B/2)
40    __7: vec .(m2, 0mm)
41    __8: vec __6(-m2, 0mm)
42    line . __7 lw
43}
44
45package "SOT23$suffix"
46unit auto
47
48table
49    { A, B, e, f, h, w }
50    { 2.9mm, 1.3mm, 0.95mm, 2.3mm, 0.95mm, 0.65mm }
51
52table
53    { suffix, ccw }
54    { "", 1 }
55    { "-CW", -1 }
56
57frame outline @
58frame pads @
59measx outline.__2 >> outline.__0 1.5mm
60measy outline.__3 >> outline.__2 0.5mm
61measx pads.__0 -> pads.__0 1.7mm+f/2
62measy pads.__0 >> pads.__0 1.3mm
63measy pad.__1 -> pad.__0 0.5mm
64measx pad.__1 -> pad.__0 -0.5mm
65measx pads.__0 >> pads.__0 1mm
66measy pad.__1 >> pad.__0 1.3mm
67

Archive Download this file

Branches:
master



interactive