This commit is contained in:
Stefan Schwarz 2022-03-22 20:10:26 +01:00 committed by foosinn
parent 21e50cb11d
commit 96d043126a
3 changed files with 100 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
eval "$(lorri direnv)"

91
45treus.yaml Normal file
View file

@ -0,0 +1,91 @@
points:
key:
footprints:
mx_hotswap:
type: mx
params:
hotswap: true
reverse: true
keycaps: true
nets:
# from: P1
# to: P2
from: =colrow
to: =column_net
diode:
type: diode
nets:
# from: P3
# to: P4
from: =colrow
to: =row_net
anchor:
shift: [0, -5]
zones:
matrix:
columns:
pinky:
key: { column_net: P20 }
ring:
stagger: 3
key: { column_net: P19 }
middle:
stagger: 5
key: { column_net: P18 }
index:
stagger: -5
key: { column_net: P17 }
inner:
stagger: -6
key: { column_net: P16 }
thumb:
stagger: 10
row_overrides:
bottom:
key: { column_net: P15 }
rows:
bottom:
row_net: P6
home:
row_net: P5
top:
row_net: P4
num:
row_net: P3
rotate: -23
mirror:
ref: matrix_thumb_bottom
distance: 42
outlines:
exports:
plate:
- type: keys
side: both
size: 30
corner: 3
- type: polygon
points:
- ref: matrix_inner_num
shift: [0, 10]
- ref: matrix_inner_bottom
shift: [0, -10]
- ref: mirror_matrix_inner_bottom
shift: [0, -10]
- ref: mirror_matrix_inner_num
shift: [0, 10]
cases:
case:
- type: outline
name: plate
pcbs:
main:
outlines:
plate:
outline: plate
footprints:
mcu:
type: promicro

8
shell.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
bashInteractive
nodejs-16_x
];
}