Researchers have trained a machine-learning model to streamline 3D printing, monitoring and adjusting the process to correct errors in real-time.