A new computer vision system watches the 3D printing process and adjusts velocity and printing path to avoid errors. Training the system in simulation, researchers avoid the costly trial-and-error associated with setting 3D printing parameters for new materials.