mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
add more options to BLSURF
This commit is contained in:
parent
2c990d2d24
commit
b8d390c6f9
Binary file not shown.
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 38 KiB |
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user