download_bunny

Contents

download_bunny#

download_bunny(load=True)[source]#

Download bunny dataset.

The Stanford Bunny from the Stanford 3D Scanning Repository. Please credit the Stanford Computer Graphics Laboratory (Turk and Levoy, SIGGRAPH ‘94) when using this model.

Stanford permits free redistribution for research and mirroring. Inclusion in a product-for-sale requires permission from the Stanford Computer Graphics Laboratory.

Parameters:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
outputpyvista.PolyData | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> dataset = examples.download_bunny()
>>> dataset.plot(cpos='xy')
../../../_images/pyvista-examples-downloads-download_bunny-d3c389d78b5e8108_00_00.png

See also

Bunny Dataset

See this dataset in the Dataset Gallery for more info.

Bunny Coarse Dataset

This dataset is used in the following examples: