Page 1 of 1
Script for quick translation/rotation
Posted: Fri Jan 10, 2014 1:53 pm
by elias
Hey opensim community!
Since I have to translate and rotate several bodies (wrap objects) during my project I wonder if there already exists a script / tool to quickly translate or rotate a certain object in a certain direction. To do it manually in the properties section is pretty time consuming.
Any ideas?
Re: Script for quick translation/rotation
Posted: Wed Jan 29, 2014 10:13 am
by jimmy
Hi Elias,
At the moment there are no tools to do this quickly. If you are doing many objects I would suggest writing a matlab script that interacts with the OpenSim API. You can edit properties of bodies and wrap objects quickly and iterate many times.
cheers,
-james
Re: Script for quick translation/rotation
Posted: Tue Feb 25, 2014 8:06 am
by elias
Hi James, thanks for the suggestion,
cheers Elias
Re: Script for quick translation/rotation
Posted: Thu Nov 20, 2014 7:22 pm
by unimelbww
jimmy wrote:Hi Elias,
At the moment there are no tools to do this quickly. If you are doing many objects I would suggest writing a matlab script that interacts with the OpenSim API. You can edit properties of bodies and wrap objects quickly and iterate many times.
cheers,
-james
Hi James,
I am wondering if you could please tell me more information about edit wrap objects using API? I described my problem here:
https://simtk.org/forums/viewtopic.php?f=91&t=5296
Thanks!
Wen