pyvista_js.examples.download_bunny

pyvista_js.examples.download_bunny#

pyvista_js.examples.download_bunny() PolyData#

Download the Stanford Bunny dataset.

Downloads bunny.ply from the PyVista vtk-data repository and returns it as a PolyData mesh, mirroring the pyvista.examples.download_bunny API.

The Stanford Bunny is a widely used 3D test model in computer graphics.

戻り値:

The Stanford Bunny mesh.

戻り値の型:

pyvista_js.PolyData

サンプル

>>> import pyvista_js as pv
>>> from pyvista_js import examples
>>> mesh = examples.download_bunny()
>>> plotter = pv.Plotter()
>>> _ = plotter.add_mesh(mesh)
>>> plotter.show()