ubcpdk.components.bend_s

ubcpdk.components.bend_s#

ubcpdk.components.bend_s(size: Float2 = (11.0, 1.8), npoints: int = 99, *, cross_section: CrossSectionSpec = 'xs_sc', **kwargs) Component#

Return S bend with bezier curve.

stores min_bend_radius property in self.info[‘min_bend_radius’] min_bend_radius depends on height and length

Parameters:
  • size – in x and y direction.

  • npoints – number of points.

  • cross_section – spec.

  • add_pins – add pins to the component.

Keyword Arguments:
  • with_manhattan_facing_angles – bool.

  • start_angle – optional start angle in deg.

  • end_angle – optional end angle in deg.