from opentrons.types import Point from opentrons import robot x_coord = 5 y_coord = 5 z_coord = 5 point = Point(x_coord, y_coord, z_coord) robot.move_to(point)
from opentrons.types import Point starting_point = Point(0, 0, 0) offset = (10, 10, 10) new_point = starting_point + offset print(new_point)This code imports the Point data type from the opentrons package and creates a starting point with coordinates (0,0,0). It then defines an offset with coordinates (10,10,10) and adds it to the starting point using the + operator. The resulting new point is then printed to the console. Overall, Opentrons Types Point is a useful datatype for manipulating coordinate data in the Opentrons API.