注釈
Go to the end をクリックすると完全なサンプルコードをダウンロードできます.
床を使用してプロットする#
Add a floor/wall at the boundary of the rendering scene
using add_floor()
.
from __future__ import annotations
import pyvista as pv
from pyvista import examples
mesh = examples.download_dragon()
plotter = pv.Plotter()
plotter.add_mesh(mesh)
plotter.add_floor('-y')
plotter.add_floor('-z')
plotter.show()

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