Date: Tue, 19 Mar 2024 00:49:49 -0700 (PDT)
Message-ID: <778079836.419.1710834589938@simtk-confluence.stanford.edu>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_418_2114638114.1710834589937"
------=_Part_418_2114638114.1710834589937
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
Scripting allows you to access OpenSim's functionality through t=
he following programming languages:
- The scripting shell in the OpenSim GUI (which is a Jython interpreter e=
mbedded in the application)
- Matlab
- Python
In other words, you can access OpenSim's Application Programming Interfa=
ce without compiling your code in C++.
What's available?
With OpenSim scripting, you can:
Limitations
- In general, you cannot create new components (e.g., a custom muscle; th=
ough there are some exceptions).
- You cannot create plugins for use through the GUI or command-line.=
- In Matlab/Python, there=E2=80=99s no access to OpenSim's plotter (use M=
atlab/Python native plotter) or visualizer (use the Simbody visualizer).
- Many SimTK/Simbody classes (that belong to the SimTK namespace and simb=
ody internals) are not available (e.g., integrators).
The sections below outline how to get started with scripting and describe t=
he available functionality.
------=_Part_418_2114638114.1710834589937--