get_mesh_pv (method)

get_mesh_pv(self, indices=None)[source]

Return the pyvista mesh object (or submesh).

Parameters
  • self (MeshVTK) – a MeshVTK object

  • indices (list) – list of the points to extract (optional)

Returns

mesh – a pyvista UnstructuredGrid object

Return type

pyvista.core.pointset.UnstructuredGrid