summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-11 15:44:11 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-11 15:44:11 -0700
commit789a7bc926d498d881bae7be8f36caceec8f1558 (patch)
tree0d38fc5c30b03a047e6f5547ac8dc7e9ef3a75c3
parent11fc2c163f2d772c85825b3241f62ee0bd792799 (diff)
chord length
-rw-r--r--main.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.py b/main.py
index a8ff551..84f9d17 100644
--- a/main.py
+++ b/main.py
@@ -21,7 +21,7 @@ import random
import time
start_time = time.time()
-CHORD_LENGTH = 200
+CHORD_LENGTH = 100
SEMI_SPAN = 200
POP_SIZE = 1
@@ -58,8 +58,9 @@ def main():
creator.plot(af, af.spar, af.stringer)
# Save component coordinates
- # af.save_coord(SAVE_PATH)
- # af.spar.save_coord(SAVE_PATH)
+ af.save_coord(SAVE_PATH)
+ af.spar.save_coord(SAVE_PATH)
+ af.stringer.save_coord(SAVE_PATH)
# Print final execution time
print("--- %s seconds ---" % (time.time() - start_time))
Copyright 2019--2024 Marius PETER