pyvista.examples.downloads.download_louis_louvre#

download_louis_louvre(load=True)[source]#

Download the Louis XIV de France statue at the Louvre, Paris.

Statue found in the Napoléon Courtyard of Louvre Palace. It is a copy in plomb of the original statue in Versailles, made by Bernini and Girardon.

Originally downloaded from sketchfab

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

Plot the Louis XIV statue with custom lighting and camera angle.

>>> from pyvista import examples
>>> import pyvista as pv
>>> dataset = examples.download_louis_louvre()
>>> pl = pv.Plotter(lighting=None)
>>> _ = pl.add_mesh(dataset, smooth_shading=True)
>>> pl.add_light(pv.Light((10, -10, 10)))
>>> pl.camera_position = [
...     [-6.71, -14.55, 15.17],
...     [1.44, 2.54, 9.84],
...     [0.16, 0.22, 0.96],
... ]
>>> pl.show()
../../../_images/pyvista-examples-downloads-download_louis_louvre-1_00_00.png

See Physically Based Rendering for an example using this dataset.