detecting defects in 3D printed alloys