mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 00:24:17 +05:00
Integrate patches for win32 version
This commit is contained in:
parent
4fa415828b
commit
fb0aac2086
@ -214,6 +214,13 @@ module SMESH
|
|||||||
out SMESH::DriverMED_ReadStatus theStatus )
|
out SMESH::DriverMED_ReadStatus theStatus )
|
||||||
raises ( SALOME::SALOME_Exception );
|
raises ( SALOME::SALOME_Exception );
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Create Mesh object(s) importing data from given MED file
|
||||||
|
*/
|
||||||
|
mesh_array CreateMeshesFromSAUV( in string theFileName,
|
||||||
|
out SMESH::DriverMED_ReadStatus theStatus )
|
||||||
|
raises ( SALOME::SALOME_Exception );
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Create Mesh object importing data from given STL file
|
* Create Mesh object importing data from given STL file
|
||||||
*/
|
*/
|
||||||
|
@ -577,6 +577,13 @@ module SMESH
|
|||||||
void ExportMED( in string file, in boolean auto_groups )
|
void ExportMED( in string file, in boolean auto_groups )
|
||||||
raises (SALOME::SALOME_Exception);
|
raises (SALOME::SALOME_Exception);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Export Mesh to SAUV formatted file
|
||||||
|
* Write a temporary med file and use med2sauv
|
||||||
|
*/
|
||||||
|
void ExportSAUV( in string file, in boolean auto_groups )
|
||||||
|
raises (SALOME::SALOME_Exception);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Return string representation of a MED file version comprising nbDigits
|
* Return string representation of a MED file version comprising nbDigits
|
||||||
*/
|
*/
|
||||||
|
@ -677,6 +677,17 @@ class smeshDC(SMESH._objref_SMESH_Gen):
|
|||||||
aMeshes.append(aMesh)
|
aMeshes.append(aMesh)
|
||||||
return aMeshes, aStatus
|
return aMeshes, aStatus
|
||||||
|
|
||||||
|
## Creates a Mesh object(s) importing data from the given SAUV file
|
||||||
|
# @return a list of Mesh class instances
|
||||||
|
# @ingroup l2_impexp
|
||||||
|
def CreateMeshesFromSAUV( self,theFileName ):
|
||||||
|
aSmeshMeshes, aStatus = SMESH._objref_SMESH_Gen.CreateMeshesFromSAUV(self,theFileName)
|
||||||
|
aMeshes = []
|
||||||
|
for iMesh in range(len(aSmeshMeshes)) :
|
||||||
|
aMesh = Mesh(self, self.geompyD, aSmeshMeshes[iMesh])
|
||||||
|
aMeshes.append(aMesh)
|
||||||
|
return aMeshes, aStatus
|
||||||
|
|
||||||
## Creates a Mesh object importing data from the given STL file
|
## Creates a Mesh object importing data from the given STL file
|
||||||
# @return an instance of Mesh class
|
# @return an instance of Mesh class
|
||||||
# @ingroup l2_impexp
|
# @ingroup l2_impexp
|
||||||
@ -1685,6 +1696,15 @@ class Mesh:
|
|||||||
def ExportMED(self, f, auto_groups=0, version=MED_V2_2, overwrite=1):
|
def ExportMED(self, f, auto_groups=0, version=MED_V2_2, overwrite=1):
|
||||||
self.mesh.ExportToMEDX(f, auto_groups, version, overwrite)
|
self.mesh.ExportToMEDX(f, auto_groups, version, overwrite)
|
||||||
|
|
||||||
|
## Exports the mesh in a file in SAUV format
|
||||||
|
# @param f is the file name
|
||||||
|
# @param 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.
|
||||||
|
# @ingroup l2_impexp
|
||||||
|
def ExportSAUV(self, f, auto_groups=0):
|
||||||
|
self.mesh.ExportSAUV(f, auto_groups)
|
||||||
|
|
||||||
## Exports the mesh in a file in DAT format
|
## Exports the mesh in a file in DAT format
|
||||||
# @param f the file name
|
# @param f the file name
|
||||||
# @ingroup l2_impexp
|
# @ingroup l2_impexp
|
||||||
|
Loading…
Reference in New Issue
Block a user