Internal gear cutting attachment