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
Inserting joints
- Ayman Habib
- Posts: 2255
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Inserting joints
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
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
- gareth roberts
- Posts: 3
- Joined: Fri Feb 24, 2012 11:51 am
Re: Inserting joints
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
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