Skip to content

Instantly share code, notes, and snippets.

@jasonhazel
Created July 7, 2022 02:00
Show Gist options
  • Save jasonhazel/a1aaaa9954b8cfee22272dedd9f9bb3d to your computer and use it in GitHub Desktop.
Save jasonhazel/a1aaaa9954b8cfee22272dedd9f9bb3d to your computer and use it in GitHub Desktop.
units:
w: cx
h: cy
points:
mirror:
ref: matrix_inner_bottom
shift: [3w, 0]
zones:
matrix:
rotate: -20
columns:
pinky1:
key:
column_net: P1
rows:
home.skip: true
bottom.skip: true
pinky2:
spread: 2
stagger: -.5w
rotate: 15
key:
column_net: P1
rows:
top.skip: true
ring:
stagger: .5h
rotate: -15
spread: w + 2
key.column_net: P2
middle:
stagger: .25h
spread: w
key.column_net: P3
index:
rotate: -5
stagger: -.5h
spread: w
key.column_net: P4
inner:
stagger: -.1h
spread: w
key.column_net: P5
rows:
bottom:
padding: h
row_net: P5
home:
padding: h
row_net: P6
top:
padding: h
row_net: P7
thumb:
anchor:
ref: matrix_index_bottom
shift: [-2.5,-1.5h]
columns:
outer:
rotate: 20
key:
column_net: P8
middle:
rotate: -20
spread: w
origin: [-.5w, -.5h]
key:
column_net: P9
inner:
rotate: -20
origin: [-.5w, -.5h]
spread: w
key:
column_net: P10
rows:
thumbs:
row_net: P11
key:
footprints:
choc:
type: choc
anchor:
nets:
from: =colrow
to: =column_net
params:
keycaps: false
reverse: false
diode:
type: diode
anchor:
rotate: 0
shift: [ 0, -4.5 ]
nets:
from: =colrow
to: =row_net
outlines:
exports:
raw:
- type: keys
side: left
size: [cx, cy]
corner: 1
board:
- type: rectangle
mirror: true
size: [9cx, 7cy]
anchor:
shift: [.75w, -6.25cy]
rotate: 20
ref: matrix_pinky1_top
panel:
- type: outline
name: board
fillet: 2
pcbs:
luke:
outlines:
boards:
outline: panel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment