smooth_shading_algorithm#
- smooth_shading_algorithm( ) SmoothShadingAlgorithm[source]#
Add a filter that computes point normals for smooth shading.
- Parameters:
- inp
pyvista.DataSet| vtkAlgorithm Input data or algorithm.
- split_sharp_edgesbool, default:
False Whether to split sharp edges when computing normals.
- feature_angle
float, default: 30.0 Angle (in degrees) above which an edge is considered sharp. Only used when
split_sharp_edgesisTrue.
- inp
- Returns:
SmoothShadingAlgorithmSmooth shading filter applied to the input data.