-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrev0.yml
174 lines (164 loc) · 3.58 KB
/
rev0.yml
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
units:
h: 17.75
w: 17.75
points:
mirror:
ref: matrix_inner_home
distance: w
zones:
matrix:
key:
mirror.footprints:
footprints:
switch:
type: xswitch
nets.to: =colrow
nets.from: =column_net
diode:
type: diode
anchor:
shift: [0, -4.75]
rotate: 180
nets:
from: =colrow
to: =row_net
params:
tht: false
via: false
side: front
padSize: 1.2
columns:
pinky:
key.column_net: c0
spread: w
ring:
key.column_net: c1
spread: w
middle:
key.column_net: c2
spread: w
index:
key.column_net: c3
spread: w
inner:
key.column_net: c4
spread: w
rows:
extras:
padding: h
row_net: r3
mirror.row_net: r7
bottom:
padding: h
row_net: r2
mirror.row_net: r6
home:
padding: h
row_net: r1
mirror.row_net: r5
top:
padding: h
row_net: r0
mirror.row_net: r4
points.zones.mcu:
key:
asym: left
footprints:
- type: controller
anchor:
ref:
- matrix_pinky_home
- matrix_pinky_top
shift: [-w - .75,0]
rotate: -90
params:
orientation: up
nets:
# rows
F4: r0
F5: r4
F6: r1
F7: r5
B1: r2
B3: r6
B2: r3
B6: r7
# cols
C6: c0
D7: c1
E6: c2
B4: c3
B5: c4
points.zones.power:
key:
asym: left
footprints:
- type: slider
anchor:
ref: matrix_pinky_extras
shift: [-1w, -.5h + 2.5]
rotate: 180
nets.to: GND
nets.from: BAT
- type: pad
anchor:
ref: matrix_pinky_bottom
shift: [-w - 1, 9]
rotate: 90
nets.net: RAW
params:
back: false
text: '+'
width: 2
- type: via
anchor:
ref: matrix_pinky_bottom
shift: [-w - 1, 9]
nets.net: RAW
- type: pad
anchor:
ref: matrix_pinky_bottom
shift: [-w + 1, 9]
rotate: 90
nets.net: BAT
params:
text: '-'
width: 2
back: false
- type: via
anchor:
ref: matrix_pinky_bottom
shift: [-w + 1, 9]
nets.net: BAT
outlines:
exports:
_pcb:
- type: polygon
points:
- ref: matrix_pinky_top
shift: [-1.5w - 2, .5h + .5]
- ref: mirror_matrix_pinky_top
shift: [-.5w - .5, .5h + .5]
- ref: mirror_matrix_pinky_extras
shift: [-.5w - .5, -.5h - .5]
- ref: matrix_pinky_extras
shift: [-.5w - .5, -.5h - .5]
- ref: matrix_pinky_extras
shift: [-.75w + 1, -.5h - .5]
- ref: matrix_pinky_extras
shift: [-.75w, -.5h + 1]
- ref: matrix_pinky_extras
shift: [-1.25w, -.5h + 1]
- ref: matrix_pinky_extras
shift: [-1.25w - 1, -.5h - .5]
- ref: matrix_pinky_extras
shift: [-1.5w - 2, -.5h - .5]
pcb:
- type: outline
name: _pcb
fillet: 1
pcbs:
crepe:
outlines:
pcb.outline: pcb
footprints: