pyvista.surface_from_para#
- surface_from_para(parametric_function, u_res=100, v_res=100, w_res=100, clean=False)[source]#
Construct a mesh from a parametric function.
- Parameters:
- parametric_function
vtk.vtkParametricFunction Parametric function to generate mesh from.
- u_res
int, default: 100 Resolution in the u direction.
- v_res
int, default: 100 Resolution in the v direction.
- w_res
int, default: 100 Resolution in the w direction.
- cleanbool, default:
False Clean and merge duplicate points to avoid “creases” when plotting with smooth shading.
- parametric_function
- Returns:
pyvista.PolyDataSurface from the parametric function.