GetCADVF:

Path: AerospaceUtils/CAD

% Return a single set of vertices "v" and faces "f" for the CAD model.
 No body rotations are applied. Type GetCADVF for a demo.

 The default is to include all components in the output. To exclude those
 which are marked as 'inside' the vehicle, pass true for notInside.
--------------------------------------------------------------------------
   Form:
   [v,f] = GetCADVF( g, notInside );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g           (.)  CAD model data structure with "component" field
   notInside   (1)  Boolean to include only components that are not
                       'inside', default is false (return all components)

   -------
   Outputs
   -------
   v         (:,3)  Vertices for all components
   f         (:,3)  Faces for all components

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

Children:

AerospaceUtils: Visualization/DrawPatch
SC: SCModels/ShuttleModel
Common: Graphics/NewFig
Common: Graphics/SliderBar

Back to the AerospaceUtils Module page