The invention discloses a
natural language driven CAD (
Computer Aided Design) modeling method based on multi-agent
collaboration. According to the method, a collaborative mechanism of a structure planning agent, a parameter completion agent and an execution
verification agent is introduced, and the method comprises the steps that firstly, a structure planning agent analyzes
natural language description and generates an
abstract syntax tree structure meeting a CAD modeling rule; then, on the premise that the structure of the
abstract syntax tree is kept unchanged, a parameter completion agent predicts and completes all symbol and numerical parameters, and a complete CAD modeling
instruction sequence is generated; and finally, the execution
verification agent performs structure and parameter dual
verification on the generation instruction by using the geometric kernel, and feeds back and corrects if necessary. According to the method, a strategy of combining field adaptive full-parameter pre-training and task specific
fine tuning is adopted in a training stage, and a structure-parameter decoupling modeling and
closed loop verification mechanism is introduced, so that the structure accuracy, the parameter matching property and the geometric performability of a generated result are effectively improved.