Functions | |
| def | CreateMeshesFromUNV |
| Creates a Mesh object importing data from the given UNV file. | |
| def | CreateMeshesFromMED |
| Creates a Mesh object(s) importing data from the given MED file. | |
| def | CreateMeshesFromSTL |
| Creates a Mesh object importing data from the given STL file. | |
| def | ExportToMED |
| Deprecated, used only for compatibility! Please, use ExportToMEDX() method instead. | |
| def | ExportMED |
| Exports the mesh in a file in MED format and chooses the version of MED format allowing to overwrite the file if it exists or add the exported data to its contents. | |
| def | ExportDAT |
| Exports the mesh in a file in DAT format. | |
| def | ExportUNV |
| Exports the mesh in a file in UNV format. | |
| def | ExportSTL |
| Export the mesh in a file in STL format. | |
| def smesh.CreateMeshesFromUNV | ( | self, | |
| theFileName | |||
| ) |
| def smesh.CreateMeshesFromMED | ( | self, | |
| theFileName | |||
| ) |
| def smesh.CreateMeshesFromSTL | ( | self, | |
| theFileName | |||
| ) |
| def ExportToMED | ( | self, | |
| f, | |||
| version, | |||
opt = 0, |
|||
overwrite = 1 |
|||
| ) | [inherited] |
Deprecated, used only for compatibility! Please, use ExportToMEDX() method instead.
Exports the mesh in a file in MED format and chooses the version of MED format allowing to overwrite the file if it exists or add the exported data to its contents
| 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, ... |
| overwrite | boolean parameter for overwriting/not overwriting the file |
| def ExportMED | ( | self, | |
| f, | |||
auto_groups = 0, |
|||
version = MED_V2_2, |
|||
overwrite = 1 |
|||
| ) | [inherited] |
Exports the mesh in a file in MED format and chooses the version of MED format allowing to overwrite the file if it exists or add the exported data to its contents.
| 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) |
| overwrite | boolean parameter for overwriting/not overwriting the file |
| def ExportDAT | ( | self, | |
| f | |||
| ) | [inherited] |
Exports the mesh in a file in DAT format.
| f | the file name |
| def ExportUNV | ( | self, | |
| f | |||
| ) | [inherited] |
Exports the mesh in a file in UNV format.
| f | the file name |
| def ExportSTL | ( | self, | |
| f, | |||
ascii = 1 |
|||
| ) | [inherited] |
Export the mesh in a file in STL format.
| f | the file name |
| ascii | defines the file encoding |