Skip to content

What is the difference between nbFramesF and nbSectionsS in Cosserat plugin examples? #4414

Discussion options

You must be logged in to vote

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 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Junang-Wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants