pyvista.from_meshio#
- from_meshio(mesh: meshio.Mesh) UnstructuredGrid[source]#
Convert a
meshiomesh instance to a PyVista mesh.- Parameters:
- mesh
meshio.Mesh A mesh instance from the
meshiolibrary.
- mesh
- Returns:
pyvista.UnstructuredGridA PyVista unstructured grid representation of the input
meshiomesh.
- Raises:
ImportErrorIf the appropriate version of
meshiolibrary is not found.