Skip to content

Commit

Permalink
Support straight spec in get route from steps
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosavola committed Nov 8, 2023
1 parent ee54b63 commit 789c111
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 789c111

Please sign in to comment.