Scripting in the GUI

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Martin Hora
Posts: 3
Joined: Fri Sep 27, 2013 4:10 am

Scripting in the GUI

Post by Martin Hora » Mon Aug 03, 2020 9:20 am

Dear OpenSim community,

I am trying to learn how to run simulations using scripting in the GUI, but I cannot find many script examples. Could you please point me to or share example scripts which include RRA, Static Optimization and Joint Reaction Analysis?

I could not find such examples in the scripts provided with the OpenSim installation nor at the internet. It seems that everybody is using Matlab or Python for automatic processing...

Thank you in advance for your help.

Best
Martin

Tags:

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

Re: Scripting in the GUI

Post by Ayman Habib » Thu Aug 06, 2020 3:52 pm

Hello,

The GUI scripts folder, installed in the Resources folder (e.g. Documents/OpenSim/4.1) under Code/GUI has multiple examples, they leverage GUI functionality to load models and make plots as well but you can do without these if only interested in batch processing. In particular check the scripts:
- runTutorialThree.py
- runMultipleIKTrials.py

and let us know if you continue to have questions.

Best regards,
-Ayman

POST REPLY