download_tetrahedron#

download_tetrahedron(load=True)[source]#

Download tetrahedron dataset.

Parameters:
loadbool, optional

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

Returns:
pyvista.UnstructuredGrid or str

DataSet or filename depending on load.

Examples

Shrink and plot the dataset to show it is composed of several tetrahedrons.

>>> from pyvista import examples
>>> dataset = examples.download_tetrahedron()
>>> dataset.shrink(0.85).plot()
../../../_images/pyvista-examples-downloads-download_tetrahedron-1_00_00.png