Adding sphere

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Gautam Ramachandra
Posts: 65
Joined: Thu Sep 03, 2015 11:04 pm

Adding sphere

Post by Gautam Ramachandra » Tue Dec 26, 2017 8:34 am

How to add a sphere in opensim environment using python ?

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: Adding sphere

Post by Dimitar Stanev » Tue Dec 26, 2017 2:47 pm

If you are using OpenSim V4.0 then you can attach a geometry to a body

Code: Select all

sphere = Sphere(radius);
body.attachGeometry(sphere);
http://myosin.sourceforge.net/1865/clas ... ml#details

POST REPLY