注釈
Go to the end をクリックすると完全なサンプルコードをダウンロードできます.
平面に投影#
pyvista.PolyData
surfaces and pointsets can easily be projected to a
plane defined by a normal and origin using
project_points_to_plane()
.

そのサーフェスをサーフェスの下の平面に投影します.
origin = list(poly.center)
origin[-1] -= poly.length / 3.0
projected = poly.project_points_to_plane(origin=origin)
# Display the results
p = pv.Plotter()
p.add_mesh(poly)
p.add_mesh(projected)
p.show()

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