UChannel:

Path: Common/ComponentModels

% Generate a box with a u cut at the +x end.
 Type UChannel for a demo. With no outputs UChannel will draw your object.
--------------------------------------------------------------------------
   Form:
   [v, f] = UChannel( x, y, z, t, d, b )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x           (1,1)  x length
   y           (1,1)  y length
   z           (1,1)  z length
   t           (1,1)  Flange thickness
   d           (1,1)  Depth of cut in x
   b           (3,3)  Transformation matrix (Default is eye(3))
   

   -------
   Outputs
   -------
   v           (16,3) Vertices
   f           (12,3) Faces

--------------------------------------------------------------------------

Children:

Common: Graphics/DrawVertices

Back to the Common Module page