summaryrefslogtreecommitdiff
path: root/src/generate_configuration.py
diff options
context:
space:
mode:
authorJoshua Shreve <j.a.shreve@gmail.com>2021-07-07 21:11:14 -0400
committerJoshua Shreve <j.a.shreve@gmail.com>2021-07-07 21:11:14 -0400
commit7f9e6386a5b7c0c30cacb1c963fdd676645f0637 (patch)
tree0c873c623407162680b340256160150db9a4b94f /src/generate_configuration.py
parentddc52e6dce23404fc6a4a76417cf6bf92ef4d5e7 (diff)
Temporary version as the cadquery and solid python versions are merged by use of helper functions. Added a screw to the thumb cluster. Cadquery baseplate now has counterbores and actual solid geometry that is autogenerated, which is not possible in solid/OpenSCAD by the current methodology as it requires finding and extruding edges.
Diffstat (limited to 'src/generate_configuration.py')
-rw-r--r--src/generate_configuration.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/generate_configuration.py b/src/generate_configuration.py
index a9db285..3f5cd4f 100644
--- a/src/generate_configuration.py
+++ b/src/generate_configuration.py
@@ -47,7 +47,7 @@ shape_config = {
'pinky_1_5U': False, # LEAVE AS FALSE, CURRENTLY BROKEN
'first_1_5U_row': 0,
'last_1_5U_row': 5,
- 'thumb_style': 'MINI', #'DEFAULT', 'MINI', 'CARBONFET'
+ 'thumb_style': 'DEFAULT', #'DEFAULT', 'MINI', 'CARBONFET'
##############################
@@ -213,6 +213,19 @@ shape_config = {
# Offset is from the top inner corner of the top inner key.
+ ###################################
+ ## Bottom Plate Dimensions
+ ###################################
+ # COMMON DIMENSION
+ 'screw_hole_diameter': 2,
+ # USED FOR CADQUERY ONLY
+ 'base_thickness': 3.0, # thickness in the middle of the plate
+ 'base_offset': 3.0, # Both start flat/flush on the bottom. This offsets the base up (if positive)
+ 'base_rim_thickness': 5.0, # thickness on the outer frame with screws
+ 'screw_cbore_diameter': 4.0,
+ 'screw_cbore_depth': 2.0,
+
+ # Offset is from the top inner corner of the top inner key.
###################################
## COLUMN OFFSETS