Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR: distributed geom and smesh scripts: first step
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
smesh_algorithm.py
diff --git
a/src/SMESH_SWIG/smesh_algorithm.py
b/src/SMESH_SWIG/smesh_algorithm.py
index 9b3acf00d61b45b9a20cbdbdef80aceb522d8927..ae06deb9148fc4e2189c94ac27e6bd713b8e1239 100644
(file)
--- a/
src/SMESH_SWIG/smesh_algorithm.py
+++ b/
src/SMESH_SWIG/smesh_algorithm.py
@@
-166,7
+166,7
@@
class Mesh_Algorithm:
## Gets the name of the algorithm
def GetName(self):
## Gets the name of the algorithm
def GetName(self):
- from smesh import GetName
+ from smesh
DC
import GetName
return GetName(self.algo)
## Sets the name to the algorithm
return GetName(self.algo)
## Sets the name to the algorithm
@@
-190,7
+190,7
@@
class Mesh_Algorithm:
## Private method
def Assign(self, algo, mesh, geom):
## Private method
def Assign(self, algo, mesh, geom):
- from smesh import AssureGeomPublished, TreatHypoStatus, GetName
+ from smesh
DC
import AssureGeomPublished, TreatHypoStatus, GetName
if geom is None:
raise RuntimeError, "Attemp to create " + algo + " algoritm on None shape"
self.mesh = mesh
if geom is None:
raise RuntimeError, "Attemp to create " + algo + " algoritm on None shape"
self.mesh = mesh
@@
-221,7
+221,7
@@
class Mesh_Algorithm:
## Private method
def Hypothesis (self, hyp, args=[], so="libStdMeshersEngine.so",
UseExisting=0, CompareMethod=""):
## Private method
def Hypothesis (self, hyp, args=[], so="libStdMeshersEngine.so",
UseExisting=0, CompareMethod=""):
- from smesh import TreatHypoStatus, GetName
+ from smesh
DC
import TreatHypoStatus, GetName
hypo = None
if UseExisting:
if CompareMethod == "": CompareMethod = self.CompareHyp
hypo = None
if UseExisting:
if CompareMethod == "": CompareMethod = self.CompareHyp
@@
-310,7
+310,7
@@
class Mesh_Algorithm:
# into a list acceptable to SetReversedEdges() of some 1D hypotheses
# @ingroup l3_hypos_1dhyps
def ReversedEdgeIndices(self, reverseList):
# into a list acceptable to SetReversedEdges() of some 1D hypotheses
# @ingroup l3_hypos_1dhyps
def ReversedEdgeIndices(self, reverseList):
- from smesh import FirstVertexOnCurve
+ from smesh
DC
import FirstVertexOnCurve
resList = []
geompy = self.mesh.geompyD
for i in reverseList:
resList = []
geompy = self.mesh.geompyD
for i in reverseList: