pylabrobot.resources.LinkBody.__init__#

LinkBody.__init__(name: str, size_x: float, size_y: float, size_z: float, proximal_joint: Coordinate, distal_joint: Coordinate | None = None, category: str = 'link_body', model: str | None = None)#
Parameters:
  • name (str) – what to call this one.

  • size_x (float) – how far the member reaches along X, in mm.

  • size_y (float) – how far it reaches along Y, in mm.

  • size_z (float) – how far it reaches along Z, in mm.

  • proximal_joint (Coordinate) – where the joint this member turns on sits within it.

  • distal_joint (Coordinate | None) – where the joint the next member turns on sits within it. None on a member that ends the chain.

  • category (str) – what kind of resource this is.

  • model (str | None) – which member this is.