summaryrefslogtreecommitdiff
path: root/src/dactyl_manuform_cadquery.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dactyl_manuform_cadquery.py')
-rw-r--r--src/dactyl_manuform_cadquery.py6
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: