gdsfactory.routing.get_bundle_sbend

gdsfactory.routing.get_bundle_sbend#

gdsfactory.routing.get_bundle_sbend(ports1: Port, ports2: Port, sort_ports: bool = True, enforce_port_ordering: bool = True, axis: str = 'X', **kwargs) list[Route][source]#

Returns a list of routes from ports1 to ports2.

Parameters:
  • ports1 – start ports.

  • ports2 – end ports.

  • sort_ports – sort ports.

  • enforce_port_ordering – enforces port ordering.

  • axis – axis to bend. X or Y.

  • kwargs – cross_section settings.

Returns:

list of routes.