Path: AerospaceUtils/ComponentModels
% Generates a fuselage. The fuselage centerline is along x. Fuselages may be elliposidal in crossection or be an inverted U. The latter is similar to the Space Shuttle or Hermes. Type Fuselage for a demo. -------------------------------------------------------------------------- Form: [v, f] = Fuselage( middle, front, back, type, n ) -------------------------------------------------------------------------- ------ Inputs ------ middle (.) 0 Data structure .length (1,1) Length of middle .radius (1,1) Radius (type o) .width (1,1) Width (type u) .height (1,1) Height (type u) .roof (1,1) Roof height (type u) front (.) Data structure .a (1,1) x coefficient .b (1,1) y coefficient back (.) Data structure .a (1,1) x coefficient .b (1,1) y coefficient type (1,1) 'u' or 'o' n (1,1) Number of z divisions ------- Outputs ------- v (:,3) Vertices f (:,3) Faces --------------------------------------------------------------------------
Common: ComponentModels/Extrude Common: Graphics/NewFig Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Math: Linear/Mag
Back to the AerospaceUtils Module page