summaryrefslogtreecommitdiff
path: root/src/generate_configuration.py
diff options
context:
space:
mode:
authorJoshua Shreve <j.a.shreve@gmail.com>2021-07-16 20:53:57 -0400
committerJoshua Shreve <j.a.shreve@gmail.com>2021-07-16 20:53:57 -0400
commit2308d88617e77cf58414d01694de523970e60996 (patch)
tree46f4fec3a016600a3d7b4faab3daa81ef3da4a86 /src/generate_configuration.py
parent3e15f8564a959c0dbe73f2e71d1c916c62eb3aea (diff)
Added docker capabilities and profile including batch file execution. If there is expressed interest I can add a linux .sh file as well to simplify image and container/app creation. Also, minor fixes on print outputs regarding imports/exports.
Diffstat (limited to 'src/generate_configuration.py')
-rw-r--r--src/generate_configuration.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/generate_configuration.py b/src/generate_configuration.py
index b7344f2..2c2d7e7 100644
--- a/src/generate_configuration.py
+++ b/src/generate_configuration.py
@@ -29,7 +29,7 @@ shape_config = {
'centerrow_offset': 3, # 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 build. If asymmetric it doubles the generation time.
+ # symmetry states if it is a symmetric or asymmetric bui. If asymmetric it doubles the generation time.
'symmetry': "symmetric", # "asymmetric" or "symmetric"
'column_style_gt5': "orthographic",
@@ -278,6 +278,7 @@ shape_config = {
####################################
def save_config():
+ print("Saving Configuration")
with open('run_config.json', mode='w') as fid:
json.dump(shape_config, fid, indent=4)
@@ -295,5 +296,5 @@ def update_config(fname, fname_out=None):
if __name__ == '__main__':
save_config()
- from dactyl_manuform import *
- run() \ No newline at end of file
+ # from dactyl_manuform import *
+ # run() \ No newline at end of file