summaryrefslogtreecommitdiff
path: root/src/model_builder.py
diff options
context:
space:
mode:
authorJoshua Shreve <j.a.shreve@gmail.com>2021-07-08 22:05:34 -0400
committerJoshua Shreve <j.a.shreve@gmail.com>2021-07-08 22:05:34 -0400
commite3bf24d17cdbda9ace5dbcae257c5c856ef984d9 (patch)
tree6bcfbc6741f47feac4faad63a59011001fc3da82 /src/model_builder.py
parent7746b122ed99c5e31e8334d26817e4c00ac76560 (diff)
Added helper files to remove the cadquery / solid python helpers from the main file. Improved notch and added holes around key plate for mounting. Still WIP, but should be functional.
Diffstat (limited to 'src/model_builder.py')
-rw-r--r--src/model_builder.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/model_builder.py b/src/model_builder.py
index 21bb325..f181655 100644
--- a/src/model_builder.py
+++ b/src/model_builder.py
@@ -118,17 +118,9 @@ for config in configurations:
with open('run_config.json', mode='w') as fid:
json.dump(shape_config, fid, indent=4)
- for ENGINE in ['solid', 'cadquery']:
- if ENGINE == 'solid':
- if init:
- import src.dactyl_manuform_solid as dactyl_manuform
- else:
- importlib.reload(dactyl_manuform)
-
- if ENGINE == 'cadquery':
- if init:
- import src.dactyl_manuform as dactyl_manuform_cadquery
- else:
- importlib.reload(dactyl_manuform_cadquery)
+ if init:
+ import src.dactyl_manuform as dactyl_manuform
+ else:
+ importlib.reload(dactyl_manuform)
init = False