Part measuring point setting method and system, vehicle and electronic equipment
By generating and setting sections and measurement points in different levels of digital and analogues of the parts to be tested, the problems of low alignment accuracy of parts measurement points and high manual operation costs in the prior art are solved, and efficient and accurate alignment of measurement points is achieved.
Patent Information
- Application Number
- CN202411415919.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-02-11
AI Technical Summary
In the prior art, the alignment of part measurement points mainly depends on manual operation, making it difficult to maintain alignment accuracy, and is time-cost, error-prone, and difficult to check.
By selecting different levels of digital model and model surfaces from the digital model of the parts to be tested, generating sections and setting measurement points, ensuring the alignment of the measurement points in different levels of digital model. The specific steps include generating a first section in the first level digital model and setting a first measurement point, generating a second section in the second level digital model according to the first section and setting a second measurement point.
It realizes high-precision alignment of part measurement points in digital and analog models at different levels, reduces the error rate and time cost of manual operation, and improves the efficiency and reliability of measurement work.
Smart Images

Figure CN119416447A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of parts measurement, and in particular to a method, system, vehicle and electronic equipment for setting part measurement points. Background Art
[0002] Dimension measurement points are usually arranged on key features such as the profile and trim of complete vehicles and parts. By measuring the position and relative size of these points, the state of the workpiece being measured can be effectively reflected, and it can be judged whether it meets the design dimensional requirements. When multi-layer parts are welded or assembled together, the measuring points of the matching parts at the same position need to be aligned for subsequent problem analysis and quality control. At present, the alignment of dimensional measurement points mainly relies on manual operation. Engineers need to manually decompose multi-layer parts, then set the measurement points one by one, and use the naked eye to judge whether the measurement points of a part are aligned on each level of digital models. However, this method is difficult to maintain the alignment accuracy of the set measurement points on each level of digital models, and it is time-consuming, error-prone, and difficult to check.
[0003] Therefore, a new method for setting part measuring points is urgently needed. Summary of the invention
[0004] In view of the above problems, embodiments of the present application provide a method, system, vehicle and electronic device for setting part measurement points, so as to overcome the above problems or at least partially solve the above problems.
[0005] In a first aspect of an embodiment of the present application, a method for setting a part measuring point is provided, the method comprising:
[0006] Selecting a first-level digital model and a second-level digital model of the part to be tested from the digital models of the part to be tested, wherein the second-level digital model is a child of the first-level digital model;
[0007] Selecting a first profile of the part to be tested from the first-level digital model;
[0008] generating a first section in a target area of the first profile;
[0009] Based on the generated first section, setting a first measuring point on the first section;
[0010] Selecting a second profile of the part to be tested from the second-level digital model, the first profile corresponding to the second profile;
[0011] According to the first section, generating a second section corresponding to the first section on the second profile, wherein the first section and the second section are located on the same normal plane;
[0012] Based on the generated second section, a second measuring point is set on the second section.
[0013] Optionally, generating a second section corresponding to the first section on the second profile according to the first section includes:
[0014] In the first-level digital model, the first section is imported into a target coordinate system to obtain coordinate information of a plurality of key points on the first section;
[0015] Loading coordinate information of a plurality of key points on the first section into the second profile in the second-level digital model;
[0016] The second section is generated on the second profile according to the coordinate information of a plurality of key points on the first section.
[0017] Optionally, there are multiple first sections, and generating the first sections in the target area of the first profile includes:
[0018] In the target area, determining a start line and an end line with reference to the edge contour line of the first profile;
[0019] Between the starting line and the ending line, a plurality of tangent lines are arranged;
[0020] Based on the set multiple tangent lines, multiple first sections are generated, wherein each tangent line generates a corresponding section, and the multiple first sections are spaced apart from each other by a first preset distance.
[0021] Optionally, the first measuring point is a trimming measuring point, and setting the first measuring point on the first section includes:
[0022] Obtaining an intersection point between a normal plane of any first section and an edge contour line of the first profile surface;
[0023] Taking the intersection as the starting point, move a first preset distance along a first preset direction of the intersection to obtain a first measuring point of the first section, wherein the first preset direction is the midpoint direction of the intersection line of the normal plane of the first section and the first profile surface.
[0024] Optionally, the first measuring point is a curved surface measuring point, and setting the first measuring point on the first section includes:
[0025] Obtaining an intersection line between a normal plane of any first section and an arc surface of the first profile;
[0026] Taking the midpoint of the intersection line as the starting point, moving in a second preset direction by a second preset distance, obtain a first measuring point of the first section.
[0027] Optionally, the method further comprises:
[0028] Selecting a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model;
[0029] Selecting a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the second profile;
[0030] According to the second section, generating a third section corresponding to the second section on the third profile, wherein the third section, the first section and the second section are located on the same normal plane;
[0031] Based on the generated third section, a third measuring point is set on the third section.
[0032] Optionally, the method further comprises:
[0033] Selecting a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model;
[0034] Selecting a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the first profile;
[0035] According to the first section, generating a third section corresponding to the first section on the third profile, wherein the third section and the first section are located on the same normal plane;
[0036] Based on the generated third section, a third measuring point is set on the third section.
[0037] In a second aspect of an embodiment of the present application, a system for setting measuring points of a part is provided, the system comprising:
[0038] A first selection module is used to select a first-level digital model and a second-level digital model of the part to be tested from the digital models of the part to be tested, wherein the second-level digital model is a child of the first-level digital model;
[0039] A second selection module, used for selecting a first profile of the part to be tested from the first-level digital model;
[0040] A first generating module, used for generating a first section in a target area of the first profile;
[0041] A first setting module, used for setting a first measuring point on the first section based on the generated first section;
[0042] A third selection module is used to select a second profile of the part to be tested from the second-level digital model, wherein the first profile corresponds to the second profile;
[0043] A second generating module, configured to generate, on the second profile surface, a second section corresponding to the first section according to the first section, wherein the first section and the second section are located on the same normal plane;
[0044] The second setting module is used to set a second measuring point on the second section based on the generated second section.
[0045] Optionally, the second section corresponding to the first section is generated on the second profile according to the first section, and the second generating module includes:
[0046] An import submodule, used to import the first section into a target coordinate system in the first-level digital model to obtain coordinate information of a plurality of key points on the first section;
[0047] A loading submodule, used for loading the coordinate information of a plurality of key points on the first section into the second molding surface in the second-level digital model;
[0048] The first generating submodule is used to generate the second section on the second profile according to the coordinate information of a plurality of key points on the first section.
[0049] Optionally, there are multiple first sections, and the first section is generated in a target area of the first profile, and the first generating module includes:
[0050] A determination submodule, configured to determine, within the target area, a start line and an end line with reference to an edge contour line of the first profile surface;
[0051] A first setting submodule is used to set a plurality of tangent lines between the starting line and the ending line;
[0052] The second generating submodule is used to generate a plurality of the first sections based on the set plurality of tangent lines, wherein each tangent line generates a corresponding section, and the plurality of the first sections are spaced apart from each other by a first preset distance.
[0053] Optionally, the first measuring point is a trimming measuring point, and the first measuring point is set on the first section, and the first setting module includes:
[0054] A first acquisition submodule, used to acquire an intersection point between a normal plane of any first section and an edge contour line of the first profile surface;
[0055] The first moving submodule is used to move a first preset distance along a first preset direction of the intersection with the intersection as the starting point to obtain a first measuring point of the first section, wherein the first preset direction is the midpoint direction of the intersection line of the normal plane of the first section and the first profile surface.
[0056] Optionally, the first measuring point is a curved surface measuring point, and the first measuring point is set on the first section, and the first setting module includes:
[0057] A second acquisition submodule is used to acquire an intersection line between a normal plane of any first section and an arc surface of the first profile;
[0058] The second moving submodule is used to move a second preset distance in a second preset direction with the midpoint of the intersection line as a starting point to obtain a first measuring point of the first section.
[0059] Optionally, the system further comprises:
[0060] A first selection submodule is used to select a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model;
[0061] A second selection submodule is used to select a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the second profile;
[0062] A third generation submodule, generating, based on the second section, a third section corresponding to the second section on the third profile, wherein the third section, the first section, and the second section are located on the same normal plane;
[0063] The second setting submodule is used to set a third measuring point on the third section based on the generated third section.
[0064] Optionally, the system further comprises:
[0065] A third selection submodule is used to select a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model;
[0066] A fourth selection submodule is used to select a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the first profile;
[0067] A fourth generating submodule, configured to generate, on the third profile surface, a third section corresponding to the first section according to the first section, wherein the third section and the first section are located on the same normal plane;
[0068] The third setting submodule is used to set a third measuring point on the third section based on the generated third section.
[0069] In a third aspect of an embodiment of the present application, a vehicle is provided, the vehicle comprising a system for setting part measuring points as described in the second aspect of the present application, and / or a method for setting part measuring points as described in the first aspect of the present application.
[0070] According to a fourth aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the method for setting part measurement points as described in the first aspect of the present application.
[0071] Beneficial effects of this application:
[0072] The present application provides a method for setting part measuring points, the method comprising: selecting a first-level digital model and a second-level digital model of the part to be measured from the digital model of the part to be measured, the second-level digital model being a sub-level of the first-level digital model; selecting a first profile of the part to be measured from the first-level digital model; generating a first section within a target area of the first profile; setting a first measuring point on the first section based on the generated first section; selecting a second profile of the part to be measured from the second-level digital model, the first profile corresponding to the second profile; generating a second section corresponding to the first section on the second profile according to the first section, the first section and the second section being located on the same normal plane; and setting a second measuring point on the second section based on the generated second section. The present application generates a first section and a first measuring point in a first-level digital model of the part to be measured, and based on the first section, generates a second section and a second measuring point in a second-level digital model of the part to be measured, thereby achieving alignment of the measuring points of the part to be measured in different levels of digital models. This not only has high alignment accuracy and low error rate, but also saves labor costs and time for manual alignment. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application 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 paying creative work.
[0074] Figure 1 It is a schematic diagram of the steps of a method for setting a part measuring point provided in an embodiment of the present application;
[0075] Figure 2It is a schematic diagram of a profile generating multiple sections provided in an embodiment of the present application;
[0076] Figure 3 It is a schematic diagram of generating inter-sectional surfaces of mutually cooperating parts provided in an embodiment of the present application;
[0077] Figure 4 It is a schematic diagram of the arrangement of measuring points between mutually cooperating parts provided in an embodiment of the present application;
[0078] Figure 5 It is a schematic diagram of the arrangement of measuring points between overlapping parts provided in an embodiment of the present application;
[0079] Figure 6 It is a structural schematic diagram of a digital model of different levels provided in an embodiment of the present application;
[0080] Figure 7 It is a schematic diagram of section inheritance and addition provided in an embodiment of the present application;
[0081] Figure 8 It is a flowchart of a method for setting part measuring points provided in an embodiment of the present application;
[0082] Fig. 9 is a schematic diagram of a system for setting part measurement points provided in an embodiment of the present application;
[0083] Fig.10 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0084] The exemplary embodiments of the present application will be described in more detail below in conjunction with the accompanying drawings in the embodiments of the present application. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to enable the scope of the present application to be fully communicated to those skilled in the art.
[0085] Based on the above problems, in a first aspect, an embodiment of the present application provides a method for setting a part measuring point, such as Figure 1 As shown, the method includes:
[0086] Step S101, selecting a first-level digital model and a second-level digital model of the part to be tested from the digital models of the part to be tested, wherein the second-level digital model is a child of the first-level digital model;
[0087] In this step, the first-level digital model and the second-level digital model are selected from the digital models of the parts to be tested. The first-level digital model here represents a higher-level part digital model, such as a vehicle-level digital model, while the second-level digital model is a sub-level of the first-level digital model, such as an assembly-level digital model.
[0088] Step S102, selecting a first profile of the part to be tested from the first-level digital model;
[0089] In this step, the first profile of the part to be measured is selected from the first-level digital model. The first profile is usually the key surface or edge of the part. By selecting the first profile, the basic area for measuring point arrangement can be defined, which lays the foundation for subsequent section generation and measuring point setting.
[0090] Step S103, generating a first section in a target area of the first profile;
[0091] In this step, a first section is generated in the target area of the first profile. In practical applications, the first section is a plane cut out from the first profile in the first-level digital model of the part to be measured, which is used to further determine the location of the measuring point. When generating the first section, a target area is usually selected, such as a key functional surface or edge, and a section is generated in the area according to the measurement requirements. This section will be used for subsequent measurement point settings.
[0092] Step S104, setting a first measuring point on the first section based on the generated first section;
[0093] In this step, based on the generated first section, a first measuring point is set on the first section. The first measuring point is set according to specific measurement requirements. In practical applications, it is usually set on the key points or reference lines of the section. These measuring points can reflect the size characteristics or assembly relationship of the profile.
[0094] Step S105, selecting a second profile of the part to be tested from the second-level digital model, the first profile corresponding to the second profile;
[0095] In this step, the second profile of the part to be measured is selected from the second-level digital model. The second profile corresponds to the first profile, that is, the first profile and the second profile have the same edge contour line, so as to inherit and align the measuring points. In practical applications, the second profile is usually the key surface of the part to be measured in the second-level digital model.
[0096] Step S106, generating a second section corresponding to the first section on the second profile according to the first section, wherein the first section and the second section are located on the same normal plane;
[0097] In this step, a second section corresponding to the first section is generated on the second profile according to the first section. This step inherits the geometric information of the first section to the second profile to generate a section corresponding to it. Make sure that the first section and the second section are on the same normal plane, so that the subsequent measurement points can be aligned and consistent in space.
[0098] Step S107: setting a second measuring point on the second section based on the generated second section.
[0099] In this step, based on the generated second section, a second measuring point is set on the second section. The key to this step is to inherit the measuring point position of the part to be tested in the first-level digital model to the second-level digital model, thereby ensuring that the measuring points of each level can be aligned and consistent during assembly, which is convenient for subsequent quality inspection and problem analysis.
[0100] The present application generates a first section and a first measuring point in a first-level digital model of the part to be measured, and based on the first section, generates a second section and a second measuring point in a second-level digital model of the part to be measured, thereby achieving alignment of the measuring points of the part to be measured in different levels of digital models. This not only has high alignment accuracy and low error rate, but also saves labor costs and time for manual alignment.
[0101] In a preferred embodiment, generating a second section corresponding to the first section on the second profile according to the first section includes:
[0102] In the first-level digital model, the first section is imported into a target coordinate system to obtain coordinate information of a plurality of key points on the first section;
[0103] Loading coordinate information of a plurality of key points on the first section into the second profile in the second-level digital model;
[0104] The second section is generated on the second profile according to the coordinate information of a plurality of key points on the first section.
[0105] Specifically, in this embodiment, first, in the first-level digital model, the target coordinate system of the first section is determined. This coordinate system is usually a spatial reference system related to the design basis or assembly basis of the part. By importing the first section into this target coordinate system, the precise position and direction of the section in space can be obtained.
[0106] Furthermore, multiple key points are selected on the first imported section. These key points are usually located at key geometric positions of the section, such as intersections, edges, or symmetry axes. By obtaining the coordinate information of these key points, accurate spatial position references can be provided for subsequent steps. The selection of these key points should be based on measurement requirements to ensure that the geometric characteristics of the section can be fully reflected.
[0107] Furthermore, the coordinate information of the key points of the first section is imported into the second-level digital model. At this point, these key points will be displayed in the second profile, which will serve as the basis for the subsequent generation of the second section. The core of this step is to seamlessly transfer the geometric features of the first-level digital model of the part to be tested to the second-level digital model, ensuring the consistency of the spatial position in different levels of digital models.
[0108] Furthermore, in the second profile, based on the imported key points, a second section corresponding to the first section is generated. This section will maintain the same spatial geometric relationship with the first section, ensuring that its position and direction in the target coordinate system are consistent with the first section. This process requires the precise determination of the position and inclination angle of the second section based on the coordinates of the key points to ensure that it can be aligned with the first section.
[0109] Based on the above steps, this embodiment can ensure that in the process of measuring point planning of multi-level parts, the measuring points can be inherited from the high-level digital model to the lower-level digital model layer by layer. This method greatly improves the accuracy of measuring point alignment, reduces the error of manual operation, and improves the efficiency and reliability of measurement work. It can not only ensure the precise alignment between digital models of different levels, but also maintain the continuity and consistency of measurement data during the inheritance process of measuring points, providing reliable data support for subsequent assembly analysis and quality control.
[0110] In a preferred embodiment, there are multiple first sections, and generating the first sections in the target area of the first profile includes:
[0111] In the target area, determining a start line and an end line with reference to the edge contour line of the first profile;
[0112] Between the starting line and the ending line, a plurality of tangent lines are arranged;
[0113] Based on the set multiple tangent lines, multiple first sections are generated, wherein each tangent line generates a corresponding section, and the multiple first sections are spaced apart from each other by a first preset distance.
[0114] Specifically, in this embodiment, if Figure 2 As shown in the figure, first, in the target area of the first profile, select the edge contour line of the profile as a reference. This contour line is usually one of the key features of the profile and can reflect the shape and boundary of the profile. Next, determine the starting line and the ending line. The starting line is usually located at one end of the target area, while the ending line is located at the other end. These two lines will define the starting point and end point of the section generation and determine the coverage of the section.
[0115] Furthermore, between the start line and the end line, multiple tangents are set along the edge contour of the profile. The setting of each tangent needs to consider the geometric shape of the profile and the requirements for section generation. Generally, the tangent should be as perpendicular to the edge contour as possible to ensure that the generated section can accurately reflect the geometric characteristics of the profile. The number and position of these tangents can be adjusted according to the measurement requirements. The denser the tangents, the more sections are generated and the wider the area covered.
[0116] Furthermore, a section is generated on each tangent line. The section generation process is to cut out a plane perpendicular to the contour line of the profile edge along the tangent direction. Multiple sections will cover the entire target area, and each section can provide a reference position for a measuring point. These sections usually maintain a first preset distance, that is, the interval between adjacent sections. This preset distance can be set according to specific measurement requirements. The smaller the distance, the denser the coverage between the sections, and the higher the measurement accuracy. In practical applications, the first preset distance is maintained between multiple first sections to ensure that the measuring points can be evenly distributed in the target area. The setting of this interval is crucial, both to avoid redundant measurements caused by too dense sections and to prevent the spacing between sections from being too large, resulting in insufficient coverage area. The selection of the preset distance is usually adjusted according to the complexity of the profile and the measurement accuracy requirements to ensure that the measurement efficiency is improved while ensuring the measurement accuracy.
[0117] In an optional embodiment, for any two parts with a matching relationship, such as part A and part B, the cross-sections generated by the two parts need to correspond to each other, so as to ensure that the assembly error is controlled within a reasonable range when assembling the vehicle parts. Figure 3 A schematic diagram of generating intersecting surfaces of mating parts is shown.
[0118] Refer to Figure 4 The diagram shows a schematic diagram of the arrangement of measuring points between mutually cooperating parts. Figure 4 As can be seen from the schematic diagram on the left, the intersection of the cross section of part A and the cross section of part B is located in the same normal plane. Figure 4 As can be seen from the schematic diagram on the right, there is a gap between the measuring point 2 of part A and the measuring point 2' of part B, and there is a face difference between the measuring point 1 of part A and the measuring point 1' of part B. In this embodiment, the smaller the cross-sectional error between part A and part B, the smaller the gap error and face difference error between the two parts will be. Figure 4 As shown, part A may be a rear door of a vehicle and part B may be a front door of the vehicle.
[0119] In a preferred embodiment, the first measuring point is a trimming measuring point, and setting the first measuring point on the first section includes:
[0120] Obtaining an intersection point between a normal plane of any first section and an edge contour line of the first profile surface;
[0121] Taking the intersection as the starting point, move a first preset distance along a first preset direction of the intersection to obtain a first measuring point of the first section, wherein the first preset direction is the midpoint direction of the intersection line of the normal plane of the first section and the first profile surface.
[0122] Specifically, in this embodiment, the first measuring point is designed as a trimming measuring point, which is specifically used to determine the position of the measuring point at the intersection of the cross section and the profile edge contour line.
[0123] First, determine the intersection relationship between the first section and the first profile surface, and find the intersection point between the normal plane of the first section and the edge contour line of the first profile surface.
[0124] Furthermore, after the intersection is determined, the intersection is used as the starting point, and a certain distance is moved along the preset direction to obtain the final measuring point position. The moving direction here, i.e., the first preset direction, is determined according to the midpoint direction of the intersection line of the normal plane and the profile surface. The midpoint direction refers to moving a certain distance from the intersection point along the midpoint direction of the intersection line, i.e., the tangent direction of the normal plane and the edge of the profile surface. This moving distance is the first preset distance, which is set according to the specific measurement requirements and is usually used to ensure that the measuring point is not too close to the edge of the profile surface, thereby avoiding potential measurement errors.
[0125] In a preferred embodiment, the first measuring point is a curved surface measuring point, and setting the first measuring point on the first section includes:
[0126] Obtaining an intersection line between a normal plane of any first section and an arc surface of the first profile;
[0127] Taking the midpoint of the intersection line as the starting point, moving in a second preset direction by a second preset distance, obtain a first measuring point of the first section.
[0128] Specifically, in this embodiment, the first measuring point is designed as a curved surface measuring point, which is specifically used to locate the measuring point on the intersection line of the curved surface of the cross section and the profile.
[0129] First, determine the intersection relationship between the normal plane of the first section and the arc surface on the first profile. Since the arc surface is a curved surface with curvature, it will generate a curve or straight line when it intersects with the normal plane. This intersection line represents the projection of the normal plane on the arc surface. The key to this step is to accurately calculate the intersection line between the normal plane and the arc surface. This intersection line is the basis for determining the measuring point.
[0130] Furthermore, after determining the intersection of the normal plane and the arc surface, the midpoint of this intersection line needs to be found. The midpoint is usually located at the geometric center of the intersection line, representing the center position of the intersection line. Selecting the midpoint as the starting point for measuring point generation can ensure that the measuring point is at a representative position of the arc surface, reflecting the geometric characteristics of the arc surface.
[0131] Furthermore, starting from the midpoint, the final measuring point position is obtained by moving a certain distance along the second preset direction. The second preset direction refers to the direction of the extension line of the intersection of the normal plane and the arc surface. The choice of this direction is crucial because it determines the position and angle of the measuring point on the arc surface. By moving along the second preset direction, the interference of the edge of the arc surface can be avoided, ensuring that the measuring point better represents the characteristics of the arc surface.
[0132] Through the above steps, the position of the first measuring point on the arc surface is finally determined. The position of this measuring point not only takes into account the curvature characteristics of the arc surface, but also ensures the geometric relationship between the spatial position of the measuring point and the cross section and normal plane. This enables the measuring point to accurately reflect the geometric characteristics of the arc surface, which is suitable for subsequent measurement and quality control.
[0133] In an optional embodiment, a schematic diagram of the arrangement of measuring points between overlapping parts is provided; Figure 5 As shown, Figure 5 As can be seen from the schematic diagram on the left, part A and part B overlap each other. After the measurement points of part A are arranged, the arrangement of the measurement points of part B must be unified with that of part A, so as to achieve the uniformity of part assembly.
[0134] In a preferred embodiment, a third-level digital model of the part to be tested is selected from the digital models of the part to be tested, and the third-level digital model is a child of the second-level digital model;
[0135] Selecting a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the second profile;
[0136] According to the second section, generating a third section corresponding to the second section on the third profile, wherein the third section, the first section and the second section are located on the same normal plane;
[0137] Based on the generated third section, a third measuring point is set on the third section.
[0138] Specifically, in this embodiment, the third-level digital model is selected from the digital models of the part to be tested. The third-level digital model represents a lower-level sub-level digital model. Figure 6 The structural diagram of different levels of digital models is shown in Figure 1. Figure 6In the figure, the first-level digital models include A1 and A2, the second-level digital models include A1.1, A1.2, A2.1, A2.2, and the third-level digital models include A1.1.1...A1.1.4, A2.1.1...A2.1.4, A2.1.1...A2.1.4, A2.2.1...A2.2.4.
[0139] Furthermore, in the third-level digital model, a third profile corresponding to the second profile is selected. The third profile is a profile corresponding to the second profile, that is, the third profile has the same edge contour line as the second profile.
[0140] Furthermore, a corresponding third section is generated on the third profile according to the second section that has been generated. When generating the third section, ensure that it is in the same normal plane as the second section and the first section. This ensures the consistency of the spatial position of the measuring points on the digital models of the parts to be measured at multiple levels.
[0141] Furthermore, on the generated third section, a third measuring point is set in the same manner as the first two sections, and the specific method of setting the measuring point is not repeated in this embodiment. By setting measuring points on sections within the same normal plane, it is ensured that the measuring points of the parts to be measured on different levels of digital models can be accurately inherited and aligned. This not only ensures the accuracy of the measurement, but also simplifies problem location and analysis during assembly inspection.
[0142] This embodiment uses the three-level digital model measurement point inheritance method to ensure that the measurement points of the measured parts from the high-level digital model to the low-level digital model are always kept in the same normal plane, thereby achieving accurate alignment of the measurement points in the multi-level assembly process.
[0143] In an alternative embodiment, Figure 7 As shown in the figure, after the second-level digital model inherits the sections of the first-level digital model from the first-level digital model, in addition to the inherited sections, multiple sections can be added to the second-level digital model, and the newly added sections must also be generated according to the assembly requirements of the parts; similarly, after the third-level digital model inherits the sections of the second-level digital model, multiple sections can also be added to the third-level digital model. Figure 7 In the figure, the dotted lines represent inherited sections, and the solid lines represent newly added sections.
[0144] In a preferred embodiment, a third-level digital model of the part to be tested is selected from the digital models of the part to be tested, and the third-level digital model is a child of the second-level digital model;
[0145] Selecting a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the first profile;
[0146] According to the first section, generating a third section corresponding to the first section on the third profile, wherein the third section and the first section are located on the same normal plane;
[0147] Based on the generated third section, a third measuring point is set on the third section.
[0148] Specifically, in this embodiment, a third-level digital model is selected from the digital model of the part to be tested. The third-level digital model represents a sub-level digital model of a lower level. In the third-level digital model, a third profile corresponding to the first profile is selected.
[0149] Furthermore, in the third-level digital model, a third profile corresponding to the first profile is selected. The third profile is a profile corresponding to the first profile, that is, the third profile has the same edge contour line as the first profile.
[0150] Furthermore, a corresponding third section is generated on the third profile according to the generated first section. When generating the third section, ensure that it is in the same normal plane as the first section. This ensures the consistency of the spatial position of the measuring points on the digital models of the parts to be measured at multiple levels.
[0151] Furthermore, on the generated third section, a third measuring point is set in the same manner as the first section, and the specific method of setting the measuring point is not repeated in this embodiment. By setting measuring points on sections within the same normal plane, it is ensured that the measuring points of the parts to be measured on different levels of digital models can be accurately inherited and aligned. This not only ensures the accuracy of the measurement, but also simplifies problem location and analysis during assembly inspection.
[0152] In a preferred embodiment, there is provided a Figure 8 The flow chart of the part measuring point setting method is as follows: Figure 8 As shown:
[0153] First, it is necessary to determine the first section of the corresponding surface in the first-level digital model and set the first measuring point according to the first section; then, create an inheritance file according to the first section and the first measuring point in the first-level digital model; further, generate the corresponding second section and second measuring point in the second-level digital model according to the inheritance file created based on the first section and the first measuring point in the first-level digital model; further, create an inheritance file again according to the second section and the second measuring point in the second-level digital model; further, generate the corresponding third section and third measuring point in the third-level digital model according to the inheritance file created based on the second section and the second measuring point in the second-level digital model, and so on, until the setting of sections and measuring points of single-piece parts is completed.
[0154] The present application provides a method for setting part measuring points, the method comprising: selecting a first-level digital model and a second-level digital model of the part to be measured from the digital model of the part to be measured, the second-level digital model being a sub-level of the first-level digital model; selecting a first profile of the part to be measured from the first-level digital model; generating a first section within a target area of the first profile; setting a first measuring point on the first section based on the generated first section; selecting a second profile of the part to be measured from the second-level digital model, the first profile corresponding to the second profile; generating a second section corresponding to the first section on the second profile according to the first section, the first section and the second section being located on the same normal plane; and setting a second measuring point on the second section based on the generated second section. The present application generates a first section and a first measuring point in a first-level digital model of the part to be measured, and based on the first section, generates a second section and a second measuring point in a second-level digital model of the part to be measured, thereby achieving alignment of the measuring points of the part to be measured in different levels of digital models. This not only has high alignment accuracy and low error rate, but also saves labor costs and time for manual alignment.
[0155] Based on the same inventive concept, in a second aspect of the embodiment of the present application, a system for setting measuring points of a part is provided, such as Fig. 9 As shown, the system comprises:
[0156] A first selection module 201 is used to select a first-level digital model and a second-level digital model of the part to be tested from the digital models of the part to be tested, wherein the second-level digital model is a child of the first-level digital model;
[0157] A second selection module 202 is used to select a first profile of the part to be tested from the first level digital model;
[0158] A first generating module 203, used to generate a first section in a target area of the first profile;
[0159] A first setting module 204, configured to set a first measuring point on the first section based on the generated first section;
[0160] A third selection module 205 is used to select a second profile of the part to be tested from the second-level digital model, wherein the first profile corresponds to the second profile;
[0161] A second generating module 206, configured to generate, on the second profile surface, a second section corresponding to the first section according to the first section, wherein the first section and the second section are located on the same normal plane;
[0162] The second setting module 207 is used to set a second measuring point on the second section based on the generated second section.
[0163] Optionally, the second section corresponding to the first section is generated on the second profile according to the first section, and the second generating module 206 includes:
[0164] An import submodule, used to import the first section into a target coordinate system in the first-level digital model to obtain coordinate information of a plurality of key points on the first section;
[0165] A loading submodule, used for loading the coordinate information of a plurality of key points on the first section into the second molding surface in the second-level digital model;
[0166] The first generating submodule is used to generate the second section on the second profile according to the coordinate information of a plurality of key points on the first section.
[0167] Optionally, there are multiple first sections, and the first section is generated in the target area of the first profile, and the first generating module 203 includes:
[0168] A determination submodule, configured to determine, within the target area, a start line and an end line with reference to an edge contour line of the first profile surface;
[0169] A first setting submodule is used to set a plurality of tangent lines between the starting line and the ending line;
[0170] The second generating submodule is used to generate a plurality of the first sections based on the set plurality of tangent lines, wherein each tangent line generates a corresponding section, and the plurality of the first sections are spaced apart from each other by a first preset distance.
[0171] Optionally, the first measuring point is a trimming measuring point, and the first measuring point is set on the first section, and the first setting module 204 includes:
[0172] A first acquisition submodule, used to acquire an intersection point between a normal plane of any first section and an edge contour line of the first profile surface;
[0173] The first moving submodule is used to move a first preset distance along a first preset direction of the intersection with the intersection as the starting point to obtain a first measuring point of the first section, wherein the first preset direction is the midpoint direction of the intersection line of the normal plane of the first section and the first profile surface.
[0174] Optionally, the first measuring point is a curved surface measuring point, and the first measuring point is set on the first section, and the first setting module 204 includes:
[0175] A second acquisition submodule is used to acquire an intersection line between a normal plane of any first section and an arc surface of the first profile;
[0176] The second moving submodule is used to move a second preset distance in a second preset direction with the midpoint of the intersection line as a starting point to obtain a first measuring point of the first section.
[0177] Optionally, the system further comprises:
[0178] A first selection submodule is used to select a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model;
[0179] A second selection submodule is used to select a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the second profile;
[0180] A third generation submodule, generating, based on the second section, a third section corresponding to the second section on the third profile, wherein the third section, the first section, and the second section are located on the same normal plane;
[0181] The second setting submodule is used to set a third measuring point on the third section based on the generated third section.
[0182] Optionally, the system further comprises:
[0183] A third selection submodule is used to select a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model;
[0184] A fourth selection submodule is used to select a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the first profile;
[0185] A fourth generating submodule, configured to generate, on the third profile surface, a third section corresponding to the first section according to the first section, wherein the third section and the first section are located on the same normal plane;
[0186] The third setting submodule is used to set a third measuring point on the third section based on the generated third section.
[0187] Based on the same concept, a third aspect of an embodiment of the present application provides a vehicle, which includes a system for setting part measuring points as described in the second aspect of the present application, and / or a method for setting part measuring points as described in the first aspect of the present application.
[0188] Based on the same concept, the fourth aspect of the embodiment of the present application provides a Fig.10 The electronic device 100 shown includes a memory 110, a processor 120, and a computer program stored in the memory 110. The processor 120 executes the computer program to implement the method for setting part measurement points as described in the first aspect of the present application.
[0189] Each embodiment in this specification focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referenced to each other.
[0190] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0191] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0192] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0193] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0194] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0195] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0196] The above is a detailed introduction to a method, system, vehicle and electronic device for setting part measuring points. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for setting a part measuring point, characterized in that: The method comprises: Selecting a first-level digital model and a second-level digital model of the part to be tested from the digital models of the part to be tested, wherein the second-level digital model is a child of the first-level digital model; Selecting a first profile of the part to be tested from the first-level digital model; generating a first section in a target area of the first profile; Based on the generated first section, setting a first measuring point on the first section; Selecting a second profile of the part to be tested from the second-level digital model, the first profile corresponding to the second profile; According to the first section, generating a second section corresponding to the first section on the second profile, wherein the first section and the second section are located on the same normal plane; Based on the generated second section, a second measuring point is set on the second section.
2. A method for setting part measuring points according to claim 1, characterized in that: The step of generating a second section corresponding to the first section on the second profile according to the first section includes: In the first-level digital model, the first section is imported into a target coordinate system to obtain coordinate information of a plurality of key points on the first section; Loading coordinate information of a plurality of key points on the first section into the second profile in the second-level digital model; The second section is generated on the second profile according to the coordinate information of a plurality of key points on the first section.
3. A method for setting part measuring points according to claim 1, characterized in that: There are a plurality of first sections, and generating the first sections in a target area of the first profile includes: In the target area, determining a start line and an end line with reference to the edge contour line of the first profile; Between the starting line and the ending line, a plurality of tangent lines are arranged; Based on the set multiple tangent lines, multiple first sections are generated, wherein each tangent line generates a corresponding section, and the multiple first sections are spaced apart from each other by a first preset distance.
4. A method for setting part measuring points according to claim 3, characterized in that: The first measuring point is a trimming measuring point, and setting the first measuring point on the first section includes: Obtaining an intersection point between a normal plane of any first section and an edge contour line of the first profile surface; Taking the intersection as the starting point, move a first preset distance along a first preset direction of the intersection to obtain a first measuring point of the first section, wherein the first preset direction is the midpoint direction of the intersection line of the normal plane of the first section and the first profile surface.
5. A method for setting part measuring points according to claim 3, characterized in that: The first measuring point is a curved surface measuring point, and setting the first measuring point on the first section includes: Obtaining an intersection line between a normal plane of any first section and an arc surface of the first profile; Taking the midpoint of the intersection line as the starting point, moving in a second preset direction by a second preset distance, obtain a first measuring point of the first section.
6. A method for setting part measuring points according to claim 2, characterized in that: The method further comprises: Selecting a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model; Selecting a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the second profile; According to the second section, generating a third section corresponding to the second section on the third profile, wherein the third section, the first section and the second section are located on the same normal plane; Based on the generated third section, a third measuring point is set on the third section.
7. A method for setting part measuring points according to claim 1, characterized in that: The method further comprises: Selecting a third-level digital model of the part to be tested from the digital models of the part to be tested, wherein the third-level digital model is a child of the second-level digital model; Selecting a third profile of the part to be tested from the third-level digital model, wherein the third profile corresponds to the first profile; According to the first section, generating a third section corresponding to the first section on the third profile, wherein the third section and the first section are located on the same normal plane; Based on the generated third section, a third measuring point is set on the third section.
8. A system for setting measuring points of a part, characterized in that: The system comprises: A first selection module is used to select a first-level digital model and a second-level digital model of the part to be tested from the digital models of the part to be tested, wherein the second-level digital model is a child of the first-level digital model; A second selection module, used for selecting a first profile of the part to be tested from the first-level digital model; A first generating module, used for generating a first section in a target area of the first profile; A first setting module, used for setting a first measuring point on the first section based on the generated first section; A third selection module is used to select a second profile of the part to be tested from the second-level digital model, wherein the first profile corresponds to the second profile; A second generating module, configured to generate, on the second profile surface, a second section corresponding to the first section according to the first section, wherein the first section and the second section are located on the same normal plane; The second setting module is used to set a second measuring point on the second section based on the generated second section.
9. A vehicle, characterized in that: The vehicle comprises a part measuring point setting system as claimed in claim 8, and / or is used to execute a part measuring point setting method as claimed in any one of claims 1-7.
10. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the method for setting part measuring points according to any one of claims 1 to 7.