What is the difference between nbFramesF and nbSectionsS in Cosserat plugin examples? #4414
-
Hello, Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Junang-Wang, Welcome to the SOFA community! Yes, in order to model your beam, you will need to specify these two parameters: nbSections and nbFramesF. The first parameter, nbSections, determines the number of segments of your beam in the local frame. The second parameter, nbFramesF, defines the number of frames of the virtual beam in the global frame. This second parameter has more of a geometric effect, as it helps to smooth the deformation of the beam. I have a tutorial on the "actuatorBranch" branch of the repository that you can refer to if you want to understand the principle better (docs/text/Setting up the Environment.md). To start, you can set these two parameters to the same value. Best, |
Beta Was this translation helpful? Give feedback.
Hi @Junang-Wang,
Welcome to the SOFA community!
Yes, in order to model your beam, you will need to specify these two parameters: nbSections and nbFramesF. The first parameter, nbSections, determines the number of segments of your beam in the local frame. The second parameter, nbFramesF, defines the number of frames of the virtual beam in the global frame. This second parameter has more of a geometric effect, as it helps to smooth the deformation of the beam. I have a tutorial on the "actuatorBranch" branch of the repository that you can refer to if you want to understand the principle better (docs/text/Setting up the Environment.md). To start, you can set these two parameters to the same …