Exporting from OpenSim
Posted: Tue Jul 19, 2022 3:45 am
Hi.
I'm trying to export the OpenSIM model in the gait2392_simbody.osim file that comes with the installation.
There is no easy-to-use export option for some reason, nor one for import. How old is OpenSIM?
I found this for exporting: https://github.com/prnthp/opensim-stl-export
But I have trouble, though maybe that's just me since I don't know Python.
I put in the codes/CMD-commands as stated on GitHub, but then I get this error when actually attempting the conversion:
Would appreciate any help.
EDIT: I'm fully aware the .OSIM files don't actually have any 3D data in there, and just tell the program how and what to draw.
I'm trying to export the OpenSIM model in the gait2392_simbody.osim file that comes with the installation.
There is no easy-to-use export option for some reason, nor one for import. How old is OpenSIM?
I found this for exporting: https://github.com/prnthp/opensim-stl-export
But I have trouble, though maybe that's just me since I don't know Python.
I put in the codes/CMD-commands as stated on GitHub, but then I get this error when actually attempting the conversion:
Code: Select all
(opensin) C:\Users\<name>\opensim-stl-export-master>python exportSTL.py gait2392_simbody.osim -o C:\Users\<name>
Traceback (most recent call last):
File "exportSTL.py", line 1, in <module>
import opensim as osim
ImportError: No module named opensim
EDIT: I'm fully aware the .OSIM files don't actually have any 3D data in there, and just tell the program how and what to draw.