pyvista.examples.downloads.download_owl

Contents

pyvista.examples.downloads.download_owl#

download_owl(load=True)[source]#

Download a scan of an owl statue created by Ivan Nikolov.

The dataset was downloaded from GGG-BenchmarkSfM: Dataset for Benchmarking Close-range SfM Software Performance under Varying Capturing Conditions

Original datasets are under the CC BY 4.0 license.

For more details, see Ivan Nikolov Datasets

Parameters:
loadbool, default: True

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

Returns:
pyvista.PolyData | str

DataSet or filename depending on load.

Examples

Download and plot the dataset.

>>> from pyvista import examples
>>> mesh = examples.download_owl()
>>> cpos = [
...     (-315.18, -402.21, 230.71),
...     (6.06, -1.74, 101.48),
...     (0.108, 0.226, 0.968),
... ]
>>> mesh.plot(cpos=cpos)
../../../_images/pyvista-examples-downloads-download_owl-1_00_00.png

Return the statistics of the dataset.

>>> mesh
PolyData (...)
  N Cells:    2440707
  N Points:   1221756
  N Strips:   0
  X Bounds:   -5.834e+01, 7.047e+01
  Y Bounds:   -7.006e+01, 6.658e+01
  Z Bounds:   1.676e+00, 2.013e+02
  N Arrays:   0

See also

Owl Dataset

See this dataset in the Dataset Gallery for more info.