pylabrobot.resources.Trash.__init__#

Trash.__init__(name, size_x, size_y, size_z, material_z_thickness=0, max_volume=inf, category='trash', model=None, compute_volume_from_height=None, compute_height_from_volume=None, height_volume_data=None, no_go_zones=None)#

Create a new container.

Parameters:
  • material_z_thickness – Container cavity base to the (outer) base of the container object. If None, certain operations may not be supported.

  • max_volume – Maximum volume of the container. If None, will be inferred from resource size.

  • height_volume_data – Optional dict mapping height (mm) to volume (uL). When provided, compute_volume_from_height and compute_height_from_volume are auto-generated via piecewise-linear interpolation if not explicitly passed. The data is also available for direct use (e.g. building firmware segments from calibration knots).

  • no_go_zones – List of cuboid regions within the container where tips must not be positioned. Each zone is a tuple of two Coordinates: (front_left_bottom, back_right_top), relative to the container’s front-left-bottom origin.