ExportOBJ:

--------------------------------------------------------------------------
   Export an OBJ file. This routine will create two files. One is
   fileName.obj  - geometry data
   fileName.mtl  - material data
   fileName.cad  - other than geometry data

   If you enter a fileName the extension will be ignored.
   If you do not enter a fileName the name of the CAD model will used.
--------------------------------------------------------------------------
   Form:
   ExportOBJ( g, fileName )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g           (:,:) CAD Data structure
   fileName    (1,:) Optional file name

   -------
   Outputs
   -------
   None

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

Children:

Common: CAD/BHinge
Common: CAD/MatlabColorToObj