SALOME documentation central
Importing and exporting meshes
[Creating meshes]
Function Documentation
def CreateMeshesFromUNV |
( |
|
self, |
|
|
|
theFileName | |
|
) |
| | [inherited] |
Creates a Mesh object importing data from the given UNV file.
- Returns:
- an instance of Mesh class
def CreateMeshesFromMED |
( |
|
self, |
|
|
|
theFileName | |
|
) |
| | [inherited] |
Creates a Mesh object(s) importing data from the given MED file.
- Returns:
- a list of Mesh class instances
def CreateMeshesFromSTL |
( |
|
self, |
|
|
|
theFileName | |
|
) |
| | [inherited] |
Creates a Mesh object importing data from the given STL file.
- Returns:
- an instance of Mesh class
def ExportToMED |
( |
|
self, |
|
|
|
f, |
|
|
|
version, |
|
|
|
opt = 0 | |
|
) |
| | [inherited] |
Deprecated, used only for compatibility! Please, use ExportMED() method instead.
Exports the mesh in a file in MED format and chooses the version of MED format
- Parameters:
-
| f | the file name |
| version | values are SMESH.MED_V2_1, SMESH.MED_V2_2 |
| opt | boolean parameter for creating/not creating the groups Group_On_All_Nodes, Group_On_All_Faces, ... |
def ExportMED |
( |
|
self, |
|
|
|
f, |
|
|
|
auto_groups = 0 , |
|
|
|
version = MED_V2_2 | |
|
) |
| | [inherited] |
Exports the mesh in a file in MED 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. |
| version | MED format version(MED_V2_1 or MED_V2_2) |
def ExportDAT |
( |
|
self, |
|
|
|
f | |
|
) |
| | [inherited] |
Exports the mesh in a file in DAT format.
- Parameters:
-
def ExportUNV |
( |
|
self, |
|
|
|
f | |
|
) |
| | [inherited] |
Exports the mesh in a file in UNV format.
- Parameters:
-
def ExportSTL |
( |
|
self, |
|
|
|
f, |
|
|
|
ascii = 1 | |
|
) |
| | [inherited] |
Export the mesh in a file in STL format.
- Parameters:
-
| f | the file name |
| ascii | defines the file encoding |
Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS