mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 01:10:35 +05:00
PreCAD
This commit is contained in:
parent
b9a943c613
commit
0fdb0ecc07
@ -5098,12 +5098,19 @@ class Mesh_Triangle(Mesh_Algorithm):
|
|||||||
# Parameter of BLSURF algo
|
# Parameter of BLSURF algo
|
||||||
self.params.SetVerbosity(level)
|
self.params.SetVerbosity(level)
|
||||||
|
|
||||||
## To optimize the CAD (merges edges and removes nano edges).
|
## To optimize merges edges.
|
||||||
# @ingroup l3_hypos_blsurf
|
# @ingroup l3_hypos_blsurf
|
||||||
def SetPreCADOptimCAD(self, toOptimizeCAD=False):
|
def SetPreCADMergeEdges(self, toMergeEdges=False):
|
||||||
if self.Parameters():
|
if self.Parameters():
|
||||||
# Parameter of BLSURF algo
|
# Parameter of BLSURF algo
|
||||||
self.params.SetPreCADOptimCAD(toOptimizeCAD)
|
self.params.SetPreCADMergeEdges(toMergeEdges)
|
||||||
|
|
||||||
|
## To remove nano edges.
|
||||||
|
# @ingroup l3_hypos_blsurf
|
||||||
|
def SetPreCADRemoveNanoEdges(self, toRemoveNanoEdges=False):
|
||||||
|
if self.Parameters():
|
||||||
|
# Parameter of BLSURF algo
|
||||||
|
self.params.SetPreCADRemoveNanoEdges(toRemoveNanoEdges)
|
||||||
|
|
||||||
## To compute topology from scratch
|
## To compute topology from scratch
|
||||||
# @ingroup l3_hypos_blsurf
|
# @ingroup l3_hypos_blsurf
|
||||||
@ -5112,21 +5119,13 @@ class Mesh_Triangle(Mesh_Algorithm):
|
|||||||
# Parameter of BLSURF algo
|
# Parameter of BLSURF algo
|
||||||
self.params.SetPreCADDiscardInput(toDiscardInput)
|
self.params.SetPreCADDiscardInput(toDiscardInput)
|
||||||
|
|
||||||
## To help PreCAD treat some very dirty cases.
|
## Sets the length below which an edge is considered as nano
|
||||||
# If the treated object is manifold.
|
# for the topology processing.
|
||||||
# @ingroup l3_hypos_blsurf
|
# @ingroup l3_hypos_blsurf
|
||||||
def SetPreCADManifoldGeom(self, manifold=False):
|
def SetPreCADEpsNano(self, epsNano):
|
||||||
if self.Parameters():
|
if self.Parameters():
|
||||||
# Parameter of BLSURF algo
|
# Parameter of BLSURF algo
|
||||||
self.params.SetPreCADManifoldGeom(manifold)
|
self.params.SetPreCADEpsNano(epsNano)
|
||||||
|
|
||||||
## To help PreCAD treat some very dirty cases.
|
|
||||||
# If the object is also closed (imagine a shell).
|
|
||||||
# @ingroup l3_hypos_blsurf
|
|
||||||
def SetPreCADClosedGeom(self, closed=False):
|
|
||||||
if self.Parameters():
|
|
||||||
# Parameter of BLSURF algo
|
|
||||||
self.params.SetPreCADClosedGeom(closed)
|
|
||||||
|
|
||||||
## Sets advanced option value.
|
## Sets advanced option value.
|
||||||
# @ingroup l3_hypos_blsurf
|
# @ingroup l3_hypos_blsurf
|
||||||
|
Loading…
Reference in New Issue
Block a user