Project to a Plane

Project to a Plane#

Download Python source code | Download Jupyter notebook

Project a PolyData surface or pointset to a plane.

Uses project_points_to_plane() with a normal and origin.

import pyvista as pv
from pyvista import examples

poly = examples.load_random_hills()
poly.plot()
project plane

Project that surface to a plane underneath the surface

project plane

Tags: filter

Total running time of the script: (0 minutes 0.608 seconds)

Gallery generated by Sphinx-Gallery