Compare commits
2 commits
2d62d2b827
...
c05de81d00
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c05de81d00 | ||
![]() |
5fab876351 |
2 changed files with 96 additions and 8 deletions
102
23creus.yaml
102
23creus.yaml
|
@ -121,6 +121,77 @@ outlines:
|
||||||
shift: [10, 10]
|
shift: [10, 10]
|
||||||
- ref: mirror_matrix_inner_num
|
- ref: mirror_matrix_inner_num
|
||||||
shift: [10, 10]
|
shift: [10, 10]
|
||||||
|
|
||||||
|
farinner:
|
||||||
|
- type: polygon
|
||||||
|
points:
|
||||||
|
- ref: matrix_inner_num
|
||||||
|
shift: [10, 10.3]
|
||||||
|
- ref: matrix_middle_num
|
||||||
|
shift: [10.3, 10.3]
|
||||||
|
- ref: matrix_middle_num
|
||||||
|
shift: [-10.3, 10.3]
|
||||||
|
- ref: matrix_pinky_num
|
||||||
|
shift: [-10.3, 10.3]
|
||||||
|
- ref: matrix_pinky_bottom
|
||||||
|
shift: [-10.3, -10.3]
|
||||||
|
- ref: matrix_pinky_bottom
|
||||||
|
shift: [10.3, -10.3]
|
||||||
|
- ref: matrix_inner_bottom
|
||||||
|
shift: [-10.3, -10.3]
|
||||||
|
- ref: matrix_inner_bottom
|
||||||
|
shift: [10.3, -10.3]
|
||||||
|
- ref: mirror_matrix_inner_bottom
|
||||||
|
shift: [10.3, -10.3]
|
||||||
|
- ref: mirror_matrix_inner_bottom
|
||||||
|
shift: [-10.3, -10.3]
|
||||||
|
- ref: mirror_matrix_pinky_bottom
|
||||||
|
shift: [10.3, -10.3]
|
||||||
|
- ref: mirror_matrix_pinky_bottom
|
||||||
|
shift: [-10.3, -10.3]
|
||||||
|
- ref: mirror_matrix_pinky_num
|
||||||
|
shift: [-10.3, 10.3]
|
||||||
|
- ref: mirror_matrix_middle_num
|
||||||
|
shift: [-10.3, 10.3]
|
||||||
|
- ref: mirror_matrix_middle_num
|
||||||
|
shift: [10.3, 10.3]
|
||||||
|
- ref: mirror_matrix_inner_num
|
||||||
|
shift: [10, 10.3]
|
||||||
|
farouter:
|
||||||
|
- type: polygon
|
||||||
|
points:
|
||||||
|
- ref: matrix_inner_num
|
||||||
|
shift: [10, 12]
|
||||||
|
- ref: matrix_middle_num
|
||||||
|
shift: [12, 12]
|
||||||
|
- ref: matrix_middle_num
|
||||||
|
shift: [-12, 12]
|
||||||
|
- ref: matrix_pinky_num
|
||||||
|
shift: [-12, 12]
|
||||||
|
- ref: matrix_pinky_bottom
|
||||||
|
shift: [-12, -12]
|
||||||
|
- ref: matrix_pinky_bottom
|
||||||
|
shift: [12, -12]
|
||||||
|
- ref: matrix_inner_bottom
|
||||||
|
shift: [-12, -12]
|
||||||
|
- ref: matrix_inner_bottom
|
||||||
|
shift: [12, -12]
|
||||||
|
- ref: mirror_matrix_inner_bottom
|
||||||
|
shift: [12, -12]
|
||||||
|
- ref: mirror_matrix_inner_bottom
|
||||||
|
shift: [-12, -12]
|
||||||
|
- ref: mirror_matrix_pinky_bottom
|
||||||
|
shift: [12, -12]
|
||||||
|
- ref: mirror_matrix_pinky_bottom
|
||||||
|
shift: [-12, -12]
|
||||||
|
- ref: mirror_matrix_pinky_num
|
||||||
|
shift: [-12, 12]
|
||||||
|
- ref: mirror_matrix_middle_num
|
||||||
|
shift: [-12, 12]
|
||||||
|
- ref: mirror_matrix_middle_num
|
||||||
|
shift: [12, 12]
|
||||||
|
- ref: mirror_matrix_inner_num
|
||||||
|
shift: [10, 12]
|
||||||
#- type: keys
|
#- type: keys
|
||||||
# side: both
|
# side: both
|
||||||
# size: 20
|
# size: 20
|
||||||
|
@ -138,16 +209,10 @@ outlines:
|
||||||
chip:
|
chip:
|
||||||
# cutout for the chip itself
|
# cutout for the chip itself
|
||||||
- type: rectangle
|
- type: rectangle
|
||||||
size: [18, 33]
|
size: [18, 50]
|
||||||
anchor:
|
anchor:
|
||||||
ref: [matrix_inner_top, mirror_matrix_inner_top]
|
ref: [matrix_inner_top, mirror_matrix_inner_top]
|
||||||
shift: [-9, -24.5]
|
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
|
# 14mm holes for cherry switches
|
||||||
keyholes:
|
keyholes:
|
||||||
- type: keys
|
- type: keys
|
||||||
|
@ -160,6 +225,29 @@ outlines:
|
||||||
- -keyholes
|
- -keyholes
|
||||||
- -chip
|
- -chip
|
||||||
|
|
||||||
|
cases:
|
||||||
|
switchp:
|
||||||
|
- type: outline
|
||||||
|
name: switchplate
|
||||||
|
extrude: 1.3
|
||||||
|
outercase:
|
||||||
|
- type: outline
|
||||||
|
name: farouter
|
||||||
|
extrude: 6.3
|
||||||
|
- type: outline
|
||||||
|
name: farinner
|
||||||
|
extrude: 5
|
||||||
|
shift: [0, 0, 1.3]
|
||||||
|
operation: subtract
|
||||||
|
- type: outline
|
||||||
|
name: keyholes
|
||||||
|
extrude: 1.3
|
||||||
|
operation: subtract
|
||||||
|
- type: outline
|
||||||
|
name: chip
|
||||||
|
extrude: 6.3
|
||||||
|
operation: subtract
|
||||||
|
|
||||||
pcbs:
|
pcbs:
|
||||||
main:
|
main:
|
||||||
outlines:
|
outlines:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
all: node_modules
|
all: node_modules
|
||||||
node src/cli.js 23treus.yaml -o output
|
node src/cli.js 23creus.yaml -o output
|
||||||
cp output/pcbs/main.kicad_pcb kicad/45treus/
|
cp output/pcbs/main.kicad_pcb kicad/45treus/
|
||||||
|
|
||||||
node_modules:
|
node_modules:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue