mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 03:20:32 +05:00
add more options to BLSURF
This commit is contained in:
parent
10179c85d9
commit
2c990d2d24
@ -2930,7 +2930,7 @@ class Mesh_Triangle(Mesh_Algorithm):
|
||||
if self.params.GetPhysicalMesh() == 0: theGeometricMesh = 1
|
||||
self.params.SetGeometricMesh(theGeometricMesh)
|
||||
|
||||
## Sets angular deflection (in degrees) of mesh from CAD model
|
||||
## Sets angular deflection (in degrees) of a mesh face from CAD surface
|
||||
# Parameter of BLSURF algo
|
||||
def SetAngleMeshS(self, theVal=_angleMeshS):
|
||||
if self.params == 0:
|
||||
@ -2938,6 +2938,14 @@ class Mesh_Triangle(Mesh_Algorithm):
|
||||
if self.params.GetGeometricMesh() == 0: theVal = self._angleMeshS
|
||||
self.params.SetAngleMeshS(theVal)
|
||||
|
||||
## Sets angular deflection (in degrees) of a mesh edge from CAD curve
|
||||
# Parameter of BLSURF algo
|
||||
def SetAngleMeshC(self, theVal=_angleMeshS):
|
||||
if self.params == 0:
|
||||
self.Parameters()
|
||||
if self.params.GetGeometricMesh() == 0: theVal = self._angleMeshS
|
||||
self.params.SetAngleMeshC(theVal)
|
||||
|
||||
## Sets maximal allowed ratio between the lengths of two adjacent edges
|
||||
# Parameter of BLSURF algo
|
||||
def SetGradation(self, theVal=_gradation):
|
||||
@ -2963,6 +2971,20 @@ class Mesh_Triangle(Mesh_Algorithm):
|
||||
self.Parameters()
|
||||
self.params.SetDecimesh(toIgnoreEdges)
|
||||
|
||||
## Sets verbosity level in the range 0 to 100.
|
||||
# Parameter of BLSURF algo
|
||||
def SetVerbosity(self, level):
|
||||
if self.params == 0:
|
||||
self.Parameters()
|
||||
self.params.SetVerbosity(level)
|
||||
|
||||
## Sets advanced option value
|
||||
# Parameter of BLSURF algo
|
||||
def SetOptionValue(self, optionName, value):
|
||||
if self.params == 0:
|
||||
self.Parameters()
|
||||
self.params.SetOptionValue(optionName,level)
|
||||
|
||||
## Sets QuadAllowed flag
|
||||
#
|
||||
# Only for algoType == NETGEN || NETGEN_2D || BLSURF
|
||||
|
Loading…
Reference in New Issue
Block a user