download_teapot#
- download_teapot()[source]#
Download the 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:
strFilename of the VRML file.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> vrml_file = examples.vrml.download_teapot() >>> pl = pv.Plotter() >>> pl.import_vrml(vrml_file) >>> pl.show()