In this paper, we use the inference rules and reasoning rules in the shape grammar to extract the elements of the cultural and creative product design, obtain the graphical elements of the cultural and creative product, import the determined graphical elements of the cultural and creative product of the inference object into Illustrator, use the pen tool to outline the morphological curves of the ornaments into paths, and at the same time organize the outlined morphological curves into the gallery. Aiming at the problem that it is difficult to obtain the optimal cultural and creative product design works in the cultural and creative product design based on shape grammar and using genetic algorithm to optimize the cultural and creative product design model. The optimization model of cultural and creative product design is empirically analyzed using simulation analysis based on research data and parameter settings. The results show that the scaling values (