# Examples from pyvista.examples.cells.Polyhedron
# ===============================================

# Create and plot a single polyhedron.
from pyvista import examples
grid = examples.cells.Polyhedron()
examples.plot_cell(grid)

# A polyhedron is defined by it's faces. List the grid's faces.
grid.get_cell(0).faces

grid.celltypes  # same as pyvista.CellType.POLYHEDRON

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

