The invention belongs to the related technical field of human-computer interaction, and particularly discloses a 6D virtual clamp construction method for a complex curved surface. The method comprisesthe steps: S1, performing teaching learning on a complex curved surface, collecting a corresponding teaching data set, and then adopting a smooth manifold learning algorithm to construct a geometricmanifold of the complex curved surface according to the teaching data set; S2, performing projection and geodesic line path planning on the initial point of the geometric manifold by adopting a projection method to obtain a virtual fixture guide path discrete point; S3, parameterizing the discrete points of the virtual fixture guide path, and constructing a curve parameter set according to the pose distance; S4, respectively carrying out pose part interpolation and direction part interpolation on the curve parameter set to generate a 6D virtual clamp. According to the method, accurate planningof the pose and the direction in the 6D virtual clamp structure is achieved, the structure is simple, the generalization characteristic is achieved, and the construction efficiency of the complex curved surface virtual clamp is greatly improved.