diff options
| author | Marius Peter <blendoit@gmail.com> | 2019-06-11 15:44:11 -0700 | 
|---|---|---|
| committer | Marius Peter <blendoit@gmail.com> | 2019-06-11 15:44:11 -0700 | 
| commit | 789a7bc926d498d881bae7be8f36caceec8f1558 (patch) | |
| tree | 0d38fc5c30b03a047e6f5547ac8dc7e9ef3a75c3 | |
| parent | 11fc2c163f2d772c85825b3241f62ee0bd792799 (diff) | |
chord length
| -rw-r--r-- | main.py | 7 | 
1 files changed, 4 insertions, 3 deletions
@@ -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))  |