pyvista.examples.downloads.download_urn

Contents

pyvista.examples.downloads.download_urn#

download_urn(load=True)[source]#

Download scan of a burial urn.

Originally obtained from Laser Design.

Parameters:
loadbool, default: True

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

Returns:
pyvista.PolyData | str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> cpos = [
...     [-7.123e02, 5.715e02, 8.601e02],
...     [4.700e00, 2.705e02, -1.010e01],
...     [2.000e-01, 1.000e00, -2.000e-01],
... ]
>>> dataset = examples.download_urn()
>>> dataset.plot(cpos=cpos)
../../../_images/pyvista-examples-downloads-download_urn-1_00_00.png

See also

Urn Dataset

See this dataset in the Dataset Gallery for more info.