# DCBend

class aluvia.all.DCBend(*args, **kwargs)

  A metal bent section that follows the 45 degree Manhattan routing rule. The radius can be defined and also the orientation (clockwise, counterclockwise).

  Parameters:
    trace_template: PCell and ElectricalWireTemplate
    external_port_names: str

      Dictionary for remapping of the port names of the contents to the external ports

    name: String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters

      The unique name of the pcell

  Other Parameters:
    contents: PCell and _Trace, locked

  Views

  class Layout(*args, **kwargs)
    Parameters:
      bend_radius: float and number > 0

        Radius of the bend[um]

      orientation: str and String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters and List with value restriction, allowed values: [‘clockwise’, ‘counterclockwise’]

        Orientation of the bend clockwise/counterclockwise.Default is clockwise

      core_width: float and number > 0

        Width of the metal [um]

  Name | Type | Position | Angle | Waveguide Template | Inclination
  --- | --- | --- | --- | --- | ---
  in | Electrical | (0.0, 0.0) | 180.0 | MetalWireTemplate | 0.0
  out | Electrical | (100.0, -100.0) | -90.0 | MetalWireTemplate | 0.0

      from aluvia import technology
      from aluvia.all import DCBend

      lo = DCBend().Layout()
      lo.visualize(annotate=True)