download_can_crushed_vtu#
- download_can_crushed_vtu(load: bool = True) UnstructuredGrid | str[source]#
Download the crushed can dataset.
File obtained from Kitware. Used for testing vtu files.
Originally from VTKDataFiles-9.3.0.tar.gz.
- Parameters:
- Returns:
- output
pyvista.UnstructuredGrid|str Crushed can dataset or path depending on the value of
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
Plot the crushed can dataset.
>>> from pyvista import examples
>>> import pyvista as pv
>>> dataset = examples.download_can_crushed_vtu()
>>> dataset.plot(smooth_shading=True)
See also
- Can Crushed Vtu Dataset
See this dataset in the Dataset Gallery for more info.