Geometric quality inspection method and system of CAD (Computer Aided Design) data, storage medium and computer equipment
By integrating the PDQ system with a 3D data geometry quality system for automatic scene matching and result display, the geometric quality inspection of CAD data is streamlined, addressing inefficiencies and improving accuracy.
Patent Information
- Application Number
- CN202411049457.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-08-01
AI Technical Summary
The existing PDQ system and 3D digital model geometry quality system operate independently, requiring engineers to manually log in, import, set scenes, and match detection results, leading to inefficiency and potential errors in geometric quality inspection of CAD data.
Integrating the PDQ system with a 3D data geometry quality system for automatic matching and transmission of geometric inspection scenes, enabling seamless geometric quality inspection and display of results directly in the PDQ system, simplifying the process and improving accuracy.
The integration simplifies the geometric quality inspection process, enhances efficiency, and improves accuracy by automating scene matching and result display, facilitating easier modification based on inspection results.
Smart Images

Figure CN119106460A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of data verification, and provides a method, system, storage medium and computer equipment for checking the geometric quality of CAD data. Background Art
[0002] The Product Data Quality system, referred to as the PDQ system, is an important component of product development quality. It conducts precise quality control on the three-dimensional digital models of products at different stages, projects, and professions in product development. PDQ tools have been provided to check and repair the standardization (attributes, structure, annotations, etc.) of three-dimensional CAD data.
[0003] In order to further improve the overall quality of product development, according to business development plans and application requirements, a 3D digital model geometry quality system is introduced to inspect and repair the quality of 3D digital model geometry (curves, surfaces, edges, etc.). It matches the design characteristics of various professional parts and CAD digital model geometry design characteristics, combines business status and problems, and customizes professional inspection and repair scenarios.
[0004] The 3D digital model geometry quality system and PDQ tool complement each other and further improve the digital model quality management system. However, the two run independently. Engineers log in to the 3D digital model geometry quality system, import the 3D CAD data of parts into the 3D digital model geometry quality system, set the geometry detection scene, complete the geometry feature detection of CAD data under the geometry detection scene, download the error information XML file (detection result), match the detection result with the geometry data of the parts to be tested in the PDQ system, and manually create error points in the geometry data. The operation is difficult, inefficient, and prone to errors. Summary of the invention
[0005] In view of this, the present application provides a method for checking the geometric quality of CAD data, aiming to improve the above-mentioned problems.
[0006] Specifically, the following technical solutions are included:
[0007] On the one hand, an embodiment of the present application provides a method for checking the geometric quality of CAD data, the method comprising the following steps:
[0008] (1) Import the 3D CAD of the parts to be tested into the PDQ system, and match the geometric detection scene of the parts to be tested in the PDQ system;
[0009] (2) The PDQ system uploads the geometric detection scene of the component to be detected and the 3D CAD data of the component to be detected to the 3D data geometric quality server, so that the 3D data geometric quality service system performs relevant geometric feature detection on the 3D CAD data of the component to be detected based on the geometric detection scene;
[0010] (3) The PDQ system reads the geometry quality inspection results from the geometry quality server, parses them, and displays the non-compliant locations in the 3D CAD of the component to be tested.
[0011] In some embodiments of the present invention, the geometric detection scene matching method of the component to be tested in the PDQ system is specifically as follows:
[0012] (21) Constructing the geometric detection scenario of the 3D data geometric quality system in the PDQ system;
[0013] (22) Specify the current geometric quality inspection type of the component to be tested;
[0014] (23) reading the digital-analog code of the component to be tested, and determining the group to which the component to be tested belongs based on the coding rules of the digital code;
[0015] (24) Determine the data category attribute of the CAD data of the component to be tested. If the data category attribute is sheet metal forming part, execute step (25); if the data category attribute is other types, execute step (26);
[0016] (25) Determine whether the CAD data structure of the current component is a sheet component or a solid component. If it is determined to be a sheet component, the geometric feature detection items of the sheet component of the group to which the component to be tested belongs under the specified geometric quality inspection type constitute the geometric inspection scene of the component to be tested; if it is determined to be a solid component, the geometric feature detection items of the solid component of the group to which the component to be tested belongs under the specified geometric quality inspection type constitute the geometric quality inspection scene of the component to be tested;
[0017] (26) The geometric feature inspection items of the group to which the tested component belongs under the specified geometric quality inspection type constitute the geometric quality inspection scene of the tested component.
[0018] In some embodiments of the present invention, the type of geometric quality check includes: data detection or data repair.
[0019] In some embodiments of the present invention, if a request to view the latest geometric quality inspection result is triggered in the PDQ system, the data reading process is as follows:
[0020] Read all XML file paths of the current PDQ system under the current user account;
[0021] Traverse the folders in reverse order of their creation time, and match them one by one in the XML file paths of all files under the current account based on the digital model code. The first XML file path that matches is determined as the file path of the XML file of the current loaded data check result;
[0022] The target geometry quality inspection result XML is searched in the matched file path based on the file name.
[0023] In some embodiments of the present invention, if the request for viewing the latest geometric quality inspection result is not triggered in the PDQ system, the data reading process is as follows:
[0024] The geometry quality inspection result XML is split based on the task number of the executed geometry quality inspection task. Each geometry quality inspection task corresponds to a geometry quality inspection result XML. At the same time, the XML file path of each geometry quality inspection result XML is formed. The geometry quality inspection result XML of the target is searched in the corresponding XML file path based on the file name.
[0025] In some embodiments of the present invention, the PDQ system is embedded in CATIA software.
[0026] In some embodiments of the present invention, the error coordinate points under each check item in the corresponding geometric inspection scene are obtained by parsing, and the error coordinate points are displayed in the CAD data of the component to be tested, so that the engineer modifies the CAD data of the component to be tested based on the displayed geometric quality inspection result XML, and performs CAD data geometric quality inspection again on the modified CAD data of the component to be tested, and executes steps (1) to (3) until the CAD data of the component to be tested meets the requirements of the corresponding geometric inspection scene in the three-dimensional data geometric quality inspection system.
[0027] On the other hand, an embodiment of the present application provides a geometric quality inspection system for CAD data, the system comprising:
[0028] PDQ system, 3D data geometry quality system, a connection unit connecting the PDQ system and the 3D data geometry quality system;
[0029] The CAD data of the parts to be tested are input into the PDQ system. The PDQ system automatically matches the geometric detection scene of the parts to be tested, and sends the CAD data of the parts to be tested and the matched geometric detection scene to the three-dimensional data geometric quality system through the connection unit, so that the three-dimensional data geometric quality system can perform geometric quality detection on the CAD data of the parts to be tested under the matched geometric detection scene, and then read the detection results from the three-dimensional data geometric quality system and display them.
[0030] On the other hand, the present application provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for geometric quality inspection of CAD data.
[0031] On the other hand, the present application provides a computer device, including a processor and a storage medium storing program code, and when the program code is executed by the processor, the steps of the above-mentioned CAD data geometric quality inspection method are implemented.
[0032] The CAD data geometry quality inspection method provided by the present invention has the following beneficial technical effects:
[0033] (1) By linking the PDQ system with the 3D data geometry quality system, the geometric quality inspection process of CAD data for engineers is greatly simplified, and the inspection efficiency is improved;
[0034] (2) Automatic matching of the geometric inspection scene of the parts to be tested is realized in the PDQ system, and the matching results and the CAD data of the parts to be tested are transmitted to the 3D data geometric quality system for testing. After the test is completed, the requested test results are returned to the PDQ system and displayed in the CAD data of the parts to be tested, which further simplifies the geometric quality inspection process of the CAD data and improves the accuracy of geometric inspection scene matching. At the same time, the test results are displayed in the PDQ system, which is convenient for engineers to modify and improve the parts to be tested based on the test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 A flow chart of a method for checking the geometric quality of CAD data provided by an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of the structure of a geometric quality inspection system for CAD data provided by an embodiment of the present invention;
[0038] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] Unless otherwise defined, all technical terms used in the embodiments of the present application have the same meanings as commonly understood by those of ordinary skill in the art.
[0041] Figure 1 A flowchart of a method for checking the geometric quality of CAD data provided by an embodiment of the present invention, the method comprising the following steps:
[0042] (1) Import the 3D CAD data of the parts to be tested into the PDQ system, and match the geometric detection scene of the parts to be tested in the PDQ system;
[0043] (2) The PDQ system uploads the geometric detection scene of the component to be detected and the 3D CAD data of the component to be detected to the 3D data geometric quality server, so that the 3D data geometric quality service system performs relevant geometric feature detection on the 3D CAD data of the component to be detected based on the geometric detection scene;
[0044] In the embodiment of the present invention, the PDQ system can be embedded in the CATIA software, and of course, it can also be designed independently of the CATIA software. The CATIA software imports the 3D CAD of the component to be tested into the PDQ system. After matching the geometric detection scene of the current component to be tested in the PDQ system, the 3D CAD of the current component to be tested and its corresponding geometric detection scene are sent to the 3D data geometric quality server, which is used for the Asfalis software of the 3D data geometric quality detection.
[0045] The following is a detailed description of the geometric detection scene matching process of the parts to be tested in the PDQ system. The matching process is as follows:
[0046] (21) constructing a geometric detection scene of the three-dimensional data geometric quality system in the PDQ system so that the geometric detection scene matched by the PDQ system can be used in the three-dimensional data geometric quality system;
[0047] (22) Specify the current geometric quality inspection type of the component to be tested, where the geometric quality inspection type includes: data detection or data repair;
[0048] (23) reading the digital-analog code of the component to be tested, and determining the group to which the component to be tested belongs based on the coding rules of the digital code;
[0049] In an embodiment of the present invention, the whole vehicle is divided into several groups according to the departmental divisions during production, such as a body group, a chassis group, a powertrain group, an engine group, etc. When the parts are digitally encoded, the designated bits in the digital-analog encoding of the parts include the group to which the part to be tested belongs. Therefore, the group to which the part to be tested belongs can be determined based on the digital-analog encoding of the part to be tested.
[0050] (24) Determine the data category attribute of the CAD data of the component to be tested. If the data category attribute is sheet metal forming part, execute step (25); if the data category attribute is other types, execute step (26);
[0051] In the embodiment of the present invention, the category attributes of the data include: sheet metal molded parts and other types of non-sheet metal molded parts.
[0052] (25) Based on the defined CAD data template of the sheet metal forming part, determine whether the CAD data structure of the current component belongs to a sheet part or a solid part. Since there are differences in the geometric inspection feature items of sheet parts and solid parts, if it is determined to be a sheet part, the geometric feature inspection items of the sheet parts of the group to which the component to be tested belongs under the specified geometric quality inspection type constitute the geometric inspection scene of the component to be tested; if it is determined to be a solid part, the geometric feature inspection items of the solid parts of the group to which the component to be tested belongs under the specified geometric quality inspection type constitute the geometric quality inspection scene of the component to be tested.
[0053] (26) Determine that the geometric feature inspection items of the group to which the tested component belongs under the specified geometric quality inspection type constitute the geometric quality inspection scenario of the tested component.
[0054] Since the PDQ system uploads the geometric inspection scenes of the parts to be inspected and the 3D CAD of the parts to be inspected to the 3D data geometric quality server, the client that logs in to the 3D data geometric quality system reads the data uploaded by the PDQ system from the 3D data geometric quality server. The 3D data geometric quality service system performs geometric quality inspection on the parts to be inspected based on the geometric inspection scenes of the parts to be inspected uploaded by the PDQ system, and generates a geometric quality inspection result XML of the parts to be inspected. The file name of the geometric quality inspection result XML includes the digital model code.
[0055] (3) The PDQ system reads the geometry quality inspection results from the geometry quality server, parses them, and displays the non-compliant locations in the 3D CAD of the component to be tested.
[0056] After the function of viewing the geometric quality inspection results is triggered in the PDQ system, the position points that do not meet the inspection items are displayed in the CAD drawing of the tested parts. The staff corrects the position points that do not meet the inspection items. After each correction, the CAD data of the tested parts needs to be checked for geometric quality, that is, step (1) is executed. Therefore, the geometric quality check of the CAD data of the tested parts needs to be executed multiple times. If the request to view the latest geometric quality inspection results is triggered in the PDQ system, the data reading process is as follows:
[0057] Read all XML file paths of the current PDQ system under the current user account, that is, \\PDQ\Download\account; traverse in reverse order of folder creation time, and match one by one in the XML file paths of all files under the current account based on the digital model coding. The first XML file path that matches is determined to be the file path of the current loaded data inspection result XML; then search for the target geometry quality inspection result XML in the matched file path based on the file name.
[0058] In the embodiment of the present invention, if the request for viewing the latest geometric quality inspection result is not triggered in the PDQ system, the data reading process is as follows:
[0059] The geometry quality inspection result XML is split based on the task number of the executed geometry quality inspection task, and each geometry quality inspection task corresponds to a geometry quality inspection result XML. At the same time, an XML file path of each geometry quality inspection result XML is formed, and the geometry quality inspection result XML of the target is searched in the corresponding XML file path based on the file name.
[0060] In an embodiment of the present invention, after the PDQ system completes reading of the target geometric quality inspection result XML, the next step is to parse the read geometric quality inspection result XML, obtain the error coordinate points under each check item in the corresponding geometric inspection scene, display the error coordinate points in the CAD data of the component to be tested, and complete the geometric quality inspection task. The engineer modifies the CAD data of the component to be tested based on the displayed geometric quality inspection result XML. Since the modified CAD data of the component to be tested may introduce new problems, it is necessary to perform CAD data geometric quality inspection again on the modified CAD data of the component to be tested, that is, execute the above steps (1) to (3) until the CAD data of the component to be tested meets the requirements of the corresponding geometric inspection scene in the three-dimensional data geometric quality inspection system.
[0061] The geometric quality inspection method of CAD data provided by the present invention has the following beneficial technical effects:
[0062] (1) By linking the PDQ system with the 3D data geometry quality system, the geometric quality inspection process of CAD data for engineers is greatly simplified, and the inspection efficiency is improved;
[0063] (2) Automatic matching of the geometric inspection scene of the parts to be tested is realized in the PDQ system, and the matching results and the CAD data of the parts to be tested are transmitted to the 3D data geometric quality system for testing. After the test is completed, the requested test results are returned to the PDQ system and displayed in the CAD data of the parts to be tested, which further simplifies the geometric quality inspection process of the CAD data and improves the accuracy of geometric inspection scene matching. At the same time, the test results are displayed in the PDQ system, which is convenient for engineers to modify and improve the parts to be tested based on the test results.
[0064] Figure 2 The schematic diagram of the structure of the geometric quality inspection system of CAD data provided by the embodiment of the present invention, for the convenience of description, only the part related to the embodiment of the present invention is shown, and the system includes:
[0065] PDQ system, 3D data geometry quality system, connection unit connecting PDQ system and 3D data geometry quality system,
[0066] The PDQ system integrates the geometric inspection scenes defined in the three-dimensional data geometric quality system. The CAD data of the parts to be tested are input into the PDQ system. The PDQ system automatically matches the geometric inspection scenes of the parts to be tested based on the geometric quality inspection method of the above CAD data, and sends the CAD data of the parts to be tested and the matched geometric inspection scenes to the three-dimensional data geometric quality system through the connection unit, so that the three-dimensional data geometric quality system can perform geometric quality inspection on the CAD data of the parts to be tested under the matched geometric inspection scenes, and then read the inspection results from the three-dimensional data geometric quality system and display them.
[0067] An embodiment of the present invention further provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for geometric quality inspection of CAD data.
[0068] An embodiment of the present invention further provides a computer device, including a processor and a storage medium storing program code, wherein when the program code is executed by the processor, the steps of the above-mentioned CAD data geometry quality inspection method are implemented.
[0069] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the present application disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only.
[0070] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for checking the geometric quality of CAD data. It is characterized in that The method comprises the following steps: (1) Import the 3D CAD of the parts to be tested into the PDQ system, and match the geometric detection scene of the parts to be tested in the PDQ system; (2) The PDQ system uploads the geometric detection scene of the component to be detected and the 3D CAD data of the component to be detected to the 3D data geometric quality server, so that the 3D data geometric quality service system performs relevant geometric feature detection on the 3D CAD data of the component to be detected based on the geometric detection scene; (3) The PDQ system reads the geometry quality inspection results from the geometry quality server, parses them, and displays the non-compliant locations in the 3D CAD of the component to be tested.
2. The method for checking the geometric quality of CAD data according to claim 1, It is characterized in that The geometric detection scene matching method of the parts to be tested in the PDQ system is as follows: (21) Constructing the geometric detection scenario of the 3D data geometric quality system in the PDQ system; (22) Specify the current geometric quality inspection type of the component to be tested; (23) reading the digital-analog code of the component to be tested, and determining the group to which the component to be tested belongs based on the coding rules of the digital code; (24) Determine the data category attribute of the CAD data of the component to be tested. If the data category attribute is sheet metal forming part, execute step (25); if the data category attribute is other types, execute step (26); (25) Determine whether the CAD data structure of the current component is a sheet component or a solid component. If it is determined to be a sheet component, the geometric feature detection items of the sheet component of the group to which the component to be tested belongs under the specified geometric quality inspection type constitute the geometric inspection scene of the component to be tested; if it is determined to be a solid component, the geometric feature detection items of the solid component of the group to which the component to be tested belongs under the specified geometric quality inspection type constitute the geometric quality inspection scene of the component to be tested; (26) The geometric feature inspection items of the group to which the tested component belongs under the specified geometric quality inspection type constitute the geometric quality inspection scene of the tested component.
3. The method for checking the geometric quality of CAD data according to claim 2, It is characterized in that Types of geometry quality checks include: data detection or data repair.
4. The method for checking the geometric quality of CAD data according to claim 1, It is characterized in that If a request to view the latest geometric quality inspection results is triggered in the PDQ system, the data reading process is as follows: Read all XML file paths of the current PDQ system under the current user account; Traverse the folders in reverse order of their creation time, and match them one by one in the XML file paths of all files under the current account based on the digital model code. The first XML file path that matches is determined as the file path of the XML file of the current loaded data check result; The target geometry quality inspection result XML is searched in the matched file path based on the file name.
5. The method for checking the geometric quality of CAD data according to claim 1, It is characterized in that If the request triggered in the PDQ system is not for viewing the latest geometric quality inspection results, the data reading process is as follows: The geometry quality inspection result XML is split based on the task number of the executed geometry quality inspection task. Each geometry quality inspection task corresponds to a geometry quality inspection result XML. At the same time, the XML file path of each geometry quality inspection result XML is formed. The geometry quality inspection result XML of the target is searched in the corresponding XML file path based on the file name.
6. The method for checking the geometric quality of CAD data according to claim 1, It is characterized in that The PDQ system is embedded in CATIA software.
7. The method for checking the geometric quality of CAD data according to claim 1, It is characterized in that The error coordinate points under each check item in the corresponding geometric inspection scene are obtained by parsing, and the error coordinate points are displayed in the CAD data of the component to be tested. The engineer can modify the CAD data of the component to be tested based on the displayed geometric quality inspection result XML, and perform CAD data geometric quality inspection again on the modified CAD data of the component to be tested, and execute steps (1) to (3) until the CAD data of the component to be tested meets the requirements of the corresponding geometric inspection scene in the three-dimensional data geometric quality inspection system.
8. A geometric quality inspection system for CAD data, It is characterized in that The system comprises: PDQ system, 3D data geometry quality system, a connection unit connecting the PDQ system and the 3D data geometry quality system; The CAD data of the parts to be tested is input into the PDQ system. The PDQ system automatically matches the geometric detection scene of the parts to be tested based on the CAD data geometric quality inspection method described in any one of claims 1 to 7, and sends the CAD data of the parts to be tested and the matched geometric detection scene to the three-dimensional data geometric quality system through the connection unit, so that the three-dimensional data geometric quality system performs a geometric quality inspection on the CAD data of the parts to be tested under the matched geometric detection scene, and then reads the inspection result from the three-dimensional data geometric quality system and displays it.
9. A storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method for geometric quality inspection of CAD data according to any one of claims 1 to 7 are implemented.
10. A computer device comprising a processor and a storage medium storing program code, It is characterized in that When the program code is executed by the processor, the steps of the method for geometric quality inspection of CAD data according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Detection method for three-dimensional design quality based on PDM system
CN105045606A
Indoor scene CAD three-dimensional reconstruction method based on semantic comprehension
CN110349247A
Virtual measurement method for location degree
CN112066923A
Method and system for detecting geometric quality of CAD data
CN114707346A
Component inspection system and method
US20230111750A1
