Path: AerospaceUtils/CAD
% Rotates and scalea� an obj file name.obj. Writes the new file into the file name_R.obj. After rotation delta is subtracted from the rotated vertex positions i.e. v = scale*( b*v - delta). If file is empty it will open a dialog box. -------------------------------------------------------------------------- Form: RotateOBJFile( file, path, b, scale, delta, flipNormal ) -------------------------------------------------------------------------- ------ Inputs ------ file (1,:) Filename path (1,:) Path to the file b (3,3) Transformation matrix scale (1,1) Optional scale factor for the model delta (3,1) Unscaled offset applied before scaling and after rotation flipNormal (1,1) If entered flip normal sign ------- Outputs ------- None --------------------------------------------------------------------------
AerospaceUtils: CAD/LoadCAD Common: General/StringToTokens
Back to the AerospaceUtils Module page