Python sample code to follow

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Houssem Mejbri
Posts: 1
Joined: Fri Mar 15, 2024 3:14 am

Python sample code to follow

Post by Houssem Mejbri » Tue Apr 16, 2024 2:18 am

Hi, I'm new to opensim and the python API and I'm trying to follow the documentation but I found it a little complicated. If anyone can provide a sample code on github that I can follow it will be much appreciated. What I'm trying to do is load a .osim model then apply scaling and IK.

Tags:

User avatar
Carmichael Ong
Posts: 380
Joined: Fri Feb 24, 2012 11:50 am

Re: Python sample code to follow

Post by Carmichael Ong » Thu Apr 25, 2024 5:06 pm

The OpenSim github repository has example Python code located here: https://github.com/opensim-org/opensim- ... n/examples

These examples are also provided in the resources folder that is created when you first open OpenSim. By default, this is installed in Documents/OpenSim/<version>/Code/Python.

POST REPLY