I am trying to model a bone(rigid)/muscle(deformable) attachment with a contact surface containing hundreds of nodes. I have used
RigidMapping to add a mesh for the bone, and I am trying to use an
AttachConstraint to attach the deformable object to that mesh (I want to “merge” the nodes on the contact surface).
How can I create pairwise attachments between the nearest nodes of the two objects for the whole surface without having to manually specify hundreds of indices? Or is there a better way of modeling this problem?
Hi Bam !
Thank you for your first post and welcome to the SOFA community!
Sorry for the delay we have been quite busy these days!
I am no expert of musculo-skelettal simulation I think @noura might be able to help, looking at her last post: https://www.sofa-framework.org/community/forum/topic/mapping-between-rigid-and-deformable-objects/
Thank you for your response and all the great work on SOFA!
I had indeed already found the post you mentioned and used a similar method for my model, but my question is more general. I am trying to ‘fuse’/’glue’ two meshes with different properties along a contact surface, without having to manually specify each attach pair using
AttachConstraint (for example using a nearest neighbor algorithm). Any idea how I might accomplish that?
I am still learning to use the framework, any suggestion would be very helpful.
your concern about a proper contact surface is relevant. using
AttachConstraint is not very intuitive and strongly depends on the contact surface resolution and topology of both objects. I also tried joint springs to connect both objects and the result was not satisfying as well!
In case I could do it in a better way, I’ll consider updating this topic.
You must be logged in to reply to this topic.
Get involved in this forum: