gdsfactory.path.straight

Contents

gdsfactory.path.straight#

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

Returns a straight path.

For transitions you should increase have at least 100 points

Parameters:
  • length (float) – of straight.

  • npoints (int) – number of points.

Return type:

Path