add a switchplate

This commit is contained in:
Stefan Schwarz 2022-03-23 15:03:35 +01:00 committed by foosinn
parent ce65a9ef5d
commit 35f2684348

View file

@ -58,7 +58,8 @@ points:
outlines: outlines:
exports: exports:
plate: # outer border
outer:
- type: keys - type: keys
side: both side: both
size: 25 size: 25
@ -68,22 +69,41 @@ outlines:
- ref: matrix_inner_num - ref: matrix_inner_num
shift: [0, -5] shift: [0, -5]
- ref: matrix_thumb_bottom - ref: matrix_thumb_bottom
shift: [-15, 0] shift: [-10, -10]
- ref: mirror_matrix_thumb_bottom - ref: mirror_matrix_thumb_bottom
shift: [-15, 0] shift: [-10, -10]
- ref: mirror_matrix_inner_num - ref: mirror_matrix_inner_num
shift: [0, -5] shift: [0, -5]
chip:
cases: # cutout for the chip itself
case: - type: rectangle
- type: outline size: [18, 33]
name: plate anchor:
ref: [matrix_inner_top, mirror_matrix_inner_top]
shift: [-9, -24.5]
# cutout for the cable (looks)
- type: rectangle
size: [8, 50]
anchor:
ref: [matrix_inner_top, mirror_matrix_inner_top]
shift: [-4, -24.5]
# 14mm holes for cherry switches
keyholes:
- type: keys
side: both
size: 14
bound: false
# switchplate
switchplate:
- outer
- -keyholes
- -chip
pcbs: pcbs:
main: main:
outlines: outlines:
plate: outer:
outline: plate outline: outer
footprints: footprints:
mcu: mcu:
type: promicro type: promicro