fedoo.DataSet.to_vtk

DataSet.to_vtk(filename: str, binary: bool = True, gp_data_to_node: bool = True) None

Write vtk file with the mesh and associated data.

Gauss Point data are interpolated as Node data because vtk don’t support gauss point data.

Parameters:
  • filename (str) – Name of the file including the path.

  • binary (bool, optional) – If True, write as binary. Otherwise, write as ASCII.

  • gp_data_to_node (bool, default = True) – If True, the Gauss Point data are interpolated as Node data. If False, the Gauss Point data are ignored (vtk file don’t have Gauss Point Data)