From 42987dac3752dcacff1a7355597ba70cbebca026 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Mon, 19 Mar 2018 13:23:58 +0100 Subject: [PATCH] FEM: mesh api, fix get nodes by face, credits go to user _UR --- src/Mod/Fem/App/FemMesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Fem/App/FemMesh.cpp b/src/Mod/Fem/App/FemMesh.cpp index bbcfe1a741..82d8406cd9 100644 --- a/src/Mod/Fem/App/FemMesh.cpp +++ b/src/Mod/Fem/App/FemMesh.cpp @@ -756,7 +756,7 @@ std::set FemMesh::getNodesByFace(const TopoDS_Face &face) const std::set 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);