Skip to article frontmatterSkip to article content

gdsfactory.path.arc

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
  • radiusminimum radius of curvature.

  • angletotal angle of the curve.

  • npointsNumber of points used per 360 degrees. Defaults to pdk.bend_points_distance.

  • start_angleinitial angle of the curve for drawing, default -90 degrees.

import gdsfactory as gf

p = gf.path.arc(radius=10, angle=45)
p.plot()