Operando neutron diffraction reveals mechanisms for controlled strain evolution in 3D printing