mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-02 21:00:34 +05:00
fix the previous revision
- aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMesh) + aMesh = Mesh(self, self.geompyD, aSmeshMesh)
This commit is contained in:
parent
c422e979de
commit
1eb1b5a6ee
@ -231,7 +231,7 @@ class smeshDC(SMESH._objref_SMESH_Gen):
|
|||||||
# @return an instance of Mesh class
|
# @return an instance of Mesh class
|
||||||
def CreateMeshesFromUNV( self,theFileName ):
|
def CreateMeshesFromUNV( self,theFileName ):
|
||||||
aSmeshMesh = SMESH._objref_SMESH_Gen.CreateMeshesFromUNV(self,theFileName)
|
aSmeshMesh = SMESH._objref_SMESH_Gen.CreateMeshesFromUNV(self,theFileName)
|
||||||
aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMesh)
|
aMesh = Mesh(self, self.geompyD, aSmeshMesh)
|
||||||
return aMesh
|
return aMesh
|
||||||
|
|
||||||
## Create Mesh object(s) importing data from given MED file
|
## Create Mesh object(s) importing data from given MED file
|
||||||
@ -240,7 +240,7 @@ class smeshDC(SMESH._objref_SMESH_Gen):
|
|||||||
aSmeshMeshes, aStatus = SMESH._objref_SMESH_Gen.CreateMeshesFromMED(self,theFileName)
|
aSmeshMeshes, aStatus = SMESH._objref_SMESH_Gen.CreateMeshesFromMED(self,theFileName)
|
||||||
aMeshes = []
|
aMeshes = []
|
||||||
for iMesh in range(len(aSmeshMeshes)) :
|
for iMesh in range(len(aSmeshMeshes)) :
|
||||||
aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMeshes[iMesh])
|
aMesh = Mesh(self, self.geompyD, aSmeshMeshes[iMesh])
|
||||||
aMeshes.append(aMesh)
|
aMeshes.append(aMesh)
|
||||||
return aMeshes, aStatus
|
return aMeshes, aStatus
|
||||||
|
|
||||||
@ -248,7 +248,7 @@ class smeshDC(SMESH._objref_SMESH_Gen):
|
|||||||
# @return an instance of Mesh class
|
# @return an instance of Mesh class
|
||||||
def CreateMeshesFromSTL( self, theFileName ):
|
def CreateMeshesFromSTL( self, theFileName ):
|
||||||
aSmeshMesh = SMESH._objref_SMESH_Gen.CreateMeshesFromSTL(self,theFileName)
|
aSmeshMesh = SMESH._objref_SMESH_Gen.CreateMeshesFromSTL(self,theFileName)
|
||||||
aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMesh)
|
aMesh = Mesh(self, self.geompyD, aSmeshMesh)
|
||||||
return aMesh
|
return aMesh
|
||||||
|
|
||||||
## From SMESH_Gen interface
|
## From SMESH_Gen interface
|
||||||
|
Loading…
Reference in New Issue
Block a user