The previous research confirms that the shape of measurement objects influences the measurement results, and the influences can be reduced by aligning the normal of the measurement object with the laser projection axis when using a laser displacement meter for 3D shape measurement [1]. but when the laser projection axis aligns with the normal of the measurement object, calculated based on the design value, the influence of the tilt of the measurement object is omitted if the measurement object has machining or mounting errors. This paper proposes a high-precision shape measurement method for on-machine measurement that considers machining errors and validated its effectiveness.