diff options
author | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-05 14:16:35 -0400 |
---|---|---|
committer | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-05 14:16:35 -0400 |
commit | aa204f4d6499851488659ffae63044b389d017a7 (patch) | |
tree | fb13e10826057b53641f2da5b47b3ae899160475 /src/dactyl_manuform_cadquery.py | |
parent | 245f34162f2a5b941ddd1a22ad72598251559e03 (diff) |
Mid-change commit. Added DM mini and carbonfet thumb clusters. Still tweaking screw locations and relative OLED, etc. Commiting to share progress.
Diffstat (limited to 'src/dactyl_manuform_cadquery.py')
-rw-r--r-- | src/dactyl_manuform_cadquery.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dactyl_manuform_cadquery.py b/src/dactyl_manuform_cadquery.py index 6514353..5e1a518 100644 --- a/src/dactyl_manuform_cadquery.py +++ b/src/dactyl_manuform_cadquery.py @@ -18,6 +18,12 @@ def rad2deg(rad: float) -> float: debug_exports = False +## IMPORT DEFAULT CONFIG IN CASE NEW PARAMETERS EXIST +import src.generate_configuration as cfg +for item in cfg.shape_config: + locals()[item] = cfg.shape_config[item] + +## LOAD RUN CONFIGURATION FILE with open('run_config.json', mode='r') as fid: data = json.load(fid) for item in data: |