File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -61,25 +61,20 @@ def from_rocket_model(cls, rocket: RocketView) -> Self:
6161 # NoseCone
6262 if rocket .nose :
6363 nose = cls .get_rocketpy_nose (rocket .nose )
64- rocketpy_rocket .aerodynamic_surfaces .add (nose , nose .position )
65- rocketpy_rocket .evaluate_static_margin ()
64+ rocketpy_rocket .add_surfaces (nose , nose .position )
6665
6766 # FinSet
6867 if rocket .fins :
6968 rocketpy_finset_list = cls .get_rocketpy_finset_list_from_fins_list (
7069 rocket .fins
7170 )
7271 for finset in rocketpy_finset_list :
73- rocketpy_rocket .aerodynamic_surfaces .add (
74- finset , finset .position
75- )
76- rocketpy_rocket .evaluate_static_margin ()
72+ rocketpy_rocket .add_surfaces (finset , finset .position )
7773
7874 # Tail
7975 if rocket .tail :
8076 tail = cls .get_rocketpy_tail (rocket .tail )
81- rocketpy_rocket .aerodynamic_surfaces .add (tail , tail .position )
82- rocketpy_rocket .evaluate_static_margin ()
77+ rocketpy_rocket .add_surfaces (tail , tail .position )
8378
8479 # Air Brakes
8580
You can’t perform that action at this time.
0 commit comments