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
,optional
Resolution in the u direction.
- v_res
int
,optional
Resolution in the v direction.
- w_res
int
,optional
Resolution in the w direction.
- cleanbool,
optional
Clean and merge duplicate points to avoid “creases” when plotting with smooth shading.
- parametric_function
- Returns
pyvista.PolyData
Surface from the parametric function.