Page 1 of 1
Inserting joints
Posted: Sat Oct 20, 2012 1:15 pm
by garethllew
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
Re: Inserting joints
Posted: Mon Oct 22, 2012 9:53 am
by aymanh
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
Re: Inserting joints
Posted: Tue Oct 23, 2012 2:50 am
by garethllew
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