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: Graphics/DrawVertices Common: Quaternion/Q2Mat Common: Quaternion/U2Q
Back to the AerospaceUtils Module page