download_gearbox

download_gearbox#

download_gearbox(*, load: bool = True) MultiBlock | str[source]#

Download the gearbox example.

Returns:
outputpyvista.MultiBlock | str

DataSet or filename depending on load.

Examples#

>>> import pyvista as pv
>>> from pyvista import examples
>>> gltf_file = examples.download_gearbox(load=False)
>>> pl = pv.Plotter()
>>> pl.import_gltf(gltf_file)
>>> pl.show()
../../../_images/pyvista-examples-downloads-download_gearbox-efeb49a68583182a_00_00.png

See also

Gearbox Dataset

See this dataset in the Dataset Gallery for more info.