Geometric quality inspection method, system, storage medium and computer device of cad data
By linking the PDQ system with the 3D data geometric quality system, the detection results are automatically matched and displayed, solving the problem of manually creating error points in the existing technology and improving the efficiency and accuracy of CAD data geometric quality inspection.
Patent Information
- Application Number
- CN202411049457.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2044-08-01
AI Technical Summary
In existing technologies, when the PDQ system and the 3D digital model geometric quality system run independently, engineers need to manually create error points, which is difficult to operate, inefficient, and prone to errors.
By linking the PDQ system with the 3D data geometric quality system, the geometric inspection scenario of the parts to be tested is automatically matched, and the inspection is carried out on the 3D data geometric quality server. The inspection results are generated and displayed in the CAD data, and engineers make modifications based on the inspection results.
It simplifies the geometric quality inspection process for engineers, improves inspection efficiency, and ensures the accuracy and consistency of inspection results.
Smart Images

Figure CN119106460B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data checking, and provides a CAD data geometric quality checking method, system, storage medium and computer device. BACKGROUND
[0002] A product data quality (PDQ) system is used for accurately managing and controlling three-dimensional data models of products at different stages, different projects and different professions in product development, and a PDQ tool is used for checking and repairing the three-dimensional CAD data in a normative manner (attributes, structure, labeling, etc.).
[0003] In order to further improve the overall quality of product development, a three-dimensional data model geometric quality system is introduced according to business development planning and application requirements, and the geometric (curve, surface, edge, etc.) quality of the three-dimensional data model is checked and repaired.
[0004] The three-dimensional data model geometric quality system and the PDQ tool are complementary, and the data model quality management system is further improved. However, the two systems are independently operated, and an engineer logs in to the three-dimensional data model geometric quality system, imports the three-dimensional CAD data of a part into the three-dimensional data model geometric quality system, sets a geometric detection scene, and downloads an error information XML file (detection result) after completing the geometric feature detection of the CAD data in the geometric detection scene. SUMMARY
[0005] In view of this, the present application provides a CAD data geometric quality checking method, which aims to improve the above problems.
[0006] Specifically, the technical scheme includes the following:
[0007] On the one hand, the present application provides a CAD data geometric quality checking method, which includes the following steps:
[0008] (1) importing the three-dimensional CAD data of a part to be tested into a PDQ system, and matching a geometric detection scene of the part to be tested in the PDQ system;
[0009] (2) The PDQ system uploads the geometric detection scene of the part to be detected and the three-dimensional CAD data of the part to be detected to the three-dimensional data geometric quality server, so that the three-dimensional data geometric quality service system performs relevant geometric feature detection on the three-dimensional CAD data of the part to be detected based on the geometric detection scene;
[0010] (3) The PDQ system reads the geometric quality detection result from the geometric quality server and analyzes it, and displays the positions that do not meet the regulations in the three-dimensional CAD of the part to be detected.
[0011] In some embodiments of the present application, the geometric detection scene matching method of the part to be detected in the PDQ system is as follows:
[0012] (21) The geometric detection scene of the three-dimensional data geometric quality system is constructed in the PDQ system;
[0013] (22) The current geometric quality inspection type of the part to be detected is specified;
[0014] (23) The digital code of the part to be detected is read, and the group to which the part to be detected belongs is determined based on the coding rules of the digital code;
[0015] (24) The data category attribute of the CAD data of the part to be detected is determined, if the data category attribute is a sheet forming part, step (25) is performed; if the data category attribute is of other types, step (26) is performed;
[0016] (25) It is determined whether the CAD data structure of the current part belongs to a sheet part or a solid part, if it is determined that the part to be detected is a sheet part, the geometric feature detection items of the sheet part to which the part to be detected belongs under the specified geometric quality inspection type constitute the geometric detection scene of the part to be detected; if it is determined that the part to be detected is a solid part, the geometric feature detection items of the solid part to which the part to be detected belongs under the specified geometric quality inspection type constitute the geometric detection scene of the part to be detected;
[0017] (26) The geometric feature detection items of the group to which the part to be detected belongs under the specified geometric quality inspection type constitute the geometric detection scene of the part to be detected.
[0018] In some embodiments of the present application, the geometric quality inspection type includes data detection or data repair.
[0019] In some embodiments of the present application, if the viewing request of the current latest geometric quality inspection result is triggered in the PDQ system, the data reading process is as follows:
[0020] Read all XML file paths under the current user account in the PDQ system;
[0021] According to the folder creation time in reverse order, based on the digital-analog coding, the XML file paths of all files under the current account are matched one by one, and the first XML file path matched is determined as the file path of the current loaded data checking result XML file;
[0022] Based on the file name, the target geometric quality detection result XML is searched in the matched file path.
[0023] In some embodiments of the application, if the viewing request triggered in the PDQ system is not the current latest geometric quality checking result, the data reading process is as follows:
[0024] Based on the task number of the executed geometric quality checking task, the geometric quality detection result XML is split, each geometric quality checking task corresponds to a geometric quality detection result XML, and the XML file path of each geometric quality detection result XML is formed, and the target geometric quality detection result XML is searched in the corresponding XML file path based on the file name.
[0025] In some embodiments of the application, the PDQ system is embedded in CATIA software.
[0026] In some embodiments of the application, by parsing the error coordinate points under each checking item in the corresponding geometric detection scene, the error coordinate points are displayed in the CAD data of the tested part, so that the engineer modifies the CAD data of the tested part based on the displayed geometric quality detection result XML, and the modified CAD data of the tested part is subjected to CAD data geometric quality checking again, and steps (1) to (3) are executed until the CAD data of the tested part meets the requirements of the corresponding geometric detection scene in the three-dimensional data geometric quality checking system.
[0027] On the other hand, the embodiments of the application provide a geometric quality checking system of CAD data, which comprises:
[0028] A PDQ system, a three-dimensional data geometric quality system, and a connection unit connecting the PDQ system and the three-dimensional data geometric quality system;
[0029] The CAD data of the tested part is input into the PDQ system, the PDQ system automatically matches the geometric detection scene of the tested part, and sends the CAD data of the tested part 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 geometric quality detection on the CAD data of the tested part under the matched geometric detection scene, and reads and displays the detection result from the three-dimensional data geometric quality system.
[0030] In another aspect, the application provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the CAD data geometric quality checking method.
[0031] In another aspect, the application provides a computer device comprising a processor and a storage medium storing program code, which, when executed by the processor, implements the steps of the CAD data geometric quality checking method.
[0032] The CAD data geometric quality checking method provided by the application has the following beneficial technical effects:
[0033] (1) By using the linkage of the PDQ system and the three-dimensional data geometric quality system, the geometric quality detection process of the CAD data of the engineer is greatly simplified, and the detection efficiency is improved;
[0034] (2) The geometric detection scene of the to-be-detected part is automatically matched in the PDQ system, the matching result and the CAD data of the to-be-detected part are transmitted to the three-dimensional data geometric quality system for detection, the requested detection result is transmitted back to the PDQ system after the detection is completed, and the detection result is displayed in the CAD data of the to-be-detected part, which further simplifies the geometric quality detection process of the CAD data, improves the determination of the geometric detection scene matching, and displays the detection result in the PDQ system, which is convenient for the engineer to modify and improve the to-be-detected part based on the detection result. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0036] Figure 1 The flowchart of the CAD data geometric quality checking method provided by the embodiment of the application;
[0037] Figure 2 The structural schematic diagram of the CAD data geometric quality checking system provided by the embodiment of the application;
[0038] Through the above drawings, the specific embodiments of the application have been shown, and will be described in more detail hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the application by any means, but to illustrate the concept of the application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0039] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts are within the scope of the present 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 CAD data geometry quality checking method provided by the embodiments of the present application is shown in FIG. 1. The method comprises the following steps:
[0042] (1) importing the three-dimensional CAD data of the part to be tested into the PDQ system, and matching the geometry detection scene of the part to be tested in the PDQ system;
[0043] (2) uploading the geometry detection scene of the part to be tested and the three-dimensional CAD data of the part to be tested to the three-dimensional data geometry quality server, so that the three-dimensional data geometry quality service system performs relevant geometry feature detection on the three-dimensional CAD data of the part to be tested based on the geometry detection scene;
[0044] In the embodiments of the present application, the PDQ system can be embedded in the CATIA software, or can be designed independently of the CATIA software. The CATIA software imports the three-dimensional CAD of the part to be tested into the PDQ system, and after matching the geometry detection scene of the part to be tested in the PDQ system, sends the three-dimensional CAD of the part to be tested and the corresponding geometry detection scene to the three-dimensional data geometry quality server for the Asfalis software for three-dimensional data geometry quality detection;
[0045] The matching process of the geometry detection scene of the part to be tested in the PDQ system will be described in detail as follows:
[0046] (21) constructing the geometry detection scene of the three-dimensional data geometry quality system in the PDQ system, so that the geometry detection scene matched by the PDQ system can be used for the three-dimensional data geometry quality system;
[0047] (22) specifying the current geometry quality checking type of the part to be tested, and the geometry quality checking type comprises data detection or data repair;
[0048] (23) reading the digital model code of the part to be tested, and judging the group to which the part to be tested belongs based on the coding rules of the digital code;
[0049] In the embodiment of the present application, the whole vehicle is divided into several groups according to the department at the time of production, such as a body group, a chassis group, a power assembly group, an engine group, etc. When the digital model code of the parts is coded, the specified bit in the digital model code of the parts includes 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 model code of the part to be tested.
[0050] (24) The data category attribute of the CAD data of the part to be tested is determined. If the data category attribute is a sheet metal forming part, step (25) is performed. If the data category attribute is other types, step (26) is performed.
[0051] In the embodiment of the present application, the data category attribute includes sheet metal forming parts and other types of non-sheet metal forming parts.
[0052] (25) Based on the defined CAD data template of the sheet metal forming part, it is determined whether the CAD data structure of the current part belongs to a sheet body part or a solid part. Since the geometric feature items of the sheet body part and the solid part are different, if it is determined that the part to be tested is a sheet part, the geometric feature detection items of the sheet part in the specified geometric quality inspection type of the group to which the part to be tested belongs constitute the geometric detection scene of the part to be tested. If it is determined that the part to be tested is a solid part, the geometric feature detection items of the solid part in the specified geometric quality inspection type of the group to which the part to be tested belongs constitute the geometric quality detection scene of the part to be tested.
[0053] (26) The geometric feature detection items of the group to which the part to be tested belongs in the specified geometric quality inspection type constitute the geometric quality detection scene of the part to be tested.
[0054] Since the PDQ system uploads the geometric detection scene of the part to be tested and the three-dimensional CAD of the part to be tested to the three-dimensional data geometric quality server, the client logging in the three-dimensional data geometric quality system reads the data uploaded by the PDQ system from the three-dimensional data geometric quality server. The three-dimensional data geometric quality service system performs geometric quality detection on the part to be tested based on the geometric detection scene of the part to be tested uploaded by the PDQ system, and generates a geometric quality detection result XML of the part to be tested. The file name of the geometric quality detection result XML includes the digital model code.
[0055] (3) The PDQ system reads the geometric quality detection result from the geometric quality server and performs analysis. The positions that do not meet the requirements are displayed in the three-dimensional CAD of the part to be tested.
[0056] After triggering the viewing function of the geometric quality detection result in the PDQ system, the position point of the non-compliant detection item is displayed in the CAD diagram of the to-be-tested part, and the worker modifies the position point of the non-compliant detection item. After each modification, the CAD data of the to-be-tested part needs to be geometrically checked, that is, step (1) is executed, and therefore, the geometric quality checking of the CAD data of the to-be-tested part needs to be executed multiple times. If the current latest geometric quality checking result is triggered in the PDQ system, the data reading process is as follows:
[0057] All XML file paths under the current user account of the current PDQ system are read, that is, \\PDQ\Download\account. The XML file paths of all files under the current account are matched one by one in the order of folder creation time in reverse order based on the digital model code. The first XML file path matched is determined as the file path of the current loaded data checking result XML. The target geometric quality detection result XML is searched in the matched file path based on the file name.
[0058] In the embodiment of the present application, if the current latest geometric quality checking result is not triggered in the PDQ system, the data reading process is as follows:
[0059] The geometric quality detection result XML is split based on the task number of the executed geometric quality checking task, and is split into one geometric quality detection result XML corresponding to each geometric quality checking task. Meanwhile, the XML file path of each geometric quality detection result XML is formed, and the target geometric quality detection result XML is searched in the corresponding XML file path based on the file name.
[0060] In the embodiment of the present application, after the PDQ system completes the reading of the target geometric quality detection result XML, the next step is to analyze the read geometric quality detection result XML to obtain the error coordinate points under each checking item in the corresponding geometric detection scene, display the error coordinate points in the CAD data of the to-be-tested part, complete this geometric quality checking task, and modify the CAD data of the to-be-tested part based on the displayed geometric quality detection result XML. Since the modified CAD data of the to-be-tested part may introduce new problems, the modified CAD data of the to-be-tested part needs to be geometrically checked again, that is, steps (1) to (3) are executed until the CAD data of the to-be-tested part meets the requirements of the corresponding geometric detection scene in the three-dimensional data geometric quality checking system.
[0061] The CAD data geometric quality checking method provided by the present application has the following beneficial technical effects:
[0062] (1) through the linkage use of PDQ system and three-dimensional data geometry quality system, the geometric quality detection process of CAD data of engineer is greatly simplified, and the detection efficiency is improved;
[0063] (2) in the PDQ system, the geometric detection scene of the measured part is automatically matched, the matching result and the CAD data of the measured part are transmitted to the three-dimensional data geometry quality system for detection, the detection result is transmitted back to the PDQ system after detection is completed, and the detection result is displayed in the CAD data of the measured part, further simplifying the geometric quality detection process of CAD data, and the geometric detection scene matching is determined, and the detection result is displayed in the PDQ system, so that the modification and improvement of the measured part based on the detection result are facilitated.
[0064] Figure 2 The CAD data geometry quality inspection system provided by the embodiment of the application is shown in the structural schematic view, only the part related to the embodiment of the application is shown for the convenience of description, and the system comprises:
[0065] The PDQ system, the three-dimensional data geometry quality system, and the connecting unit connecting the PDQ system and the three-dimensional data geometry quality system,
[0066] The PDQ system is integrated with the geometric detection scene defined in the three-dimensional data geometry quality system, the CAD data of the measured part is input into the PDQ system, the geometric detection scene of the measured part is automatically matched based on the geometric quality inspection method of the CAD data, and the CAD data of the measured part and the matched geometric detection scene are sent to the three-dimensional data geometry quality system through the connecting unit, so that the three-dimensional data geometry quality system performs geometric quality detection on the CAD data of the measured part in the matched geometric detection scene, and the detection result is read from the three-dimensional data geometry quality system and displayed.
[0067] The embodiment of the application further provides a storage medium, which stores a computer program, and the computer program is executed by a processor to realize the steps of the geometric quality inspection method of CAD data.
[0068] The embodiment of the application further provides a computer device, which comprises a processor and a storage medium storing program code, and the program code is executed by the processor to realize the steps of the geometric quality inspection method of CAD data.
[0069] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the application cover any and all variations of the application that come within the scope of the
[0070] It is understood that the application is not limited to the precise construction herein disclosed and shown in the drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The scope of the application is limited only by the claims that follow.
Claims
1. A method of geometric quality check of CAD data, characterized by, The method comprises the following steps: (1) importing the three-dimensional CAD of the part to be tested into the PDQ system, and matching the geometric detection scene of the part to be tested in the PDQ system; (2) uploading the geometric detection scene of the part to be tested and the three-dimensional CAD data of the part to be tested to the three-dimensional data geometric quality server, so that the three-dimensional data geometric quality service system performs relevant geometric feature detection on the three-dimensional CAD data of the part to be tested based on the geometric detection scene; (3) reading the geometric quality detection result from the geometric quality server by the PDQ system, and analyzing and displaying the positions not meeting the regulations in the three-dimensional CAD of the part to be tested; The geometric detection scene matching method of the part to be tested in the PDQ system is as follows: (21) constructing the geometric detection scene of the three-dimensional data geometric quality system in the PDQ system; (22) specifying the current geometric quality inspection type of the part to be tested; (23) reading the numerical model code of the part to be tested, and judging the group to which the part to be tested belongs based on the coding rules of the numerical code; (24) determining the data category attribute of the CAD data of the part to be tested, if the data category attribute is a sheet forming part, step (25) is performed; if the data category attribute is another type, step (26) is performed; (25) judging whether the CAD data structure of the current part belongs to a sheet part or an entity part, if it is determined that the part to be tested is a sheet part, the geometric feature detection items of the sheet part in the specified geometric quality inspection type of the group to which the part to be tested belongs constitute the geometric detection scene of the part to be tested; if it is determined that the part to be tested is an entity part, the geometric feature detection items of the entity part in the specified geometric quality inspection type of the group to which the part to be tested belongs constitute the geometric detection scene of the part to be tested; (26) the geometric feature detection items of the group to which the part to be tested belongs in the specified geometric quality inspection type constitute the geometric detection scene of the part to be tested.
2. The method of claim 1, wherein the CAD data is a three-dimensional CAD data. The geometric quality inspection type includes data detection or data repair.
3. The method of claim 1, wherein the CAD data is a three-dimensional CAD data. If the current latest geometric quality inspection result viewing request is triggered in the PDQ system, the data reading process is as follows: Reading all XML file paths under the current user account in the current PDQ system; According to the folder creation time in reverse order, the XML file paths of all files under the current account are matched one by one based on the numerical model code, and the first XML file path matched is determined as the file path of the current loaded data inspection result XML; Based on the file name, the target geometric quality detection result XML is found in the matched file path.
4. The method of claim 1, wherein the CAD data is a three-dimensional CAD data. If the current latest geometric quality inspection result viewing request is not triggered in the PDQ system, the data reading process is as follows: Based on the task number of the executed geometric quality inspection task, the geometric quality detection result XML is split, each geometric quality inspection task corresponds to a geometric quality detection result XML, and the XML file path of each geometric quality detection result XML is formed, and the target geometric quality detection result XML is found in the corresponding XML file path based on the file name.
5. The method of claim 1, wherein the CAD data is a three-dimensional CAD data. The PDQ system is embedded in the CATIA software.
6. The method of claim 1, wherein the CAD data is a three-dimensional CAD data. The error coordinate points under each checking item in the corresponding geometric detection scene are obtained by analysis, and the error coordinate points are displayed in the CAD data of the to-be-tested part, so that the engineers modify the CAD data of the to-be-tested part based on the displayed geometric quality detection result XML, and the modified CAD data of the to-be-tested part is subjected to CAD data geometric quality inspection again, and steps (1) to (3) are executed until the CAD data of the to-be-tested part meets the requirements of the corresponding geometric detection scene in the three-dimensional data geometric quality detection system.
7. A system for checking the geometric quality of CAD data, characterized by The system comprises: a PDQ system, a three-dimensional data geometric quality system, and a connection unit connecting the PDQ system and the three-dimensional data geometric quality system; the CAD data of the to-be-tested part is input into the PDQ system, the PDQ system automatically matches the geometric detection scene of the to-be-tested part based on the geometric quality inspection method of the CAD data according to any one of claims 1 to 6, and sends the CAD data of the to-be-tested part 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 geometric quality detection on the CAD data of the to-be-tested part under the matched geometric detection scene, and reads and displays the detection result from the three-dimensional data geometric quality system.
8. A storage medium storing a computer program, characterized by The computer program is executed by the processor to implement the steps of the geometric quality inspection method of the CAD data according to any one of claims 1 to 6. 9.A computer device, comprising a processor and a storage medium storing program codes, and the computer device is characterized in that, The program code is executed by the processor to implement the steps of the geometric quality inspection method of the CAD data according to any one of claims 1 to 6.
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