pyvista.ParametricDini

Contents

pyvista.ParametricDini#

ParametricDini(a=None, b=None, **kwargs)[source]#

Generate Dini’s surface.

ParametricDini generates Dini’s surface. Dini’s surface is a surface that possesses constant negative Gaussian curvature

Parameters:
afloat, default: 1.0

The scale factor. See the definition in Parametric surfaces referred to above.

bfloat, default: 0.2

The scale factor. See the definition in Parametric surfaces referred to above.

**kwargsdict, optional

See surface_from_para() for additional keyword arguments.

Returns:
pyvista.PolyData

ParametricDini surface.

Examples

Create a ParametricDini mesh.

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