Salome HOME
Prise en compte de la courbure de la face à mailler
[modules/smesh.git] / src / Tools / blocFissure / gmu / mailleFacesPeau.py
index e8289c22f9af556af4c827cea668230e30ab7341..d216abbdf79e39b9d4f83025c7e5b2ac5326e239 100644 (file)
@@ -79,7 +79,9 @@ def mailleFacesPeau(partitionsPeauFissFond, idFillingFromBout, facesDefaut, \
       hypo2d.SetOptimize( 1 )
       hypo2d.SetFineness( 2 )
       hypo2d.SetMinSize( rayonPipe/float(nbsegRad) )
+      hypo2d.SetChordalErrorEnabled (True)
       hypo2d.SetChordalError( dmoyen*0.25 )
+      hypo2d.SetUseSurfaceCurvature (True)
       hypo2d.SetQuadAllowed( 0 )
     putName(algo2d, "{}_2d_facePeau".format(mailleur), ifil, nro_cas)
     putName(hypo2d, "hypo2d_facePeau", ifil, nro_cas)