Hi Thomas,
Would you please tell me how?
Regards
C3D export
- Mohammadreza Rezaie
- Posts: 418
- Joined: Fri Nov 24, 2017 12:48 am
- Thomas Uchida
- Posts: 1804
- Joined: Wed May 16, 2012 11:40 am
Re: C3D export
With a very small number of exceptions, the same OpenSim methods are available in Matlab and Python, so the translation should be fairly straightforward. Additional information can be found in the doxygen documentation (https://simtk.org/api_docs/opensim/api_docs40/) and User's Guide (e.g., see the "Common Scripting Commands" https://simtk-confluence.stanford.edu/d ... g+Commands and "Scripting in Python" https://simtk-confluence.stanford.edu/d ... +in+Python pages). Specific questions/issues can be posted to the Forum.
- Josh Carter
- Posts: 2
- Joined: Mon Nov 04, 2019 4:07 pm
Re: C3D export
Hi Mohammadreza Rezaie,
were you able to implement an equivalent convertMillimeters2Meters function within Python eventually?
I have tried to re-create the function within python without success. I am having difficulties trying to recreate the .get and .set functionality in python. Would you be able to provide any guidance on how you went about this?
Thanks
were you able to implement an equivalent convertMillimeters2Meters function within Python eventually?
I have tried to re-create the function within python without success. I am having difficulties trying to recreate the .get and .set functionality in python. Would you be able to provide any guidance on how you went about this?
Thanks
- Mohammadreza Rezaie
- Posts: 418
- Joined: Fri Nov 24, 2017 12:48 am
Re: C3D export
Hi Josh,
I used a function by Dr. Stanev as follows. Modifications may be required for later OpenSim versions.
https://github.com/mitkof6/opensim_auto ... sim.py#L69
https://github.com/mitkof6/opensim_auto ... ls.py#L138
I hope this helps you and all the best.
Mohammadreza
I used a function by Dr. Stanev as follows. Modifications may be required for later OpenSim versions.
https://github.com/mitkof6/opensim_auto ... sim.py#L69
https://github.com/mitkof6/opensim_auto ... ls.py#L138
I hope this helps you and all the best.
Mohammadreza