Prop3D.center#
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> actor = pl.add_mesh(pv.Sphere(center=(0.5, 0.5, 1)))
>>> actor.center
(0.5, 0.5, 1)
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> actor = pl.add_mesh(pv.Sphere(center=(0.5, 0.5, 1)))
>>> actor.center
(0.5, 0.5, 1)