build/modify osim file using OpenSim SDK
Posted: Wed Oct 13, 2010 11:39 am
Ayman,
(from the previous post in 'osim file documentation').
I was able to read in an existing osim file (UpperLowerBody.osim by Delp et al)and add new body to it (l4 and l5 vertebrae). I removed the hat_spine.vtp from the thorax body (in Notepad). I want to split the spine in to upper spine, which I will add back to the thorax body, and the lower spine which contain the lumbar vertebrae (L1-L5). I want to connect each lumbar vertebrae with each other with ball joint and L5 connects to pelvis and L1 connects to the modified thorax. Right now L5 connects to ground and L4 connects to L5. But L4 does not seem to be connected to L5 when I load the model in OpenSim. I am not able to find a way to get the Body objects from the model so that I can use that information to create BallJoints between the new body and the existing body. Can you suggest me how that could be done. Is there a way I can upload the cpp file I have right now for you to take a look?
Thanks,
Ajay
(from the previous post in 'osim file documentation').
I was able to read in an existing osim file (UpperLowerBody.osim by Delp et al)and add new body to it (l4 and l5 vertebrae). I removed the hat_spine.vtp from the thorax body (in Notepad). I want to split the spine in to upper spine, which I will add back to the thorax body, and the lower spine which contain the lumbar vertebrae (L1-L5). I want to connect each lumbar vertebrae with each other with ball joint and L5 connects to pelvis and L1 connects to the modified thorax. Right now L5 connects to ground and L4 connects to L5. But L4 does not seem to be connected to L5 when I load the model in OpenSim. I am not able to find a way to get the Body objects from the model so that I can use that information to create BallJoints between the new body and the existing body. Can you suggest me how that could be done. Is there a way I can upload the cpp file I have right now for you to take a look?
Thanks,
Ajay