summaryrefslogtreecommitdiff
path: root/example_airfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_airfoil.py')
-rw-r--r--example_airfoil.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/example_airfoil.py b/example_airfoil.py
index aa1a5f0..6c272a2 100644
--- a/example_airfoil.py
+++ b/example_airfoil.py
@@ -42,7 +42,7 @@ NOSE_BOTTOM_STRINGERS = 5
SAVE_PATH = '/home/blendux/Projects/Aircraft_Studio/save'
-eval = evaluator.Evaluator()
+eval = evaluator.Evaluator("eval")
ac = creator.base.Aircraft(eval, "ac")
af = creator.wing.Airfoil(ac, 'af')
@@ -62,7 +62,9 @@ af2.add_naca(3412)
spar3 = creator.wing.Spar(af2, 'spar3', 0.23)
spar4 = creator.wing.Spar(af2, 'spar4', 0.67)
-eval.update()
+# eval.update_tree()
+# ac2.update_tree()
+print(ac2.tree)
# eval.info_print(2)
# # Create stringer instance
Copyright 2019--2024 Marius PETER