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.

port issues when absorbing

See original GitHub issue

This code produces some pins that don’t rotate

import gdsfactory as gf

@gf.cell
def test():
    c = gf.Component()
    bend = c << gf.components.bend_circular()
    bend.rotate(-90)
    c.add_ports(bend.ports)
    c.absorb(bend)
    return c


if __name__ == "__main__":
    c = gf.Component("demo")
    bend = c << test()
    c.add_ports(bend.ports)
    c.show(show_ports=True)

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
joamatabcommented, Nov 7, 2022

great, thank you Skandan!

1reaction
joamatabcommented, Nov 4, 2022

I think the issue is that the pins are defined as paths and not as polygons so they don’t rotate

Read more comments on GitHub >

github_iconTop Results From Across the Web

Packed ports and empty shelves: Inside the issues behind the ...
The problems at the ports have cascaded across the country. ... It's impossible to absorb this kind of expense so we had to...
Read more >
Port Congestion Continues to Impact Liner Operations
Port and terminal congestion is continuing to impact the operations of the major container carriers into 2022.
Read more >
We Were Warned About the Ports - The American Prospect
“We try to get after one issue, and then two or three more pop up.” The current structure is not only poorly positioned...
Read more >
11. Port Congestion and the Supply Chain - USC Dornsife
Port Congestion and the Supply Chain: When Did All Those Ships Arrive? ... so she began eating them to absorb the excess.
Read more >
A Normal Supply Chain? It's 'Unlikely' in 2022.
With the havoc at ports showing no signs of abating and prices for a vast array of goods still rising, the world is...
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