Path: Common/MassProperties
% Computes a mass properties data structure from an obj file. This assumes that the solid is simple without holes. Type MassPropertiesSolidObjFile for sphere and box examples. -------------------------------------------------------------------------- Form: [m, vol] = MassPropertiesSolidObjFile( fileName, mass, scale ) -------------------------------------------------------------------------- ------ Inputs ------ fileName (1,:) File name or data structure mass (1,1) Mass (default is 1) scale (1,1) Scale factor ------- Outputs ------- m (1,1) Mass data structure .mass (1,1) Mass .cM (3,1) Center-of-mass .inertia (3,3) Inertia matrix vol (1,1) Volume --------------------------------------------------------------------------
AerospaceUtils: CAD/LoadCAD Common: ComponentModels/Box Common: General/DispWithTitle Common: MassProperties/Inertias Common: MassProperties/MassPropertiesTetrahedron
Back to the Common Module page