pylabrobot.resources.tip_rack.TipSpot.rotate_to#

TipSpot.rotate_to(x: float | None = None, y: float | None = None, z: float | None = None, pivot_coordinate: Coordinate | None = None)#

Set the rotation about each axis, where rotate turns by an amount instead.

Parameters:
  • x (float | None) – the angle about X to sit at, in degrees. Left where it is when None.

  • y (float | None) – the angle about Y to sit at, in degrees. Left where it is when None.

  • z (float | None) – the angle about Z to sit at, in degrees. Left where it is when None.

  • pivot_coordinate (Coordinate | None) – what to turn about, as rotate takes it.

Raises:

NoLocationError – If a pivot is given for a resource with no location, as rotate raises.