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?
Model customization
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Model customization
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
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