linear_taper¶
- photonforge.stencil.linear_taper(length, widths)¶
Create a linear taper.
- Parameters:
length (float) – Taper length.
widths (Sequence[float] | float) – Taper widths at both ends.
- Returns:
Taper polygon.
- Return type:
taper = linear_taper(10, (0.5, 2.5))