[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.

This commit is contained in:
cconopoima 2024-06-04 15:42:08 +01:00
parent 3c7d932660
commit 27c8af8c6e
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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 );