Binary .vtp files to ascii for geometry files
Posted: Tue Mar 22, 2022 9:48 am
Hi! I'm trying to convert a few geometry files used in the MoBL-ARMS model (https://simtk.org/projects/upexdyn) from binary to ascii format.
For background, when I try to open some of the bones used in the MoBL-ARMS model (in OpenSim 4.0+), I get an error that only ASCII format is accepted. (Screenshot attached.)
I'm trying to run vtpbinary2ascii.py (more info here: https://github.com/opensim-org/opensim-models/issues/38) to convert the bones that are in binary to ASCII, but am running into a Python issue. When I try to run this vtpbinary2ascii.py script, I get an error that says "no module named vtk." How do I go about installing the vtk module? I'm brand new to Python, so I'm not sure how to access this vtk module to get the vtpbinary2ascii.py working?
Thanks! If any other info would be helpful, let me know & I'm happy to share
Katie
For background, when I try to open some of the bones used in the MoBL-ARMS model (in OpenSim 4.0+), I get an error that only ASCII format is accepted. (Screenshot attached.)
I'm trying to run vtpbinary2ascii.py (more info here: https://github.com/opensim-org/opensim-models/issues/38) to convert the bones that are in binary to ASCII, but am running into a Python issue. When I try to run this vtpbinary2ascii.py script, I get an error that says "no module named vtk." How do I go about installing the vtk module? I'm brand new to Python, so I'm not sure how to access this vtk module to get the vtpbinary2ascii.py working?
Thanks! If any other info would be helpful, let me know & I'm happy to share
Katie