summaryrefslogtreecommitdiff
path: root/src/generate_configuration.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/generate_configuration.py')
-rw-r--r--src/generate_configuration.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/generate_configuration.py b/src/generate_configuration.py
index 024e198..9a1a698 100644
--- a/src/generate_configuration.py
+++ b/src/generate_configuration.py
@@ -10,8 +10,8 @@ r2d = 180 / pi
shape_config = {
- # 'ENGINE': 'solid', # 'solid' = solid python / OpenSCAD, 'cadquery' = cadquery / OpenCascade
- 'ENGINE': 'cadquery', # 'solid' = solid python / OpenSCAD, 'cadquery' = cadquery / OpenCascade
+ 'ENGINE': 'solid', # 'solid' = solid python / OpenSCAD, 'cadquery' = cadquery / OpenCascade
+ # 'ENGINE': 'cadquery', # 'solid' = solid python / OpenSCAD, 'cadquery' = cadquery / OpenCascade
######################
@@ -24,8 +24,8 @@ shape_config = {
'show_caps': False,
'show_pcbs': False, #only runs if caps are shown, easist place to initially inject geometry
- 'nrows': 5, #5, # key rows
- 'ncols': 3, #6, # key columns
+ 'nrows': 4, #5, # key rows
+ 'ncols': 5, #6, # key columns
'alpha': pi / 12.0, # curvature of the columns
'beta': pi / 36.0, # curvature of the rows
@@ -38,7 +38,8 @@ shape_config = {
'column_style_gt5': "orthographic",
'column_style': "standard", # options include :standard, :orthographic, and :fixed
- 'reduced_outer_keys': True,
+ 'reduced_inner_cols': 2, #currently supports 0 or 2 due to thumb cluster attachment
+ 'reduced_outer_cols': 0,
'thumb_offsets': [6, -3, 7],
@@ -67,6 +68,8 @@ shape_config = {
'minidox_Usize': 1.6,
# Thumb plate rotations, anything other than 90 degree increments WILL NOT WORK.
+ 'mini_index_key': True,
+
# Screw locations and extra screw locations for separable thumb, all from thumb origin
# Pulled out of hardcoding as drastic changes to the geometry may require fixes to the screw mounts.
# First screw in separable should be similar to the standard location as it will receive the same modifiers.