pyvista.ParametricMobius

pyvista.ParametricMobius#

ParametricMobius(radius: float | None = None, **kwargs) PolyData[source]#

Generate a Mobius strip.

Parameters:
radiusfloat, default: 1.0

The radius of the Mobius strip.

**kwargsdict, optional

See surface_from_para() for additional keyword arguments.

Returns:
pyvista.PolyData

ParametricMobius surface.

Examples

Create a ParametricMobius mesh.

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