- This topic has 1 reply, 2 voices, and was last updated 8 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] Attach Constraint
Tagged: 64_bits, Linux_ubuntu, SOFA_1512
I want to attach a tetrahedron mesh to a rigid object. The rigid object will then be translated and rotated. I would like the tetrahedrons to move along,but I cant get this to work. The AttachConstraint seems to be what I am looking for but I can’t seem to make it work with an indeformable object. Am I going about this the wrong way?
Dear Ben,
The attached ensures that forces are exchanged and added between the constraint points with the same DOF (Vec3d with Vec3d). I guess it isn’t working since you are trying to relate Vec3d and Rigid.
I guess a solution would be to have a rigid object, one Vec3d mechanical (with one single DOF) mapped together with a RigidMapping. And finally, a AttachContraint between your 1-DOF MechanicalObject and your deformable object.
I hope I’m clear, it’s late!
Cheers,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.