DrawCAD:

Path: Common/Graphics

% Draw a CAD model stored in the toolbox CAD format. 
 Can be loaded from LoadCAD or made from BuildCADModel. This function
 draws the components only without applying any body rotations. Phong
 lighting is used. Black is used for all edges.

 Type DrawCAD for a demo loading a dxf file.
--------------------------------------------------------------------------
   Form:
   h = DrawCAD( g, drawNormals, scale )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g           (.)    CAD model data structure
   drawNormals (1)    Draw normals for all outside components
   scale       (1,1)  Scale factor for the quiver arrows (default 1)

   -------
   Outputs
   -------
   h     (1,:)  Handles to patch objects 

--------------------------------------------------------------------------
   See also LoadCAD, patch
--------------------------------------------------------------------------

Children:

AerospaceUtils: CAD/LoadCAD
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS

Back to the Common Module page