linear_taper

photonforge.stencil.linear_taper(length, widths)

Create a linear taper.

Parameters:
  • length – Taper length.

  • widths – Taper widths at both ends.

Returns:

Taper photonforge.Polygon.

taper = linear_taper(10, (0.5, 2.5))
linear_taper