-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathergogen.txt
152 lines (138 loc) · 2.77 KB
/
ergogen.txt
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
meta:
engine: 4.0.0
name: le_capybara
version: 0.1
author: sporkus
url: https://github.com/sporkus/
presets:
mx_spaced:
capx: 18.1
capy: capx
kx: 19.05
ky: kx
edge_cut_padding: 1
split_angle: 7
thumb_2nd_unit: 1.25
thumb_main_unit: 2
centerx: 24.347
centery: 5.202
originx: 120
originy: -100
units:
$extends: presets.mx_spaced
edgex: capx/2 + edge_cut_padding
edgey: capy/2 + edge_cut_padding
points:
zones.matrix:
mirror: &mirror
ref: matrix_inner_top
shift: [0, .5ky]
distance: 24.347 * 2
anchor.shift: [originx, originy]
rotate: -split_angle
key:
width: capx
height: capy
spread: kx
padding: ky
bind: [edgex, edgey]
rows:
bottom:
home:
top:
columns:
pinky:
rows.bottom.skip: true
ring.key:
stagger: 0.5ky
middle.key:
stagger: 0.25ky
index.key:
stagger: -0.25ky
inner:
key.stagger: -0.5ky
rows.bottom.skip: true
zones.2thumbs:
mirror: *mirror
key:
$extends: points.zones.matrix.key
width: 1 * capx
anchor:
- ref: matrix_ring_bottom
shift: [kx * (1 - 0.25/2) , -ky]
columns:
2nd:
key.width: 1.25 * capx
main:
key.width: 2 * capx
key.shift: [kx * 1.25 / 2, 0]
outlines:
_switch_cutout:
- what: rectangle
where:
- /matrix_.*/
- /.thumb.*/
- /knob/
size: [10, 10]
bound: false
_switch_pos:
- what: circle
where:
- /matrix_.*/
- /.*thumb.*/
- /knob/
radius: 1
bound: false
_switch_comment:
- what: rectangle
operation: stack
where:
- /matrix_.*/
- /.thumb.*/
- /knob/
size: [kx, ky]
bound: false
_keycaps:
- what: rectangle
where:
- /matrix_.*/
- /.*thumb.*/
size: [capx, capy]
bound: false
_edge_cut:
- what: rectangle
where:
- /matrix_/
bound: true
- what: rectangle
where: /thumb/
size: [1, 1]
bound: true
edge_cut:
- name: _edge_cut
fillet: 3.5
preview:
- edge_cut
- ^_switch_pos
- ^_switch_cutout
- ^_switch_comment
kicad_ref:
- ^_switch_pos
- ^_switch_comment
kicad_center:
- ^_switch_pos
pcbs.le_capybara:
outlines.main:
outline: kicad_ref
layer: Eco2.User
footprints:
- what: mx
where:
- /matrix_.*/
- /.thumb.*/
- knob
params:
from: GND
to: "{{name}}"
reverse: true
keycaps: true