Page 1 of 1

FullBodyModel ribcage missing

Posted: Sun Dec 10, 2023 5:50 am
by malin33
Hi,

Whenever T try to open the FullBodyModel (Running Simulation 2010), the ribcage ist missing...(I use OpenSim 4.4)

Visualizer couldn't open hat_ribs_scap.vtp because: SimTK Exception thrown at PolygonalMesh.cpp:411:
Error detected by Simbody method PolygonalMesh::loadVtpFile(): Attempt to load a VTK PolyData (.vtp) file from file name /hat_ribs_scap.vtp' failed with message:
SimTK Exception thrown at PolygonalMesh.cpp:340:
Error detected by Simbody method PolygonalMesh::loadVtpFile(): Only format="ascii" is supported for .vtp file DataArray elements, got format="appended" for Points DataArray.
(Required condition 'pointData.getRequiredAttributeValue("format") == "ascii"' was not met.)

Has someone ever solved this problem? Thank you in advance!

Re: FullBodyModel ribcage missing

Posted: Mon Dec 11, 2023 10:42 am
by aymanh
Hi Malin,

Earlier versions of OpenSim (pre 4.0) were using code that was capable of reading binary vtp files, since we moved to 4.0 we switched to our own parsers that can only handle ascii vtp files. In most recent distributions (including 4.4) we distribute an ascii version of the same file. Assuming you don't change the mesh you can download the ascii file from github here
https://github.com/opensim-org/opensim- ... r/Geometry

Hope this helps,
-Ayman

Re: FullBodyModel ribcage missing

Posted: Tue Dec 12, 2023 6:37 am
by malin33
Thank you so much for your help. It works really well this way.