Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL10953. Add Fineness parameter to Automatic Length hypothesis
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
smesh.py
diff --git
a/src/SMESH_SWIG/smesh.py
b/src/SMESH_SWIG/smesh.py
index 776ee83c71dbc37e2511509a2cc89e98114d8afb..fe237e511c83a47bde0b8043dce92de8526f0f28 100644
(file)
--- a/
src/SMESH_SWIG/smesh.py
+++ b/
src/SMESH_SWIG/smesh.py
@@
-206,11
+206,14
@@
class Mesh_Segment(Mesh_Algorithm):
"""
return self.Hypothesis("Propagation")
"""
return self.Hypothesis("Propagation")
- def AutomaticLength(self):
+ def AutomaticLength(self
, fineness
):
"""
Define "AutomaticLength" hypothesis
"""
Define "AutomaticLength" hypothesis
+ \param fineness for the fineness [0-1]
"""
"""
- return self.Hypothesis("AutomaticLength")
+ hyp = self.Hypothesis("AutomaticLength")
+ hyp.SetFineness( fineness )
+ return hyp
# Public class: Mesh_Segment_Python
# ---------------------------------
# Public class: Mesh_Segment_Python
# ---------------------------------