pyvista.ParametricFigure8Klein#
- ParametricFigure8Klein(radius: float | None = None, **kwargs) PolyData [source]#
Generate a figure-8 Klein bottle.
ParametricFigure8Klein generates a figure-8 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:
- radius
float
, default: 1.0 The radius of the bottle.
- **kwargs
dict
,optional
See
surface_from_para()
for additional keyword arguments.
- radius
- Returns:
pyvista.PolyData
ParametricFigure8Klein surface.
Examples
Create a ParametricFigure8Klein mesh.
>>> import pyvista as pv >>> mesh = pv.ParametricFigure8Klein() >>> mesh.plot(color='w', smooth_shading=True)