The invention relates to an envelope die design method for improving the spatial envelope forming precision under a linear trajectory. The method comprises the following steps of S1, building an O-xyzrectangular coordinate system through employing the highest plane geometric midpoint O of the upper surface of a component as the origin of coordinates; S2, generating an envelope mold design principle based on a component inversion method, and enabling the component to perform linear reciprocating swing motion around a rotating shaft; S3, dispersing and extracting the coordinates of the points on the upper surface of the component, and putting the coordinates into a set V1; S4, obtaining a point set V1' under different rotation angles from the point set V1 in the step S3 according to the movement in the step S2, wherein the set is the overall point cloud during the reverse movement process of the component, and the point cloud on the upper surface of the set is the envelope mold; and S5,extracting the upper surface points from the V1' point set by utilizing a boundary extraction algorithm, and putting the upper surface points into a point set V2, so that the point set V2 is the surface points of the envelope mold under the linear track. The envelope mold obtained by the method does not interfere with the upper surface of the component, and thus the spatial envelope forming precision of the component is improved.