X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_SWIG%2Fsmesh_algorithm.py;h=ae06deb9148fc4e2189c94ac27e6bd713b8e1239;hp=9b3acf00d61b45b9a20cbdbdef80aceb522d8927;hb=1b57300c826e4cb17d9a40124991a14eabb9eee8;hpb=79f0b7244b6d7d6c2b0d5acd4c7a8946344cf7d5;ds=sidebyside diff --git a/src/SMESH_SWIG/smesh_algorithm.py b/src/SMESH_SWIG/smesh_algorithm.py index 9b3acf00d..ae06deb91 100644 --- 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): - from smesh import GetName + from smeshDC import GetName 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): - from smesh import AssureGeomPublished, TreatHypoStatus, GetName + from smeshDC import AssureGeomPublished, TreatHypoStatus, GetName 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=""): - from smesh import TreatHypoStatus, GetName + from smeshDC import TreatHypoStatus, GetName 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): - from smesh import FirstVertexOnCurve + from smeshDC import FirstVertexOnCurve resList = [] geompy = self.mesh.geompyD for i in reverseList: