|
7 | 7 | from ..plots.solid_motor_plots import _SolidMotorPlots |
8 | 8 | from ..prints.solid_motor_prints import _SolidMotorPrints |
9 | 9 | from .motor import Motor |
10 | | - |
11 | | - |
| 10 | +from ..tools import ( |
| 11 | + parallel_axis_theorem_I11, |
| 12 | + parallel_axis_theorem_I22, |
| 13 | + parallel_axis_theorem_I33, |
| 14 | + parallel_axis_theorem_I12, |
| 15 | + parallel_axis_theorem_I13, |
| 16 | + parallel_axis_theorem_I23, |
| 17 | + ) |
| 18 | +from ..mathutils.vector_matrix import Vector |
12 | 19 | class SolidMotor(Motor): |
13 | 20 | """Class to specify characteristics and useful operations for solid motors. |
14 | 21 |
|
@@ -378,16 +385,6 @@ class Function. Thrust units are Newtons. |
378 | 385 | self.propellant_I_12_from_propellant_CM = self.propellant_I_12 |
379 | 386 | self.propellant_I_13_from_propellant_CM = self.propellant_I_13 |
380 | 387 | self.propellant_I_23_from_propellant_CM = self.propellant_I_23 |
381 | | - from ..tools import ( |
382 | | - parallel_axis_theorem_I11, |
383 | | - parallel_axis_theorem_I22, |
384 | | - parallel_axis_theorem_I33, |
385 | | - parallel_axis_theorem_I12, |
386 | | - parallel_axis_theorem_I13, |
387 | | - parallel_axis_theorem_I23, |
388 | | - ) |
389 | | - from ..mathutils.vector_matrix import Vector |
390 | | - |
391 | 388 | propellant_com_func = self.center_of_propellant_mass |
392 | 389 |
|
393 | 390 | propellant_com_vector_func = Function( |
|
0 commit comments