# Examples from pyvista.examples.downloads.download_fea_bracket
# =============================================================

# Download and plot equivalent cell stress.
from pyvista import examples
grid = examples.download_fea_bracket()
grid.plot()

# Plot the point stress using the `'jet'` color map. Convert the cell data
# to point data.
from pyvista import examples
grid = examples.download_fea_bracket()
grid = grid.cell_data_to_point_data()
grid.plot(smooth_shading=True, split_sharp_edges=True, cmap='jet')

# SEE ALSO:
#     Fea Bracket Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#fea-bracket-dataset
#     See this dataset in the Dataset Gallery for more info.
#     Fea Hertzian Contact Cylinder Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#fea-hertzian-contact-cylinder-dataset
#     Aero Bracket Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#aero-bracket-dataset
#     Notch Stress Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#notch-stress-dataset
#     Notch Displacement Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#notch-displacement-dataset

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

