CombineOBJFiles:

--------------------------------------------------------------------------
   Combines obj files and writes a new file.
   Creates both an obj file and mtl file. Don't enter the suffixes.
   Enter xxx not xxx.obj.
   The vertices may be rotated and translated.
   After rotation delta is subtracted
   from the rotated vertex positions i.e. v = b*v - delta.
   You must do a clear all prior to using this function if you have
   run it before.
--------------------------------------------------------------------------
   Form:
   CombineOBJFiles( file, fileNew, b, scale, delta, flip )
--------------------------------------------------------------------------

   ------
   Inputs
   ------

   file              {n}(1,:) Filenames
   fileNew           (1,:)    New model file
   b                 {:}(3,3) Transformation matrices
   scale             (1,n) Optional scale factor for the model
   delta             (3,n) Offset applied after scaling and rotation
   flip              (1,n) 1 if flip faces

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

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

Children:

Common: CAD/LoadCAD