From 789a7bc926d498d881bae7be8f36caceec8f1558 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Tue, 11 Jun 2019 15:44:11 -0700 Subject: chord length --- main.py | 7 ++++--- 1 file 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)) -- cgit v1.2.3