-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.yaml
More file actions
375 lines (364 loc) · 7.97 KB
/
config.yaml
File metadata and controls
375 lines (364 loc) · 7.97 KB
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
#https://github.com/tsteffek/Ergogen-V4-Migration-Guide
units:
kx: cx
ky: cy
px: 2
py: 2
points:
key:
padding: cy
tags:
1u: true
zones:
matrix:
anchor:
rotate: 5
columns:
outer:
key:
column_net: P20
pinky:
key:
column_net: P19
ring:
key:
stagger: 5
column_net: P18
middle:
key:
stagger: 5
column_net: P15
index:
key:
stagger: -6
column_net: P14
inner:
key:
stagger: -2
column_net: P16
rows:
bottom:
row_net: P7
home:
row_net: P6
top:
row_net: P5
num:
row_net: P4
thumbfan:
anchor:
ref: matrix_inner_bottom
shift: [-20, -20]
columns:
near1:
key:
column_net: P20
near2:
key:
column_net: P19
home:
rows:
home:
column_net: P18
top:
column_net: P15
row_net: P3
key:
spread: 21.25
splay: -20
origin: [-28, -2]
far:
key:
column_net: P14
spread: 21.25
splay: -15
origin: [-11, -2]
rows:
home:
row_net: P3
rotate: -20
outlines:
raw:
- what: rectangle
#side: left
size: [kx + px, ky + py]
corner: px
where: true
patch_outer:
- what: polygon
fillet: 6.35
points:
- ref: matrix_outer_num
shift: [-14,20]
- ref: matrix_outer_num
shift: [133,20]
- ref: thumbfan_home_top
shift: [10,12]
- ref: thumbfan_far_home
shift: [12,20]
- ref: thumbfan_far_home
shift: [12.5,-11]
- ref: thumbfan_near2_home
shift: [7,-16]
- ref: thumbfan_near1_home
shift: [-13,-13]
- ref: thumbfan_near1_home
shift: [-13.5,3.5]
- ref: matrix_outer_bottom
shift: [-14,-15]
screw_holes:
- what: circle
adjust:
ref: matrix_outer_num
shift: [-0.4 cx, .85 cy]
radius: 1.05
- what: circle
adjust:
ref: matrix_inner_num
shift: [.33 cx, 0.75 cy]
radius: 1.05
- what: circle
adjust:
ref: matrix_outer_bottom
shift: [-.55 cx, -.635 cy]
radius: 1.05
- what: circle
adjust:
ref: matrix_inner_bottom
shift: [-.055 cx, -1.85 cy]
radius: 1.05
- what: circle
adjust:
ref: matrix_middle_bottom
shift: [.2 cx, -1.2 cy]
radius: 1.05
- what: circle
adjust:
ref: thumbfan_far_home
shift: [.4 cx, .96 cy]
radius: 1.05
keycap_outlines:
- what: rectangle
#side: left
size: [1cx - 0.5, 1cy - 0.5] # Choc keycaps are 17.5 x 16.5
bound: false
#tags: [1u]
where: true
keycap_outlines15:
- what: rectangle
#side: left
size: [1.5cx - 0.5, 1cy - 0.5] # Choc keycaps are 17.5 x 16.5
bound: false
#tags: [15u]
where: true
preview:
main:
what: outline
name: patch_outer
switches:
what: outline
name: keycap_outlines
operation: subtract
holes:
what: outline
name: screw_holes
operation: subtract
pcb:
main:
what: outline
name: patch_outer
holes:
what: outline
name: screw_holes
operation: subtract
pcbs:
top_plate:
outlines:
edge:
outline: preview
layer: Edge.Cuts
board:
outlines:
edge:
outline: pcb
layer: Edge.Cuts
footprints:
choc_hotswap:
what: choc
where: true
params:
keycaps: true
reverse: true
hotswap: true
from: "{{colrow}}"
to: "{{column_net}}"
diode:
what: diode
where: true
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [0, -5]
mcu_l:
what: promicro_pretty
params:
orientation: up
adjust:
ref:
- matrix_inner_top
shift: [22, -9+1.5*cy]
rotate: 270
oled_l:
what: oled
adjust:
ref:
- matrix_inner_top
shift: [14.5, -30+1.5 cy]
rotate: 90
params:
CS: P1
SCL: P2
SDA: P0
oled_r:
what: oled
adjust:
ref:
- matrix_inner_top
shift: [29, -30+1.5 cy]
rotate: 270
params:
CS: P1
SCL: P2
SDA: P0
#mcu_r:
# what: promicro
# params:
# orientation: down
# adjust:
# ref:
# - matrix_inner_top
# shift: [22.5, -12.25]
# rotate: 270
pad_plus:
what: pad
adjust:
ref:
- matrix_inner_top
shift: [32, -6]
rotate: 0
params:
net: Bplus
front: true
back: true
width: 1.5
height: 1.5
text: "B+"
pad_minus:
what: pad
adjust:
ref:
- matrix_inner_top
shift: [32, -3]
rotate: 0
params:
front: true
back: true
width: 1.5
height: 1.5
text: "B-"
net: GND
# trrs_l:
# what: trrs
# adjust:
# ref:
# - matrix_inner_bottom
# shift: [32, -15]
# rotate: 270
# params:
# reverse: false
# symmetric: false
# # The naming of the nets on this footprint is different from the Corne schematics.
# nets:
# A: ""
# B: VCC
# C: GND
# D: P0
# trrs_r:
# what: trrs
# adjust:
# ref:
# - matrix_inner_bottom
# shift: [32, -13]
# rotate: 270
# params:
# reverse: true
# symmetric: false
# # The naming of the nets on this footprint is different from the Corne schematics.
# nets:
# A: ""
# B: VCC
# C: GND
# D: P0
jumper_l:
what: slider
adjust:
ref:
- matrix_inner_bottom
shift: [36.5, 0]
rotate: 270
params:
side: B
from: Bplus
to: RAW
jumper_r:
what: slider
adjust:
ref:
- matrix_inner_bottom
shift: [36.5, 0]
rotate: 270
params:
side: F
from: Bplus
to: RAW
reset_f:
what: button
adjust:
ref:
- matrix_inner_bottom
shift: [22.5, 20]
rotate: 270
params:
from: GND
to: RST
reset_b:
what: button
adjust:
ref:
- matrix_inner_bottom
shift: [22.5, 20]
rotate: 270
params:
from: GND
to: RST
side: B
# info_l:
# what: text
# adjust:
# ref:
# - matrix_pinky_bottom
# shift: [0.75 kx, 0]
# params:
# text: "chocBoard"
# justify: left
# info_r:
# what: text
# adjust:
# ref:
# - matrix_pinky_bottom
# shift: [0.75 kx, 0]
# params:
# layer: B.SilkS
# text: "chocBoard"
#justify: right mirror