Path: AerospaceUtils/ComponentModels
% Get CAD vertices and faces for a thruster model.
This is a cylinder for the thruster body and a cone for the plume. Leave out
the last three inputs to draw only the plume.
------ dExit - / \
\ / |
\ / l | uPlume
\/
-
Type ThrusterCAD for a demo.
--------------------------------------------------------------------------
Form:
[v, f] = ThrusterCAD( uPlume, dExit, l, n, rC, lC, lOC )
--------------------------------------------------------------------------
------
Inputs
------
uPlume (3,1) Unit vector for the plume
dExit (1,1) Nozzle exit diameter
l (1,1) Nozzle length
n (1,1) Number of divisions, optional, default 20
rC (1,1) Radius of interface cylinder, optional
lC (1,1) Length of interface cylinder, optional
lOC (1,1) Offset of interface cylinder, optional
-------
Outputs
-------
v (:,3) Vertices
f (:,3) Faces
--------------------------------------------------------------------------
Common: ComponentModels/Frustrum Common: Graphics/DrawVertices Common: Quaternion/Q2Mat Common: Quaternion/U2Q
Back to the AerospaceUtils Module page