diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters.png b/doc/salome/gui/SMESH/images/blsurf_parameters.png index 79a3a7870..22d038ac5 100644 Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters.png and b/doc/salome/gui/SMESH/images/blsurf_parameters.png differ diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index cc870964a..75e19083f 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -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):