- This topic has 3 replies, 2 voices, and was last updated 7 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 › Carving algorithm ?
Tagged: 32_bits, SOFA_other, Windows_7
hi,
I want to know the algorithm of Carving Plugin . Are there formulas or documents or Flow chart to how to explain or calculate it ? I’d like to develop a cutting algorithm for myself .
Hi Sen,
The method is based on the usual CollisionPipeline of SOFA. There is a broadphase (based on BoundingBoxes), then a Narrow phases detecting collision between the mesh associated to the tool and the cylinder mesh. Finally, if a collision is detected, the TopologicalChangeManager handles a removal of elements.
Cheers,
Hugo
Hi Hugo,
Thank you. I would like to know more details about broadphase , Narrow phases and friction contact.
broadPhaseDetection->addCollisionModels(vectBoundingVolume); // detection is done there
I do not know how it detects the collision. I found it in the “BruteForceDetection::addCollisionModel(core::CollisionModel *cm)”,But I can not understand the code.And in the Narrow phases , “BruteForceDetection::addCollisionPair”
is to find the collision point.But I do not know what method it is using to detect the collision point.Are there formulas or documents or Flow chart or algorithms to explain it ?
Hi,
When the collision happened, if it is friction contact,I do not know how to calculate the force .
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.