question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

disconnected waveguides in some manhattan routes

See original GitHub issue

How can we fix some disconnected waveguides in some manhattan routes?

"""
Some manhattan routes have disconnected waveguides

"""

import gdsfactory as gf


if __name__ == "__main__":
    c = gf.Component()
    # c1 = c << gf.components.straight_array(spacing=200)
    c1 = c << gf.components.straight_array(spacing=50)
    c2 = c << gf.components.straight_array(spacing=5)

    c2.movex(200)
    c1.y = 0
    c2.y = 0

    routes = gf.routing.get_bundle_path_length_match(
        c1.get_ports_list(orientation=0),
        c2.get_ports_list(orientation=180),
        end_straight_length=0,
        start_straight_length=0,
        separation=50,
        radius=10,
        # radius=3 # smaller radius works
    )

    for route in routes:
        c.add(route.references)

    c.show()


image

image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joamatabcommented, Sep 14, 2022

For path length matching sbends have different length so it may not be a good solution

0reactions
joamatabcommented, Dec 23, 2022

Yes, when this happens I usually change the position of one of the components that we are routing to

Read more comments on GitHub >

github_iconTop Results From Across the Web

SiEPIC-Tools/scripts.py at master - GitHub
"Error: Waveguide segments are not Manhattan (vertical, horizontal). This is not supported in SiEPIC-Tools.") warning.setInformativeText("Do ...
Read more >
Components — gdsfactory 6.15.0 documentation
Returns component array in X axis with west facing waveguides. ... w1 ( float ) – thin section width. w1 = 0 corresponds...
Read more >
Silicon Photonics Circuit Design: Methods, Tools and ...
Routing waveguides along Manhattan directions works well for high-contrast silicon waveguides, as bend radii of a few µm make sharp 90° ...
Read more >
Routing Schemes in FANETs: A Survey - MDPI
Some adaptive routing schemes used in MANETs, VANETs, and FANETs are adaptive routing in dynamic ad hoc networks (AROD) [108], static-node assisted adaptive ......
Read more >
US6411752B1 - Vertically coupled optical resonator devices over a ...
Optical resonators are vertically coupled on top of bus waveguides, and are separated from the waveguides by a buffer layer of arbitrary thickness....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found