Active inquiry type text CAD system and working method thereof
Through the active inquiry-based Wensheng CAD system, the problems of precise design, interactivity and industrial compatibility of complex 3D models in existing technologies are solved, and the ability to generate 3D models efficiently and accurately and directly import them into CAD software is achieved.
Patent Information
- Application Number
- CN202510755910.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-07
- Publication Date
- 2025-09-12
AI Technical Summary
The existing Wensheng CAD system is difficult to meet the requirements of precise design when constructing complex three-dimensional models. It lacks interactivity and has poor industrial compatibility, resulting in large deviations in the generated models and difficulty in adjusting and importing them into CAD software for processing.
The Wensheng CAD system adopts an active inquiry approach, generates task chains through workflow agents, obtains design parameters through multiple rounds of interaction, and the task verification module verifies and generates 3D models that comply with STEP standards in real time. It supports multiple rounds of active interaction and a retry mechanism to ensure the accuracy and completeness of parameter completion.
It improves design efficiency and quality, lowers the professional threshold, and enables non-professionals to quickly perform CAD design. The generated models can be directly imported into CAD software for processing, which improves industrial compatibility.
Smart Images

Figure CN120633427A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an active inquiry type Wensheng CAD system and a working method thereof, belonging to the technical field of artificial intelligence. Background Art
[0002] With the rapid development of artificial intelligence (AI), computer-aided design (CAD) technology, based on generative artificial intelligence (GAI), is gradually emerging. By integrating knowledge from multiple fields, including natural language processing (NLP), machine learning (ML), and computer graphics (CG), this technology automatically generates CAD models from text descriptions, significantly simplifying the design process and improving efficiency.
[0003] Currently, there are a variety of text-to-CAD tools on the market, such as DFKI's "Text-to-CAD" tool. These tools allow users to generate corresponding CAD models by simply inputting text prompts, and can even create innovative designs or optimize existing designs based on user needs. However, while these existing technologies have promoted the development of the CAD design field to a certain extent, they still have some significant shortcomings.
[0004] First, when constructing complex 3D models, existing technologies often fail to meet the requirements of precise design using natural language descriptions. This can lead to deviations in the generated models or the need for further optimization and adjustment. For example, in design fields with extremely high precision requirements, such as aerospace and automotive manufacturing, models generated by existing technologies often fail to meet these requirements.
[0005] Second, existing technologies have limited interactivity. While some tools offer interactive interfaces, these interfaces lack depth and flexibility, making it difficult to support multiple rounds of proactive interaction to complete design parameters. This makes it difficult for users to fine-tune the model during the design process, compromising the accuracy and completeness of the design.
[0006] Furthermore, some existing technologies lack industrial compatibility. Since the industrial design field has strict requirements for model accuracy, format, and compatibility, models generated by existing technologies may not be directly imported into CAD software for processing or further editing, which limits their application in the field. Summary of the Invention
[0007] In order to solve the problems existing in the background technology, the present invention provides an active inquiry type Wensheng CAD system and a working method thereof.
[0008] To achieve the above purpose, the present invention adopts the following technical solutions: an active inquiry type Wensheng CAD system, comprising
[0009] Workflow agent, which resolves design dependencies and generates task chains;
[0010] Task allocation agent, used to dispatch tasks to the questioning module and task verification module according to the task chain sequence;
[0011] Question module, used to perform parameter interaction and obtain user responses;
[0012] The task verification module is used to check the task completion status of downstream agents and has a built-in retry threshold mechanism with a maximum retry count of 3 times to verify the logical compliance of task execution results in real time;
[0013] The design summary module is used to generate STEP-compliant 3D models and technical reports containing parameter records. The output STEP files can be directly imported into SolidWorks for processing without additional conversion or editing steps.
[0014] The present invention provides a working method of an active inquiry-type Wensheng CAD system, the method comprising the following steps:
[0015] S1: Receive the initial CAD design description input by the user, call the semantic parsing model to parse and identify whether there are any missing design parameters;
[0016] The design parameters described in S1 include the coordinate system translation vector, the coordinates of the sketch segment endpoints, the stretching depth, and the taper scaling ratio.
[0017] S2: The workflow agent generates a task chain in the form of a directed acyclic graph based on the design parameter dependencies, and the task assignment agent sends the tasks to the corresponding downstream modules in sequence;
[0018] The task chain described in S2 is: coordinate system positioning - sketch drawing - stretching operation - taper generation.
[0019] S3: If there are any missing design parameters, the questioning module will proactively request the user to complete the design parameters. The user will then complete the design parameters through multiple rounds of active interaction according to the prompts.
[0020] The design parameter completion request in S3 includes:
[0021] S301: Generate a translation vector query for coordinate system positioning and receive the initial coordinate system position specified by the user;
[0022] S302: For sketch drawing, the user is required to input the coordinates of the sketch line segment endpoints in order to ensure the integrity of the closed figure;
[0023] S303: For the stretching operation and taper generation, the stretching depth and scaling ratio in the normal direction are inquired, wherein the input value of the normal direction depth is greater than 0, and the scaling ratio range is limited to 0-1.
[0024] S4: The task verification module verifies the output of the workflow agent in real time. When invalid output is detected, the task output is regenerated. The maximum number of retries is 3. If the limit is exceeded, the current task is skipped to ensure the accuracy and completeness of parameter completion.
[0025] S5: The system integrates parameters to generate structured CAD descriptions, generates 3D models in STEP format through the Text2CAD model, and outputs technical documents through the design summary module.
[0026] The structured CAD description in S5 includes coordinate system parameters, sketch dimensions, extrusion depth, and taper ratio.
[0027] S5 The technical documentation includes the initial CAD design description, interaction records, and final parameter set.
[0028] Compared with the prior art, the present invention has the following beneficial effects:
[0029] This method uses multiple rounds of intelligent question-and-answering to complete design parameters, dynamically verify the task completion status of downstream agents, and integrate the parameters to generate a structured description, thereby generating a 3D model that complies with the STEP standard. This not only improves design efficiency and quality, but also lowers the professional barrier to entry, allowing non-professionals to quickly get started with CAD design. Furthermore, the generated model can be directly imported into CAD software for processing or further editing, without the need for additional conversion or editing steps, improving industrial compatibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a flow chart of the working method of the active inquiry type Wensheng CAD system of the present invention;
[0031] Figure 2 It is a traditional text CAD flowchart;
[0032] Figure 3 This is a case display diagram of using the present invention to design a rectangular component. DETAILED DESCRIPTION
[0033] The technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0034] An active inquiry-based Wensheng CAD system, including
[0035] Workflow agent, which resolves design dependencies and generates task chains;
[0036] Task allocation agent, used to dispatch tasks to the questioning module and task verification module according to the task chain sequence;
[0037] The question module is used to perform parameter interaction and obtain user responses. It supports text or graphic input and actively requests users to complete coordinate system, sketch, stretch and taper parameters.
[0038] The task verification module is used to check the task completion status of downstream agents and has a built-in retry threshold mechanism with a maximum retry count of 3 times to verify the logical compliance of task execution results in real time;
[0039] The design summary module is used to generate STEP-compliant 3D models and technical reports containing parameter records. The output STEP files can be directly imported into SolidWorks for processing without additional conversion or editing steps.
[0040] The present invention provides a working method of an active inquiry-type Wensheng CAD system, the method comprising the following steps:
[0041] S1: Receive the initial CAD natural language text design description input by the user, call the semantic parsing model (such as DeepSeek-R1) to parse and identify whether there are any missing design parameters;
[0042] The design parameters described in S1 include the coordinate system translation vector, the coordinates of the sketch segment endpoints, the stretching depth, and the taper scaling ratio.
[0043] S2: The workflow agent generates a task chain in the form of a directed acyclic graph based on the design parameter dependencies, and the task assignment agent sends the tasks to the corresponding downstream modules in sequence;
[0044] The task chain described in S2 is: coordinate system positioning - sketch drawing - stretching operation - taper generation.
[0045] S3: If there are any missing design parameters, the questioning module will proactively request the user to complete the design parameters. The user will then complete the design parameters through multiple rounds of active interaction according to the prompts.
[0046] The design parameter completion request in S3 includes:
[0047] S301: Generate a translation vector query for coordinate system positioning and receive the initial coordinate system position specified by the user;
[0048] S302: For sketch drawing, the user is required to input the coordinates of the sketch line segment endpoints in order to ensure the integrity of the closed figure;
[0049] S303: For the stretching operation and taper generation, the stretching depth and scaling ratio in the normal direction are inquired, wherein the input value of the normal direction depth is greater than 0, and the scaling ratio range is limited to 0-1.
[0050] S4: The task verification module verifies the output of the workflow agent in real time. When invalid output is detected, the task output is regenerated. The maximum number of retries is 3. If the limit is exceeded, the current task is skipped to ensure the accuracy and completeness of parameter completion.
[0051] S5: The system integrates parameters to generate structured CAD descriptions, generates 3D models in STEP format through the Text2CAD model, and outputs technical documents through the design summary module.
[0052] The structured CAD description in S5 includes coordinate system parameters, sketch dimensions, extrusion depth, and taper ratio.
[0053] S5 The technical documentation includes the initial CAD design description, interaction records, and final parameter set.
[0054] Example 1:
[0055] This embodiment uses the present invention to generate a tapered rectangular prism. The details are as follows:
[0056] S1: User input: “Create a slender rectangular prism with a taper”, DeepSeek-R1 identified the missing parameters including coordinate system position, sketch size, extrusion depth, and taper ratio.
[0057] S2: Workflow agent generates task chain:
[0058] S3: Complete the active interaction design parameters:
[0059] The system asks: "Set the base coordinate system translation vector (default [0,0,0])";
[0060] The user responds: "[0,0,0]".
[0061] The system asks: "Please enter the rectangle boundary points in sequence";
[0062] User answer:
[0063] Line 1: [0,0] → [0.75,0];
[0064] Line 2: [0.75, 0] → [0.75, 0.0597];
[0065] Line 3: [0.75, 0.0597] → [0, 0.0597];
[0066] Line 4: [0, 0.0597] → [0, 0].
[0067] The system asks: "Please enter the extrusion depth in the normal direction";
[0068] The user responds: "0.0019".
[0069] The system asks: "Please enter the taper scaling ratio (0–1)";
[0070] The user responds: "0.75".
[0071] S4: Model Generation and Geometry Verification:
[0072] Parameter Set:
[0073] Coordinate system positioning: [0,0,0];
[0074] Sketch drawing: 0.75 × 0.0597 closed rectangle;
[0075] Drawing depth: 0.0019;
[0076] Taper ratio: 0.75;
[0077] Export STEP model:
[0078] Taper width = 0.75 × 0.75 = 0.5625
[0079] Total length = 0.75
[0080] Geometry Validation:
[0081] Check the continuity of the cone slope;
[0082] Check that there is no interference between the bottom and the cone end;
[0083] S5: Design Summary
[0084] Output design summary report:
[0085] Design requirements: rectangular prism with a taper
[0086] Key parameters:
[0087] Reference coordinate system: origin positioning
[0088] Sketch: Four-sided enclosed rectangle (0.75 × 0.0597)
[0089] Extrusion: Depth 0.0019 + Taper Ratio 0.75
[0090] Model features: Taper end width 0.5625
[0091] Verification results: Parameter compliance, no geometric conflicts
[0092] The generated STEP file can be imported into SolidWorks and used directly for CNC machining.
[0093] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the invention can be embodied in other forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the invention is defined by the appended claims, not the foregoing description, and all variations within the meaning and range of equivalents of the claims are intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim to which it relates.
[0094] In addition, it should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. An active inquiry-based CAD system, characterized by: include Workflow agent, which resolves design dependencies and generates task chains; Task allocation agent, used to dispatch tasks to the questioning module and task verification module according to the task chain sequence; Question module, used to perform parameter interaction and obtain user responses; The task verification module is used to check the task completion status of downstream agents and has a built-in retry threshold mechanism with a maximum retry count of 3 times to verify the logical compliance of task execution results in real time; The design summary module is used to generate STEP-compliant 3D models and technical reports containing parameter records. The output STEP files can be directly imported into SolidWorks for processing without additional conversion or editing steps.
2. A working method of an active inquiry-based Wensheng CAD system, characterized by: The method comprises the following steps: S1: Receive the initial CAD design description input by the user, call the semantic parsing model to parse and identify whether there are any missing design parameters; S2: The workflow agent generates a task chain in the form of a directed acyclic graph based on the design parameter dependencies, and the task assignment agent sends the tasks to the corresponding downstream modules in sequence; S3: If there are any missing design parameters, the questioning module will proactively request the user to complete the design parameters. The user will then complete the design parameters through multiple rounds of active interaction according to the prompts. S4: The task verification module verifies the output of the workflow agent in real time. When invalid output is detected, the task output is regenerated. The maximum number of retries is 3. If the limit is exceeded, the current task is skipped to ensure the accuracy and completeness of parameter completion. S5: The system integrates parameters to generate structured CAD descriptions, generates 3D models in STEP format through the Text2CAD model, and outputs technical documents through the design summary module.
3. The working method of the active inquiry type Wensheng CAD system according to claim 2, characterized in that: The design parameters described in S1 include the coordinate system translation vector, the coordinates of the sketch segment endpoints, the stretching depth, and the taper scaling ratio.
4. The method for operating the active inquiry-based Wensheng CAD system according to claim 2, characterized in that: The task chain described in S2 is: coordinate system positioning - sketch drawing - stretching operation - taper generation.
5. The method for operating the active inquiry-based Wensheng CAD system according to claim 4, characterized in that: The design parameter completion request in S3 includes: S301: Generate a translation vector query for coordinate system positioning and receive the initial coordinate system position specified by the user; S302: For sketch drawing, the user is required to input the coordinates of the sketch line segment endpoints in order to ensure the integrity of the closed figure; S303: For the stretching operation and taper generation, the stretching depth and scaling ratio in the normal direction are inquired, wherein the input value of the normal direction depth is greater than 0, and the scaling ratio range is limited to 0-1.
6. The method for operating the active inquiry-based Wensheng CAD system according to claim 2, characterized in that: The structured CAD description in S5 includes coordinate system parameters, sketch dimensions, extrusion depth, and taper ratio.
7. The method for operating the active inquiry-based Wensheng CAD system according to claim 6, characterized in that: The technical documentation described in S5 includes the initial CAD design description, interaction records, and final parameter set.