Opensense could not find vtp files.

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
soroosh bagheri
Posts: 15
Joined: Sat Jan 28, 2017 1:27 am

Opensense could not find vtp files.

Post by soroosh bagheri » Mon Jun 20, 2022 2:10 am

Hi ,
I am using the Opensense with CLI and it can not found .vtp files.
How can I set geometry search path via CLI? Or I have to user full path for mesh file node value at .osim file.
best regards.
Soroosh

Tags:

User avatar
Jacob J. Banks
Posts: 95
Joined: Tue Jul 15, 2014 5:17 am

Re: Opensense could not find vtp files.

Post by Jacob J. Banks » Tue Jun 21, 2022 8:02 am

After you call "import org.opensim.modeling.*"
Go with:
ModelVisualizer.addDirToGeometrySearchPaths('Fullpath');

It is our experience that this will need to be added to all (sub)function that call the model.

FYI: Since it is user dependent, you want to make sure others in your lab are aware of the parameters they may need to adjust (to avoid an error/can't find path).
Jake Banks

User avatar
soroosh bagheri
Posts: 15
Joined: Sat Jan 28, 2017 1:27 am

Re: Opensense could not find vtp files.

Post by soroosh bagheri » Fri Jun 24, 2022 5:39 am

Thank you for your reply. But I am using the command line, Not Python. is there any argument to set the GeometrySearchPath via Opensense.exe?

POST REPLY