diff options
Diffstat (limited to 'src/generate_configuration.py')
-rw-r--r-- | src/generate_configuration.py | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/src/generate_configuration.py b/src/generate_configuration.py index c6ed586..c38f397 100644 --- a/src/generate_configuration.py +++ b/src/generate_configuration.py @@ -10,7 +10,7 @@ r2d = 180 / pi shape_config = { - 'ENGINE': 'solid', # 'solid' = solid python / OpenSCAD, 'cadquery' = cadquery / OpenCascade + 'ENGINE': 'cadquery', # 'solid' = solid python / OpenSCAD, 'cadquery' = cadquery / OpenCascade # 'ENGINE': 'cadquery', # 'solid' = solid python / OpenSCAD, 'cadquery' = cadquery / OpenCascade @@ -21,16 +21,17 @@ shape_config = { 'save_dir': '.', 'config_name': "DM", - 'show_caps': 'MX', + 'show_caps': None, + #'show_caps': 'MX',# 'show_pcbs': False, #only runs if caps are shown, easist place to initially inject geometry - 'nrows': 5, #5, # key rows - 'ncols': 6, #6, # key columns + 'nrows': 3, #5, # key rows + 'ncols': 5, #6, # key columns 'alpha': pi / 12.0, # curvature of the columns 'beta': pi / 36.0, # curvature of the rows - 'centercol': 3, # controls left_right tilt / tenting (higher number is more tenting) - 'centerrow_offset': 3, # rows from max, controls front_back tilt + 'centercol': 4, # controls left_right tilt / tenting (higher number is more tenting) + 'centerrow_offset': 1, # rows from max, controls front_back tilt 'tenting_angle': pi / 12.0, # or, change this for more precise tenting control # symmetry states if it is a symmetric or asymmetric bui. If asymmetric it doubles the generation time. @@ -38,7 +39,7 @@ shape_config = { 'column_style_gt5': "orthographic", 'column_style': "standard", # options include :standard, :orthographic, and :fixed - 'reduced_inner_cols': 2, #currently supports 0 or 2 due to thumb cluster attachment + 'reduced_inner_cols': 0, #currently supports 0 or 2 due to thumb cluster attachment 'reduced_outer_cols': 0, @@ -62,10 +63,10 @@ shape_config = { ############################## # 'DEFAULT' 6-key, 'MINI' 5-key, 'CARBONFET' 6-key, 'MINIDOX' 3-key, 'TRACKBALL_ORBYL', 'TRACKBALL_CJ' - 'thumb_style': 'DEFAULT', + 'thumb_style': 'MINIDOX', 'default_1U_cluster': True, # only used with default, makes top right thumb cluster key 1U # Thumb key size. May need slight oversizing, check w/ caps. Additional spacing will be automatically added for larger keys. - 'minidox_Usize': 1.6, + 'minidox_Usize': 1.7, # Thumb plate rotations, anything other than 90 degree increments WILL NOT WORK. 'mini_index_key': True, @@ -273,7 +274,7 @@ shape_config = { # 'SLIDING' = Features to slide the OLED in place and use a pin or block to secure from underneath. # 'CLIP' = Features to set the OLED in a frame a snap a bezel down to hold it in place. - 'oled_mount_type': 'CLIP', + 'oled_mount_type': 'NONE', 'oled_center_row': 1.25, # if not None, this will override the oled_mount_location_xyz and oled_mount_rotation_xyz settings 'oled_translation_offset': (0, 0, 4), # Z offset tweaks are expected depending on curvature and OLED mount choice. 'oled_rotation_offset': (0, 0, 0), @@ -383,7 +384,7 @@ shape_config = { # 'USB_TEENSY' = Teensy holder, no RJ9 # 'EXTERNAL' = square cutout for a holder such as the one from lolligagger. # 'NONE' = No openings in the back. - 'controller_mount_type': 'EXTERNAL', + 'controller_mount_type': 'RJ9_USB_TEENSY', 'external_holder_height': 12.5, 'external_holder_width': 28.75, @@ -460,9 +461,10 @@ shape_config = { 'column_offsets': [ [0, 0, 0], [0, 0, 0], - [0, 2.82, -4.5], - [0, 0, 0], - [0, -6, 5],# REDUCED STAGGER + [-1.0, 2.82, -4], + [-1.0, 2.0, -2], # XXX 3rd finger adjustment + # [0, 0, 0], + [0, -6, 4],# REDUCED STAGGER [0, -6, 5],# REDUCED STAGGER [0, -6, 5],# NOT USED IN MOST FORMATS (7th column) ], |