- gdsfactory.path.arc(radius: float | None = 10.0, angle: float = 90, npoints: int | None = None, start_angle: float = -90)Path
Returns a radial arc.
- Parameters
radius
– minimum radius of curvature.angle
– total angle of the curve.npoints
– Number of points used per 360 degrees. Defaults to pdk.bend_points_distance.start_angle
– initial angle of the curve for drawing, default -90 degrees.
import gdsfactory as gf p = gf.path.arc(radius=10, angle=45) p.plot()