pyvista.PolyDataFilters.flip_normals#
- PolyDataFilters.flip_normals()[source]#
Flip normals of a triangular mesh by reversing the point ordering.
Deprecated since version 0.45: This filter is deprecated. Use
flip_faces(inplace=True)
instead.Examples
Flip the normals of a sphere and plot the normals before and after the flip.
>>> import pyvista as pv >>> sphere = pv.Sphere() >>> sphere.plot_normals(mag=0.1) >>> sphere.flip_normals() >>> sphere.plot_normals(mag=0.1, opacity=0.5)