Building model-based pipe network arrangement conflict detection method and system

By using a building model-based pipeline layout conflict detection method, computer technology is used to automatically verify spatial conflicts in cross-disciplinary drawings, solving the problems of low efficiency and omissions in cross-disciplinary drawing inspection during design, and achieving efficient and comprehensive conflict detection and visualization.

CN122154182APending Publication Date: 2026-06-05BEIJING TIANZHENG SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING TIANZHENG SOFTWARE CO LTD
Filing Date
2026-02-10
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

During the design process, checking for spatial conflicts in cross-disciplinary drawings is inefficient and prone to omissions. Manual inspection is difficult to achieve comprehensive and thorough verification, which poses safety hazards and the risk of rework.

Method used

By using a building model-based pipeline layout conflict detection method, computer technology is used to pre-set the types of objects to be verified across disciplines and spatial conflict inspection rules, thereby realizing the automated identification and intelligent verification of drawing information, including global collision rule pre-setting, interactive selection of entities to be detected, spatial geometric calculation, and conflict visualization.

Benefits of technology

It significantly improves the efficiency of cross-disciplinary drawing space conflict checking, shortens the checking cycle, achieves comprehensive coverage of conflict scenarios, avoids omissions in manual checks, and improves design progress and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122154182A_ABST
    Figure CN122154182A_ABST
Patent Text Reader

Abstract

The application discloses a kind of pipe network arrangement conflict detection method and system based on building model.The method includes setting global collision rule;Select component type according to rule and determine detection set in drawing interaction;Build component functional connection relationship diagram and exempt legal connection;Execute axis alignment bounding box preliminary screening and separate axis theorem calculation, determine hard collision or soft collision;List collision information and complete positioning highlight in response to labeling request;Only incremental detection is carried out to changed area after model updating.The system is correspondingly configured data acquisition, topology construction, parameter configuration, pretreatment, collision calculation, interactive display and update synchronization module.The application can not only significantly improve the checking efficiency of cross-disciplinary drawing space conflict, greatly shorten the checking period, but also realize the comprehensive coverage of conflict scene, effectively avoid the problem of missing in manual checking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of engineering structural data processing technology, and in particular to a method and system for detecting pipeline layout conflicts based on building models. Background Technology

[0002] When carrying out design work, the design firm adopts a collaborative model involving different disciplines: first, the architectural designers complete the architectural drawings, which are then submitted as the base map to designers in other disciplines such as structure, HVAC, water supply and drainage, and electrical engineering. Based on this base map, each professional designer completes their own design drawings.

[0003] Because the design and drawing work of different disciplines is relatively independent and lacks a real-time collaborative verification mechanism, conflicts easily arise where objects designed by different disciplines overlap and intersect in spatial location. Currently, the investigation of such cross-disciplinary spatial conflicts mainly relies on manual work.

[0004] Manually checking for spatial conflicts in cross-disciplinary drawings has significant shortcomings: Firstly, the efficiency of the checks is generally low, and this bottleneck becomes increasingly prominent as the scale of the project expands. Large-scale projects involve a large number of professional drawings with high information density and complex spatial relationships between cross-disciplinary objects. Manually comparing and verifying each drawing point by point requires a significant amount of time, often slowing down the overall design progress. Secondly, the completeness of manual checks heavily relies on the experience and attentiveness of the personnel. Cross-disciplinary conflicts may be hidden in complex graphic relationships or detailed spaces. Relying solely on manual checks makes it difficult to achieve comprehensive and thorough verification. It is easy for conflicts to be overlooked due to factors such as visual fatigue and insufficient consideration, which can then create safety hazards or rework risks in subsequent construction stages. Summary of the Invention

[0005] Based on this, this application provides a method and system for detecting pipe network layout conflicts based on building models. By pre-setting the types of objects to be verified across disciplines and the corresponding spatial conflict checking rules, it relies on computer technology to achieve automated identification and intelligent verification of drawing information. This approach not only significantly improves the efficiency of checking spatial conflicts in cross-disciplinary drawings and greatly shortens the inspection cycle, but also achieves comprehensive coverage of conflict scenarios, effectively avoiding the problem of omissions that are prone to occur during manual inspection.

[0006] Firstly, a method for detecting conflicts in pipe network layout based on a building model is provided, the method comprising:

[0007] Perform global collision rule pre-setting; wherein, the pre-setting includes at least an interference judgment threshold, a professional filter, and a gap criterion;

[0008] Select the component types involved in the collision based on the preset settings, and interactively select the entities to be detected on the drawing to form a detection set;

[0009] Perform spatial geometric calculations on the detection set to determine whether there are any collision points;

[0010] When a collision point is detected, list the collision points and output the collision information;

[0011] When a labeling request is received, the collision points are located and labeled on the drawing to visualize the conflict.

[0012] Optionally, the step of presetting global collision rules specifically includes:

[0013] A drop-down option is provided in the global collision parameter configuration; wherein the drop-down option includes at least three reference modes: top elevation, bottom elevation, and center elevation;

[0014] Based on the user's selection, the elevation attributes of various professional components such as air ducts, cable trays, and water pipes will be converted to the same benchmark.

[0015] Optionally, before selecting the component types involved in the collision according to the preset settings and interactively selecting the entities to be detected on the drawing to form a detection set, the process specifically includes:

[0016] The ObjectArx entity filtering technology is used to traverse the current model space and identify custom entities such as Tianzheng air ducts, cable trays, water pipes and their connectors.

[0017] For each picked entity, the system obtains its precise geometric boundaries, generates an axis-aligned bounding box, and records the world coordinates of its minimum and maximum corner points.

[0018] Optionally, performing spatial geometric calculations on the detection set to determine whether collision points exist further includes constructing a functional connection graph between components, specifically including:

[0019] Based on ObjectArx custom entity technology, extract the Tianzheng custom entity object from the drawing, and obtain the parameter information of Tianzheng cable tray interface and Tianzheng duct interface based on the parameter data embedded in the object; among them, the spatial coordinate point set of the duct interface includes the three-dimensional spatial positioning of the air supply end, return air end and branch interface, and the interface attribute metadata includes interface type, size specification and connection direction.

[0020] A spatial index is used to accelerate the traversal of all lightweight geometric proxies involved in collision detection, and spatial relationship matching and functional connection determination are performed. When the spatial position tolerance threshold is met and the port attributes are compatible, the functional connection relationship between cable trays and between ducts is identified and established, forming an internal topology graph of the system with components as nodes and functional connections as edges.

[0021] Optionally, performing spatial geometric calculations on the detection set includes:

[0022] A fast intersection test of axis-aligned bounding boxes is performed to exclude component pairs that do not obviously intersect; then, a fine screening of bounding boxes is performed; for the component pairs that pass the screening, precise geometric interference calculations are performed, and polygon interference detection is performed using the separating axis theorem algorithm; in the collision determination stage, detailed collision classification information is generated by combining the geometric intersection state and the gap criterion requirements.

[0023] Optionally, the collision points can be located and labeled in the drawings, including:

[0024] When users interact with the report list, based on the recorded coordinate data, the view zoom and pan operations are performed through the view transformation interface of the CAD platform to locate the center of the graphic viewport to the collision point.

[0025] By utilizing graphic selection and highlighting mechanisms, the specific components involved in the interference can be precisely highlighted in the drawing space.

[0026] Optionally, the method further includes incremental dynamic detection, specifically including:

[0027] By identifying Tianzheng's custom entity technology, the functional interface relationships between professional components in the electromechanical system are established, and the internal connection diagram of the system is constructed to achieve intelligent optimization of the collision detection calculation process;

[0028] When updating the model, the system only re-performs the detection on the changed components and their affected areas.

[0029] Secondly, a pipeline layout conflict detection system based on a building model is provided, the system comprising:

[0030] A preset module is used to preset global collision rules; wherein, the preset includes at least an interference judgment threshold, a professional filter, and a gap criterion;

[0031] The selection module is used to select the type of component to participate in the collision according to the preset, and interactively select the entity to be detected on the drawing to form a detection set;

[0032] The judgment module is used to perform spatial geometric calculations on the detection set to determine whether there are collision points;

[0033] The output module is used to list the collision points and output the collision information when a collision point is detected.

[0034] The visualization module is used to locate and label collision points in the drawing when a labeling request is received, thus completing the visualization of the conflict.

[0035] Thirdly, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the pipeline layout conflict detection method based on any of the first aspects described above.

[0036] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the pipeline layout conflict detection method based on any of the first aspects described above.

[0037] This application features flexible configuration, is easy to operate and learn, and can be quickly promoted among designers. Compared to manual inspection, it has higher computational efficiency, and the time for outputting results is not affected by the scale of the project, which can significantly speed up the workflow. At the same time, the inspection results are accurate and reliable, effectively avoiding omissions that may occur during manual inspection. The report list can directly locate the problem points in the drawing, fully meeting the requirements of practical applications. Attached Figure Description

[0038] To more clearly illustrate the embodiments of this application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely exemplary, and those skilled in the art can derive other embodiments based on the provided drawings without creative effort.

[0039] Figure 1 A flowchart illustrating the steps of a pipeline layout conflict detection method based on a building model, provided in an embodiment of this application;

[0040] Figure 2 This is a flowchart of the processing method provided in the embodiments of this application. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0042] In the description of this application, the terms include, have, and any variations are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are expressly listed, but may also include other steps or units that are not expressly listed but are inherent to these processes, methods, products, or devices, or steps or units added based on further optimizations conceived in this application.

[0043] The purpose of this application is to automate the identification and intelligent verification of drawing information by pre-setting the types of objects to be verified across disciplines and the corresponding spatial conflict checking rules, relying on computer technology. This approach not only significantly improves the efficiency of checking spatial conflicts in cross-disciplinary drawings and greatly shortens the checking cycle, but also achieves comprehensive coverage of conflict scenarios, effectively avoiding the omissions that are prone to occur during manual checks.

[0044] like Figure 1 The present application provides a flowchart of a pipeline layout conflict detection method based on a building model, which may include the following steps:

[0045] S1, perform global collision rule pre-setting.

[0046] The preset settings include at least an interference determination threshold, a professional filter, and a gap criterion.

[0047] S2, select the component types to participate in the collision according to the preset, and interactively select the entities to be detected on the drawing to form a detection set.

[0048] S3 performs spatial geometric calculations on the detection set to determine whether there are collision points.

[0049] S4: When a collision point is found, list the collision points and output the collision information.

[0050] S5, when a labeling request is received, locates and labels the collision points in the drawing, thus completing the conflict visualization.

[0051] The following is an optional embodiment of this application, such as... Figure 2 A flowchart of the processing procedure is provided, specifically:

[0052] This application proposes a soft and hard collision detection method for Building Information Modeling (BIM) based on professionally customized object recognition, realizing a full-process collision detection solution of "configurable pre-processing, filtered interruption, and interactive post-processing". Its core lies in deeply integrating engineering rules, performance optimization, and design interaction into every stage of collision detection, achieving a transformation from coarse-grained calculation to precise diagnosis.

[0053] (1) Structured global collision parameter configuration module. This module allows users to predefine three types of core parameters:

[0054] Standardized reference rules: Support marking based on the "top elevation", "bottom elevation" or "center elevation" of the duct components to eliminate false alarms caused by different reference systems.

[0055] Interference judgment threshold: Set a global collision safety distance and extend the detection standard from "hard collision" of geometric intersection to "soft collision" that includes construction and insulation space to ensure that the detection results meet the actual tolerance requirements of the project.

[0056] Professional Filter: By selecting beams, slabs, columns, walls, doors, windows, stairs, etc., a whitelist of civil engineering components involved in collision detection is built, enabling precise control of cross-professional detection scope.

[0057] (2) Customized collision detection range precision control mechanism. Based on the selected content, the system intelligently identifies cable trays, cable tray connectors, ducts, duct connectors, duct equipment, water pipes, water pipe equipment, as well as custom objects from the architectural field such as walls, columns, beams, slabs, doors, windows, and stairs. Users can flexibly select target objects according to the design stage and analysis needs, based on profession, system, or component type, thereby focusing global, coarse-grained calculations on specific, key professional intersections. This achieves on-demand configuration of the detection process and optimized allocation of computational resources.

[0058] (3) In the early stage of collision detection, the system performs the following key preprocessing procedures to build a unified and efficient detection environment.

[0059] Constructing the initial collision element set: Based on the user's interactive selection, the target component is obtained from the current model space to form the initial collision element set.

[0060] Integration and transformation of external reference entities: For each linked external reference file, the system performs coordinate transformation. Based on its attachment point, scale, and rotation angle, the corresponding transformation matrix is ​​applied to accurately register all its entities from the local coordinate system of the reference itself to the global coordinate system of the host model.

[0061] 3D boundary representation generation: The system automatically identifies and picks Tianzheng entity objects in the image that conform to preset categories through ObjectArx entity filtering technology, including but not limited to:

[0062] Duct system: ducts, duct connectors (elbows, tees, reducers, etc.), air system equipment (fans, air outlets, air valves, etc.).

[0063] Electrical system: cable trays, cable tray connectors (horizontal bends, vertical bends, tees, etc.).

[0064] Water system: water pipes, water pipe accessories (valves, etc.), water pipe equipment (water pumps, water tanks, etc.).

[0065] For each picked entity, the system acquires its precise geometric boundaries and generates an axis-aligned bounding box. This bounding box completely encloses the entity's maximum outer contour in 3D space and records the world coordinates of its minimum and maximum corner points. If the entity is located within an external or block reference, the system performs corresponding spatial transformations on the bounding box based on pre-recorded transformation matrices (including translation, rotation, and scaling transformations) to ensure its position, orientation, and scale are consistent with the current project coordinate system. Based on the transformed bounding box, the system generates a simplified 3D shell as a geometric proxy for the original entity. By maintaining parameter correlation between the lightweight data and the shell, which retains only the necessary geometric information, and the original entity, a complete, coordinate-uniform global collision detection dataset is formed. This dataset supports synchronous correction during model updates, significantly reducing data complexity.

[0066] (4) Constructing link relationships

[0067] A component relationship preprocessing mechanism for collision detection optimization establishes functional interface relationships between professional components in an electromechanical system by identifying Tianzheng custom entity technology, constructs an internal connection graph of the system, and achieves intelligent optimization of the collision detection calculation process, including the following steps:

[0068] Based on ObjectArx custom entity technology, extract the Tianzheng custom entity object from the drawing, and obtain the parameter information of Tianzheng cable tray interface and Tianzheng duct interface according to the parameter data embedded in the object. This includes the spatial coordinate point set of the cable tray interface: including the three-dimensional coordinates of the starting end, the ending end and the branch connection point; the spatial coordinate point set of the duct interface: including the three-dimensional spatial positioning of the air supply end, the air return end and the branch interface; and the interface attribute metadata: interface type, size specifications, connection direction, etc.

[0069] Spatial indexing is used to accelerate the traversal of all lightweight geometric proxies involved in collision detection. First, all components are identified: Tianzheng cable tray entity identification: Based on ObjectArx custom entity technology, Tianzheng cable tray entities, geometric features, and attribute tags are identified in the drawings, along with Tianzheng cables, lighting fixtures, and other Tianzheng electrical facilities; Tianzheng duct entity identification: Based on ObjectArx custom entity technology and Tianzheng ventilation system types, ventilation components such as Tianzheng ducts, air vents, and dampers are identified in the drawings. Filtering conditions: Only components with clearly defined interfaces are processed, excluding end-closed or independent equipment units.

[0070] The system performs spatial relationship matching and functional connection determination: It compares the actual endpoint positions of each Tianzheng cable tray and duct entity with their corresponding preset interface points in a multi-dimensional spatial manner. The comparison process employs a proximity algorithm that considers engineering tolerances, combining component spatial coordinates, subsystem classification, and port physical attributes for comprehensive judgment. When the spatial location tolerance threshold is met and port attributes are compatible, the system automatically identifies and establishes functional connection relationships between cable trays and between ducts, forming an internal system topology diagram with components as nodes and functional connections as edges.

[0071] Persistent storage of relational data: The completed system internal connection graph and the corresponding component geometric proxy data are bidirectionally indexed, and topological relationships, connection attributes, and geometric references are uniformly saved using a structured storage format. This relational dataset will serve as one of the standardized input data for the collision detection engine, supporting efficient querying and real-time updates.

[0072] The collision detection engine is configured to first query the internal connection graph of the system when calculating interference. If there is a defined functional interface relationship between two components, the geometric interference calculation between them is ignored.

[0073] (5) Collision checking: During the detection execution phase, the system introduces multiple parallel filtering strategies, including but not limited to:

[0074] The system first constructs an identification network based on the professional attributes and topological relationships of components. For HVAC systems, the system establishes a flange connection topology map by analyzing the geometric parameters and spatial orientation of flange connectors. The implementation process includes: scanning the geometric features of the connection surfaces of all flange components to extract their spatial coordinates, normal directions, and connection specifications; using a spatial indexing algorithm to quickly locate all objects with potential connection relationships to the flanges within a preset tolerance range; and verifying the compliance of the connection objects through a type matching engine—the system's built-in connection rule library defines various legal connection patterns, such as standard flange connections between HVAC equipment and ducts, connections between ducts and duct fittings, and standardized interfaces between pipes and fittings. When such design-permitted connection relationships are identified, the system automatically marks them as "design-compliant connections" and establishes an exemption list during the collision detection preprocessing stage. This exemption list is stored using an index structure to ensure that legal connection pairs can be quickly queried and excluded with constant time complexity during real-time collision detection calculations, thereby completely eliminating false alarms caused by normal engineering connections.

[0075] Professional Rule Filtering: The system's built-in professional rule engine employs a configurable matrix filtering strategy. The rule base constructs a detection relationship matrix based on professional dimensions, clearly defining the collision detection logic within and between different professions. For example, the system defaults to setting the detection flag for all component pairs within the civil engineering profession to "exclude," because connections between building structural components are a design prerequisite and typically do not present spatial conflict requirements. Simultaneously, the rule engine supports multi-level priority settings: cross-professional detection (such as between MEP lines and structural components) has the highest detection priority; detection between different systems within the same profession (such as between water supply and drainage pipes) uses medium priority; and component pairs within the same system can be flexibly configured according to project needs. When performing filtering, the rule engine first extracts the metadata of the component pairs and then traverses the rule tree for matching and judgment. The system also supports loading preset rules, allowing project teams to set customized detection rules according to specific engineering standards, achieving precise control over the detection scope.

[0076] Configurable Gap Criteria: The system provides a hierarchical gap management interface, allowing users to define multi-dimensional safety distance parameters through a visual configuration panel. Technically, the system maintains a multi-layered gap criterion database: at the global level, basic safety distance thresholds are set; at the professional level, specific gap requirements between different professional combinations can be defined (e.g., a 200mm safety distance must be maintained between electrical cable trays and water pipes); at the component type level, precise gap values ​​can be set for specific component combinations (e.g., a 300mm maintenance space must be reserved between fan coil units and structural beams). When performing geometric analysis, the collision detection engine not only calculates the minimum distance between components but also dynamically calls the corresponding gap criteria based on component attributes. When physical geometric interference is detected between components, the system classifies it as a "hard collision"; when components do not directly intersect but the distance is less than the set safety threshold, the system classifies it as a "soft collision due to insufficient gap." The system employs a spatial distance acceleration algorithm to pre-calculate the approximate distance between components during the geometric bounding box testing phase, quickly filtering out component pairs that may violate gap requirements, significantly improving detection efficiency.

[0077] Components passing through the aforementioned filtering layer will enter the precise geometric calculation pipeline. The system employs a multi-layered geometric detection architecture: first, it performs a rapid intersection test of axis-aligned bounding boxes to eliminate obviously non-intersecting component pairs; then, it performs fine-tuning of bounding boxes; finally, it performs precise geometric interference calculations on the selected component pairs, using the separating axis theorem algorithm for polygon interference detection. In the collision determination stage, the system integrates geometric intersection states and gap criteria requirements to generate detailed collision classification information.

[0078] For component pairs that pass the above filters, the system performs precise spatial geometric intersection calculations. Once a collision is determined, a structured collision record is generated, containing the colliding component identifiers, collision type, and spatial coordinates.

[0079] (6) The system generates a structured list of collision reports in the user interface based on a predefined collision record data storage structure. Key fields of this data structure include, but are not limited to: unique identifiers of the colliding components and precise world coordinate system coordinates.

[0080] When a user interacts with the report list (e.g., clicking on a collision item), the system automatically performs view zooming and panning operations based on the coordinate data in that record, using the CAD platform's view transformation interface, to locate the center of the graphic viewport to the collision point. Simultaneously, by utilizing graphic selection and highlighting mechanisms, the specific components involved in the interference are precisely highlighted in the drawing space, thus establishing a link from non-spatial attribute data to entities in the graphic space, achieving millisecond-level precise positioning and visual feedback.

[0081] In summary, the innovation of this application lies in:

[0082] (1) Optimized collision detection algorithm based on spatial segmentation index. The core of this algorithm is to first discretize the entire 3D model space to construct a dynamic spatial data structure. Through this data structure, the system can quickly assign all entities to be detected to their respective spatial cells. Thus, when dealing with large and complex building models, it can achieve an order-of-magnitude improvement in detection efficiency.

[0083] (2) This feature provides a global collision detection solution that supports external references. This feature allows designers to work in their respective sub-drawings (external references), while the system can seamlessly identify and calculate spatial interference between all linked components in the main integrated model. This eliminates the tedious steps of manually merging multiple models in the past, and establishes an efficient working paradigm of "distributed design and centralized analysis", which greatly improves the efficiency and depth of design coordination.

[0084] This application also provides a pipeline layout conflict detection system based on a building model, which may include:

[0085] A preset module is used to preset global collision rules; wherein, the preset includes at least an interference judgment threshold, a professional filter, and a gap criterion;

[0086] The selection module is used to select the type of component to participate in the collision according to the preset, and interactively select the entity to be detected on the drawing to form a detection set;

[0087] The judgment module is used to perform spatial geometric calculations on the detection set to determine whether there are collision points;

[0088] The output module is used to list the collision points and output the collision information when a collision point is detected.

[0089] The visualization module is used to locate and label collision points in the drawing when a labeling request is received, thus completing the visualization of the conflict.

[0090] Specific limitations regarding the building model-based pipe network layout conflict detection system can be found in the limitations of the building model-based pipe network layout conflict detection method described above, and will not be repeated here. Each module in the aforementioned building model-based pipe network layout conflict detection system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.

[0091] In one embodiment, an electronic device is provided. The electronic device includes a processor, a memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for pipe network layout conflict detection data based on a building model. The network interface of the computer device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a pipe network layout conflict detection method based on a building model.

[0092] In one embodiment of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described pipeline layout conflict detection method based on a building model.

[0093] In one embodiment of this application, a computer program product is provided, including a computer program / instructions, which, when executed by a processor, implements the steps of the above-described method for detecting conflicts in pipeline layout based on a building model.

[0094] The computer-readable storage medium and computer program product provided in this embodiment are similar in implementation principle and technical effect to the above method embodiments, and will not be repeated here.

[0095] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods.

[0096] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0097] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for detecting conflicts in pipe network layout based on building models, characterized in that, The method includes: Perform global collision rule pre-setting; wherein, the pre-setting includes at least an interference judgment threshold, a professional filter, and a gap criterion; Select the component types involved in the collision based on the preset settings, and interactively select the entities to be detected on the drawing to form a detection set; Perform spatial geometric calculations on the detection set to determine whether there are any collision points; When a collision point is detected, list the collision points and output the collision information; When a labeling request is received, the collision points are located and labeled on the drawing to visualize the conflict.

2. The method according to claim 1, characterized in that, The pre-setting of global collision rules specifically includes: A drop-down option is provided in the global collision parameter configuration; wherein the drop-down option includes at least three reference modes: top elevation, bottom elevation, and center elevation; Based on the user's selection, the elevation attributes of various professional components such as air ducts, cable trays, and water pipes will be converted to the same benchmark.

3. The method according to claim 1, characterized in that, Before selecting the component types to participate in the collision based on the preset settings, and interactively selecting the entities to be detected on the drawing to form a detection set, the process specifically includes: The ObjectArx entity filtering technology is used to traverse the current model space and identify custom entities such as Tianzheng air ducts, cable trays, water pipes and their connectors. For each picked entity, the system obtains its precise geometric boundaries, generates an axis-aligned bounding box, and records the world coordinates of its minimum and maximum corner points.

4. The method according to claim 1, characterized in that, Performing spatial geometric calculations on the detection set to determine whether collision points exist also includes constructing a functional connection graph between components, specifically including: Based on ObjectArx custom entity technology, extract the Tianzheng custom entity object from the drawing, and obtain the parameter information of Tianzheng cable tray interface and Tianzheng duct interface based on the parameter data embedded in the object; among them, the spatial coordinate point set of the duct interface includes the three-dimensional spatial positioning of the air supply end, return air end and branch interface, and the interface attribute metadata includes interface type, size specification and connection direction. A spatial index is used to accelerate the traversal of all lightweight geometric proxies involved in collision detection, and spatial relationship matching and functional connection determination are performed. When the spatial position tolerance threshold is met and the port attributes are compatible, the functional connection relationship between cable trays and between ducts is identified and established, forming an internal topology graph of the system with components as nodes and functional connections as edges.

5. The method according to claim 1, characterized in that, Performing spatial geometric calculations on the detection set includes: A fast intersection test of axis-aligned bounding boxes is performed to exclude component pairs that do not obviously intersect; then, a fine screening of bounding boxes is performed; for the component pairs that pass the screening, precise geometric interference calculations are performed, and polygon interference detection is performed using the separating axis theorem algorithm; in the collision determination stage, detailed collision classification information is generated by combining the geometric intersection state and the gap criterion requirements.

6. The method according to claim 1, characterized in that, Locate and label the collision points on the drawings, including: When users interact with the report list, based on the recorded coordinate data, the view zoom and pan operations are performed through the view transformation interface of the CAD platform to locate the center of the graphic viewport to the collision point. By utilizing graphic selection and highlighting mechanisms, the specific components involved in the interference can be precisely highlighted in the drawing space.

7. The method according to claim 1, characterized in that, The method also includes incremental dynamic detection, specifically including: By identifying Tianzheng's custom entity technology, the functional interface relationships between professional components in the electromechanical system are established, and the internal connection diagram of the system is constructed to achieve intelligent optimization of the collision detection calculation process; When updating the model, the system only re-performs the detection on the changed components and their affected areas.

8. A pipe network layout conflict detection system based on a building model, characterized in that, The system includes: A preset module is used to preset global collision rules; wherein, the preset includes at least an interference judgment threshold, a professional filter, and a gap criterion; The selection module is used to select the type of component to participate in the collision according to the preset, and interactively select the entity to be detected on the drawing to form a detection set; The judgment module is used to perform spatial geometric calculations on the detection set to determine whether there are collision points; The output module is used to list the collision points and output the collision information when a collision point is detected. The visualization module is used to locate and label collision points in the drawing when a labeling request is received, thus completing the visualization of the conflict.

9. An electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when executed by the processor, implements the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.