A 3D Printer Powered by AI and Machine Vision