3d printer control hardware