mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-28 16:25:38 +05:00
bos #26432 Additional changes
This commit is contained in:
parent
1fdfb2587a
commit
9af329e117
@ -685,18 +685,6 @@ class smeshBuilder( SMESH._objref_SMESH_Gen, object ):
|
|||||||
aMeshes = [ Mesh(self, self.geompyD, m) for m in aSmeshMeshes ]
|
aMeshes = [ Mesh(self, self.geompyD, m) for m in aSmeshMeshes ]
|
||||||
return aMeshes, aStatus
|
return aMeshes, aStatus
|
||||||
|
|
||||||
def CreateMeshesFromSAUV( self,theFileName ):
|
|
||||||
"""
|
|
||||||
Create a Mesh object(s) importing data from the given SAUV file
|
|
||||||
|
|
||||||
Returns:
|
|
||||||
a tuple ( list of class :class:`Mesh` instances, :class:`SMESH.DriverMED_ReadStatus` )
|
|
||||||
"""
|
|
||||||
|
|
||||||
aSmeshMeshes, aStatus = SMESH._objref_SMESH_Gen.CreateMeshesFromSAUV(self,theFileName)
|
|
||||||
aMeshes = [ Mesh(self, self.geompyD, m) for m in aSmeshMeshes ]
|
|
||||||
return aMeshes, aStatus
|
|
||||||
|
|
||||||
def CreateMeshesFromSTL( self, theFileName ):
|
def CreateMeshesFromSTL( self, theFileName ):
|
||||||
"""
|
"""
|
||||||
Create a Mesh object importing data from the given STL file
|
Create a Mesh object importing data from the given STL file
|
||||||
@ -2456,20 +2444,6 @@ class Mesh(metaclass = MeshMeta):
|
|||||||
else:
|
else:
|
||||||
self.mesh.ExportMED(fileName, auto_groups, version, overwrite, autoDimension)
|
self.mesh.ExportMED(fileName, auto_groups, version, overwrite, autoDimension)
|
||||||
|
|
||||||
def ExportSAUV(self, f, auto_groups=0):
|
|
||||||
"""
|
|
||||||
Export the mesh in a file in SAUV format
|
|
||||||
|
|
||||||
|
|
||||||
Parameters:
|
|
||||||
f: is the file name
|
|
||||||
auto_groups: boolean parameter for creating/not creating
|
|
||||||
the groups Group_On_All_Nodes, Group_On_All_Faces, ... ;
|
|
||||||
the typical use is auto_groups=False.
|
|
||||||
"""
|
|
||||||
|
|
||||||
self.mesh.ExportSAUV(f, auto_groups)
|
|
||||||
|
|
||||||
def ExportDAT(self, f, meshPart=None, renumber=True):
|
def ExportDAT(self, f, meshPart=None, renumber=True):
|
||||||
"""
|
"""
|
||||||
Export the mesh in a file in DAT format
|
Export the mesh in a file in DAT format
|
||||||
|
Loading…
Reference in New Issue
Block a user