-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgiraffe36.yaml
260 lines (255 loc) · 5.87 KB
/
giraffe36.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
units:
kx: U
ky: U
points:
zones:
matrix:
anchor:
shift: [8kx, -8ky]
columns:
pinky:
key:
stagger: 0
ring:
key:
stagger: 0.25ky
middle:
key:
stagger: 0.25ky
index:
key:
stagger: -0.25ky
inner:
key:
stagger: -0.125ky
rows:
bottom:
home:
top:
thumbfan:
anchor:
ref: matrix_inner_bottom
shift: [-0.75kx, -1.5ky]
columns:
near:
key:
stagger: 0ky
splay: -20
home:
key:
stagger: 0ky
splay: -10
shift: [0.15kx, -0.075ky]
far:
key:
stagger: 0ky
splay: -10
shift: [0.3kx, -0.125ky]
rows:
home:
key:
padding: ky
outlines:
_switches:
- what: rectangle
where: true
size: 14
bound: false
_mcu_cutout:
- what: polygon
points:
# NW
- ref: matrix_inner_top
shift: [0.5kx, 2ky]
# SW
- ref: matrix_inner_bottom
shift: [0.5kx, -1ky]
# SE
- ref: thumbfan_far_home
shift: [1kx, 0.55ky]
# NE
- ref: matrix_inner_top
shift: [4kx, 4ky]
giraffe36_bottom_plate:
- what: polygon
points:
# NE
- ref: matrix_inner_top
shift: [2.3kx, 0.5ky]
# N
- ref: matrix_middle_top
shift: [0.5kx, 0.55ky]
- ref: matrix_middle_top
shift: [-0.5kx, 0.55ky]
# NW
- ref: matrix_pinky_top
shift: [-0.55kx, 0.55ky]
# SW
- ref: matrix_pinky_bottom
shift: [-0.55kx, -0.55ky]
# SE
- ref: thumbfan_near_home
shift: [0, -0.55ky]
- ref: thumbfan_far_home
shift: [0.55kx, -0.55ky]
- ref: thumbfan_far_home
shift: [0.55kx, 0.75ky]
fillet: 5
giraffe36_top_plate:
- giraffe36_bottom_plate
- -_mcu_cutout
- -_switches
pcbs:
giraffe36_pcb:
outlines:
main:
outline: giraffe36_bottom_plate
footprints:
footprints:
mx:
what: mx
where: true
params:
keycaps: true
reverse: true
hotswap: false
from: "{{name}}"
to: GND
pico:
what: weact_pi_pico
where:
ref: matrix_inner_bottom
shift: [1.1kx, 1.1ky]
rotate: 0
params:
orientation: "up"
GP2: matrix_inner_top
GP3: matrix_index_top
GP4: matrix_middle_top
GP5: matrix_ring_top
GP6: matrix_pinky_top
GP7: matrix_inner_home
GP8: matrix_index_home
GP9: matrix_middle_home
GP10: matrix_ring_home
GP11: matrix_pinky_home
GP12: matrix_inner_bottom
GP13: matrix_index_bottom
GP14: matrix_middle_bottom
GP15: matrix_ring_bottom
GP16: matrix_pinky_bottom
GP17: thumbfan_far_home
GP18: thumbfan_home_home
GP19: thumbfan_near_home
trrs:
what: trrs
where:
ref: matrix_inner_top
shift: [2.05kx, 0.5ky]
rotate: 0
params:
D: GP0 # sleeve
C: GP1 # ring
B: GND # ring
A: VSYS # tip
reverse: true
symmetric: false
tagline_front:
what: text
where:
ref: thumbfan_home_home
shift: [0, -0.5ky]
params:
text: 'giraffe36 v0.0.1'
side: 'F'
tagline_back:
what: text
where:
ref: thumbfan_home_home
shift: [0, -0.5ky]
params:
text: 'giraffe36 v0.0.1'
side: 'B'
jlc_number:
what: text
where:
ref: matrix_middle_home
shift: [0, -0.5ky]
params:
text: 'JLCJLCJLCJLC'
side: 'F'
# via:
# what: via
# where: true
# adjust:
# shift: [0, -0.25ky]
# params:
# net: "{{name}}"
# elitec:
# what: elitec
# where:
# ref: matrix_inner_top
# shift: [1.075kx, -0.5ky]
# rotate: 270
# params:
# D3: matrix_index_top
# D2: matrix_inner_top
# D1: matrix_middle_top
# D0: matrix_ring_top
# D4: matrix_pinky_top
# C6: matrix_middle_home
# D7: matrix_index_home
# E6: matrix_inner_home
# B4: matrix_ring_home
# B5: matrix_pinky_home
# B7: matrix_middle_bottom
# D5: matrix_index_bottom
# C7: matrix_inner_bottom
# F1: matrix_pinky_bottom
# F0: matrix_ring_bottom
# B6: thumbfan_near_home
# B2: thumbfan_home_home
# B3: thumbfan_far_home
# # B1:
# # F7:
# # F6:
# # F5:
# # F4:
# # VCC:
# # RST:
# # GND:
# # B0:
# m2_nw:
# what: m2
# where:
# ref: matrix_ring_top
# shift: [-0.5kx, -0.5ky]
# m2_ne:
# what: m2
# where:
# ref: matrix_index_top
# shift: [0.5kx, -0.5ky]
# m2_sw:
# what: m2
# where:
# ref: matrix_ring_bottom
# shift: [-0.5kx, -0.5ky]
# m2_se:
# what: m2
# where:
# ref: matrix_index_bottom
# shift: [0.5kx, -0.5ky]
# m2_thumb:
# what: m2
# where:
# ref: thumbfan_home_home
# shift: [0.575kx, 0]
cases:
giraffe36_bottom_case:
- what: outline
name: giraffe36_bottom_plate
extrude: 3
giraffe36_top_case:
- what: outline
name: giraffe36_top_plate
extrude: 2