pre update

This commit is contained in:
foosinn 2024-02-23 17:54:55 +01:00
parent 5060864b08
commit 73775d6999
6 changed files with 7685 additions and 27 deletions

View file

@ -1,3 +1,4 @@
# yaml-language-server: $schema=./meta/schema.json
units:
kx: cx
ky: cy
@ -67,6 +68,78 @@ points:
outlines:
# outer border
farouter:
- what: polygon
points:
- ref: matrix_inner_num
shift: [13, 13]
- ref: matrix_middle_num
shift: [13, 13]
- ref: matrix_middle_num
shift: [-13, 13]
- ref: matrix_pinky_num
shift: [-13, 13]
- ref: matrix_pinky_bottom
shift: [-13, -13]
- ref: matrix_pinky_bottom
shift: [13, -13]
- ref: matrix_inner_bottom
shift: [-13, -13]
- ref: matrix_inner_bottom
shift: [13, -13]
- ref: mirror_matrix_inner_bottom
shift: [13, -13]
- ref: mirror_matrix_inner_bottom
shift: [-13, -13]
- ref: mirror_matrix_pinky_bottom
shift: [13, -13]
- ref: mirror_matrix_pinky_bottom
shift: [-13, -13]
- ref: mirror_matrix_pinky_num
shift: [-13, 13]
- ref: mirror_matrix_middle_num
shift: [-13, 13]
- ref: mirror_matrix_middle_num
shift: [13, 13]
- ref: mirror_matrix_inner_num
shift: [13, 13]
compatouter:
- what: polygon
points:
- ref: matrix_inner_num
shift: [11, 11]
- ref: matrix_middle_num
shift: [11, 11]
- ref: matrix_middle_num
shift: [-11, 11]
- ref: matrix_pinky_num
shift: [-11, 11]
- ref: matrix_pinky_bottom
shift: [-11, -11]
- ref: matrix_pinky_bottom
shift: [11, -11]
- ref: matrix_inner_bottom
shift: [-11, -11]
- ref: matrix_inner_bottom
shift: [11, -11]
- ref: mirror_matrix_inner_bottom
shift: [11, -11]
- ref: mirror_matrix_inner_bottom
shift: [-11, -11]
- ref: mirror_matrix_pinky_bottom
shift: [11, -11]
- ref: mirror_matrix_pinky_bottom
shift: [-11, -11]
- ref: mirror_matrix_pinky_num
shift: [-11, 11]
- ref: mirror_matrix_middle_num
shift: [-11, 11]
- ref: mirror_matrix_middle_num
shift: [11, 11]
- ref: mirror_matrix_inner_num
shift: [11, 11]
outer:
- what: polygon
points:
@ -112,14 +185,14 @@ outlines:
aggregate.parts:
- matrix_inner_bottom
- mirror_matrix_inner_bottom
shift: [0, 0]
shift: [0, 40]
# 14mm holes for cherry switches
keyholes:
- what: rectangle
where: true
asym: source
size: 13.5
size: 13.8
# keycaps
keycaps:
@ -134,6 +207,21 @@ outlines:
- -keyholes
- -chip
# far outer switchplate
farouterswitchplate:
- farouter
- -keyholes
- -chip
cases:
laser:
- name: farouterswitchplate
extrude: 6.5
- name: compatouter
extrude: 5.2
shift: [0, 0, 1.3]
operation: subtract
pcbs:
main:
outlines:
@ -149,14 +237,7 @@ pcbs:
to: "{{column_net}}"
keycaps: true
hotswap: true
#led:
# what: rgb
# where: true
# adjust:
# shift: [0, -5]
# params:
# din: "{{label}}"
# dout: P02
diode:
what: diode
where: true
@ -164,8 +245,9 @@ pcbs:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [-8, -0]
rotate: 90
shift: [0, -5]
rotate: 180
reset:
what: button
params:
@ -177,6 +259,7 @@ pcbs:
- matrix_inner_bottom
- mirror_matrix_inner_bottom
rotate: 90
mcu:
what: promicro
where: