]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
[bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize... cce/41122 V9_13_0a1 V9_13_0a2 45/head
authorcconopoima <cesar.conopoima@gmail.com>
Tue, 4 Jun 2024 14:42:08 +0000 (15:42 +0100)
committercconopoima <cesar.conopoima@gmail.com>
Thu, 6 Jun 2024 11:28:04 +0000 (12:28 +0100)
src/SMESHUtils/SMESH_MAT2d.cxx
src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx

index 68cdf8aeada76f050da8320a5a515cb42e773c64..8c4fa1efb2eba0ff2cbfa8d9808cbc9bf754ce23 100644 (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;
index 88f79d159bac305c7872ba678f7b5f6a4d3e547c..8682b89822e896e0b99239d3bd10b15b10c11301 100644 (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 );