Model customization

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Guido Resmini
Posts: 2
Joined: Mon Oct 09, 2023 2:49 am

Model customization

Post by Guido Resmini » Mon Dec 11, 2023 7:49 am

Hi everybody!
I'm trying to customize the Dynamic Arm Simulator (https://simtk.org/projects/das) model with some patient-specific geometries I exported from 3D Slicer (and maintaining only the scapula, the clavicle and the humerus). When I export the .vtp files and I try to open them on OpenSim, the bones are shifted,
https://drive.google.com/file/d/1TTSDJX ... sp=sharing
while opening them on other programmes such as ParaView the position is correct. Can anybody explain me why or suggest me how to translate the bones modifying the model script?

Tags:

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

Re: Model customization

Post by Ayman Habib » Mon Dec 11, 2023 10:56 am

Hi Guido,

Built into the mesh files are some assumptions:
1. Units: looking at the mesh alone is not enough, it's rather how it's scaled relative to the rest of the model.
2. CS: coordinate system and origin location
I'd recommend you look at a version of the model that display correctly and make sure you maintain the units and origin/CS when saving your meshes in Slicer.

Note also that you can change the transform of a mesh (translation, rotation, scale) within the model .osim file directly and/or OpenSim GUI.

Hope this helps,
-Ayman

POST REPLY