From 27c8af8c6ed2b130075b4391031540ca99eb95c8 Mon Sep 17 00:00:00 2001 From: cconopoima Date: Tue, 4 Jun 2024 15:42:08 +0100 Subject: [PATCH] [bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize properly on medial axe construction leading to wrong mesh of the face. --- src/SMESHUtils/SMESH_MAT2d.cxx | 2 +- src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SMESHUtils/SMESH_MAT2d.cxx b/src/SMESHUtils/SMESH_MAT2d.cxx index 68cdf8aea..8c4fa1efb 100644 --- a/src/SMESHUtils/SMESH_MAT2d.cxx +++ b/src/SMESHUtils/SMESH_MAT2d.cxx @@ -557,7 +557,7 @@ namespace double curDeflect = 0.3; //0.01; //Curvature deflection double angDeflect = 0.2; // 0.09; //Angular deflection - GCPnts_TangentialDeflection discret(c2dAdaptor, angDeflect, curDeflect); + GCPnts_TangentialDeflection discret(c2dAdaptor, angDeflect, curDeflect, 10 /*bos [#41122] minimum 10 points of discretization!*/); // if ( discret.NbPoints() > 2 ) // { // cout << endl; diff --git a/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx b/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx index 88f79d159..8682b8982 100644 --- a/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx +++ b/src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx @@ -2152,7 +2152,6 @@ bool StdMeshers_QuadFromMedialAxis_1D2D::computeQuads( SMESH_MesherHelper& theHe bool StdMeshers_QuadFromMedialAxis_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape& theShape) { - std::cout << "helper_quad " << theMesh.IsParallel() << std::endl; SMESH_MesherHelper helper( theMesh ); helper.SetSubShape( theShape );