FEM: mesh api, fix get nodes by face, credits go to user _UR
This commit is contained in:
@@ -756,7 +756,7 @@ std::set<int> FemMesh::getNodesByFace(const TopoDS_Face &face) const
|
||||
std::set<int> result;
|
||||
|
||||
Bnd_Box box;
|
||||
BRepBndLib::Add(face, box);
|
||||
BRepBndLib::Add(face, box, Standard_False); // https://forum.freecadweb.org/viewtopic.php?f=18&t=21571&start=70#p221591
|
||||
// limit where the mesh node belongs to the face:
|
||||
double limit = BRep_Tool::Tolerance(face);
|
||||
box.Enlarge(limit);
|
||||
|
||||
Reference in New Issue
Block a user