pyvista.examples.gltf.download_avocado#
- download_avocado()[source]#
Download the avocado example.
Files hosted at KhronosGroup/glTF-Sample-Models
- Returns:
str
Filename of the gltf file.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> gltf_file = examples.gltf.download_avocado() >>> pl = pv.Plotter() >>> pl.import_gltf(gltf_file) >>> pl.show()