diff options
author | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-08 19:48:11 -0400 |
---|---|---|
committer | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-08 19:48:11 -0400 |
commit | 7746b122ed99c5e31e8334d26817e4c00ac76560 (patch) | |
tree | 6a6ca54f89e76c4e8ef62fde2967a7fd5d875688 /src/generate_configuration.py | |
parent | 7f9e6386a5b7c0c30cacb1c963fdd676645f0637 (diff) |
Key plate screw holes and added key plate notches for snapping in switches rather than a giant undercut.
Diffstat (limited to 'src/generate_configuration.py')
-rw-r--r-- | src/generate_configuration.py | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/generate_configuration.py b/src/generate_configuration.py index 3f5cd4f..3340214 100644 --- a/src/generate_configuration.py +++ b/src/generate_configuration.py @@ -84,9 +84,12 @@ shape_config = { # 'NUB' = original side nubs. # 'UNDERCUT' = snap fit undercut. May require CLIP_THICKNESS and possibly CLIP_UNDERCUT tweaking # and/or filing to get proper snap. + # 'NOTCH' = snap fit undercut only near switch clip. May require CLIP_THICKNESS and possibly CLIP_UNDERCUT + # tweaking and/or filing to get proper snap. # 'HS_NUB' = hot swap underside with nubs. # 'HS_UNDERCUT' = hot swap underside with undercut. Does not generate properly. Hot swap step needs to be modified. - 'plate_style': 'UNDERCUT', + # 'HS_NOTCH' = hot swap underside with notch. Does not generate properly. Hot swap step needs to be modified. + 'plate_style': 'NOTCH', 'hole_keyswitch_height': 14.0, 'hole_keyswitch_width': 14.0, @@ -94,12 +97,14 @@ shape_config = { 'nub_keyswitch_height': 14.4, 'nub_keyswitch_width': 14.4, - 'undercut_keyswitch_height': 14.4, - 'undercut_keyswitch_width': 14.4, + 'undercut_keyswitch_height': 14.0, + 'undercut_keyswitch_width': 14.0, + 'notch_width': 5.0, # If using notch, it is identical to undecut, but only locally by the switch clip 'sa_profile_key_height': 12.7, - 'plate_thickness': 4, + 'plate_thickness': 4+1.1, + 'plate_rim': 1.5 + 0.5, # Undercut style dimensions 'clip_thickness': 1.4, 'clip_undercut': 1.0, @@ -228,6 +233,16 @@ shape_config = { # Offset is from the top inner corner of the top inner key. ################################### + ## EXPERIMENTAL + ################################### + 'plate_holes': True, + 'plate_holes_xy_offset': (0.0, 0.0), + 'plate_holes_width': 14.3, + 'plate_holes_height': 14.3, + 'plate_holes_diameter': 1.7, + 'plate_holes_depth': 20.0, + + ################################### ## COLUMN OFFSETS #################################### |