pyvista.examples.gltf.download_gearbox

pyvista.examples.gltf.download_gearbox#

download_gearbox()[ソース]#

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