CreateBody:

Path: AerospaceUtils/CAD

% Create a body with hinge data.   

   param = CreateBody( 'parameters' ) Lists all parameters
   m     = CreateBody( 'make', 'name', 'thename', val1, ..., paramN, valN)

 Creates the data structure for the body using the parameter pairs
 param1,val1 through paramN,valN. m can be input to BuildCADModel.

 Note that the parameter 'mass' may be a mass structure.
 The 'component' and 'path' fields will be added by BuildCADModel.
--------------------------------------------------------------------------
   Form:
   m = CreateBody( action, varargin )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action         (1,:)   Action 'parameters', 'make'
   varargin       (:,:)   Parameter pairs

   -------
   Outputs
   -------
   m               (.)    Body data structure
                           .previousBody
                           .rHinge
                           .bHinge
                           .name
                           .mass

--------------------------------------------------------------------------
   See also: BHinge
--------------------------------------------------------------------------

Children:

AerospaceUtils: CAD/GenericProperties
Common: GUIs/MessageQueue
Common: General/DeleteCell

Back to the AerospaceUtils Module page