Automatic 3-axis dispensing machine using a mixing tube