-
Notifications
You must be signed in to change notification settings - Fork 0
/
elite-c.js
196 lines (184 loc) · 18.4 KB
/
elite-c.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
module.exports = {
params: {
designator: 'MCU',
D3: {type: 'net', value: ''},
D2: {type: 'net', value: ''},
GND0: {type: 'net', value: ''},
GND1: {type: 'net', value: ''},
D1: {type: 'net', value: ''},
D0: {type: 'net', value: ''},
D4: {type: 'net', value: ''},
C6: {type: 'net', value: ''},
D7: {type: 'net', value: ''},
E6: {type: 'net', value: ''},
B4: {type: 'net', value: ''},
B5: {type: 'net', value: ''},
B7: {type: 'net', value: ''},
D5: {type: 'net', value: ''},
C7: {type: 'net', value: ''},
F1: {type: 'net', value: ''},
F0: {type: 'net', value: ''},
B6: {type: 'net', value: ''},
B2: {type: 'net', value: ''},
B3: {type: 'net', value: ''},
B1: {type: 'net', value: ''},
F7: {type: 'net', value: ''},
F6: {type: 'net', value: ''},
F5: {type: 'net', value: ''},
F4: {type: 'net', value: ''},
VCC: {type: 'net', value: ''},
RST: {type: 'net', value: ''},
GND2: {type: 'net', value: ''},
B0: {type: 'net', value: ''}
},
body: p => {
const footprint = `
(module "Elite-C-castellated-29pin-holes" (layer F.Cu) (tedit 5E2C9FAC)
${p.at /* parametric position */}
(fp_text reference "${p.ref}" (at 0 1.625) (layer F.SilkS) ${p.ref_hide}
(effects (font (size 1.2 1.2) (thickness 0.2032)))
)
(fp_text value "Elite-C-castellated-29pin-holes" (at 0 0) (layer F.SilkS) ${p.ref_hide}
(effects (font (size 1.2 1.2) (thickness 0.2032)))
)
(fp_line (start -15.24 6.35) (end -15.24 8.89) (layer F.SilkS) (width 0.381))
(fp_line (start -15.24 6.35) (end -15.24 8.89) (layer B.SilkS) (width 0.381))
(fp_line (start -19.304 -3.556) (end -14.224 -3.556) (layer Dwgs.User) (width 0.2))
(fp_line (start -19.304 3.81) (end -19.304 -3.556) (layer Dwgs.User) (width 0.2))
(fp_line (start -14.224 3.81) (end -19.304 3.81) (layer Dwgs.User) (width 0.2))
(fp_line (start -14.224 -3.556) (end -14.224 3.81) (layer Dwgs.User) (width 0.2))
(fp_line (start -17.78 8.89) (end -15.24 8.89) (layer F.SilkS) (width 0.381))
(fp_line (start -17.78 -8.89) (end -17.78 8.89) (layer F.SilkS) (width 0.381))
(fp_line (start -15.24 -8.89) (end -17.78 -8.89) (layer F.SilkS) (width 0.381))
(fp_line (start -17.78 -8.89) (end -17.78 8.89) (layer B.SilkS) (width 0.381))
(fp_line (start -17.78 8.89) (end 15.24 8.89) (layer B.SilkS) (width 0.381))
(fp_line (start 15.24 8.89) (end 15.24 -8.89) (layer B.SilkS) (width 0.381))
(fp_line (start 15.24 -8.89) (end -17.78 -8.89) (layer B.SilkS) (width 0.381))
(fp_line (start -12.7 6.35) (end -12.7 8.89) (layer F.SilkS) (width 0.381))
(fp_line (start -15.24 6.35) (end -12.7 6.35) (layer F.SilkS) (width 0.381))
(fp_line (start 15.24 -8.89) (end -15.24 -8.89) (layer F.SilkS) (width 0.381))
(fp_line (start 15.24 8.89) (end 15.24 -8.89) (layer F.SilkS) (width 0.381))
(fp_line (start -15.24 8.89) (end 15.24 8.89) (layer F.SilkS) (width 0.381))
(fp_text user "${p.D3.name}" (at -13.97 3.571872 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.D2.name}" (at -11.43 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.GND0.name}" (at -6.35 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.GND1.name}" (at -8.89 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.D1.name}" (at -3.81 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.D0.name}" (at -1.27 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.D4.name}" (at 1.27 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.C6.name}" (at 3.81 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.D7.name}" (at 6.35 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.E6.name}" (at 8.89 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.B4.name}" (at 11.43 5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.B5.name}" (at 12.7 6.4 ${p.rot + 45}) (layer F.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15))) )
(fp_text user "${p.B7.name}" (at 12.6 4.5 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15))) )
(fp_text user "${p.D5.name}" (at 12.4 2.54 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.C7.name}" (at 12.4 0 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.F1.name}" (at 12.4 -2.54 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.F0.name}" (at 12.6 -4.5 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15))) )
(fp_text user "${p.B6.name}" (at 12.7 -6.4 ${p.rot + 135} unlocked) (layer F.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15))) )
(fp_text user "${p.B2.name}" (at 11.43 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.B3.name}" (at 8.89 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.B1.name}" (at 6.35 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.F7.name}" (at 3.81 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.F6.name}" (at 1.27 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.F5.name}" (at -1.27 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.F4.name}" (at -3.81 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.VCC.name}" (at -6.35 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.RST.name}" (at -8.92 -5.73312 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.GND2.name}" (at -11.43 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.B0.name}" (at -13.97 -5.461 ${p.rot + 90}) (layer F.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15))) )
(fp_text user "${p.D3.name}" (at -13.97 3.571872 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.D2.name}" (at -11.43 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.GND0.name}" (at -8.89 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.GND1.name}" (at -6.35 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.D1.name}" (at -3.81 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.D0.name}" (at -1.27 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.D4.name}" (at 1.27 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.C6.name}" (at 3.81 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.D7.name}" (at 6.35 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.E6.name}" (at 8.89 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B4.name}" (at 11.43 5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B5.name}" (at 12.7 6.4 ${p.rot + 45}) (layer B.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B7.name}" (at 12.6 4.5 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.D5.name}" (at 12.4 2.54 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.C7.name}" (at 12.4 0 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.F1.name}" (at 12.4 -2.54 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.F0.name}" (at 12.6 -4.5 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B6.name}" (at 12.7 -6.4 ${p.rot + 135} unlocked) (layer B.SilkS) (effects (font (size 0.7 0.7) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B2.name}" (at 11.43 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B3.name}" (at 8.89 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B1.name}" (at 6.35 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.F7.name}" (at 3.81 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.F6.name}" (at 1.27 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.F5.name}" (at -1.27 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.F4.name}" (at -3.81 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.VCC.name}" (at -6.35 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.RST.name}" (at -8.91 -5.04 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.GND2.name}" (at -11.43 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_text user "${p.B0.name}" (at -13.97 -5.461 ${p.rot + 90}) (layer B.SilkS) (effects (font (size 0.8 0.8) (thickness 0.15)) (justify mirror)) )
(fp_line (start -15.24 6.35) (end -12.7 6.35) (layer B.SilkS) (width 0.381))
(fp_line (start -12.7 6.35) (end -12.7 8.89) (layer B.SilkS) (width 0.381))
(pad "1" thru_hole rect (at -13.97 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.D3.str})
(pad "2" thru_hole circle (at -11.43 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.D2.str})
(pad "3" thru_hole circle (at -8.89 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.GND0.str})
(pad "4" thru_hole circle (at -6.35 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.GND1.str})
(pad "5" thru_hole circle (at -3.81 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.D1.str})
(pad "6" thru_hole circle (at -1.27 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.D0.str})
(pad "7" thru_hole circle (at 1.27 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.D4.str})
(pad "8" thru_hole circle (at 3.81 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.C6.str})
(pad "9" thru_hole circle (at 6.35 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.D7.str})
(pad "10" thru_hole circle (at 8.89 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.E6.str})
(pad "11" thru_hole circle (at 11.43 7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B4.str})
(pad "12" thru_hole circle (at 13.97 7.3914) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B5.str})
(pad "25" thru_hole circle (at 13.97 5.08) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B7.str})
(pad "26" thru_hole circle (at 13.97 2.54) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.D5.str})
(pad "27" thru_hole circle (at 13.97 0) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.C7.str})
(pad "28" thru_hole circle (at 13.97 -2.54) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.F1.str})
(pad "29" thru_hole circle (at 13.97 -5.08) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.F0.str})
(pad "13" thru_hole circle (at 13.97 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B6.str})
(pad "14" thru_hole circle (at 11.43 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B2.str})
(pad "15" thru_hole circle (at 8.89 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B3.str})
(pad "16" thru_hole circle (at 6.35 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B1.str})
(pad "17" thru_hole circle (at 3.81 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.F7.str})
(pad "18" thru_hole circle (at 1.27 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.F6.str})
(pad "19" thru_hole circle (at -1.27 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.F5.str})
(pad "20" thru_hole circle (at -3.81 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.F4.str})
(pad "21" thru_hole circle (at -6.35 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.VCC.str})
(pad "22" thru_hole circle (at -8.89 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.RST.str})
(pad "23" thru_hole circle (at -11.43 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.GND2.str})
(pad "24" thru_hole circle (at -13.97 -7.62) (size 1.7526 1.7526) (drill 1.0922) (layers *.Cu *.SilkS *.Mask) ${p.B0.str})
(pad "1" smd rect (at -13.97 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.D3.str})
(pad "2" smd rect (at -11.43 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.D2.str})
(pad "3" smd rect (at -8.89 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.GND0.str})
(pad "4" smd rect (at -6.35 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.GND1.str})
(pad "5" smd rect (at -3.81 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.D1.str})
(pad "6" smd rect (at -1.27 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.D0.str})
(pad "7" smd rect (at 1.27 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.D4.str})
(pad "8" smd rect (at 3.81 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.C6.str})
(pad "9" smd rect (at 6.35 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.D7.str})
(pad "10" smd rect (at 8.89 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.E6.str})
(pad "11" smd rect (at 11.43 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B4.str})
(pad "12" smd rect (at 13.97 9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B5.str})
(pad "25" smd rect (at 15.875 5.08 ${p.rot + 90}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B7.str})
(pad "26" smd rect (at 15.875 2.54 ${p.rot + 90}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.D5.str})
(pad "27" smd rect (at 15.875 0 ${p.rot + 90}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.C7.str})
(pad "28" smd rect (at 15.875 -2.54 ${p.rot + 90}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.F1.str})
(pad "29" smd rect (at 15.875 -5.08 ${p.rot + 90}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.F0.str})
(pad "13" smd rect (at 13.97 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B6.str})
(pad "14" smd rect (at 11.43 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B2.str})
(pad "15" smd rect (at 8.89 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B3.str})
(pad "16" smd rect (at 6.35 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B1.str})
(pad "17" smd rect (at 3.81 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.F7.str})
(pad "18" smd rect (at 1.27 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.F6.str})
(pad "19" smd rect (at -1.27 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.F5.str})
(pad "20" smd rect (at -3.81 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.F4.str})
(pad "21" smd rect (at -6.35 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.VCC.str})
(pad "22" smd rect (at -8.89 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.RST.str})
(pad "23" smd rect (at -11.43 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.GND2.str})
(pad "24" smd rect (at -13.97 -9.398 ${p.rot}) (size 2 3.25) (layers "F.Cu" "F.Paste" "F.Mask") ${p.B0.str})
)
`;
return footprint;
}
}