3D sewing robotic arm