Hi everyone,
I have just started using opensim and i have built a fully functional arm with all the joint motion for my research.
My application requires me to change the length of the bones frequently. Therefore, i need to change the muscle path point as well.
I am trying to modify the muscle path point using python but i am getting some errors. I was able to change other features like isometric force using the following commands.
triceps =model.getMuscles().get("Triceps_Brachii_long")
triceps.set_max_isometric_force(799.02)
I went through a link where it was mentioned that it is possible to modify path points using Java/C++. But, is it possible to do the same using python and if so, could please point me towards an example or let me know how. I have pasted the link below. Please let me know.
https://simtk.org/api_docs/opensim/api_ ... yPath.html
Also please mention any link that has the repository of all the python commands relating to opensim. I found one for java but could find one for python.
Thank you,
Yokhesh
Adding/modifying/deleting pathpoints to a muscle using python/MATLAB
- Yokhesh KrishnasamyTamilselvam
- Posts: 9
- Joined: Fri Jan 25, 2019 9:53 am
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
- Yokhesh KrishnasamyTamilselvam
- Posts: 9
- Joined: Fri Jan 25, 2019 9:53 am
Re: Adding/modifying/deleting pathpoints to a muscle using python/MATLAB
Hi,
Thank you for your response.
I was able to figure out the way to add path points through python..
Thank you for your response.
I was able to figure out the way to add path points through python..