From 8202fe7e323b3f2ade911a828d4737b6ab34689f Mon Sep 17 00:00:00 2001 From: blendoit Date: Sun, 6 Oct 2019 15:14:53 -0700 Subject: Before Evaluator in-depth rewrite --- example_airfoil.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'example_airfoil.py') diff --git a/example_airfoil.py b/example_airfoil.py index 0709734..e5e586d 100644 --- a/example_airfoil.py +++ b/example_airfoil.py @@ -42,9 +42,9 @@ NOSE_BOTTOM_STRINGERS = 5 SAVE_PATH = '/home/blendux/Projects/Aircraft_Studio/save' -eval = evaluator.Evaluator +eval = evaluator.Evaluator() # Create aircraft instance -ac = creator.base.Aircraft(eval) +ac = creator.base.Aircraft(eval, "ac") # Create airfoil instance af = creator.wing.Airfoil(ac, 'af') af.add_naca(NACA_NUM) @@ -59,6 +59,9 @@ af.spar2 = creator.wing.Spar(af, 'spar2', 0.57) af.spar1.info_save() af.spar2.info_save() +eval.update() +# eval.info_print(2) + # # Create stringer instance # af.stringer = wing.Stringer() # # Compute the stringer coordinates from their quantity in each zone -- cgit v1.2.3