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
>>> mesh = pyvista.ParametricKlein()
>>> mesh.plot(color='w', smooth_shading=True)
https://d33wubrfki0l68.cloudfront.net/ab47b5e7544d70a5d9fe8d32fba59522aaecf0fc/ad5e0/_images/pyvista-parametricklein-1_00_00.png