download_doorman

download_doorman#

download_doorman(load=True)[source]#

Download doorman dataset.

Changed in version 0.44.0: Add support for downloading the texture images.

Parameters:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
outputpyvista.PolyData | str

DataSet or filename depending on load.

Examples

Import the OBJ file with its materials into a Plotter.

>>> import pyvista as pv
>>> from pyvista import examples
>>> file = examples.download_doorman(load=False)
>>> pl = pv.Plotter()
>>> pl.import_obj(file)
>>> pl.view_xy()
>>> pl.show()
../../../_images/pyvista-examples-downloads-download_doorman-827840dead405a2b_00_00.png

Get the imported mesh as a MultiBlock and plot it without the textures.

>>> pl = pv.Plotter()
>>> pl.import_obj(file)
>>> dataset = pv.MultiBlock(pl.meshes)
>>> dataset.plot(cpos='xy')
../../../_images/pyvista-examples-downloads-download_doorman-827840dead405a2b_01_01.png

See also

Doorman Dataset

See this dataset in the Dataset Gallery for more info.

Load and Plot from a File

Example using this dataset.