X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_SWIG%2Fsmesh.py;h=fe237e511c83a47bde0b8043dce92de8526f0f28;hp=776ee83c71dbc37e2511509a2cc89e98114d8afb;hb=5c933ecde0251d3c4894d0cdeab8dc67b6c4c3a5;hpb=236b583d315b14278bda28e118748016d0e4f709 diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index 776ee83c7..fe237e511 100644 --- 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") - def AutomaticLength(self): + def AutomaticLength(self, fineness): """ 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 # ---------------------------------