download_teapot_vrml

download_teapot_vrml#

download_teapot_vrml(*, load: bool = True) MultiBlock | str[source]#

Download a 2-manifold solid version of the famous teapot example.

The Utah Teapot, originally modeled by Martin Newell at the University of Utah in 1975. No formal license has ever been issued for the original Newell dataset; the model has been freely distributed in computer graphics software for 50 years and is conventionally treated as public domain.

Returns:
outputpyvista.MultiBlock | str

DataSet or filename depending on load.

Examples#

>>> import pyvista as pv
>>> from pyvista import examples
>>> vrml_file = examples.download_teapot_vrml(load=False)
>>> pl = pv.Plotter()
>>> pl.import_vrml(vrml_file)
>>> pl.show()
../../../_images/pyvista-examples-downloads-download_teapot_vrml-969eb1c5a2edf939_00_00.png

See also

Teapot Vrml Dataset

See this dataset in the Dataset Gallery for more info.