Path: AerospaceUtils/ComponentModels
% Get CAD vertices and faces for a simple fuselage.
5 4
------------------ ^ +z
| \ 3 |
| / |
----------------- ---------> +x +y into the paper
1 2
The origin is in the middle of the bottom.
Type SimpleFuselage for a demo.
--------------------------------------------------------------------------
Form:
[v, f] = SimpleFuselage( w, lMiddle, lTop, h, zM )
--------------------------------------------------------------------------
------
Inputs
------
w (1,1) y width
lBottom (1,1) x length at the bottom
lTop (1,1) x length
h (1,1) z height
zM (1,1) Height of middle point
-------
Outputs
-------
v ( 8,3) Vertices
f (12,3) Faces
--------------------------------------------------------------------------
Common: Graphics/DrawVertices
Back to the AerospaceUtils Module page