Path: AerospaceUtils/ComponentModels
% Get vertices and faces for a thruster CAD component.
This is a box for the thruster body and a cone for the plume.
------ dExit - / \
\ / |
\ / l | uPlume
\/
-
Type ThrusterPatch for a demo.
--------------------------------------------------------------------------
Form:
[v, f] = ThrusterPatch( uPlume, dExit, l, n, hasBox )
--------------------------------------------------------------------------
------
Inputs
------
uPlume (3,:) Unit vector for plume
dExit (1,1) Nozzle exit diameter
l (1,1) Nozzle length
n (1,1) Number of divisions
hasBox (1,1) Puts a box at the base
-------
Outputs
-------
v (:,3) Vertices
f (:,3) Faces
--------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: ComponentModels/Box Common: General/DeBlankLT Common: General/Watermark Common: Graphics/DrawVertices Common: Graphics/NewFig Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Q2Mat Common: Quaternion/QTForm Common: Quaternion/U2Q Math: Geometry/Perpendicular Math: Linear/Cross Math: Linear/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit
Back to the AerospaceUtils Module page