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: CommonData/SwooshWatermark Common: ComponentModels/Box Common: ComponentModels/Frustrum 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