v1, case maybe done

This commit is contained in:
2026-05-19 21:26:47 +02:00
parent bf97bfbe1b
commit 3a9f5a0f4a
15 changed files with 164643 additions and 0 deletions
+228
View File
@@ -6,6 +6,8 @@ units:
px: kx + 4
py: ky + 4
screwSize: 1
screwStandoffInner: 1.5
screwStandoffOuter: 2.5
points:
zones:
matrix:
@@ -89,6 +91,14 @@ outlines:
where: true
size: [px, py]
fillet: 2
leftkeys_case:
- where: true
what: rectangle
size: [14,14]
leftcutout:
- name: raw
- operation: subtract
name: leftkeys_case
keys:
- what: rectangle
where: true
@@ -166,6 +176,141 @@ outlines:
- name: _boardR
- operation: stack
name: keys
mounting:
- what: circle
radius: screwSize
where:
ref: [matrix_outer_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwSize
where:
ref: [matrix_middle_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwSize
where:
ref: [thumb_tuck]
shift: [0, ky*0.625]
- what: circle
radius: screwSize
where:
ref: [matrix_index_home]
shift: [kx/2,ky/2]
_standoffInner:
- what: circle
radius: screwStandoffInner
where:
ref: [matrix_outer_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffInner
where:
ref: [matrix_middle_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffInner
where:
ref: [thumb_tuck]
shift: [0, ky*0.625]
- what: circle
radius: screwStandoffInner
where:
ref: [matrix_index_home]
shift: [kx/2,ky/2]
_standoffOuter:
- what: circle
radius: screwStandoffOuter
where:
ref: [matrix_outer_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffOuter
where:
ref: [matrix_middle_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffOuter
where:
ref: [thumb_tuck]
shift: [0, ky*0.625]
- what: circle
radius: screwStandoffOuter
where:
ref: [matrix_index_home]
shift: [kx/2,ky/2]
mountingR:
- what: circle
radius: screwSize
where:
ref: [mirror_matrix_outer_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwSize
where:
ref: [mirror_matrix_middle_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwSize
where:
ref: [mirror_thumb_tuck]
shift: [0, ky*0.625]
- what: circle
radius: screwSize
where:
ref: [mirror_matrix_index_home]
shift: [kx/2,ky/2]
### Right Side
_standoffInnerR:
- what: circle
radius: screwStandoffInner
where:
ref: [mirror_matrix_outer_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffInner
where:
ref: [mirror_matrix_middle_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffInner
where:
ref: [mirror_thumb_tuck]
shift: [0, ky*0.625]
- what: circle
radius: screwStandoffInner
where:
ref: [mirror_matrix_index_home]
shift: [kx/2,ky/2]
_standoffOuterR:
- what: circle
radius: screwStandoffOuter
where:
ref: [mirror_matrix_outer_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffOuter
where:
ref: [mirror_matrix_middle_num]
shift: [kx/2, -ky/2]
- what: circle
radius: screwStandoffOuter
where:
ref: [mirror_thumb_tuck]
shift: [0, ky*0.625]
- what: circle
radius: screwStandoffOuter
where:
ref: [mirror_matrix_index_home]
shift: [kx/2,ky/2]
leftFullBoard:
- name: _boardL
- operation: subtract
name: leftkeys_case
rightFullBoard:
- name: _boardR
- operation: subtract
name: leftkeys_case
pcbs:
left_side:
outlines:
@@ -401,3 +546,86 @@ pcbs:
ref: [mirror_matrix_index_home]
shift: [kx/2,ky/2]
cases:
_plate:
- name: leftcutout
extrude: 1.5
_platFullL:
- name: leftFullBoard
extrude: 1.5
_platFullR:
- name: rightFullBoard
extrude: 1.5
_holes:
- name: mounting
extrude: 4
_holesR:
- name: mountingR
extrude: 4
_screwStandoffInner:
- name: _standoffInner
extrude: 4
_screwStandoffOuter:
- name: _standoffOuter
extrude: 4
_screwStandoffInnerR:
- name: _standoffInnerR
extrude: 4
_screwStandoffOuterR:
- name: _standoffOuterR
extrude: 4
casePlate:
- what: case
name: _plate
operation: add
- what: case
name: _holes
operation: subtract
- what: case
name: _holesR
operation: subtract
_caseBottomP1:
- name: _boardL
extrude: 1.5
caseBottomL:
- what: case
name: _screwStandoffOuter
operation: add
- what: case
name: _caseBottomP1
operation: add
- what: case
name: _screwStandoffInner
operation: subtract
_caseBottomR1:
- name: _boardR
extrude: 1.5
caseBottomR:
- what: case
name: _screwStandoffOuterR
operation: add
- what: case
name: _caseBottomR1
operation: add
- what: case
name: _screwStandoffInnerR
operation: subtract
casePlateNewL:
- what: case
name: _platFullL
operation: add
- what: case
name: _holes
operation: subtract
- what: case
name: _holesR
operation: subtract
casePlateNewR:
- what: case
name: _platFullR
operation: add
- what: case
name: _holes
operation: subtract
- what: case
name: _holesR
operation: subtract