support routes with `None` orientation ports
See original GitHub issueHow can we support bundle routes with ports that have orientation=None
?
if __name__ == "__main__":
import gdsfactory as gf
c = gf.Component("pads_bundle_steps")
pt = c << gf.components.pad_array(
gf.partial(gf.components.pad, size=(30, 30)),
orientation=None,
columns=3,
spacing=(50, 0),
)
pb = c << gf.components.pad_array(orientation=None, columns=1, rows=3)
pt.move((500, 500))
routes = gf.routing.get_bundle_from_steps_electrical(
pt.ports,
pb.ports,
end_straight_length=60,
separation=30,
steps=[{"dy": -50}, {"dx": -100}],
)
for route in routes:
c.add(route.references)
c.show()
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Routing — PHIDL documentation
By default, route functions such as route_sharp() and route_smooth() will connect one port to another with polygonal paths that are as wide as...
Read more >vPC and Routing Protocols - Network Direction
A controversial topic; Can vPC exist with routing? ... There has been some confusion around the question; does vPC support routing?
Read more >Cisco SD-WAN Routing Configuration Guide, Cisco IOS XE ...
Supported Protocols. This section explains the protocols supported for unicast routing. OMP Routing Protocol; BGP and OSPF Routing Protocols ...
Read more >Achieve path-based routing on an Application Load Balancer
An Application Load Balancer allows you to create a listener with rules that forwards requests to target groups based on the URL.
Read more >Configure Static Routing on Cisco ASA Firewall
Cisco ASA firewalls support both static and dynamic routing. ... I have diiferent internal VLAN (port)configure on the same switch (one for the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Amazing! Thank you Skandan
fixed in https://github.com/gdsfactory/gdsfactory/pull/702