Civil engineering BIM model component collision checking method and device
By performing grouping and three-level collision checks within the 3DE platform, combined with virtual surface trimming operations, the problem of inefficient feature-level BIM component collision checks in existing technologies has been solved. This achieves an efficient and accurate design-inspection closed loop, improving the design collaboration efficiency and data security of infrastructure projects.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA POWER CONSRTUCTION GRP GUIYANG SURVEY & DESIGN INST CO LTD
- Filing Date
- 2026-04-03
- Publication Date
- 2026-07-31
AI Technical Summary
Existing technologies cannot perform feature-level BIM component collision checks efficiently and accurately in the native environment of the 3DE platform, resulting in design errors not being detected in a timely manner, complex processes, data redundancy, low collaboration efficiency, long feedback links, difficulty in modification, and the risk of damaging the original model structure.
Within the 3DE platform, 3D model elements are divided according to grouping rules, and three levels of collision checks are performed: within groups, between groups, and between parts. Combined with virtual surface trimming operations in memory and 3DE built-in functions, collision check results are generated, and collision objects are output through visualization.
It enables synchronous design and inspection within the same platform, improving inspection efficiency, simplifying operation processes, ensuring data security and integrity, enhancing design collaboration efficiency and quality, and reducing design iteration cycles and costs.
Smart Images

Figure CN122490634A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of BIM technology, specifically to a method and apparatus for collision detection of components in a civil engineering BIM model. Background Technology
[0002] With the continuous expansion of infrastructure construction projects and their increasing complexity, BIM technology has become a core means to improve design quality and collaborative efficiency. In the BIM design process, clash detection is a crucial step in ensuring design consistency among various disciplines such as civil engineering, structure, and mechanical and electrical engineering, and in avoiding construction rework.
[0003] Infrastructure projects, especially large-scale hydropower and pumped storage power station projects, often employ Dassault Systèmes 3DE platform for top-down parametric design. This design approach is characterized by the fact that, to accommodate the characteristics of civil engineering, simplify model management, and maintain as-negotiable updates during design changes, designers typically create numerous logically independent BIM components within a single part file using a series of feature commands such as stretch, rotate, sweep, split, and Boolean operations. For example, a dam body part file might contain multiple dam sections, galleries, gate slots, etc., and may be further split into numerous interconnected features based on material zoning and construction compartments. These are all considered independent components in BIM applications, and these components generated by feature operations are called feature-level BIM components.
[0004] However, the native clash detection function of the 3DE platform uses parts as the smallest inspection unit, and it cannot identify and inspect spatial conflicts between BIM components of different feature levels within the same part. This fundamental limitation leads to the following situation in actual engineering projects:
[0005] Method 1: Model Export Method. The model export method involves exporting the 3DE model to a universal format and then importing it into third-party collision detection software (such as Composer or Navisworks) for analysis.
[0006] The disadvantages of the model export method are: (1) The process is cumbersome and inefficient. The model export method involves multiple steps such as format conversion, data import and export, and component attribute mapping, which are complex and time-consuming. (2) Data redundancy and version confusion. The export process generates a large number of intermediate files, which increases the difficulty of version management and makes it difficult to ensure data consistency with the original design model. (3) Long feedback chain. After a collision is found in third-party software, designers need to return to the 3DE platform to manually locate, find and modify it. The information transmission chain is long and cannot realize the agile design mode.
[0007] Method 2: Feature-to-Part Conversion. Within the 3DE platform, feature-level BIM components originally located within the same part are forcibly converted into part files. Each part file retains only one feature-level BIM component, and then native tools are used to perform collision checks between parts.
[0008] The disadvantages of the feature-to-part method are: (1) It destroys the original design structure. Forced conversion will break the original top-down, parametric association design logic, making it extremely difficult to modify and maintain the model later. (2) It loses the association relationship. The association relationship between the converted independent parts and the original design features is weak or completely lost, which increases the complexity of tracing and collaboration. (3) It increases the amount of computation. Converting a large number of features into parts will drastically increase the number of model files and the total amount of data, resulting in a decrease in the platform's operating performance.
[0009] Method 3: API secondary development solution method. Interference can be determined by directly performing Boolean operations or geometric analysis on the geometry in the model using 3DE's automated API.
[0010] The disadvantages of the API secondary development solution method are: (1) lack of efficient interface. Research has found that 3DE does not provide an efficient API interface that can complete collision checks in memory without modifying the parts. When the surfaces of two geometric objects are in contact or intersect, the system's built-in distance measurement function returns a distance of 0 meters, which cannot directly distinguish between contact and collision. (2) performance bottleneck. If the massive number of components are checked in pairs by calling Boolean operations through API in the background, it involves direct manipulation of the model, the amount of calculation increases exponentially, the system resources are consumed in a huge way, and it may even cause the platform to crash, which is not practical for engineering.
[0011] The following common problems exist in existing technologies, which seriously restrict the in-depth application of BIM technology in the design phase of infrastructure engineering.
[0012] The inability to perform feature-level collision checks in the native environment means that design errors cannot be detected in a timely manner at the source.
[0013] The process is complex, data is redundant, and collaboration is inefficient, failing to meet the needs of the civil engineering profession in infrastructure projects to conduct efficient work modes such as designing and inspecting simultaneously.
[0014] The long feedback loop makes modifications difficult, increasing the design iteration cycle and cost.
[0015] There is a risk of damaging the original model structure and data, which runs counter to the original intention of parametric design.
[0016] Therefore, there is an urgent need in this field for a method that can perform efficient and accurate collision checks on feature-level BIM components directly in memory within the native environment of the 3DE platform without modifying or exporting the original model, in order to solve the aforementioned technical pain points. Summary of the Invention
[0017] In view of this, the present invention provides a method and apparatus for collision detection of components in a civil engineering BIM model, which can solve the above-mentioned technical problems.
[0018] To solve the above-mentioned technical problems, the present invention is implemented as follows.
[0019] A method for clash detection of components in a civil engineering BIM model, comprising: Step S1: Divide the 3D model elements of all civil engineering BIM model components into multiple groups according to the grouping rules, and divide the 3D model elements with the check mark into multiple groups. Step S2: Perform the following for each group: Any two 3D model elements in the group form the first pair to be checked; obtain the outer surfaces of the two 3D model elements in the first pair to be checked, perform collision detection on the two outer surfaces, and generate the first collision check result; Step S3: For any pair of groups, execute the following: Take all the 3D model elements of each group within the group as a 3D model element group, obtain the outer surface corresponding to each 3D model element group, perform collision detection on the two outer surfaces, and generate a second collision check result. Step S4: Call the built-in collision check function of 3DE to perform collision checks between parts of the civil engineering BIM model components, and generate the third collision check result; Step S5: Based on the first collision check result, the second collision check result, and the third collision check result, visualize the objects that collided.
[0020] Preferably, the collision detection steps include: Both three-dimensional model elements or groups of two three-dimensional model elements corresponding to the two outer surfaces are taken as objects to be detected. Determine the measurement distance between two objects to be detected based on two outer surfaces; When the measured distance is greater than 0 meters, the collision detection of the two objects to be detected is stopped, and the collision detection result of the two objects to be detected is no collision. When the measured distance is 0 meters, a virtual mutual trimming operation is performed on the surfaces of the two objects to be detected in memory. In the trimming result, the corresponding parts of the two objects to be detected after trimming are recorded as the first sub-result and the second sub-result, respectively. Based on the first sub-result, the second sub-result, and <first sub-result retained direction, second sub-result retained direction>, four volume values corresponding to the trimming result are calculated. When all four volume values are not zero, the collision detection result is cross collision. Among them, <first sub-result retained direction, second sub-result retained direction> is a permutation and combination formed by taking the values of the first sub-result retained direction and the second sub-result retained direction according to the values in the retained direction value range. The retained direction value range of the first sub-result retained direction and the second sub-result retained direction is {true, false}, where true represents the positive normal direction of the object on the segmented surface, and false represents the negative normal direction of the object on the segmented surface.
[0021] Preferably, step S1 involves dividing the 3D model elements of all civil engineering BIM model components into multiple groups according to grouping rules, including: Obtain the 3D model elements of all civil engineering BIM model components that are ultimately retained based on the civil engineering BIM design, load the 3D model elements into memory and verify them; add identifiers and inspection marks to the 3D model elements that pass the verification, and divide the 3D model elements with inspection marks into multiple groups according to the grouping rules.
[0022] Preferably, the three-dimensional model elements include envelope, solid, and PHM solid.
[0023] Preferably, in step S1, the three-dimensional model elements of all civil engineering BIM model components ultimately retained according to the civil engineering BIM design are obtained, the three-dimensional model elements are loaded into memory and verified; identifiers and inspection marks are added to the three-dimensional model elements that pass the verification, and the three-dimensional model elements with inspection marks are divided into multiple groups according to the grouping rules, wherein: From the civil engineering BIM model that has been built based on the civil engineering BIM design, select the three-dimensional model elements that the user has set to be displayed, and verify the three-dimensional model elements. Use the 3D model elements that meet the verification rules as the initial 3D model elements; add a check mark to each initial 3D model element, and use the initial 3D model elements with the check mark as the 3D model elements that pass the verification. The verification rule is that if the volume of a 3D model element is greater than 0 and the 3D model element is not the input for Boolean operations on other 3D model elements, the verification result of the 3D model element is "verification passed".
[0024] Preferably, the two objects that collide are considered as a collision pair, and the collision pair is stored in a collision list. The collision list is then displayed, and the two objects that collide are shown visually.
[0025] A collision detection device for components in a civil engineering BIM model includes: Verification module: Configured to divide the 3D model elements with inspection marks into multiple groups according to the grouping rules of all civil engineering BIM model components. First collision check module: configured to perform for each group: Any two 3D model elements in the group form the first pair to be checked; obtain the outer surfaces of the two 3D model elements in the first pair to be checked, perform collision detection on the two outer surfaces, and generate the first collision check result; The second collision check module is configured to perform the following operation on any pair of groups: Take all the 3D model elements of each group within the group as a 3D model element group, obtain the outer surface corresponding to each 3D model element group, perform collision detection on the two outer surfaces, and generate a second collision check result. The third collision check module is configured to call the built-in collision check function of 3DE to perform collision checks between parts composed of civil engineering BIM model components and generate the third collision check results. Summary module: Configured to visualize the objects that collided based on the first collision check result, the second collision check result, and the third collision check result.
[0026] The present invention provides a computer-readable storage medium storing a plurality of instructions; the plurality of instructions are used by a processor to load and execute the method as described above.
[0027] The present invention provides an electronic device, characterized in that the electronic device comprises: A processor is used to execute multiple instructions; Memory, used to store multiple instructions; The plurality of instructions are to be stored in the memory and loaded and executed by the processor as described above.
[0028] This invention achieves non-destructive and efficient collision inspection of feature-level components in a native 3DE (3DEXPERIENCE) environment, resulting in the following significant advantages: (1) Significantly improved efficiency: 3D design and collision checking are performed in the same environment based on the same data, achieving synchronous design, checking, and adjustment. This method encapsulates the complex collision checking process into an automated script, making the operation one-click. Compared with the traditional export-check-return modification mode, the checking efficiency can be improved by more than 3 times. Designers can perform quick checks at any time during the design process, realizing a real-time closed loop of design-check-adjustment, fundamentally eliminating major changes and on-site rework caused by design coordination problems. Based on relevant engineering practice data, early detection and resolution of design conflicts can save a lot of time and costs.
[0029] (2) Extremely simple operation and optimized working mode. Users do not need to perform any model format conversion, data mapping or complex manual version management. The entire inspection process is completed within a unified 3DE platform with an extremely simple toolchain, realizing an immersive inspection experience where what you see is what you check and what you check is what you modify, perfectly supporting an efficient working mode of designing and inspecting simultaneously.
[0030] (3) Data security: No additional editing or modification is made to the model. All geometric analysis and judgment are performed virtually in memory. Except for adding identification parameters to 3D model elements such as entities, envelopes, or PHM entities of the proposed BIM components according to user instructions, or adding highlight marks to collision objects, no modification is made to the geometry, parameters, and structure of the original model. This completely avoids the risk of design data being tampered with or destroyed due to errors in the inspection operation, ensuring the security and integrity of core digital assets.
[0031] (4) Precise inspection and controllable scope. By hiding process features and only processing result features, the inspection scope is effectively narrowed, a large number of irrelevant auxiliary geometries are eliminated, and false alarms and duplicate inspections are significantly reduced. At the same time, the analysis method based on geometric surfaces also solves the pain point of traditional methods in identifying collisions of non-solid BIM components (such as terrain surfaces, excavation faces, etc.).
[0032] (5) Clear hierarchy and efficient collaboration. The three-level inspection mechanism—within groups, between groups, and between parts—is logically clear and the process is readily apparent. Designers can flexibly check from local details to overall coordination according to task requirements, systematically eliminating potential design problems. Inspection results are highlighted, color-coded, and reported with detailed positioning information, making collision issues immediately clear. This greatly facilitates designers in quickly locating, understanding, and resolving problems, thereby significantly improving the efficiency of collaboration within the team and across disciplines. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the collision detection method for civil engineering BIM model components according to the present invention; Figure 2This is a schematic diagram showing the result of the present invention performing a virtual mutual trimming operation on the surfaces of two objects to be detected. Detailed Implementation
[0034] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0035] like Figure 1 As shown, this invention proposes a collision detection method for components in a civil engineering BIM model, the method comprising: Step S1: Divide the 3D model elements of all civil engineering BIM model components into multiple groups according to the grouping rules, and divide the 3D model elements with the check mark into multiple groups. Step S2: Perform the following for each group: Any two 3D model elements in the group form the first pair to be checked; obtain the outer surfaces of the two 3D model elements in the first pair to be checked, perform collision detection on the two outer surfaces, and generate the first collision detection result. Step S3: For any pair of groups, execute the following: Take all the 3D model elements of each group within the group as a 3D model element group, obtain the outer surface corresponding to each 3D model element group, perform collision detection on the two outer surfaces, and generate a second collision check result. Step S4: Call the built-in collision check function of 3DE (3DEXPERIENCEP) to perform collision checks between parts of the civil engineering BIM model components, and generate the third collision check result; Step S5: Based on the first collision check result, the second collision check result, and the third collision check result, visualize the objects that collided.
[0036] Furthermore, the collision detection steps include: Both three-dimensional model elements or groups of two three-dimensional model elements corresponding to the two outer surfaces are taken as objects to be detected. Determine the measurement distance between two objects to be detected based on two outer surfaces; When the measured distance is greater than 0 meters, the collision detection of the two objects to be detected is stopped, and the collision detection result of the two objects to be detected is no collision. When the measured distance is 0 meters, a virtual mutual trimming operation is performed on the surfaces of the two objects to be detected in memory. In the trimming result, the corresponding parts of the two objects to be detected after trimming are recorded as the first sub-result and the second sub-result, respectively. Based on the first sub-result, the second sub-result, and <first sub-result retained direction, second sub-result retained direction>, four volume values corresponding to the trimming result are calculated. When all four volume values are not zero, the collision detection result is cross collision. Among them, <first sub-result retained direction, second sub-result retained direction> are permutations and combinations formed by taking the values of the retained direction values of the first sub-result retained direction and the second sub-result retained direction, respectively. The retained direction value range of the first sub-result retained direction and the second sub-result retained direction is {true, false}, where true represents the positive normal direction of the object on the segmented surface, and false represents the negative normal direction of the object on the segmented surface. For example, if A trims B, and B retains one side with A as the boundary, there are two cases: positive normal direction and negative normal direction of A.
[0037] Collision detection is performed in memory. Further, in step S1: all the 3D model elements of the civil engineering BIM model components are divided into multiple groups according to the grouping rules, including: Obtain the 3D model elements of all civil engineering BIM model components that are ultimately retained based on the civil engineering BIM design, load the 3D model elements into memory and verify them; add identifiers and inspection marks to the 3D model elements that pass the verification, and divide the 3D model elements with inspection marks into multiple groups according to the grouping rules.
[0038] Furthermore, the three-dimensional model elements include, but are not limited to, envelopes, solids, and PHM solids, which represent the final design results and are used for subsequent inspection, analysis, drawing, and quantity output.
[0039] In step S1, the 3D model elements of all civil engineering BIM model components ultimately retained according to the civil engineering BIM design are obtained, the 3D model elements are loaded into memory and verified; identifiers and inspection marks are added to the 3D model elements that pass the verification, and the 3D model elements with inspection marks are divided into multiple groups according to the grouping rules, wherein: From the civil engineering BIM model that has been built based on the civil engineering BIM design, select the three-dimensional model elements that the user has set to be displayed, and verify the three-dimensional model elements. Use the 3D model elements that meet the verification rules as the initial 3D model elements; add a check mark to each initial 3D model element, and use the initial 3D model elements with the check mark as the 3D model elements that pass the verification. The verification rule is that if the volume of a 3D model element is greater than 0 and the 3D model element is not the input for Boolean operations on other 3D model elements, the verification result of the 3D model element is "verification passed".
[0040] To exclude auxiliary bodies and Boolean operation sub-bodies from the modeling process that should not participate in the final collision check, this invention performs the following filtering logic: Based on the part feature classification results, select all currently visible geometric features in batches.
[0041] Validate each selected feature and skip features that do not meet the criteria.
[0042] In this invention, the 3DE measurement API is used to calculate the measured distance between two 3D model elements based on their two outer surfaces. The minimum distance between two 3D model elements has a positive or negative sign; a distance of 0 meters indicates that the two 3D model elements are adjacent. If the measured distance between two objects to be detected is greater than 0 meters, it is determined that there is no collision, and the collision detection of these two objects is immediately stopped, while the collision detection of another two objects to be detected continues.
[0043] In this invention, a virtual mutual trimming operation of the surfaces of two objects to be detected can be performed by calling the 3DE API, for example, the function is trim(surface1, true, surface2, true). Since there are four possible combinations of <first sub-result retains direction, second sub-result retains direction>, that is...<true,false> ,<true,true> ,<false, true> ,<false,false> Based on the first sub-result, the second sub-result, and <the direction to be retained for the first sub-result, the direction to be retained for the second sub-result>, the volume value of the trimming result can be calculated, resulting in four volume values. The mutual trimming operation of the surfaces of the two objects to be detected is a virtual calculation performed in memory, and the two designed objects to be detected are not actually trimmed.
[0044] like Figure 2 As shown, imagine the two objects to be tested, A and B, as two flexible structures that can cut each other: let A cut B, and at the same time let B cut A, and get two sets of results. First set: after A cuts B, the part of B that remains (true / false: retain the part of B inside / outside A); Second set: after B cuts A, the part of A that remains (true / false: retain the part of A inside / outside B).
[0045] The retention direction determines whether the object's interior or exterior is retained after cropping. Each of the two sets of results has two choices, resulting in 2 × 2 = 4 possible inspection targets, corresponding to... Figure 2 Results 1-4.
[0046] This invention is marked with <the retention direction of A, the retention direction of B>: <true, true>: Corresponding to result 1, retain the part of A inside B and the part of B inside A, which is the overlapping area remaining after the two objects to be detected hollow out each other's interior.
[0047] <false, true>: Corresponding to result 2, retain the part of A outside B and the part of B inside A, which is the combined form of A outside B and B inside A.
[0048] <true, false>: Corresponding to result 3, retain the part of A inside B and the part of B outside A, which is the combined form of A inside B and B outside A.
[0049] <false, false>: Corresponding to result 4, retain the part of A outside B and the part of B outside B, which is the form in which both objects to be detected are retained outside each other.
[0050] If the two objects to be detected are merely in contact, for example, two cubes are just placed next to each other, touching only one face and not penetrating each other, there will necessarily be a combination where, after裁剪, only a face with no volume (volume = 0) remains, which is result 3 in the figure. During the process of calculating the four volume values corresponding to the裁剪 results, when one of the volume values is zero, for example, a cube is placed on top of another cube and the volume on one side after裁剪 is zero, it indicates that the two objects to be detected are merely in surface contact. At this time, it can be determined that the detection result of the two objects to be detected is contact, and the subsequent calculation of the volume values corresponding to these two objects to be detected is immediately stopped.
[0051] If the two objects to be detected are truly in collision, that is, there is a penetration situation. Then, after裁剪 of the 4 combinations, there will be no result with a volume of 0 because they penetrate each other and each combination has a real volume.
[0052] The two colliding objects are regarded as a collision pair, and the collision pair is stored in the collision list and the collision list is displayed; the two colliding objects are visually displayed. When the user clicks on any collision pair in the collision list, the following operations are automatically performed: Zoom and center the view so that the two colliding objects are displayed in the center of the screen.
[0053] Highlight both sides of the collision. For example, set component A to red and component B to green.
[0054] It supports outputting the collision list as a report (such as HTML or CSV format). The report should include the attributes of each collision object, such as the part name, group name, feature name and other details, to facilitate archiving and collaboration.
[0055] This invention aims to overcome the problems of cumbersome processes, inconsistent data, delayed feedback, and damage to model structure in existing technologies. This invention is dedicated to achieving a native, non-destructive, efficient, and accurate feature-level component collision detection mechanism. It achieves feature-level component identification and detection, accurately identifying and marking 3D model elements within a part as independent BIM components without altering the 3DE part structure, and using these as the smallest unit for collision detection. This invention simplifies the detection process and improves efficiency. Through automated scripts, it achieves one-click collision detection, avoiding cumbersome data import / export and format conversion, realizing a closed-loop synchronization of design-inspection-adjustment, and significantly improving design iteration efficiency. This invention ensures data security and model integrity. All detection calculations are performed in memory, highlighting, marking, or generating reports only for identified collision objects, without modifying the geometry and design parameters of the original model, eliminating the risk of accidental operation. This invention provides a hierarchical detection strategy. It establishes a three-level detection mechanism: within groups, between groups, and between parts, allowing users to flexibly select the detection scope as needed, systematically investigating collision issues from local to global perspectives. This invention provides feedback and location of optimization results, offering intuitive visual feedback such as a collision list, automatic scaling and highlighting, and color marking, and generates detailed collision reports to help designers quickly locate and modify problems. This invention performs non-destructive identification and marking of feature-level components, accurately identifying and marking independent BIM components requiring collision checks through programmatic means without altering the part structure. This allows designers to identify potential design conflicts early in the design process, avoiding extensive modifications later. This invention employs a highly efficient collision checking algorithm executed in memory, using distance prediction combined with clipping volume measurement to virtually perform collision detection in memory. This not only avoids any modification to the original model data but also ensures the efficiency and accuracy of the checking process. This invention adopts a multi-layered collision checking mechanism, establishing a three-level checking mechanism from within groups, between groups, to between parts. Users can flexibly select the checking scope according to actual needs, effectively improving the targeting and efficiency of collision checks. This invention provides intuitive result feedback and location, offering rich visual feedback mechanisms and detailed collision reports, greatly facilitating designers to quickly locate and modify problems. This invention significantly enhances the application value of BIM technology in infrastructure engineering design, achieving a high degree of integration and seamless connection between design and inspection, and improving the efficiency and quality of collaborative work.
[0056] This invention provides a specific embodiment of a collision detection method for components in a civil engineering BIM model.
[0057] Scenario Description: In the 3DE platform, the designer created a part file named Part_Powerhouse.CATPart for designing the concrete structure of the main powerhouse of a hydroelectric power station. Within this part, the design is organized by creating different geometric groups, for example: A basic group is a group that contains multiple independent basic block features.
[0058] A column group is a feature that includes multiple concrete columns.
[0059] A beam group contains multiple beam features. All these foundations, columns, and beams should be independent components in BIM applications, but they all exist in the same Part_Powerhouse through feature operations.
[0060] Implementation steps: Step 1. Perform component marking. The user iterates through Part_Powerhouse.CATPart, hiding process features and setting result features to be displayed.
[0061] Within the basic group, the program developed in this invention identifies five entity features representing independent basic blocks. These features are the final design outcome and have a non-zero volume. The script automatically adds the parameter isBIMComponent=True to these five features.
[0062] Similarly, the script adds the same parameters to the 12 column features in GS_Columns and the 8 beam features in GS_Beams. Hidden procedural features such as sketches and reference planes during the modeling process are automatically skipped.
[0063] Step 2. Check for collisions within groups (taking GS_Columns as an example). The user suspected a design error within the column group, so he right-clicked the GS_Columns group in the model tree and selected the "Check Collision within Group" command provided by this invention.
[0064] The script extracts the 12 column features with the isBIMComponent = True parameter within the group and generates a list.
[0065] The script starts a double loop, generating C(12, 2) = 66 unique column pairs for checking.
[0066] When the (Column A, Column B) combination is checked: Measure the surface distance between column A and column B, return 0.0 mm. Proceed to precise discrimination.
[0067] Using the surface of column B as a tool, column A is cut in memory. It is found that the volume on both sides after cutting is not zero.
[0068] A collision is determined between pillar A and pillar B. This collision pair is added to the results list.
[0069] After the check is completed, a collision report window pops up, showing in the list: GS_Columns / Column A collides with GS_Columns / Column B.
[0070] When the user clicks on the entry, the view immediately zooms in and highlights the colliding columns A and B. The designers discovered that the overlapping of the two columns was due to a parameter error and subsequently made corrections.
[0071] Step 3. Check for collisions between groups (GS_Columns and GS_Beams) The user selects the "Check for collisions between groups" command provided by this invention and selects the two groups GS_Columns and GS_Beams.
[0072] Pre-inspection. The script merges the outer surfaces of 12 pillars and 8 beams in memory and measures the distance between the combined surfaces. The result is 0 meters, indicating a possible collision and requiring further investigation.
[0073] Detailed inspection. The script generates 12 * 8 = 96 column-beam combinations.
[0074] When the (column C, beam D) combination was examined, the measured distance was 0 meters. Upon further investigation, it was determined that the two volumes intersected, classifying it as a collision.
[0075] When the (column E, beam F) combination was checked, the measured distance was 0 meters. However, by using the cut-volume method, it was found that one of the cut results had a volume of zero, which was determined to be only contact (the beam landed exactly on top of the column) and was not counted as a collision.
[0076] Ultimately, the collision report window displays the actual collision situation between all columns and beams, making it convenient for designers to make repairs one by one.
[0077] Step 4. Check for collisions between parts. After the factory design is completed, it is necessary to check whether the factory part Part_Powerhouse collides with another equipment foundation part Part_Foundation_Generator designed by a colleague.
[0078] The user selects these two part files and clicks the native collision check tool in 3DE. After analysis, the tool reports that there is an interference.
[0079] Use the built-in functions of 3DE's native tools to perform collision detection analysis and report output.
[0080] The present invention also provides a collision detection device for components in a civil engineering BIM model, the device comprising: A collision detection device for components in a civil engineering BIM model includes: Verification module: Configured to divide the 3D model elements with inspection marks into multiple groups according to the grouping rules of all civil engineering BIM model components. First collision check module: configured to perform for each group: Any two 3D model elements in the group form the first pair to be checked; obtain the outer surfaces of the two 3D model elements in the first pair to be checked, perform collision detection on the two outer surfaces, and generate the first collision detection result. The second collision check module is configured to perform the following operation on any pair of groups: Take all the 3D model elements of each group within the group as a 3D model element group, obtain the outer surface corresponding to each 3D model element group, perform collision detection on the two outer surfaces, and generate a second collision check result. The third collision check module is configured to call the built-in collision check function of 3DE to perform collision checks between parts composed of civil engineering BIM model components and generate the third collision check results. Summary module: Configured to visualize the objects that collided based on the first collision check result, the second collision check result, and the third collision check result.
[0081] The specific embodiments described above only illustrate the design principles of the present invention. The shapes and names of the components in this description may differ and are not limited. Therefore, those skilled in the art can modify or make equivalent substitutions to the technical solutions described in the foregoing embodiments; and these modifications and substitutions do not depart from the inventive spirit and technical solutions of the present invention, and should all fall within the protection scope of the present invention.
Claims
1. A method for civil BIM model component clash checking, characterized by, include: Step S1: Divide the 3D model elements of all civil engineering BIM model components into multiple groups according to the grouping rules, and divide the 3D model elements with the check mark into multiple groups. Step S2: Perform the following for each group: Any two 3D model elements in the group form the first pair to be checked; obtain the outer surfaces of the two 3D model elements in the first pair to be checked, perform collision detection on the two outer surfaces, and generate the first collision check result; Step S3: For any pair of groups, execute the following: Take all the 3D model elements of each group within the group as a 3D model element group, obtain the outer surface corresponding to each 3D model element group, perform collision detection on the two outer surfaces, and generate a second collision check result. Step S4: Call the built-in collision check function of 3DE to perform collision checks between parts composed of civil engineering BIM model components, and generate a third collision check result; Step S5: Based on the first collision check result, the second collision check result, and the third collision check result, visualize the objects that collided.
2. The method as described in claim 1, characterized in that, The steps of collision detection include: Both three-dimensional model elements or groups of two three-dimensional model elements corresponding to the two outer surfaces are taken as objects to be detected. Determine the measurement distance between two objects to be detected based on two outer surfaces; When the measured distance is greater than 0 meters, the collision detection of the two objects to be detected is stopped, and the collision detection result of the two objects to be detected is no collision. When the measured distance is 0 meters, a virtual mutual trimming operation is performed on the surfaces of the two objects to be detected in memory. In the trimming result, the corresponding parts of the two objects to be detected after trimming are recorded as the first sub-result and the second sub-result, respectively. Based on the first sub-result, the second sub-result, and <first sub-result retained direction, second sub-result retained direction>, four volume values corresponding to the trimming result are calculated. When all four volume values are not zero, the collision detection result is cross collision. Among them, <first sub-result retained direction, second sub-result retained direction> is a permutation and combination formed by taking the values of the first sub-result retained direction and the second sub-result retained direction according to the values in the retained direction value range. The retained direction value range of the first sub-result retained direction and the second sub-result retained direction is {true, false}, where true represents the positive normal direction of the object on the segmented surface, and false represents the negative normal direction of the object on the segmented surface.
3. The method as described in claim 1, characterized in that, Step S1: All 3D model elements of the civil engineering BIM model components are divided into multiple groups according to grouping rules, based on the 3D model elements with inspection markers, including: Obtain the 3D model elements of all civil engineering BIM model components that are ultimately retained based on the civil engineering BIM design, load the 3D model elements into memory and verify them; add identifiers and inspection marks to the 3D model elements that pass the verification, and divide the 3D model elements with inspection marks into multiple groups according to the grouping rules.
4. The method as described in claim 1, characterized in that, The three-dimensional model elements include envelope, solid, and PHM solid.
5. The method as described in claim 1, characterized in that, In step S1, the 3D model elements of all civil engineering BIM model components ultimately retained according to the civil engineering BIM design are obtained, the 3D model elements are loaded into memory and verified; identifiers and inspection marks are added to the 3D model elements that pass the verification, and the 3D model elements with inspection marks are divided into multiple groups according to the grouping rules, wherein: From the civil engineering BIM model that has been built based on the civil engineering BIM design, select the three-dimensional model elements that the user has set to be displayed, and verify the three-dimensional model elements. Use the 3D model elements that meet the verification rules as the initial 3D model elements; add a check mark to each initial 3D model element, and use the initial 3D model elements with the check mark as the 3D model elements that pass the verification. The verification rule is that if the volume of a 3D model element is greater than 0 and the 3D model element is not the input for Boolean operations on other 3D model elements, the verification result of the 3D model element is "verification passed".
6. The method according to any one of claims 1-5, characterized in that, Two objects that collide are considered a collision pair. Collision pairs are stored in a collision list, which is then displayed. Visualize the two objects that collide.
7. A collision detection device for components in a civil engineering BIM model, characterized in that, include: Verification module: Configured to divide the 3D model elements with inspection marks into multiple groups according to the grouping rules of all civil engineering BIM model components. First collision check module: configured to perform for each group: Any two 3D model elements in the group form the first pair to be checked; obtain the outer surfaces of the two 3D model elements in the first pair to be checked, perform collision detection on the two outer surfaces, and generate the first collision check result; The second collision check module is configured to perform the following operation on any pair of groups: Take all the 3D model elements of each group within the group as a 3D model element group, obtain the outer surface corresponding to each 3D model element group, perform collision detection on the two outer surfaces, and generate a second collision check result. The third collision check module is configured to call the built-in collision check function of 3DE to perform collision checks between parts composed of civil engineering BIM model components and generate the third collision check results. Summary module: Configured to visualize the objects that collided based on the first collision check result, the second collision check result, and the third collision check result.
8. A computer-readable storage medium, characterized in that, The storage medium stores a plurality of instructions; the plurality of instructions are loaded by a processor and executed as described in any one of claims 1-6.
9. An electronic device, characterized in that, The electronic device includes: A processor is used to execute multiple instructions; Memory, used to store multiple instructions; The plurality of instructions are to be stored in the memory and loaded by the processor and executed as described in any one of claims 1-6.