- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] Movement restriction at some points of an object
Tagged: Linux_ubuntu, SOFA_2012
Hello everyone!
I would like to prevent the movement of some points of an object along the X and Z axes, but allow the movement of those points in the Y axis. Therefore, I want those points to move linearly along the Y axis. I wonder if there is any constraint or any other instruction that could allow me to do this.
I would appreciate any help. Thanks in advance.
Sergio
Hi Sergio,
I think PartialFixedConstraint
is what you are looking for.
There is an example at https://github.com/sofa-framework/sofa/blob/master/examples/Components/constraint/PartialFixedConstraint.scn
<PartialFixedConstraint name="partialFixedConstraint" indices="3 39 64" fixedDirections="0 1 1" />
Cheers,
Paul
Thank you so much for your response, Scheikl. Yes, that was exactly what I was looking for.
Sincerely,
Sergio
Hi Sergio,
you’re welcome!
Glad that I could help. 🙂
Cheers,
Paul
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.