diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..051d09d --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +eval "$(lorri direnv)" diff --git a/45treus.yaml b/45treus.yaml new file mode 100644 index 0000000..ff11f2e --- /dev/null +++ b/45treus.yaml @@ -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 diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..cdbce81 --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + bashInteractive + nodejs-16_x + ]; +}