pyvista.ParametricConicSpiral

pyvista.ParametricConicSpiral#

ParametricConicSpiral(a=None, b=None, c=None, n=None, **kwargs)[source]#

Generate conic spiral surfaces that resemble sea-shells.

ParametricConicSpiral generates conic spiral surfaces. These can resemble sea shells, or may look like a torus “eating” its own tail.

Parameters:
afloat, default: 0.2

The scale factor.

bfloat, default: 1

The A function coefficient. See the definition in Parametric surfaces referred to above.

cfloat, default: 0.1

The B function coefficient. See the definition in Parametric surfaces referred to above.

nfloat, default: 2

The C function coefficient. See the definition in Parametric surfaces referred to above.

**kwargsdict, optional

See surface_from_para() for additional keyword arguments.

Returns:
pyvista.PolyData

ParametricConicSpiral surface.

Examples

Create a ParametricConicSpiral mesh.

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