gdsfactory.cross_section.l_with_trenches#
- gdsfactory.cross_section.l_with_trenches(width=0.5, width_trench=2.0, width_slab=7.0, layer='WG', layer_slab='WG', layer_trench='DEEP_ETCH', mirror=False, sections=None, **kwargs)[source]#
Return CrossSection of l waveguide defined by trenches.
- Parameters:
width (float) – main Section width (um) or function parameterized from 0 to 1. the width at t==0 is the width at the beginning of the Path. the width at t==1 is the width at the end.
width_trench (float) – in um.
width_slab (float) – in um.
layer (tuple[int, int] | str | int | LayerEnum) – ridge layer. None adds only ridge.
layer_slab (tuple[int, int] | str | int | LayerEnum) – slab layer.
layer_trench (tuple[int, int] | str | int | LayerEnum) – layer to etch trenches.
mirror (bool) – this cross section is not symmetric and you can switch orientation.
sections (tuple[Section, ...] | None) – list of Sections(width, offset, layer, ports).
kwargs (Any) – cross_section settings.
- Return type:
import gdsfactory as gf xs = gf.cross_section.l_with_trenches(width=0.5) p = gf.path.arc(radius=10, angle=45) c = p.extrude(xs) c.plot()
(
Source code,png,hires.png,pdf)