Library for controlling x-y cutters