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)
https://d33wubrfki0l68.cloudfront.net/21ac365431adccc082cba6dfba69f505ed465fc1/ceba0/_images/pyvista-examples-examples-load_nut-1_00_00.png