Files
abyss/ergogen/config.yaml
2025-04-14 00:51:12 +02:00

162 lines
3.6 KiB
YAML

meta:
engine: 4.0.5
author: zoriya
name: abyss
units:
kx: cx
ky: cy
px: 3
py: 3
# dont forget that choc v2 is essentially mx
plate_thickness: 1.2 # choc: 1.2, mx: 1.5
kcox: 13.8 # key cutout (choc: 13.8, mx: 14)
kcoy: 13.8 # key cutout (choc: 13.8, mx: 14)
points:
zones:
matrix:
# Fix placement on KiCAD sheet.
anchor:
shift: [100, -100]
key:
padding: 1ky
spread: 1kx
columns:
pinky:
key.column_net: C0
rows:
top:
skip: true
ring:
key.column_net: C1
key.stagger: ky/2
middle:
key.column_net: C2
key.stagger: ky/4
index:
key.column_net: C3
key.stagger: -ky/2
inner:
key.column_net: C4
key.stagger: ky/2
rows:
top:
skip: true
rows:
bottom:
row_net: R2
home:
row_net: R1
top:
row_net: R0
thumb:
key:
padding: 1ky
spread: 1kx
anchor:
ref: matrix_index_bottom
shift: [-0.5kx, -1.25ky]
columns:
left:
key.column_net: C3
home:
key.column_net: C4
right:
key.column_net: C5
key.spread: kx+1
key.splay: -10
key.origin: [-0.5kx, -0.5ky]
key.width: 1.5kx
key.rotate: 90
rows:
cluster:
row_net: R3
outlines:
raw:
- what: rectangle
where: true
bound: false
size: [kx + px, ky + py]
- what: rectangle
where: thumb_right_cluster
bound: false
size: [1.5kx + px, ky + py]
keys:
- what: rectangle
where: true
bound: false
size: [kx - 0.5, ky - 0.5]
- what: rectangle
where: thumb_right_cluster
bound: false
size: [1.5kx - 0.5, ky - 0.5]
board_raw:
- what: polygon
operation: stack
points:
- ref: matrix_middle_top
shift: [-2.5kx - px, 0.5ky + py]
- ref: matrix_middle_top
shift: [0.5kx + px, 0.5ky + py]
- ref: matrix_middle_top
shift: [2.5kx + px, 0.5ky + py]
- ref: matrix_middle_top
shift: [2.5kx + px, -3ky + 0.75py]
- ref: thumb_right_cluster
shift: [0.5kx + 3px, -0.5ky - py]
- ref: thumb_right_cluster
shift: [-0.5kx - 3px, -0.5ky - py]
- ref: thumb_left_cluster
shift: [-0.5kx - px, -0.5ky - py]
- ref: matrix_pinky_bottom
shift: [2kx - px, -0.5ky - py]
- ref: matrix_pinky_bottom
shift: [-0.5kx - px, -0.5ky - py]
board:
- name: board_raw
fillet: 4
plate_keys:
- what: rectangle
where: true
bound: false
size: [kcox, kcoy]
combo:
- name: board
- operation: stack
name: keys
pcbs:
abyss:
outlines:
main:
outline: board
footprints:
choc_hotswap:
what: choc
where: true
params:
keycaps: true
reverse: true
hotswap: true
from: "{{column_net}}"
to: "{{colrow}}"
diode:
what: diode
where: true
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [0, -5]
battery_connector:
what: ceoloide/battery_connector_jst_ph_2
params:
BAT_P: BAT_P
BAT_N: GND
reversible: true
include_courtyard: false
where:
ref: matrix_inner_home
shift: [0, 0.75ky]
rotate: -90