Unit of Opensim

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Malavika Harikrishnan
Posts: 12
Joined: Wed Mar 02, 2016 9:38 am

Unit of Opensim

Post by Malavika Harikrishnan » Tue Apr 26, 2016 6:05 am

Hello,

I am facing some trouble with units while using Opensim, While its configured to Meters the contact locations and mass center locations seem to take in cm
My model graphics are made on Inventor and all dimensions are in mm
Is there a setting to change the Opensim units or to see the units its taking in for different parameters?


Thanks in advance

User avatar
Aaron Godfrey
Posts: 55
Joined: Tue Feb 16, 2016 12:34 pm

Re: Unit of Opensim

Post by Aaron Godfrey » Thu May 05, 2016 8:08 am

When adding new bodies to your XML file for your model, you can set scale factors. Under <Body>, <VisibleObject>, <DisplayGeometry>, change the <scale_factors> value to reflect your unit conversion. So, for mm to cm, you change it so that the attribute looked like:

Code: Select all

<scale_factors> 10 10 10</scalefactors>

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Unit of Opensim

Post by jimmy d » Tue May 17, 2016 12:30 pm

All length measurement are in meters, not cm.

POST REPLY