pyvista.StructuredGrid.cast_to_explicit_structured_grid#
- StructuredGrid.cast_to_explicit_structured_grid() ExplicitStructuredGrid [source]#
Cast to an explicit structured grid.
- Returns:
pyvista.ExplicitStructuredGrid
An explicit structured grid.
- Raises:
TypeError
If the structured grid is not 3D (i.e., any dimension is 1).