-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yaml
169 lines (169 loc) · 3.27 KB
/
example.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
units:
visual_x: 17.5
visual_y: 16.5
points:
zones:
matrix:
columns:
one:
key:
column_net: P1
column_mark: 1
two:
spread: 1cx
key:
column_net: P0
column_mark: 2
three:
spread: 1cx
key:
column_net: P14
column_mark: 3
four:
spread: 1cx
key:
column_net: P20
column_mark: 4
five:
spread: 1cx
key:
column_net: P2
column_mark: 5
six:
spread: 1cx
key:
column_net: P3
column_mark: 6
seven:
spread: 1cx
key:
column_net: P4
column_mark: 7
rows:
2uspacebar:
skip: false
shift: [-0.5cx, 1cy]
rotate: 180
eight:
spread: 1cx
key:
column_net: P5
column_mark: 8
nine:
spread: 1cx
key:
column_net: P6
column_mark: 9
ten:
spread: 1cx
key:
column_net: P7
column_mark: 10
eleven:
spread: 1cx
key:
column_net: P8
column_mark: 11
twelve:
spread: 1cx
key:
column_net: P9
column_mark: 12
rows:
2uspacebar:
padding: 1cy
row_net: P19
skip: true
modrow:
padding: 1cy
row_net: P19
bottom:
padding: 1cy
row_net: P18
home:
padding: 1cy
row_net: P15
top:
padding: 1cy
row_net: P21
key:
bind: 2
footprints:
choc:
type: choc
anchor:
nets:
from: =colrow
to: =column_net
params:
keycaps: true
diode:
type: diode
anchor:
rotate: 0
shift: [0, -4.5]
nets:
from: =colrow
to: =row_net
params:
via_in_pad: true
through_hole: false
outlines:
exports:
raw:
- type: keys
side: left
size: [1cx, 1cy]
corner: 1
panel:
- type: outline
name: raw
fillet: 0.5
switch_cutouts:
- type: keys
side: left
size: 14
bound: false
switch_plate:
main:
type: outline
name: panel
fillet: 0.5
keyholes:
type: outline
name: switch_cutouts
operation: subtract
pcbs:
example:
outlines:
main:
outline: panel
footprints:
promicro:
type: promicro
anchor:
ref: matrix_seven_top
shift: [-0.5cx, 1]
params:
orientation: down
powerswitch:
type: slider
anchor:
ref: matrix_four_top
shift: [0.5cx, 8.95]
nets:
from: RAW
to: BAT
params:
side: B
jstph:
type: jstph
anchor:
ref: matrix_four_top
shift: [0.5cx, -1.5cy]
rotate: 180
nets:
pos: BAT
neg: GND
params:
side: B