pyvista.ParametricDini#
- ParametricDini(a: float | None = None, b: float | None = None, **kwargs) PolyData [source]#
Generate Dini’s surface.
ParametricDini generates Dini’s surface. Dini’s surface is a surface that possesses constant negative Gaussian curvature
- Parameters:
- a
float
, default: 1.0 The scale factor. See the definition in Parametric surfaces referred to above.
- b
float
, default: 0.2 The scale factor. See the definition in Parametric surfaces referred to above.
- **kwargs
dict
,optional
See
surface_from_para()
for additional keyword arguments.
- a
- Returns:
pyvista.PolyData
ParametricDini surface.
Examples
Create a ParametricDini mesh.
>>> import pyvista as pv >>> mesh = pv.ParametricDini() >>> mesh.plot(color='w', smooth_shading=True)