Page 1 of 1

Scaling Inertial Properties

Posted: Tue Jun 30, 2020 8:08 am
by mh95
Hello,

I was just wondering how the new inertial properties are calculated during scaling. There's only a description for the scaling of the new mass in "Step 3 - Scaling Mass and Inertial Properties" in the "How Scaling Works" section (https://simtk-confluence.stanford.edu/d ... ling+Works) but I can't find anything for the inertial properties, neither in the documentation nor in the source code.

Does anyone have a clue which formulas are used for the scaled inertial properties or where I can find further information on this subject?

Thanks and kind regards,

Michael

Re: Scaling Inertial Properties

Posted: Tue Jun 30, 2020 11:28 am
by tkuchida
You should be able to follow the code (it's commented). Please see the Model::scale() method (https://github.com/opensim-org/opensim- ... .cpp#L1489) and Body::scaleInertialProperties() method (https://github.com/opensim-org/opensim- ... y.cpp#L206).

Re: Scaling Inertial Properties

Posted: Wed Jul 01, 2020 7:48 am
by mh95
Hello Thomas,

that's exactly what I've been looking for.

Thank you very much!

Michael