pyvista.examples.gltf.download_milk_truck

pyvista.examples.gltf.download_milk_truck#

download_milk_truck()[ソース]#

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