From 285f56790c4e056c29c8e39aa27083976bd39b4e Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 12 Nov 2018 16:42:33 +0300 Subject: [PATCH] 54462: Hexa(ijk) fails on a composite block with a degenerated edge --- src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx b/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx index ec02f71e1..a023ae623 100644 --- a/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx +++ b/src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx @@ -893,6 +893,8 @@ bool _QuadFaceGrid::Init(const TopoDS_Face& f, SMESH_Mesh& mesh) while ( !edges.empty()) { sideEdges.clear(); sideEdges.splice( sideEdges.end(), edges, edges.begin());// edges.front()->sideEdges.back() + if ( SMESH_Algo::isDegenerated( sideEdges.back() )) + continue; while ( !edges.empty() ) { if ( SMESH_Algo::IsContinuous( sideEdges.back(), edges.front() )) { sideEdges.splice( sideEdges.end(), edges, edges.begin()); -- 2.39.2