Plot with Floors

Add a floor/wall at the boundary of the rendering scene.

floors

Out:

[(0.2918153515185688, 0.4226454997535322, 0.2930908499385689),
 (-0.005878899246454239, 0.12495124898850918, -0.004603400826454163),
 (0.0, 0.0, 1.0)]

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 4.225 seconds)

Gallery generated by Sphinx-Gallery