Path: CubeSat/Utilities
% Load a Wavefront OBJ file. The file can have an associated .mtl file.
If you call the function with no outputs it will draw the model. If you
call the function with no inputs you can select a file using the dialog
box.
--------------------------------------------------------------------------
Form:
g = LoadOBJModel( file, path, kScale )
--------------------------------------------------------------------------
------
Inputs
------
file (1,:) Filename
path (1,:) Path to the file
kScale (1,1) Optional scale factor of the model
-------
Outputs
-------
g (.) Data structure
.name (1,:) Model name
.component (:) Component structure
.radius (1,1)
--------------------------------------------------------------------------
AerospaceUtils: CAD/CreateComponent Common: General/StringToTokens Common: Graphics/NewFig Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Math: Linear/Mag
Back to the CubeSat Module page