FullBodyModel ribcage missing

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
malin m
Posts: 5
Joined: Sun Aug 20, 2023 5:36 am

FullBodyModel ribcage missing

Post by malin m » Sun Dec 10, 2023 5:50 am

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!

Tags:

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

Re: FullBodyModel ribcage missing

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

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

User avatar
malin m
Posts: 5
Joined: Sun Aug 20, 2023 5:36 am

Re: FullBodyModel ribcage missing

Post by malin m » Tue Dec 12, 2023 6:37 am

Thank you so much for your help. It works really well this way.

POST REPLY