Help with modeling a fiber reinforced soft actuator using the rigidify function #192
-
Dear All, Right now i am trying to model a soft actuator that has a fiber reinforcement wrapped around it in order to restrict radial expansion. Google Drive: https://drive.google.com/drive/folders/1MU1hpfG_mX78J8h6voJho1vyKY76oI4N?usp=sharing There was a similar discussion thread in here https://www.sofa-framework.org/community/forum/topic/fiber-reinforced-soft-robot/ As I am entering the coordinates of the boxes manually I am inputting the indices directly into the groupindices variable. My current understanding is that the frames specify the coordinates of the points on the outer surface where the fibers would be located on the real actuator(the points I want to rigidify). I don't understand however how could I retrieve this information.
I would be deeply grateful if you could help me with this issues. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @tolstoys19, Sorry for the very late answer. You have three options here:
|
Beta Was this translation helpful? Give feedback.
Hi @tolstoys19,
Sorry for the very late answer.
You want to rigidify groups of points, i.e. you want each group of points to form a rigid frame. A rigid frame in SOFA is composed of seven values, the first three are the position of the frame, and the other four are a quaternion which gives the orientation of the frame.
You have three options here:
frames
, the position of each frame will be set as the geometric center of the group of points you gave, and the orientation will be[0, 0, 0, 1]
.frames = [[qx, qy, qz, qw], ...]
.