]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0019923: EDF 765 SMESH : default values of hypothesis
authoreap <eap@opencascade.com>
Mon, 19 Jan 2009 08:04:08 +0000 (08:04 +0000)
committereap <eap@opencascade.com>
Mon, 19 Jan 2009 08:04:08 +0000 (08:04 +0000)
+    ## 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

index 9530fe60e8f3ad28ba2c46518a68b323ea458ad9..3f20c75b7818f09141837ceea2cbdad033667331 100644 (file)
@@ -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:
     # ------------------------------