Hello Everyone,
I am struggling with setting up a CustomJoint using Python API. Could any one point me to a simple example for doing the same? Thanks
Shravan
CustomJoint with Python
- Shravan Tata
- Posts: 9
- Joined: Fri Jul 28, 2017 4:26 am
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: CustomJoint with Python
You can find examples on github, in the user guide or in your OpenSim installation folder
https://github.com/opensim-org/opensim- ... m_model.py
https://simtk-confluence.stanford.edu/d ... %27s+Guide
https://github.com/opensim-org/opensim- ... rModel.cpp
https://simtk-confluence.stanford.edu/d ... in+the+GUI
https://github.com/opensim-org/opensim- ... m_model.py
https://simtk-confluence.stanford.edu/d ... %27s+Guide
https://github.com/opensim-org/opensim- ... rModel.cpp
https://simtk-confluence.stanford.edu/d ... in+the+GUI
- Shravan Tata
- Posts: 9
- Joined: Fri Jul 28, 2017 4:26 am
Re: CustomJoint with Python
Hi Dimitar,
Thank you very much for the response. But unfortunately none of the links actually have an example of building a CustomJoint with Python API. Would be helpful if you know of any. Thanks
Regards,
Shravan
Thank you very much for the response. But unfortunately none of the links actually have an example of building a CustomJoint with Python API. Would be helpful if you know of any. Thanks
Regards,
Shravan
- Thomas Uchida
- Posts: 1792
- Joined: Wed May 16, 2012 11:40 am
Re: CustomJoint with Python
There is an example in test_swig_additional_interface.py (see line 125): https://github.com/opensim-org/opensim- ... #L125-L130. In the future, you can try going to the GitHub page (https://github.com/opensim-org/opensim-core), search for the class of interest, and filter the results for Python.