pygfx.geometries.klein_bottle_geometry
- pygfx.geometries.klein_bottle_geometry(scale=1.0, stitch=False)
Generate a Klein bottle.
The Klein bottle is a surface for which the inside and outside are the same, similar to a Möbius strip. In fact, a Klein bottle can be constructed by glueing together two Möbius strips.
- Parameters:
- Returns:
klein_bottle – A geometry object representing the requested klein bottle. Mathematically, it is either an “orientable open manifold” or a “non-orientable closed manifold”, depending on the
stitch
parameter.- Return type: