pyvista.ParametricKlein#

ParametricKlein(**kwargs)[source]#

Generate a “classical” representation of a Klein bottle.

ParametricKlein generates a “classical” representation of a Klein bottle. A Klein bottle is a closed surface with no interior and only one surface. It is unrealisable in 3 dimensions without intersecting surfaces.

Parameters:
**kwargsdict, optional

See surface_from_para() for additional keyword arguments.

Returns:
pyvista.PolyData

ParametricKlein surface.

Examples

Create a ParametricKlein mesh.

>>> import pyvista as pv
>>> mesh = pv.ParametricKlein()
>>> mesh.plot(color='w', smooth_shading=True)
../../../_images/pyvista-ParametricKlein-1_00_00.png