extract_all_edges#
- ExplicitStructuredGrid.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.
- progress_barbool,
- 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')
See Extract Cell Centers for more examples using this filter.