Root/modules/evqq7.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 outline {
4    table
5        { r, len, w }
6        { 8.7mm/2, 1mm, 5mil }
7
8    __0: vec @(r/sqrt(2), r/sqrt(2))
9    __1: vec .(-len/2/sqrt(2), len/2/sqrt(2))
10    __2: vec __0(len/2/sqrt(2), -len/2/sqrt(2))
11    line __1 . w
12}
13
14frame pad {
15    __0: vec @(px/2, py/2)
16    __1: vec @(-px/2, -py/2)
17    pad "$name" . __0
18}
19
20frame gnd {
21    table
22        { name, dx, dy }
23        { 9, -1, 1 }
24        { 10, 1, -1 }
25
26    table
27        { xi, xo, yi, yo }
28        { 1.8mm, 3.4mm, 7.4mm, 8.6mm }
29
30    set x = (xi+xo)/4*dx
31
32    set y = (yi+yo)/4*dy
33
34    set px = (xo-xi)/2
35
36    set py = (yo-yi)/2
37
38    __0: vec @(x, y)
39    frame pad .
40}
41
42frame head {
43    table
44        { name, dy }
45        { 1, 1 }
46        { 5, -1 }
47
48    set x = 0mm
49
50    table
51        { px, yi, yo }
52        { 0.8mm, 6.2mm, 8mm }
53
54    set y = (yi+yo)/4*dy
55
56    set py = (yo-yi)/2
57
58    __0: vec @(x, y)
59    frame pad .
60}
61
62frame side {
63    table
64        { name, dx, dy }
65        { 2, -1, 1 }
66        { 3, -1, 0 }
67        { 4, -1, -1 }
68        { 6, 1, -1 }
69        { 7, 1, 0 }
70        { 8, 1, 1 }
71
72    set x = (xi+xo)/4*dx
73
74    set y = (yi+yo)/4*dy
75
76    table
77        { xi, xo, yi, yo }
78        { 6.2mm, 8mm, 3.2mm, 4.8mm }
79
80    set px = (xo-xi)/2
81
82    set py = (yo-yi)/2
83
84    __0: vec @(x, y)
85    frame pad .
86}
87
88package "EVQQ7"
89unit mm
90
91frame side @
92frame head @
93frame gnd @
94frame outline @
95measx pad.__1 -> pad.__0 1.2mm
96measx pad.__0 >> pad.__1 0.5mm
97measx pad.__1 >> pad.__0 -0.4mm
98

Archive Download this file

Branches:
master



interactive