download_damaged_helmet

download_damaged_helmet#

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

Download the damaged helmet example.

Returns:
outputpyvista.MultiBlock | str

DataSet or filename depending on load.

Examples#

>>> import pyvista as pv
>>> from pyvista import examples
>>> gltf_file = examples.download_damaged_helmet(load=False)
>>> cubemap = examples.download_sky_box_cube_map()
>>> pl = pv.Plotter()
>>> pl.import_gltf(gltf_file)
>>> pl.set_environment_texture(cubemap)
>>> pl.show()
../../../_images/pyvista-examples-downloads-download_damaged_helmet-1a217a664a94cfd1_00_00.png

See also

Damaged Helmet Dataset

See this dataset in the Dataset Gallery for more info.