pylabrobot.resources.Trash.rotated#

Trash.rotated(x: float = 0, y: float = 0, z: float = 0, pivot_coordinate: Coordinate | None = None) Self#

Return a copy of this resource rotated by the given number of degrees.

Parameters:
  • x (float) – degrees to turn about X.

  • y (float) – degrees to turn about Y.

  • z (float) – degrees to turn about Z.

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

Return type:

Self