pyvista.examples.downloads.download_can_crushed_vtu#
- download_can_crushed_vtu(load=True)[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:
pyvista.UnstructuredGrid
|str
Crushed can dataset or path depending on the value of
load
.
Examples
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.