From a7b26b38cfefc415b1da40c5d648268f6af7746f Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 19 Jan 2009 08:04:08 +0000 Subject: [PATCH] 0019923: EDF 765 SMESH : default values of hypothesis + ## Sets number of segments per diagonal of boundary box of geometry by which + # default segment length of appropriate 1D hypotheses is defined. + # Default value is 10 + # @ingroup l1_auxiliary + def SetBoundaryBoxSegmentation(self, nbSegments): + #return self.GetCurrentStudy() + return SMESH._objref_SMESH_Gen.SetBoundaryBoxSegmentation(self,nbSegments) --- src/SMESH_SWIG/smeshDC.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 9530fe60e..3f20c75b7 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -404,6 +404,14 @@ class smeshDC(SMESH._objref_SMESH_Gen): def GetPattern(self): return SMESH._objref_SMESH_Gen.GetPattern(self) + ## Sets number of segments per diagonal of boundary box of geometry by which + # default segment length of appropriate 1D hypotheses is defined. + # Default value is 10 + # @ingroup l1_auxiliary + def SetBoundaryBoxSegmentation(self, nbSegments): + #return self.GetCurrentStudy() + return SMESH._objref_SMESH_Gen.SetBoundaryBoxSegmentation(self,nbSegments) + # Filtering. Auxiliary functions: # ------------------------------ -- 2.39.2