pyvista.examples.gltf.download_damaged_helmet

pyvista.examples.gltf.download_damaged_helmet#

download_damaged_helmet()[ソース]#

Download the damaged helmet example.

Files hosted at KhronosGroup/glTF-Sample-Models

戻り値:
str

Filename of the gltf file.

>>> import pyvista as pv
>>> from pyvista import examples
>>> gltf_file = examples.gltf.download_damaged_helmet()
>>> 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-gltf-download_damaged_helmet-1_00_00.png