Nozzle2D:

Path: AerospaceUtils/ComponentModels

% Get vertices and faces for a 2D Nozzle CAD model. 
 The front and back are rounded rectangles specified by the length and
 width and a corner radius.

 Type Nozzle2D for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f] = Nozzle2D( front, back, l, nZ, nC )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   front       (.)  Data structure
                    .a   (1,1) x width
                    .b   (1,1) y width
                    .r   (1,1) corner radius
   back        (.)  Data structure
                    .a   (1,1) x width
                    .b   (1,1) y width
                    .r   (1,1) corner radius
   l          (1,1) Length
   nZ         (1,1) Number of z divisions
   nC         (1,1) Number of corner divisions

   -------
   Outputs
   -------
   v          (:,3)  Vertices
   f          (:,3)  Faces

--------------------------------------------------------------------------
 See also: RoundedRectangle, Extrude
--------------------------------------------------------------------------

Children:

AerospaceUtils: ComponentModels/RoundedRectangle
Common: ComponentModels/Extrude
Common: Graphics/DrawVertices

Back to the AerospaceUtils Module page