extract_all_edges

MultiBlock.extract_all_edges(progress_bar=False)

Extract all the internal/external edges of the dataset as PolyData.

This produces a full wireframe representation of the input dataset.

Parameters
progress_barbool, optional

Display a progress bar to indicate progress.

Returns
pyvista.PolyData

Edges extracted from the dataset.

Examples

Extract the edges of a sample unstructured grid and plot the edges. Note how it plots interior edges.

>>> import pyvista
>>> from pyvista import examples
>>> hex_beam = pyvista.read(examples.hexbeamfile)
>>> edges = hex_beam.extract_all_edges()
>>> edges.plot(line_width=5, color='k')
../../../_images/pyvista-MultiBlock-extract_all_edges-1_00_00.png

See Extract Cell Centers for more examples using this filter.