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 to False and only the filename will be returned.

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()
../../../_images/pyvista-examples-downloads-download_kitchen-1_00_00.png

This dataset is used in the following examples: