fedoo.MultiFrameDataSet.to_pyvista

MultiFrameDataSet.to_pyvista(gp_data_to_node: bool = True, selected_submeshes=None)

Convert the dataset to a PyVista unstructured grid.

Parameters:
  • gp_data_to_node (bool, default=True) – For a single Mesh, convert Gauss point data to node data before export. For a MultiMesh, Gauss point conversion is currently skipped.

  • selected_submeshes (int, str or sequence, optional) – Only used with MultiMesh datasets. Restrict the exported grid and element data to the selected submesh ids, names, or element types.

Returns:

Mesh with point, cell and field data attached.

Return type:

pyvista.UnstructuredGrid