mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +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
|
||||
def 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
|
||||
|
||||
## 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)
|
||||
aMeshes = []
|
||||
for iMesh in range(len(aSmeshMeshes)) :
|
||||
aMesh = Mesh(self.smeshpyD, self.geompyD, aSmeshMeshes[iMesh])
|
||||
aMesh = Mesh(self, self.geompyD, aSmeshMeshes[iMesh])
|
||||
aMeshes.append(aMesh)
|
||||
return aMeshes, aStatus
|
||||
|
||||
@ -248,7 +248,7 @@ class smeshDC(SMESH._objref_SMESH_Gen):
|
||||
# @return an instance of Mesh class
|
||||
def 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
|
||||
|
||||
## From SMESH_Gen interface
|
||||
|
Loading…
Reference in New Issue
Block a user