pyvista.ParametricConicSpiral#
- ParametricConicSpiral(
- a: float | None = None,
- b: float | None = None,
- c: float | None = None,
- n: float | None = None,
- **kwargs,
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:
- a
float
, default: 0.2 The scale factor.
- b
float
, default: 1 The A function coefficient. See the definition in Parametric surfaces referred to above.
- c
float
, default: 0.1 The B function coefficient. See the definition in Parametric surfaces referred to above.
- n
float
, default: 2 The C function coefficient. See the definition in Parametric surfaces referred to above.
- **kwargs
dict
,optional
See
surface_from_para()
for additional keyword arguments.
- a
- Returns:
pyvista.PolyData
ParametricConicSpiral surface.
Examples
Create a ParametricConicSpiral mesh.
>>> import pyvista as pv >>> mesh = pv.ParametricConicSpiral() >>> mesh.plot(color='w', smooth_shading=True)