Inserting joints

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
gareth roberts
Posts: 3
Joined: Fri Feb 24, 2012 11:51 am

Inserting joints

Post by gareth roberts » Sat Oct 20, 2012 1:15 pm

Hi,
Is it possible to insert new joints into an existing segment of an existing model? i.e. can I insert a joint into a femur? Do I need to change the whole model or is there a straight forward and easy way of doing it

Thanks

Gareth

User avatar
Ayman Habib
Posts: 2255
Joined: Fri Apr 01, 2005 12:24 pm

Re: Inserting joints

Post by Ayman Habib » Mon Oct 22, 2012 9:53 am

Hi Gareth,

The new OpenSim 3.0 GUI allows for model editing but doesn't allow for structural changes to the model (e.g. adding or removing bodies, joints, constraints or forces). However, you can use the API (either from scripting interface or from the C++ interface to create models from scratch or to perform structural changes to models. In your case what kind of Joint were you trying to insert? We maybe able to provide examples that demonstrate the steps.

Alternatively you can use the xml file to make changes though that's a bit more cumbersome if you're not used to the format. For the xml route, please consult the example here:
http://simtk-confluence.stanford.edu:80 ... el+Editing
and let us know if you have any questions.

Best regards,
-Ayman

User avatar
gareth roberts
Posts: 3
Joined: Fri Feb 24, 2012 11:51 am

Re: Inserting joints

Post by gareth roberts » Tue Oct 23, 2012 2:50 am

Thanks Ayman,
My thinking was to insert a rigid joint into a bone inorder to simulate a fracture, in order to give me the force that would be acting at that fracture. An example you could provide would be great.

Thanks again

Gareth

POST REPLY