Skip to article frontmatterSkip to article content

gdsfactory.path.straight

gdsfactory.path.straight(length: float = 10.0, npoints: int = 2)Path

Returns a straight path.

For transitions you should increase have at least 100 points

Parameters
  • lengthof straight.

  • npointsnumber of points.