Part way done, auto-routing currently isn't completing.

This commit is contained in:
Andrew Rae 2022-01-04 20:44:14 -08:00
parent 88bda80343
commit 6c1e91f325

View file

@ -33,30 +33,43 @@ points:
key.padding: ky key.padding: ky
columns: columns:
pinky: pinky:
stagger: 0 ky
spread: kx
key: key:
bind: [0.1, 0.5 kx, 0.1, 0.1]
column_net: P20 column_net: P20
spread: 18
rotate: 15
origin: [0, -17]
ring: ring:
stagger: 0.7 ky
spread: kx
key: key:
bind: [0.1, 0.5 kx, 0.1, 0.1]
column_net: P19 column_net: P19
spread: 18
stagger: 17
rotate: -10
origin: [0, -17]
middle: middle:
stagger: 0.2 ky spread: 18
spread: kx stagger: 17/3
rotate: -5
origin: [0, -17]
key: key:
bind: [0.1, 0.1, 0.5 kx, 0.1]
shift: [0.2, 0]
column_net: P18 column_net: P18
index: index:
stagger: -0.2 ky
spread: kx
key: key:
bind: [0.1, 0.1, 0.5 kx, 0.5 kx]
column_net: P15 column_net: P15
spread: 18
stagger: -17/3
rotate: -5
origin: [0, -17]
inner: inner:
stagger: -0.1 ky
spread: kx
key: key:
column_net: P14 column_net: P14
spread: 19
stagger: -17/6
origin: [0, -17]
rows: rows:
bottom: bottom:
row_net: P6 row_net: P6
@ -67,12 +80,12 @@ points:
thumbfan: thumbfan:
anchor: anchor:
ref: matrix_inner_bottom ref: matrix_inner_bottom
shift: [-1.5 kx, -1 ky] shift: [-1.25 kx, -1.5 ky]
columns: columns:
near: near:
spread: kx spread: kx
rotate: -15 rotate: -15
origin: [-0.5 kx, -0.5 ky] origin: [-1.5 kx, -0.5 ky]
key: key:
column_net: P18 column_net: P18
home: home:
@ -91,7 +104,6 @@ points:
thumb: thumb:
row_net: P7 row_net: P7
outlines: outlines:
# board dimensions according to JLCPCB: 122.28 mm x 101.05 mm
exports: exports:
raw: raw:
- type: keys - type: keys
@ -101,8 +113,7 @@ outlines:
thumbfan_glue: thumbfan_glue:
- type: polygon - type: polygon
points: points:
- ref: matrix_inner_bottom - ref: matrix_inner_home
shift: [0.5 kx + 0.5px, -0.5 ky + 0.5 py]
- ref: thumbfan_far_thumb - ref: thumbfan_far_thumb
shift: [0.5 kx - 0.5px, 0.5 ky + 0.5 py] shift: [0.5 kx - 0.5px, 0.5 ky + 0.5 py]
- ref: thumbfan_far_thumb - ref: thumbfan_far_thumb
@ -112,25 +123,8 @@ outlines:
- ref: matrix_pinky_bottom - ref: matrix_pinky_bottom
shift: [0.5 kx - 0.5 py, -0.5 ky - 0.5 py] shift: [0.5 kx - 0.5 py, -0.5 ky - 0.5 py]
- ref: matrix_pinky_home - ref: matrix_pinky_home
- ref: matrix_inner_home
patch_outer:
- type: polygon
points:
- ref: matrix_ring_top
- ref: matrix_ring_bottom
- ref: matrix_pinky_bottom
shift: [-0.5 (kx + px), 0]
- ref: matrix_pinky_top
shift: [-0.5 (kx + px), 0]
patch_inner:
- type: polygon
points:
- ref: matrix_inner_top
shift: [0.5 (kx + px), 0]
- ref: matrix_inner_bottom - ref: matrix_inner_bottom
shift: [0.5 (kx + px), 0] shift: [0.5 kx + 0.5px, -0.5 ky + 0.5 py]
- ref: matrix_index_bottom
- ref: matrix_index_top
controller_area: controller_area:
main: main:
type: rectangle type: rectangle
@ -140,141 +134,26 @@ outlines:
shift: [0 kx, -4.05 ky] shift: [0 kx, -4.05 ky]
size: [32, 76.5] size: [32, 76.5]
corner: px corner: px
switches: base_outline:
main:
type: keys
side: left
size: 14
bound: false
keycaps:
main:
type: keys
side: left
size: [kx, ky]
bound: false
corner: 1
keywell:
main: main:
type: outline type: outline
name: raw name: raw
patch_inner: fillet: 2
type: outline
name: patch_inner
operation: add
patch_outer:
type: outline
name: patch_outer
operation: add
thumbfan_glue: thumbfan_glue:
type: outline type: outline
name: thumbfan_glue name: thumbfan_glue
operation: add operation: add
base_outline: fillet: 2
main: controller_area:
type: outline
name: keywell
controller:
type: outline type: outline
name: controller_area name: controller_area
operation: add operation: add
screw_holes: fillet: 2
top_left:
type: circle
anchor:
- ref: matrix_ring_home
shift: [-0.5 kx, 0 ky]
radius: 1.05
bottom_left:
type: circle
anchor:
- ref: matrix_pinky_bottom
shift: [0.5 kx, 0]
radius: 1.05
top_right:
type: circle
anchor:
- ref: matrix_inner_top
shift: [-0.5 kx, 0]
radius: 1.05
palm:
type: circle
anchor:
- ref: matrix_index_bottom
shift: [0, -1.06 ky]
radius: 1.05
thumb:
type: circle
anchor:
- ref: thumbfan_far_thumb
shift: [-0.55 kx, 0]
radius: 1.05
mounting_holes:
$extends: outlines.exports.screw_holes
top_left:
radius: 2.05
bottom_left:
radius: 2.05
top_right:
radius: 2.05
palm:
radius: 2.05
thumb:
radius: 2.05
bottom_outline:
main:
type: outline
name: base_outline
screw_holes:
type: outline
# TODO use footprints with pad + via reinforcement as mounting holes
name: screw_holes
operation: subtract
plate:
main:
type: outline
name: keywell
switches:
type: outline
name: switches
operation: subtract
mounting_holes:
type: outline
# TODO use footprints with pad + via reinforcement as mounting holes
name: screw_holes
operation: subtract
pcb: pcb:
main: - type: outline
type: outline
name: base_outline name: base_outline
mounting_holes: fillet: 3
type: outline
# TODO use plated through hole footprints as mounting holes
name: mounting_holes
operation: subtract
pcbs: pcbs:
top_plate:
# include JLCJLCJLCJLC text somewhere
include_keys: false
outlines:
edge:
outline: plate
layer: Edge.Cuts
footprints:
jlc_order_number:
type: text
anchor:
ref:
- matrix_ring_home
shift: [-0.25 kx, 0.5 ky]
params:
text: "JLCJLCJLCJLC"
justify: left
bottom_plate:
include_keys: false
outlines:
edge:
outline: bottom_outline
layer: Edge.Cuts
board: board:
outlines: outlines:
edge: edge:
@ -431,7 +310,7 @@ pcbs:
- matrix_pinky_bottom - matrix_pinky_bottom
shift: [0.75 kx, 0] shift: [0.75 kx, 0]
params: params:
text: "samoklava v0.1\\nby soundmonster" text: "rae-dux v1.0\\nby ajrae"
justify: left justify: left
info_r: info_r:
type: text type: text
@ -441,6 +320,5 @@ pcbs:
shift: [0.75 kx, 0] shift: [0.75 kx, 0]
params: params:
layer: B.SilkS layer: B.SilkS
text: "samoklava v0.1\\nby soundmonster" text: "rae-dux v1.0\\nby ajrae"
justify: right mirror justify: right mirror