pyvista.PolyDataFilters.flip_normals#
- PolyDataFilters.flip_normals()[source]#
Flip normals of a triangular mesh by reversing the point ordering.
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)