download_doorman#
- download_doorman(load=True)[source]#
Download doorman dataset.
Changed in version 0.44.0: Add support for downloading the texture images.
- Parameters:
- Returns:
- output
pyvista.PolyData|str DataSet or filename depending on
load.
- output
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()
Get the imported mesh as a
MultiBlockand plot it without the textures.>>> pl = pv.Plotter() >>> pl.import_obj(file) >>> dataset = pv.MultiBlock(pl.meshes) >>> dataset.plot(cpos='xy')
See also
- Doorman Dataset
See this dataset in the Dataset Gallery for more info.
- Load and Plot from a File
Example using this dataset.