pyvista.examples.gltf.download_avocado

pyvista.examples.gltf.download_avocado#

download_avocado()[ソース]#

Download the avocado 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_avocado()
>>> pl = pv.Plotter()
>>> pl.import_gltf(gltf_file)
>>> pl.show()
../../../_images/pyvista-examples-gltf-download_avocado-1_00_00.png