-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
quokka.yaml
394 lines (392 loc) · 9.01 KB
/
quokka.yaml
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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
points:
key:
bind: 5
zones:
matrix:
columns:
pinky:
key:
bind: [5, 30, 5, 5]
column_net: P8
ring.key:
stagger: 0.85U
column_net: P7
middle.key:
stagger: 0.35U
bind: [5, 5, 13.5, 5]
column_net: P6
index.key:
stagger: -0.55U
bind: [5, 5, 5, 10.75]
column_net: P5
inner.key:
stagger: -0.15U
bind: [5, 30, 12, 5]
column_net: P4
rows:
bottom:
padding: U
row_net: P14
home:
padding: U
row_net: P16
top:
padding: U
row_net: P10
thumb:
anchor:
ref: matrix_index_bottom
shift: [-0.5U, -1.125U]
columns:
tucky:
key:
name: thumb_tucky
bind: [8, 12, 5, 5]
column_net: P6
home:
key:
name: thumb_home
spread: U
splay: -15
origin: [-0.5U, -0.65U]
column_net: P5
reachy:
key:
spread: U
splay: -15
origin: [-0.5U, -0.65U]
name: thumb_reachy
bind: [14, 5, 5, 8]
column_net: P4
rows:
thumb:
row_net: P15
outlines:
_pcb_raw_keys:
- what: rectangle
where: true
bound: true
asym: left
size: [13, 12]
corner: 1
_pcb_raw_mcu:
- what: rectangle
size: [32, 74.5]
where:
- ref: matrix_inner_home
shift: [24, -3]
_pcb_raw: [_pcb_raw_keys, _pcb_raw_mcu]
pcb_fillet:
- what: outline
name: _pcb_raw
fillet: 1.25
_oled_cover_plate_raw:
- what: polygon
points:
- ref: matrix_inner_top
shift: [11, 14.5]
- ref: matrix_inner_bottom
shift: [11, -10]
- ref: matrix_inner_bottom
shift: [32, -20.5]
- ref: matrix_inner_bottom
shift: [39.5, -20.5]
- ref: matrix_inner_top
shift: [39.5, 14.5]
_oled_cover_plate:
- what: outline
name: _oled_cover_plate_raw
fillet: 1.25
_plate_oled_cover_cutout:
- what: polygon
points:
- ref: matrix_inner_top
shift: [0, 18]
- ref: matrix_inner_top
shift: [0, 14]
- ref: matrix_inner_top
shift: [0, 11]
- ref: matrix_inner_top
shift: [9.5, 11]
- ref: matrix_inner_bottom
shift: [9.5, -10.5]
- ref: matrix_inner_bottom
shift: [34.5, -24]
- ref: matrix_inner_bottom
shift: [41, -35]
- ref: matrix_inner_top
shift: [41, 18]
_plate_with_oled_cutout: [_pcb_raw, -_plate_oled_cover_cutout]
_plate_fillet:
- what: outline
name: _plate_with_oled_cutout
fillet: 1.25
_switch_cutouts:
- what: rectangle
where: true
size: 14
bound: false
_screw_holes:
top_left:
what: circle
radius: 1.125
where:
ref: matrix_ring_home
shift: [-9.25, 9.5]
bottom_left:
what: circle
radius: 1.125
where:
ref: matrix_pinky_bottom
shift: [9.5, 3]
top_right:
what: circle
radius: 1.125
where:
ref: matrix_inner_top
shift: [-9.6, -6.75]
palm:
what: circle
radius: 1.125
where:
ref: matrix_index_bottom
shift: [1.5, -22]
thumb:
what: circle
radius: 1.125
where:
ref: thumb_reachy
shift: [-11.325, 0]
_oled_screw_holes:
bottom_left:
what: circle
radius: 1.125
where:
ref: matrix_inner_bottom
shift: [18, -6]
bottom_right:
what: circle
radius: 1.125
where:
ref: matrix_inner_bottom
shift: [32, -12.5]
_pcb_outline: [pcb_fillet]
_3d_case_base_raw:
- what: outline
name: _pcb_raw
expand: 4
fillet: 1.25
_3d_case_wall_inner:
- what: outline
name: _pcb_raw
expand: 1
fillet: 1.25
_screw_holes_counter_sunk:
$extends: outlines._screw_holes
top_left:
radius: 2
bottom_left:
radius: 2
top_right:
radius: 2
palm:
radius: 2
thumb:
radius: 2
_3d_case_holes_heat_set:
$extends: outlines._screw_holes
top_left:
radius: 1.55
bottom_left:
radius: 1.55
top_right:
radius: 1.55
palm:
radius: 1.55
thumb:
radius: 1.55
_3d_case_spacer_outer:
- what: circle
radius: 2.125
where:
ref: matrix_inner_bottom
shift: [-20, -20]
_3d_case_spacer_inner:
- what: circle
radius: 1.125
where:
ref: matrix_inner_bottom
shift: [-20, -20]
_3d_case_pcb_risers_outer:
$extends: outlines._screw_holes
top_left:
radius: 2.125
bottom_left:
radius: 2.125
top_right:
radius: 2.125
palm:
radius: 2.125
thumb:
radius: 2.125
3d_case_keycaps:
- what: rectangle
where: true
size: 18.3
bound: false
3d_case_port_promicro:
- what: rectangle
size: [18, 60]
where:
- ref: matrix_inner_home
shift: [1U, 16.5]
3d_case_port_trrs:
- what: rectangle
size: [14, 100]
where:
- ref: matrix_inner_home
shift: [34.75, 32.5]
3d_case_port_reset_switch:
- what: rectangle
size: [60, 15]
where:
- ref: matrix_inner_home
shift: [36.5, -33.75]
3d_case_switch_cutouts:
- what: rectangle
where: true
size: 14.3
bound: false
3d_case_switch_cutouts_wide:
- what: rectangle
where: true
size: [14.3, 15.8]
bound: false
oled_cover: [_oled_cover_plate, -_oled_screw_holes]
switch_plate: [_plate_fillet, -_plate_oled_cover_cutout, -_switch_cutouts, -_screw_holes]
bottom_plate: [pcb_fillet, -_screw_holes]
3d_case_base: [_3d_case_base_raw, -_3d_case_holes_heat_set]
3d_case_wall: [_3d_case_base_raw, -_3d_case_wall_inner]
3d_case_plate_upper: [_plate_fillet, -_plate_oled_cover_cutout, -3d_case_switch_cutouts, -_screw_holes_counter_sunk]
3d_case_plate_lower: [_plate_fillet, -_plate_oled_cover_cutout, -3d_case_switch_cutouts_wide, -_screw_holes]
3d_case_pcb_risers: [_3d_case_pcb_risers_outer, -_screw_holes]
3d_case_spacer: [_3d_case_spacer_outer, -_3d_case_spacer_inner]
pcbs:
split:
outlines:
pcb:
outline: _pcb_outline
footprints:
top_left_hole:
what: screw_hole_m2
where:
ref: matrix_ring_home
shift: [-9.25, 9.5]
bottom_left_hole:
what: screw_hole_m2
where:
ref: matrix_pinky_bottom
shift: [9.5, 3]
top_right_hole:
what: screw_hole_m2
where:
ref: matrix_inner_top
shift: [-9.6, -6.75]
palm_hole:
what: screw_hole_m2
where:
ref: matrix_index_bottom
shift: [1.5, -22]
thumb_hole:
what: screw_hole_m2
where:
ref: thumb_reachy
shift: [-11.325, 0]
bottom_left_oled_cover_hole:
what: screw_hole_m2
where:
ref: matrix_inner_bottom
shift: [18, -6]
bottom_right_oled_cover_hole:
what: screw_hole_m2
where:
ref: matrix_inner_bottom
shift: [32, -12.5]
bottom_left_oled_mount_hole:
what: screw_hole_m2
where:
ref: matrix_inner_bottom
shift: [13.9, 17.05]
bottom_right_oled_mount_hole:
what: screw_hole_m2
where:
ref: matrix_inner_bottom
shift: [34.395, 17.05]
mcu:
what: promicro_flip
where:
- ref: matrix_inner_home
shift: [1U, 16.5]
rotate: -90
mx:
what: mx_hotswap
where: true
params:
from: "{{row_net}}"
to: "{{name}}"
adjust:
rotate: 180
diode:
what: d_0805
where: true
params:
to: "{{column_net}}"
from: "{{name}}"
adjust:
shift: [-7.5, 2]
rotate: -90
led:
what: sk6812_mini_e
where: true
params:
din: P21
dout: P21
adjust:
shift: [0, 5.25]
reset_btn:
what: reset_button
where:
- ref: matrix_inner_home
shift: [36.5, -33.75]
rotate: 90
params:
from: GND
to: RST
trrs:
what: trrs
where:
- ref: matrix_inner_home
shift: [34.75, 32.5]
params:
reverse: true
A: GND
B: GND
C: P0
D: VCC
piezo:
what: piezo
where:
- ref: matrix_middle_bottom
shift: [-6, -10]
params:
A: GND
B: P9
oled:
what: oled_128x64
where:
- ref: matrix_inner_home
shift: [36.5, -4]
rotate: 180
params:
SCL: P3
SDA: P2