diff options
| author | blendoit <blendoit@gmail.com> | 2019-10-07 21:14:10 -0700 |
|---|---|---|
| committer | blendoit <blendoit@gmail.com> | 2019-10-07 21:14:10 -0700 |
| commit | 1e8f2782753d70da35c2122f6d4441f94ee94ed6 (patch) | |
| tree | eac0cf710854250b4a4b5d129908eb18c774032a /example_airfoil.py | |
| parent | 76f3f92a300121f30998d60bd12b10f8c6fd0e2a (diff) | |
Subcomponent tree and Evaluator analysis
Made very good progress on component tree representation,
and Evaluator analysis method.
Diffstat (limited to 'example_airfoil.py')
| -rw-r--r-- | example_airfoil.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/example_airfoil.py b/example_airfoil.py index 2828b27..b14ed2d 100644 --- a/example_airfoil.py +++ b/example_airfoil.py @@ -62,11 +62,18 @@ spar4 = creator.wing.Spar(af2, 'spar4', 0.67) spar3.info_save() spar4.info_save() -for aircraft in eval.aircrafts: - print(aircraft) - print(aircraft.wing) - for spar in aircraft.wing.spars: - print(spar.material["name"]) +eval.tree_print() +# eval.tree_save() + +print(eval.analysis()) + +# for aircraft in eval.aircrafts: +# print(aircraft) +# print(aircraft.wing.material) +# for spar in aircraft.wing.spars: +# print(spar, f"is made out of: {spar.material['name']}") + +# ac.info_print() # eval.info_print(2) |