pyvista.examples.downloads.download_kitchen#
- download_kitchen(split=False, load=True)[source]#
Download structured grid of kitchen with velocity field.
Use the
split
argument to extract all of the furniture in the kitchen.- Parameters:
- splitbool, default:
False
Optionally split the furniture and return a
pyvista.MultiBlock
.- loadbool, default:
True
Load the dataset after downloading it when
True
. Set this toFalse
and only the filename will be returned.
- splitbool, default:
- Returns:
pyvista.StructuredGrid
|str
DataSet or filename depending on
load
.
Examples
>>> from pyvista import examples >>> dataset = examples.download_kitchen() >>> dataset.streamlines(n_points=5).plot()
This dataset is used in the following examples: