Script for quick translation/rotation

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Elias Bachmann
Posts: 3
Joined: Tue Dec 17, 2013 7:14 am

Script for quick translation/rotation

Post by Elias Bachmann » Fri Jan 10, 2014 1:53 pm

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?

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Script for quick translation/rotation

Post by jimmy d » Wed Jan 29, 2014 10:13 am

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

User avatar
Elias Bachmann
Posts: 3
Joined: Tue Dec 17, 2013 7:14 am

Re: Script for quick translation/rotation

Post by Elias Bachmann » Tue Feb 25, 2014 8:06 am

Hi James, thanks for the suggestion,
cheers Elias

User avatar
Wen Wu
Posts: 6
Joined: Thu Jul 25, 2013 2:09 am

Re: Script for quick translation/rotation

Post by Wen Wu » Thu Nov 20, 2014 7:22 pm

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

POST REPLY