A library and controller for the Up brand of 3d printers