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 .
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.
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 ?
When the collision happened, if it is friction contact,I do not know how to calculate the force .
You must be logged in to reply to this topic.