]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_SWIG/smeshDC.py
Salome HOME
add more options to BLSURF
[modules/smesh.git] / src / SMESH_SWIG / smeshDC.py
index cc870964a6514d8872b3008bc2b249baab2123f2..75e19083f3b815bdd4d1a6b825ccbb4bc9f9b367 100644 (file)
@@ -2921,6 +2921,20 @@ class Mesh_Triangle(Mesh_Algorithm):
             self.Parameters()
         self.params.SetPhySize(theVal)
 
+    ## Sets lower boundary of mesh element size (PhySize)
+    #  Parameter of BLSURF algo
+    def SetPhyMin(self, theVal=-1):
+        if self.params == 0:
+            self.Parameters()
+        self.params.SetPhyMin(theVal)
+
+    ## Sets upper boundary of mesh element size (PhySize)
+    #  Parameter of BLSURF algo
+    def SetPhyMax(self, theVal=-1):
+        if self.params == 0:
+            self.Parameters()
+        self.params.SetPhyMax(theVal)
+
     ## Sets a way to define maximum angular deflection of mesh from CAD model
     #  @param theGeometricMesh is: DefaultGeom or Custom
     #  Parameter of BLSURF algo
@@ -2946,6 +2960,20 @@ class Mesh_Triangle(Mesh_Algorithm):
         if self.params.GetGeometricMesh() == 0: theVal = self._angleMeshS
         self.params.SetAngleMeshC(theVal)
 
+    ## Sets lower boundary of mesh element size computed to respect angular deflection
+    #  Parameter of BLSURF algo
+    def SetGeoMin(self, theVal=-1):
+        if self.params == 0:
+            self.Parameters()
+        self.params.SetGeoMin(theVal)
+
+    ## Sets upper boundary of mesh element size computed to respect angular deflection
+    #  Parameter of BLSURF algo
+    def SetGeoMax(self, theVal=-1):
+        if self.params == 0:
+            self.Parameters()
+        self.params.SetGeoMax(theVal)
+
     ## Sets maximal allowed ratio between the lengths of two adjacent edges
     #  Parameter of BLSURF algo
     def SetGradation(self, theVal=_gradation):