Robotic 3D printing for complex geometries with the aid of computational design