Remove NETGEN explicit usage from AutomaticTetrahedralization()

This commit is contained in:
vsr 2014-06-24 16:58:45 +04:00
parent 7b2a4147d2
commit d027cf5b2b

View File

@ -1520,7 +1520,7 @@ class Mesh:
smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), False, True ) smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), False, True )
salome.sg.updateObjBrowser(1) salome.sg.updateObjBrowser(1)
## Computes a tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN ## Computes a tetrahedral mesh using AutomaticLength + MEFISTO + Tetrahedron
# @param fineness [0.0,1.0] defines mesh fineness # @param fineness [0.0,1.0] defines mesh fineness
# @return True or False # @return True or False
# @ingroup l3_algos_basic # @ingroup l3_algos_basic
@ -1533,8 +1533,7 @@ class Mesh:
self.Triangle().LengthFromEdges() self.Triangle().LengthFromEdges()
pass pass
if dim > 2 : if dim > 2 :
from salome.NETGENPlugin.NETGENPluginBuilder import NETGEN self.Tetrahedron()
self.Tetrahedron(NETGEN)
pass pass
return self.Compute() return self.Compute()