Skip to content

Commit

Permalink
Merge pull request #2298 from gdsfactory/support-straight-spec-in-get…
Browse files Browse the repository at this point in the history
…-route-from-steps

Support giving straight spec in `get_route_from_steps`
  • Loading branch information
joamatab committed Nov 8, 2023
2 parents 4011a83 + 789c111 commit 8e6079d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gdsfactory/routing/get_route_from_steps.py
Expand Up @@ -23,6 +23,7 @@ def get_route_from_steps(
port2: Port,
steps: list[Step] | None = None,
bend: ComponentSpec = "bend_euler",
straight: ComponentSpec = "straight",
taper: ComponentSpec | None = "taper",
cross_section: CrossSectionSpec | MultiCrossSectionAngleSpec = "xs_sc",
**kwargs,
Expand Down Expand Up @@ -129,6 +130,7 @@ def get_route_from_steps(
return round_corners(
points=waypoints,
bend=bend,
straight=straight,
taper=taper,
cross_section=cross_section,
with_sbend=False,
Expand Down

0 comments on commit 8e6079d

Please sign in to comment.