From: Konstantin Leontev Date: Mon, 26 Aug 2024 15:26:42 +0000 (+0100) Subject: [bos #42217][EDF 28921] Horseshoe with bodyfitting. Commented open edges capping... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37de8d765a384fccf5ad1a767b69a4f24025f4bd;p=modules%2Fsmesh.git [bos #42217][EDF 28921] Horseshoe with bodyfitting. Commented open edges capping because of producing null nodes. --- diff --git a/src/StdMeshers/StdMeshers_Cartesian_3D_Hexahedron.cxx b/src/StdMeshers/StdMeshers_Cartesian_3D_Hexahedron.cxx index 716f923dd..dae114fba 100644 --- a/src/StdMeshers/StdMeshers_Cartesian_3D_Hexahedron.cxx +++ b/src/StdMeshers/StdMeshers_Cartesian_3D_Hexahedron.cxx @@ -3509,15 +3509,15 @@ bool Hexahedron::_volumeDef::fixOpenEdgesPolygons() if (edgesByPolygon.empty()) return false; - const bool wasCapped = capOpenEdgesPolygons(edgesByPolygon); - if (wasCapped) - { - // The volume's geometry was changed, we need to collect edges again - edgesByPolygon = findOpenEdges(); - } + // const bool wasCapped = capOpenEdgesPolygons(edgesByPolygon); + // if (wasCapped) + // { + // // The volume's geometry was changed, we need to collect edges again + // edgesByPolygon = findOpenEdges(); + // } const bool wasRemoved = removeOpenEdgesPolygons(edgesByPolygon); - if (!wasCapped && !wasRemoved) + if (/* !wasCapped && */!wasRemoved) { return false; }