pyvista.examples.examples.load_nut

Contents

pyvista.examples.examples.load_nut#

load_nut()[source]#

Load an example nut mesh.

Returns:
pyvista.PolyData

A sample nut surface dataset.

Examples

Load an example nut and plot with smooth shading.

>>> from pyvista import examples
>>> mesh = examples.load_nut()
>>> mesh.plot(smooth_shading=True, split_sharp_edges=True)
../../../_images/pyvista-examples-examples-load_nut-1_00_00.png

See also

Nut Dataset

See this dataset in the Dataset Gallery for more info.