diff options
author | Marius Peter <blendoit@gmail.com> | 2019-06-08 20:00:40 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-06-08 20:00:40 -0700 |
commit | 9a033eb0777c63537334c5cbff1fc6499b7f7650 (patch) | |
tree | 5707f24f190ebe885724f1d162a864bed9a05a76 /main.py | |
parent | 8595e54bd7ecc2108f8da8a084900085f83fd409 (diff) |
Fixed spar plotting
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -19,7 +19,7 @@ import random import time start_time = time.time() -CHORD_LENGTH = 40 +CHORD_LENGTH = 100 SEMI_SPAN = 200 POP_SIZE = 1 @@ -41,7 +41,8 @@ def main(): # Create spar instance af.spar = creator.Spar() # Define the spar coordinates - af.spar.add_spar(af.coordinates, 'aluminium', 0.15) + af.spar.add_spar(af.coordinates, 0.15) + af.spar.add_spar(af.coordinates, 0.55) # Print coordinates of af.spar to terminal af.spar.print_coord(4) # Plot components with matplotlib |