Aiming at the complexity of the assembly process of the candy pushing mechanism of the BZ350 candy packaging machine and other problems, this paper develops a virtual assembly system based on the BZ350 candy packaging machine. Through SolidWorks to establish a three-dimensional model, with Yixinghe engine and Visual Studio as the system development environment, using the augmented reality device HTC VIVE rich means of human-computer interaction, to realize a set of manual assembly of the virtual assembly system. The experiment shows that: the virtual assembly system reproduces the assembly process and assembly path of the BZ350 candy packaging machine, scores the assembly results as well as saves them, and the time required to complete an assembly experiment of twisted parts is about 9 minutes. The system has good immersion and interactivity, which effectively improves the quality and efficiency of product assembly, and the practical application effect is remarkable, providing users with an intuitive sense of the scene and a new product design mode.