forked from MvEerd/ergogen-gui
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When having a -1 on line 253, the left thumb section shows up perfectly. But if I remove the -1, it disappears. See screenshots.


Config:
units:
# Proxy Spacing Variables
kx: cx
ky: cy
# Padding Variables
px: kx+2
py: ky+2
hx: 0.5px
hy: 0.5py
hole_x: 14.10
hole_y: 13.60
splay_amount: 0
side_rotation: 11
snake: 9
mini_snake: 6
fillet_amount: 0
air: 1.5
$default_width: 18 # UI only thing
$default_height: 17 # UI only thing
points:
zones:
matrix:
key:
padding: 1ky
spread: 1kx
columns:
pinky:
rows.bottom.skip: true
key.column_net: P14
ring:
key:
stagger: 12.5
column_net: P16
splay: -splay_amount
middle:
key:
stagger: 6.8
column_net: P10
splay: -splay_amount
index:
key.stagger: -7
key.column_net: P7
inner:
key.stagger: -3
key.column_net: P8
#key.stoger: -5
rows:
bottom:
row_net: P15
mirror.row_net: P6
home:
row_net: P18
mirror.row_net: P5
top:
row_net: P19
mirror.row_net: P4
# Fix placement on KiCAD sheet.
anchor:
shift: [100, -100]
thumbs:
anchor:
ref: matrix_middle_home
shift: [18, -45]
columns:
tucky:
key.splay: 0
key.shift: [-7, -16]
rows.single.skip: true #hide for now
center:
key.splay: -27
key.shift: [5, -20]
reachy:
key.splay: -20
key.shift: [18, -19]
key.column_net: P9
rows.single.skip: true #hide for now
rows:
single:
row_net: P15
mirror.row_net: P6
rotate: -side_rotation
mirror: &mirror
ref: matrix_inner_top
distance: 86
outlines:
raw:
- what: rectangle
where: true
size: [kx, ky]
keys_holes:
- what: rectangle
where: true
size: [hole_x,hole_y]
board:
# side => center <= side
- what: polygon
#operation: stack
points:
- ref: matrix_inner_top
shift: [hx,hy]
- ref: matrix_inner_top
shift: [snake+hx,hy]
- ref: matrix_inner_top
shift: [snake+hx,-2.3py+snake]
- ref: matrix_inner_top
shift: [snake+hx+air,-2.3py+snake]
- ref: matrix_inner_top
shift: [snake+air+hx,0]
- ref: matrix_inner_top
shift: [snake+air+1.2px,0]
- ref: mirror_matrix_inner_top
shift: [snake+air+1.2px,0]
- ref: mirror_matrix_inner_top
shift: [snake+air+hx,0]
- ref: mirror_matrix_inner_top
shift: [snake+hx+air,-2.3py+snake]
- ref: mirror_matrix_inner_top
shift: [snake+hx,-2.3py+snake]
- ref: mirror_matrix_inner_top
shift: [snake+hx,0.5py]
- ref: mirror_matrix_inner_top
shift: [hx,hy]
- ref: mirror_matrix_inner_top
shift: [hx,hy-snake]
- ref: mirror_matrix_inner_top
shift: [hx+air,hy-snake]
- ref: mirror_matrix_inner_top
shift: [hx+air,-2.3py]
- ref: mirror_matrix_inner_top
shift: [hx+2*snake,-2.3py]
- ref: mirror_matrix_inner_top
shift: [2*snake+hx,-snake]
- ref: mirror_matrix_inner_top
shift: [2*snake+hx+air,-snake]
- ref: mirror_matrix_inner_top
shift: [2*snake+hx+air,-2.3py]
- ref: matrix_inner_top
shift: [2*snake+hx+air,-2.3py]
- ref: matrix_inner_top
shift: [2*snake+hx+air,-snake]
- ref: matrix_inner_top
shift: [2*snake+hx,-snake]
- ref: matrix_inner_top
shift: [hx+2*snake,-2.3py]
- ref: matrix_inner_top
shift: [hx+air,-2.3py]
- ref: matrix_inner_top
shift: [hx+air,hy-snake]
- ref: matrix_inner_top
shift: [hx,hy-snake]
#- ref: mirror_matrix_inner_bottom
# shift: [0.5px,-0.5py]
#- ref: matrix_inner_bottom
# shift: [0.5px,-0.5py]
# finger area
- what: rectangle
#operation: stack
where: true
size: [px, py]
# filling gaps in the splay area
- what: polygon
#operation: stack
points:
- ref: matrix_pinky_top
shift: [hx, hy]
- ref: matrix_pinky_top
shift: [px, hy]
- ref: matrix_pinky_home
shift: [px, -hy]
- ref: matrix_pinky_home
shift: [hx, -hy]
- what: polygon
#operation: stack
points:
- ref: matrix_ring_top
shift: [hx, hy]
- ref: matrix_ring_top
shift: [px, hy]
- ref: matrix_middle_bottom
shift: [hx, -hy]
- ref: matrix_middle_bottom
shift: [-hx, -hy]
- what: polygon
#operation: stack
points:
- ref: mirror_matrix_pinky_top
shift: [hx, hy]
- ref: mirror_matrix_pinky_top
shift: [px, hy]
- ref: mirror_matrix_pinky_home
shift: [px, -hy]
- ref: mirror_matrix_pinky_home
shift: [hx, -hy]
- what: polygon
#operation: stack
points:
- ref: mirror_matrix_ring_top
shift: [hx, hy]
- ref: mirror_matrix_ring_top
shift: [px, hy]
- ref: mirror_matrix_middle_bottom
shift: [hx, -hy]
- ref: mirror_matrix_middle_bottom
shift: [-hx, -hy]
fillet: fillet_amount
- what: polygon
#operation: stack
points:
- ref: thumbs_center_single
shift: [hx, hy+air+mini_snake]
- ref: thumbs_center_single
shift: [-hx+mini_snake, hy+air+mini_snake]
- ref: thumbs_center_single
shift: [-hx+mini_snake, hy+air+mini_snake+air]
- ref: thumbs_center_single
shift: [hx, hy+mini_snake+air+air]
- ref: thumbs_center_single
shift: [hx, hy+mini_snake+air+air+mini_snake]
- what: polygon
#operation: stack
points:
- ref: thumbs_center_single
shift: [hx, hy+air+mini_snake]
- ref: thumbs_center_single
shift: [-hx+mini_snake, hy+air+mini_snake+air]
- ref: thumbs_center_single
shift: [hx, hy+mini_snake+air+air]
- ref: thumbs_center_single
shift: [hx, hy+mini_snake+air+air+mini_snake]
- what: polygon
operation: stack
points:
- ref: thumbs_center_single
shift: [hx, hy]
- ref: thumbs_center_single
shift: [hx, hy+air+mini_snake] #add -1 here to see it show up just fine
- ref: thumbs_center_single
shift: [hx+5, hy+2]
fillet: fillet_amount
combo:
- name: board
- operation: subtract
name: keys_holes
pcbs:
board_pcb:
outlines:
main:
outline: board
footprints:
choc_hotswap:
what: choc
where: true
params:
keycaps: true
reverse: false
hotswap: true
from: "{{column_net}}"
to: "{{colrow}}"
diode:
what: diode
where: true
params:
from: "{{colrow}}"
to: "{{row_net}}"
adjust:
shift: [0, -5]
promicro:
what: promicro
params:
orientation: "up"
where:
ref.aggregate.parts: [matrix_inner_top, mirror_matrix_inner_top]
shift: [0,-30]
rotate: -90
Metadata
Metadata
Assignees
Labels
No labels