gdsfactory.path.straight

Contents

gdsfactory.path.straight#

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

Returns a straight path.

For transitions you should increase have at least 100 points

Parameters:
  • length – of straight.

  • npoints – number of points.