# Examples from pyvista.CircularArcFromNormal
# ===========================================

# Quarter arc centered at the origin in the xy plane.
import pyvista as pv
normal = [0, 0, 1]
polar = [-1, 0, 0]
arc = pv.CircularArcFromNormal(
    center=[0, 0, 0], normal=normal, polar=polar
)
pl = pv.Plotter()
_ = pl.add_mesh(arc, color='k', line_width=10)
_ = pl.show_bounds(location='all', font_size=30, use_2d=True)
_ = pl.view_xy()
pl.show()

# See Create Circular Arcs for more examples using this function.

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

