@VilhelmKM and i had a very productive chat today regarding continuing evo development in plr.
one of the things Vilhelm pointed out was that carriers like DiTi_2Pos___Waste
include a trash bucket. We will implement this in PLR as follows:
def DiTi_2Pos___Waste(name: str) -> TecanTipCarrier:
"""Tecan part no. 10613012"""
carrier = TecanTipCarrier(
name=name,
size_x=149.0,
size_y=374.0,
size_z=4.5,
off_x=12.0,
off_y=24.7,
sites=create_resources(
klass=ResourceHolder,
locations=[
Coordinate(3.0, 0.0, 4.5),
Coordinate(13.3, 170.0, 4.5),
Coordinate(13.3, 270.0, 4.5),
],
resource_size_x=[
143.0,
127.0,
127.0,
],
resource_size_y=[
155.0,
88.5,
88.5,
],
name_prefix=name,
),
model="DiTi_2Pos___Waste",
)
carrier[0] = Trash(name, size_x, size_y, ...) # assuming it's index 0
return carrier
# carrier with trash
carrier = DiTi_2Pos__Waste(name="my_carrier")
my_trash = carrier[0]