]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PreCAD
authorgdd <gdd>
Tue, 23 Aug 2011 08:47:39 +0000 (08:47 +0000)
committergdd <gdd>
Tue, 23 Aug 2011 08:47:39 +0000 (08:47 +0000)
src/SMESH_SWIG/smeshDC.py

index c63c2b825459c75f9fe35c7ec1ce2f25183e5eb6..4ff373b84ae3e0554cdac7d44c9ae05680e5be9b 100644 (file)
@@ -5098,35 +5098,34 @@ class Mesh_Triangle(Mesh_Algorithm):
             #  Parameter of BLSURF algo
             self.params.SetVerbosity(level)
 
-    ## To optimize the CAD (merges edges and removes nano edges).
+    ## To optimize merges edges.
     #  @ingroup l3_hypos_blsurf
-    def SetPreCADOptimCAD(self, toOptimizeCAD=False):
+    def SetPreCADMergeEdges(self, toMergeEdges=False):
         if self.Parameters():
             #  Parameter of BLSURF algo
-            self.params.SetPreCADOptimCAD(toOptimizeCAD)
+            self.params.SetPreCADMergeEdges(toMergeEdges)
 
-    ## To compute topology from scratch
+    ## To remove nano edges.
     #  @ingroup l3_hypos_blsurf
-    def SetPreCADDiscardInput(self, toDiscardInput=False):
+    def SetPreCADRemoveNanoEdges(self, toRemoveNanoEdges=False):
         if self.Parameters():
             #  Parameter of BLSURF algo
-            self.params.SetPreCADDiscardInput(toDiscardInput)
+            self.params.SetPreCADRemoveNanoEdges(toRemoveNanoEdges)
 
-    ## To help PreCAD treat some very dirty cases.
-    #  If the treated object is manifold.
+    ## To compute topology from scratch
     #  @ingroup l3_hypos_blsurf
-    def SetPreCADManifoldGeom(self, manifold=False):
+    def SetPreCADDiscardInput(self, toDiscardInput=False):
         if self.Parameters():
             #  Parameter of BLSURF algo
-            self.params.SetPreCADManifoldGeom(manifold)
+            self.params.SetPreCADDiscardInput(toDiscardInput)
 
-    ## To help PreCAD treat some very dirty cases.
-    #  If the object is also closed (imagine a shell).
+    ## Sets the length below which an edge is considered as nano 
+    #  for the topology processing.
     #  @ingroup l3_hypos_blsurf
-    def SetPreCADClosedGeom(self, closed=False):
+    def SetPreCADEpsNano(self, epsNano):
         if self.Parameters():
             #  Parameter of BLSURF algo
-            self.params.SetPreCADClosedGeom(closed)
+            self.params.SetPreCADEpsNano(epsNano)
 
     ## Sets advanced option value.
     #  @ingroup l3_hypos_blsurf