Manually Modifying a jnt file

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

Manually Modifying a jnt file

Post by Gregory Philips » Wed May 25, 2011 8:05 am

I would like to modify a jnt file. Specifically I would like to manually enter the length of the bones, the moments of inertia and the masses.

I have found where to input the mass. However if I want to define the center of mass as a certain distance away from one end of the bone where to I make the change? In the joints section?

And similarly where do you modify the lengths of the bones?

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: Manually Modifying a jnt file

Post by Gregory Philips » Wed May 25, 2011 11:17 am

I want to manually enter these values as they change from subject to subject. And since there is no simple way to scale between subjects it makes sense to manually alter the length of the bones, the masses and center of mass.

User avatar
Ayman Habib
Posts: 2255
Joined: Fri Apr 01, 2005 12:24 pm

RE: Manually Modifying a jnt file

Post by Ayman Habib » Wed May 25, 2011 11:58 pm

Hi Gregory,

jnt files are SIMM's (not OpenSim) so I'd suggest you contact SIMM's customer support for questions regarding them.

As to OpenSim, you can still use the scaling tool to scale segments without using markers if you use the Manual scaling option then you can type in how much you want to scale each segment and OpenSim will take care of scaling the mass properties, com and muscle attachment points etc. for you. Please consult the user guide or let me know if you need help following this route.

Good luck,
-Ayman

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: Manually Modifying a jnt file

Post by Gregory Philips » Thu May 26, 2011 5:47 am

Thank you Ayman. I will do that. And for the remaining changes it is simpler to do it in the .osim file.

I had a question relating to the axes of individual components. I have set their visibility to on so that I can see them. I just wanted to know if the axes in the same direction are the same colour. I mean if the model has x in red, y in green and z in blue, will the individual components' axes also be of the same colour.

User avatar
Ayman Habib
Posts: 2255
Joined: Fri Apr 01, 2005 12:24 pm

RE: Manually Modifying a jnt file

Post by Ayman Habib » Thu May 26, 2011 10:01 am

Hi Gregory,

The colors for body/joint axes are:
yellow for Y, red for X and green for Z

We should be more consistent since these are not the same colors we use for World Coordinate system (RGB for XYZ).

Sorry about the confusion,
-Ayman

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: Manually Modifying a jnt file

Post by Gregory Philips » Thu May 26, 2011 10:46 am

Thank you Ayman for clearing that up.

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: Manually Modifying a jnt file

Post by Gregory Philips » Fri May 27, 2011 7:49 am

I am trying to use the manual scaling. However in order to scale the model either up or down, I need to know what the initial values were. And the paper that Dr. Kate Saul has provided only provides length properties for the muscles.

User avatar
Gregory Philips
Posts: 33
Joined: Thu Aug 07, 2008 12:49 am

RE: Manually Modifying a jnt file

Post by Gregory Philips » Fri May 27, 2011 8:48 am

I tried creating markers of my own. However when I try to manually input the length between the markers (I have them calculates), it will not permit me and says that the values are not found on file.

User avatar
Ayman Habib
Posts: 2255
Joined: Fri Apr 01, 2005 12:24 pm

RE: Manually Modifying a jnt file

Post by Ayman Habib » Tue May 31, 2011 10:26 am

Hi Gregory,

If you want to use manual scaling, you select the bodies on the "Scale Factors" page of the Scale Tool, and enter the scale factors you computed. You will not be prompted for anything to do with markers (just make sure you don't select to Adjust Model Markers on the settings page of the scale tool).

Hope this helps,
-Ayman

POST REPLY