Geometric segmentation and hierarchical splitting method based on different layers of envelopes

By judging the inclusion relationship between geometry and envelope in the three-dimensional model, and using automated geometric segmentation and hierarchical splitting methods, the inefficiency and error problems caused by traditional manual operations are solved, and efficient and accurate geometric processing and hierarchical management are achieved.

CN120449525AActive Publication Date: 2025-08-08SICHUAN HIGHWAY PLANNING SURVEY DESIGN AND RESEARCH INSTITUTE LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510954139.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2025-08-08
Estimated Expiration
2045-07-11

AI Technical Summary

Technical Problem

In the prior art, the geometric segmentation and hierarchical splitting of three-dimensional models rely on manual operations, resulting in inefficiency and errors that affect the quality and accuracy of design and processing, and lack of efficient automation methods.

Method used

By judging the inclusion relationship between the initial geometry and the parent and child envelopes, the methods of copying, cropping and independent hierarchical storage are used to realize the automated screening and segmentation of geometric elements, and the unique numbering is used to ensure data traceability and logical consistency.

Benefits of technology

It realizes automatic segmentation and hierarchical splitting of geometric elements, improves the accuracy and efficiency of design and processing processes, reduces data redundancy and hierarchical confusion, and provides a reliable hierarchical data foundation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120449525A_ABST
    Figure CN120449525A_ABST
Patent Text Reader

Abstract

The invention discloses a geometric segmentation and hierarchical splitting method based on different layers of envelope bodies, which comprises the following steps of: inputting a parent-level geometric envelope body set, a child-level envelope body set and an initial geometric set, generating a parent-level envelope body node and an initial hierarchy, traversing an inclusion relation between the initial geometry and the parent-level envelope body, and screening and processing geometries and storing the geometries into a new set L; and judging the inclusion relation between the sub-level envelope body and the parent level to generate a sub-level, traversing the geometry in the set L, and according to the inclusion relation (complete inclusion, partial inclusion and no inclusion) between the geometry in the set L and the sub-level envelope body, respectively copying, cutting and segmenting or creating independent level storage processing to finally form the structure tree. According to the method, geometric elements are precisely processed through three inclusion relationships, data traceability is ensured by using unique numbers, efficient geometric segmentation and reasonable hierarchical splitting are realized, the automation level and reliability of a design processing flow are improved, and data redundancy and hierarchical confusion are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of structural design and processing engineering, and in particular to a geometric segmentation and hierarchical splitting method based on envelopes of different layers. Background Art

[0002] In the engineering field of structural design and processing, the geometric segmentation and hierarchical splitting of three-dimensional models are key links in achieving efficient design, precise processing and subsequent analysis. Traditional methods rely on manual operations to complete geometric segmentation and hierarchical division. The process is cumbersome and inefficient. It is very easy to cause errors such as geometric omissions and hierarchical confusion due to human factors, which seriously affects the quality and processing accuracy of the downstream design. Although computer-aided design (CAD) technology has been widely used in three-dimensional design, there is currently a lack of an efficient method that can automatically segment and split the geometry and hierarchy of structural models based on the spatial relationship of the envelope, which makes it difficult to meet the efficiency and accuracy requirements of geometric processing in engineering practice. For this reason, it is urgent to propose a geometric segmentation and hierarchical splitting method based on different layers of envelopes to solve the pain points of traditional technologies and improve the automation level and reliability of structural design and processing processes. Summary of the Invention

[0003] The purpose of the present invention is to provide a solution to the problem of low efficiency in geometric division and structural hierarchical splitting of structural models in the above-mentioned background technology.

[0004] The present invention is achieved through the following technical solutions: A geometric segmentation and hierarchical splitting method based on envelopes of different layers, comprising the following steps: inputting a parent geometric envelope set {B1, B2…Bn} and its subordinate child envelope sets {b1, b2,…bn} for forming a parent geometric envelope Bn and a child envelope bn, an initial geometric set {G1, G2,…Gn} for forming an initial geometry Gn, and an empty new set L, wherein n in the three sets is a number. The specific steps are as follows: S1. Generate a node Hn corresponding to each parent envelope Bn in the parent envelope set {B1, B2…Bn}, where the level of the node Hn is the initial level p; S2. Traverse the initial geometry Gn in the initial geometry set and determine the inclusion relationship with the parent envelope Bn, select all initial geometry Gn that are partially or completely included in each parent envelope Bn, and store them in the new set L; S3. Determine the inclusion relationship between the parent envelope Bn and the child envelope bn. If the corresponding child envelope bn is in the parent envelope Bn, then generate a level h corresponding to the child envelope under the node H corresponding to the parent envelope Bn; S4. Traverse the geometry in the new set L and determine the inclusion relationship with the corresponding sub-level envelope bn and the corresponding level hn, and process the geometry and sub-level envelope and the corresponding level in the new set L according to the inclusion relationship, and finally obtain a structure tree.

[0005] Further, In S2, the specific steps of selecting all initial geometries Gn that intersect with each parent envelope Bn and forming a new set L are: S20. Traverse the initial geometry set {G1, G2, ...Gn} and determine the inclusion relationship between each initial geometry Gn and each parent envelope Bn. If the initial geometry Gn is completely contained in the parent envelope Bn, rotate it S21. If the initial geometry Gn is partially in the parent envelope Bn, rotate it S22. If the initial geometry Gn is completely outside the parent envelope Bn, rotate it S23. S21. Store the corresponding initial geometry Gn into the new set L; S22. Take the partial geometry Gn' of the corresponding initial geometry Gn contained in the parent envelope Bn and store the partial geometry Gn' in the new set L; S23. Discard the corresponding initial geometry Gn.

[0006] Further, There are three types of inclusion relationships between the new geometry in the new set L and the sub-level envelope bn, namely: the new geometry in the new set L is completely included in the sub-level envelope bn, the new geometry in the new set L is partially included in the sub-level envelope bn, and the new geometry in the new set L is completely not in the sub-level envelope bn.

[0007] Further, The processing steps for the case where the new geometry in the new set L is completely contained in the corresponding sub-level envelope bn are: S40. Query the initial level P to which the new geometry in the new set L belongs according to the level h corresponding to the corresponding sub-level envelope bn, and generate a level P' corresponding to the initial level P under the corresponding level h; S41. Copy the new geometry to generate a new geometry Gn' and place it in the level P'.

[0008] Further, The processing steps for the case where the new geometric part of the new set L is contained in the sub-level envelope bn are: S50. Query the sub-level envelope bn to which the new geometry belongs, and generate a level P' corresponding to the initial level P under the level h corresponding to the sub-level envelope bn; S51. Copy the new geometry to obtain the copied geometry Gt; S52. Use the corresponding sub-level envelope b to split the copied geometry Gt, take the part inside the corresponding sub-level envelope bn, obtain the internal geometry Gtp and put it into the level P'; S53. Generate an independent geometry level Geo_Hn belonging to the corresponding parent level Hn under the parent level Hn corresponding to the child level envelope bn; S54. Generate a level P' corresponding to the initial level P under the Geo_Hn level; S55. Take the part of the new geometry outside the child envelope bn as the external geometry Gtp and put it into the level P'.

[0009] Further, The processing steps when the new geometry in the new set L is not within the sub-level envelope bn are: S60. Find the level Hn corresponding to the parent volume Bn of the new geometry, and generate an independent geometry level Geo_Hn under the corresponding level Hn; S61. Generate a level P' corresponding to the initial level P under the Geo_Hn level; S62. Take the part of the new geometry outside the child envelope bn as the external geometry Gtp and put it into the level P'.

[0010] Further, The number n is unique within each set and each level.

[0011] The present invention has the beneficial effects: 1. This invention realizes the automatic screening, segmentation and hierarchical allocation of geometric elements by judging the inclusion relationship (complete inclusion, partial intersection, non-inclusion) between the initial geometry and the parent and child envelopes, thus avoiding data redundancy and invalid information interference caused by manual intervention.

[0012] 2. For the three relationships between sub-level envelopes and geometry (complete inclusion, partial intersection, and non-inclusion), copying, clipping, and independent hierarchical storage are used respectively to ensure the reasonable attribution of geometric elements in the hierarchical structure, maintain the original hierarchical logical consistency, and avoid hierarchical confusion.

[0013] 3. The traceability and integrity of geometric data are guaranteed through number uniqueness constraints, reducing errors caused by duplicate numbers or logical confusion. Overall, the automation of geometric segmentation and hierarchical splitting is achieved, significantly improving the accuracy and efficiency of the design and manufacturing process. It provides a reliable hierarchical data foundation for subsequent structural design, processing and analysis, and meets the needs of efficient and accurate geometric processing in engineering practice. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a logical schematic diagram of the present invention; Figure 2 It is a schematic diagram of the relationship between the initial geometry and the corresponding parent envelope; Figure 3 It is a schematic diagram of the relationship between the parent envelope and the internal child envelope; Figure 4 Generate the results and geometric correspondence diagrams for the hierarchical levels of the new geometry in the new set L that is fully contained and partially contained in the corresponding sub-level envelope bn; Figure 5 Schematic diagram of the hierarchical and geometric correspondence relationship between the new geometry in the new set L that is not included in the corresponding sub-level envelope bn. DETAILED DESCRIPTION

[0015] The present invention will be further described in detail below with reference to the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0016] For example, see Figures 1 to 5 : A geometric segmentation and hierarchical splitting method based on envelopes of different layers, comprising the following steps: inputting a parent geometric envelope set {B1, B2…Bn} and its subordinate child envelope sets {b1, b2,…bn} for forming a parent geometric envelope Bn and a child envelope bn, an initial geometric set {G1, G2,…Gn} for forming an initial geometry Gn, and an empty new set L, wherein n in the three sets is a number. The specific steps are as follows: S1. Generate a node Hn corresponding to each parent envelope Bn in the parent envelope set {B1, B2…Bn}, where the level of the node Hn is the initial level p; S2. Traverse the initial geometry Gn in the initial geometry set and determine the inclusion relationship with the parent envelope Bn, select all initial geometry Gn that are partially or completely included in each parent envelope Bn, and store them in the new set L; S3. Determine the inclusion relationship between the parent envelope Bn and the child envelope bn. If the corresponding child envelope bn is in the parent envelope Bn, then generate a level h corresponding to the child envelope under the node H corresponding to the parent envelope Bn; S4. Traverse the geometry in the new set L and determine the inclusion relationship with the corresponding sub-level envelope bn and the corresponding level hn, and process the geometry and sub-level envelope and the corresponding level in the new set L according to the inclusion relationship, and finally obtain a structure tree.

[0017] like Figure 3 As shown, the outer layer is the parent envelope Bn, and the parent envelope Bn contains the subordinate child envelope bn corresponding to the parent envelope Bn.

[0018] Further, The specific steps of selecting all the initial geometries Gn that intersect with each parent envelope Bn in S2 and forming a new set L are as follows: S20. Traverse the initial geometry set {G1, G2, ...Gn} and determine the inclusion relationship between each initial geometry Gn and each parent envelope Bn. If the initial geometry Gn is completely contained in the parent envelope Bn, rotate it S21. If the initial geometry Gn is partially in the parent envelope Bn, rotate it S22. If the initial geometry Gn is completely outside the parent envelope Bn, rotate it S23. S21. Store the corresponding initial geometry Gn into the new set L; S22. Take the partial geometry Gn' of the corresponding initial geometry Gn contained in the parent envelope Bn and store the partial geometry Gn' in the new set L; S23. Discard the corresponding initial geometry Gn.

[0019] like Figure 2 As shown, the outer rectangle is the parent envelope Bn, and the inner shaded part is the initial geometry Gn. It realizes accurate screening and segmentation of the geometry by judging the three kinds of inclusion relationships between the initial geometry Gn and the parent envelope Bn. Those not included are directly discarded, so as to achieve the effect of placing the initial geometry Gn or the part of the initial geometry Gn contained by the parent envelope Bn into the corresponding parent envelope Bn, avoiding the interference of invalid data, improving the accuracy and efficiency of subsequent level unpacking, and reducing data redundancy.

[0020] In one embodiment, the parent volume B1 is a cubic space. The initial geometry G2 is a cylinder completely contained within B1. The initial geometry G5 is a cone that intersects the parent volume B1. The initial geometry G1 is a sphere completely outside the parent volume B1. During processing, G2 is directly stored in the set L and its number is retained. The portion of G5 that intersects B1, G5', is extracted and stored in L, still numbered G5. G1 is discarded because it is completely outside. The final set L contains only the valid geometries G2 and G5' within B1, providing a clean data foundation for subsequent hierarchical decomposition.

[0021] Further, There are three types of inclusion relationships between the new geometry in the new set L and the sub-level envelope bn, namely: the new geometry in the new set L is completely included in the sub-level envelope bn, the new geometry in the new set L is partially included in the sub-level envelope bn, and the new geometry in the new set L is completely not in the sub-level envelope bn.

[0022] Further, The processing steps for the case where the new geometry in the new set L is completely contained in the corresponding sub-level envelope bn are: S40. Query the initial level P to which the new geometry in the new set L belongs according to the level h corresponding to the corresponding sub-level envelope bn, and generate a level P' corresponding to the initial level P under the corresponding level h; S41. Copy the new geometry to generate a new geometry Gn' and place it in the level P'.

[0023] When the new geometry in the new set L is completely contained in the sub-level envelope bn, by copying the new geometry and generating a sub-level P' corresponding to the original level under the sub-level h, the consistency of the original level logic can be maintained, ensuring the reasonable attribution of geometric elements in the new level structure and avoiding level confusion.

[0024] In one embodiment, if Figure 4 As shown, under different parent levels Hn, the P' level (such as P1', P2') will automatically generate sub-levels. The generated sub-levels are different and unique. Figure 4 Sub-level hierarchies in the model include P1'-2, P1'-3, P1'-4, P2'-1, and P2'-3. For example, within parent level H1 (corresponding to B1), child volume b1 contains geometry G2 (originally from initial level P1) and G3 (originally from P1). During processing, P1' is first generated at level h1, corresponding to P1. Then, G2 and G3 are copied to G2' and G3', respectively, and stored at level P1'. Sub-level P1'-2 is automatically generated at P1', with G2' and G3' ultimately stored at sub-level P1'-2. Finally, level P1', under level h1, fully retains the geometry within level b1 from the original P1 level, creating a clear hierarchical structure that facilitates subsequent specialized design or machining operations targeting the b1 region.

[0025] Further, The processing steps for the case where the new geometric part of the new set L is contained in the sub-level envelope bn are: S50. Query the sub-level envelope bn to which the new geometry belongs, and generate a level P' corresponding to the initial level P under the level h corresponding to the sub-level envelope bn; S51. Copy the new geometry to obtain the copied geometry Gt; S52. Use the corresponding sub-level envelope b to split the copied geometry Gt, take the part inside the corresponding sub-level envelope bn, obtain the internal geometry Gtp and put it into the level P'; S53. Generate an independent geometry level Geo_Hn belonging to the corresponding parent level Hn under the parent level Hn corresponding to the child level envelope bn; S54. Generate a level P 'corresponding to the initial level P under the Geo_Hn level; S55. Take the part of the new geometry outside the child envelope bn as the external geometry Gtp and put it into the level P'.

[0026] For new geometries that are partially contained in the sub-level envelope bn, the internal part is extracted by copying and then clipping, which can accurately split the geometric elements and ensure that each sub-level only contains the local structure related to the envelope, avoiding cross-regional geometric interference.

[0027] In one embodiment, if Figure 4 As shown, under different parent hierarchies Hn, the P' level (such as P1' and P2') automatically generates sub-levels. The generated sub-levels are different and unique. For example, the new geometry G7 is a cuboid spanning the sub-level envelopes b2 and b3, with part of it located within b2. During processing, a sub-level P1' of the original level P1 is first generated under the h2 level corresponding to b2. Then, G7 is copied to Gt, which is clipped with the boundary of b2. The part Gtp7 inside b2 is extracted and stored in the P1' level. After storing it under the P1' level, the sub-level P1'-4 is automatically generated under the P1' level. Gtp7 is finally stored in the sub-level P1'-4. Finally, the h2 level P1' contains only the local geometry where G7 intersects with b2, while the b3 level processes the other part of G7. This achieves a reasonable division of the same geometry into different sub-level envelopes, facilitating independent operation of each region.

[0028] Further, The processing steps when the new geometry in the set L is not within the sub-level envelope bn are: S60. Find the level Hn corresponding to the parent volume Bn of the new geometry, and generate an independent geometry level Geo_Hn under the corresponding level Hn; S61. Generate a level P' corresponding to the initial level P under the Geo_Hn level; S62. Take the part of the new geometry outside the child envelope bn as the external geometry Gtp and put it into the level P'.

[0029] When new geometry is completely uncontained by any child volume bn, an independent geometry level, Geo_Hn, is created under the parent level Hn. The external portion of the geometry is extracted and stored in the corresponding level. This allows geometric elements that do not belong to any subdivision to be classified separately, avoiding confusion with geometry in the child volume levels. This approach ensures the integrity of the hierarchical structure and provides a clear entry point for global or cross-region geometry management.

[0030] In one embodiment, if Figure 5As shown, P' levels (such as P1', P2') corresponding to the original levels of the new geometry are generated under different independent levels (such as Geo_H3, Geo_H2), and the sub-level levels (such as P2'-4, P1'-4) automatically generated under the P' level are different and unique; for example, the new geometry G11 is located in the parent envelope B3, but is not contained in any child envelopes b4, b5 of the parent envelope B3. During processing, first generate an independent level Geo_H3 under the parent level H3 corresponding to B3, then create P2' corresponding to the original level P2 of G11 under Geo_H3, extract the part Gtp11 outside all child envelopes of G11 and store it in the P2' level. When storing it in the P2' level, the secondary level P2'-4 will be automatically generated under the P2' level, and Gtp11 will be finally stored in the secondary level P2'-4. Finally, the Geo_H3 level clearly contains the unsubdivided geometry within the B3 range, making it convenient for designers to quickly locate the global structure or process cross-regional connections.

[0031] Further, The number n is unique within each set and each level.

[0032] All geometries, volumes, levels, and nodes are uniquely numbered, and the correspondence between numbers and geometric integrity is verified during output to ensure data traceability and completeness. This avoids logical confusion caused by duplicate numbering and improves the reliability of the entire method by preventing human or algorithmic errors through integrity checks.

[0033] In one embodiment, when generating new geometries G' and Gtp, the numbers are retained consistent with the original geometries (e.g., G2' corresponds to the original G2, and Gtp7 corresponds to the original G7). During output, the hierarchical structure is visualized using a mind map to verify the mapping relationship between the new geometries and the original geometries. For example, this verifies that geometries G2 and G5' in set L are correctly split into corresponding sub-levels and that no redundant geometries are generated, ensuring that the final hierarchical structure fully meets the design requirements.

[0034] It will be understood that the above embodiments are merely exemplary embodiments for illustrating the principles of the present invention, and the present invention is not limited thereto. Persons skilled in the art will readily appreciate that various modifications and improvements can be made without departing from the spirit and substance of the present invention, and such modifications and improvements are considered within the scope of protection of the present invention.

Claims

1. A geometric segmentation and hierarchical splitting method based on envelopes of different layers, characterized in that: It includes the input geometric parent envelope set {B1, B2...Bn} and its subordinate child envelope set {b1, b2,...bn} used to form the geometric parent envelope Bn and the child envelope bn, the initial geometric set {G1, G2,...Gn} forming the initial geometry Gn, and an empty new set L, where n in the three sets is a number. The specific steps are: S1. Generate a node Hn corresponding to each parent envelope Bn in the parent envelope set {B1, B2…Bn}, where the level of the node Hn is the initial level p; S2. Traverse the initial geometry Gn in the initial geometry set {G1, G2, ...Gn} and determine the inclusion relationship with the parent envelope Bn. Select all initial geometry Gn that are partially or completely included in each parent envelope Bn and store them in the new set L; S3. Determine the inclusion relationship between the parent envelope Bn and the child envelope bn. If the corresponding child envelope bn is in the parent envelope Bn, then generate a level h corresponding to the child envelope under the node H corresponding to the parent envelope Bn; S4. Traverse the new geometry in the new set L and determine the inclusion relationship with the corresponding sub-level envelope bn and the corresponding level hn, and process the new geometry and sub-level envelope and the corresponding level in the new set L according to the inclusion relationship, and finally obtain a structure tree.

2. The method of geometric segmentation and hierarchical splitting based on envelopes of different layers according to claim 1, characterized in that: In S2, the specific steps of selecting all initial geometries Gn that intersect with each parent envelope Bn and forming a new set L are: S20. Traverse the initial geometry set {G1, G2, ...Gn} and determine the inclusion relationship between each initial geometry Gn and each parent envelope Bn. If the initial geometry Gn is completely contained in the parent envelope Bn, rotate it S21. If the initial geometry Gn is partially in the parent envelope Bn, rotate it S22. If the initial geometry Gn is completely outside the parent envelope Bn, rotate it S23. S21. Store the corresponding initial geometry Gn into the new set L; S22. Take the partial geometry Gn' of the corresponding initial geometry Gn contained in the parent envelope Bn and store the partial geometry Gn' in the new set L; S23. Discard the corresponding initial geometry Gn.

3. The method of geometric segmentation and hierarchical splitting based on envelopes of different layers according to claim 1, characterized in that: There are three types of inclusion relationships between the new geometry in the new set L and the sub-level envelope bn, namely: the new geometry in the new set L is completely included in the sub-level envelope bn, the new geometry in the new set L is partially included in the sub-level envelope bn, and the new geometry in the new set L is completely not in the sub-level envelope bn.

4. The method of geometric segmentation and hierarchical splitting based on envelopes of different layers according to claim 3, characterized in that: The processing steps for the case where the new geometry in the new set L is completely contained in the corresponding sub-level envelope bn are: S40. Query the initial level P to which the new geometry in the new set L belongs according to the level h corresponding to the corresponding sub-level envelope bn, and generate a level P' corresponding to the initial level P under the corresponding level h; S41. Copy the new geometry to generate a new geometry Gn' and place it in the level P'.

5. The method of geometric segmentation and hierarchical splitting based on envelopes of different layers according to claim 3, characterized in that: The processing steps for the case where the new geometric part of the new set L is contained in the sub-level envelope bn are: S50. Query the sub-level envelope bn to which the new geometry belongs, and generate a level P' corresponding to the initial level P under the level h corresponding to the sub-level envelope bn; S51. Copy the new geometry to obtain the copied geometry Gt; S52. Use the corresponding sub-level envelope bn to split the copied geometry Gt, take the part inside the corresponding sub-level envelope bn, obtain the internal geometry Gtp and put it into the level P'; S53. Find the level Hn corresponding to the parent level Bn of the child level bn, and generate an independent geometry level Geo_Hn under the corresponding level Hn; S54. Generate a level P' corresponding to the initial level P under the Geo_Hn level; S55. Take the part of the new geometry outside the sub-level envelope bn as the external geometry Gtp and put it into the level P'.

6. The method of geometric segmentation and hierarchical splitting based on envelopes of different layers according to claim 3, characterized in that: The processing steps when the new geometry in the new set L is not within the sub-level envelope bn are: S60. Find the level Hn corresponding to the parent volume Bn of the new geometry, and generate an independent geometry level Geo_Hn under the corresponding level Hn; S61. Generate a level P' corresponding to the initial level P under the Geo_Hn level; S62. Take the part of the new geometry outside the child envelope bn as the external geometry Gtp and put it into the level P'.

7. The method of geometric segmentation and hierarchical splitting based on envelopes of different layers according to claim 6, characterized in that: The number n is unique within each set and each level.

Citation Information

Patent Citations

  • CATIA base engineering drawing structure background rapid generation method and electronic equipment

    CN117077277A

  • Data processing method and device, electronic equipment and storage medium

    CN118012938A

  • Method, system, and computer program product for hierarchical integrated circuit repartitioning

    US20080301607A1