3D printing and artificial intelligence: how they are working