rotate switches and adjust components to rotated switches

commit d4ba6b622321e3bd7a7089699f45bbde7e819468
Author: daniel <github@dbauer.me>
Date:   Sun Jul 9 12:29:10 2023 +0200

    adjust screw holes

commit 41602ad8a8b55815b8c0b4ff7b805927a1cf0c3f
Author: daniel <github@dbauer.me>
Date:   Sun Jul 9 12:15:34 2023 +0200

    rotate switches and place diodes
This commit is contained in:
daniel
2023-07-09 12:29:55 +02:00
parent c396808411
commit f0959bc71d

View File

@@ -103,6 +103,7 @@ points:
splay: 75 splay: 75
shift: [13-kx, -3] shift: [13-kx, -3]
column_net: row4 column_net: row4
tags: [switch_space]
rows: rows:
cluster: cluster:
row_net: col4 row_net: col4
@@ -187,13 +188,15 @@ pcbs:
footprints: footprints:
choc_hotswap: choc_hotswap:
what: choc what: choc
where: switch where: [switch, switch_space]
params: params:
keycaps: true keycaps: true
reverse: false reverse: false
hotswap: true hotswap: true
from: "{{column_net}}" from: "{{column_net}}"
to: "{{colrow}}" to: "{{colrow}}"
adjust:
rotate: 180
diode: diode:
what: diode what: diode
where: [switch] where: [switch]
@@ -201,7 +204,19 @@ pcbs:
from: "{{colrow}}" from: "{{colrow}}"
to: "{{row_net}}" to: "{{row_net}}"
adjust: adjust:
shift: [0, -5] rotate: -90
# 8.275 is the exact pad pos.
shift: [-8.275, 1]
diode_space:
what: diode
where: [switch_space]
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
rotate: 180
# 8.275 is the exact pad pos.
shift: [0, 8.275]
scrollwheel: scrollwheel:
what: scrollwheel what: scrollwheel
where: [scrollwheel] where: [scrollwheel]
@@ -306,7 +321,6 @@ pcbs:
drill: 2.2 drill: 2.2
adjust: adjust:
shift: [10+mcu_height/2, mcu_width/2-1.5] shift: [10+mcu_height/2, mcu_width/2-1.5]
screw_hole_top_left: screw_hole_top_left:
what: hole what: hole
where: where:
@@ -319,7 +333,7 @@ pcbs:
what: hole what: hole
where: where:
ref.aggregate.parts: [matrix_index_num, matrix_inner_num, matrix_index_top, matrix_inner_top] ref.aggregate.parts: [matrix_index_num, matrix_inner_num, matrix_index_top, matrix_inner_top]
shift: [0, 2] shift: [0, -2]
params: params:
size: 4.7 size: 4.7
drill: 4.1 drill: 4.1
@@ -327,15 +341,15 @@ pcbs:
what: hole what: hole
where: where:
ref.aggregate.parts: [matrix_outer_home, matrix_outer_bottom, matrix_pinky_home, matrix_pinky_bottom] ref.aggregate.parts: [matrix_outer_home, matrix_outer_bottom, matrix_pinky_home, matrix_pinky_bottom]
shift: [0, 2] shift: [0, -1]
params: params:
size: 4.7 size: 4.7
drill: 4.1 drill: 4.1
screw_hole_bottom_right: screw_hole_bottom_right:
what: hole what: hole
where: where:
ref.aggregate.parts: [matrix_middle_mod, matrix_middle_bottom, matrix_index_mod, matrix_index_bottom] ref.aggregate.parts: [matrix_middle_bottom, matrix_index_bottom]
shift: [0, 4] shift: [0, -12]
params: params:
size: 4.7 size: 4.7
drill: 4.1 drill: 4.1