pyvista.PolyData.strips#

property PolyData.strips: NumpyArray[int][source]#

Return a pointer to the strips as a numpy array.

Returns:
numpy.ndarray

Array of strip indices.

Examples

>>> import pyvista as pv
>>> polygon = pv.Rectangle()
>>> extruded = polygon.extrude((0, 0, 1), capping=False)
>>> extruded.strips
array([4, 0, 1, 4, 5, 4, 1, 2, 5, 6, 4, 2, 3, 6, 7, 4, 3, 0, 7, 4])