fedoo.mesh.import_msh
- import_msh(filename: str, name: str = '', mesh_type: list[str] = ['curve', 'surface', 'volume']) Mesh
Import a mesh from a msh file (gmsh format).
Mesh.read should be prefered in most cases.
- Parameters:
filename (str) – Name of file to import. Should be a “.msh” or a “.vtk” ascii files.
name (str, optional) – Name of the imported Mesh. The default is “”.
mesh_type (list of str in {'curve', 'surface', 'volume'}) – Type of geometries to import. Default = [‘curve’, ‘surface’, ‘volume’], ie import all meshes.
- Return type:
Mesh object