Automatic pipeline connection method and device in building information model
By encoding the equipment and processing obstacle information, combined with collision correction methods, the automation and intelligent connection of electromechanical pipelines in BIM software are realized, the problem of inefficiency in the existing technology is solved, and construction efficiency and quality are improved.
Patent Information
- Application Number
- CN202510823216.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-06-19
AI Technical Summary
The existing BIM software is inefficient in the comprehensive arrangement of electromechanical and mechanical pipelines, difficult to efficiently handle and optimize, and depends on the level of technicians, resulting in duplicate matching and inefficient connections.
By encoding the equipment according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - equipment type - number of equipment, filter out the pipelines to be connected, obtain obstacle information, and use preliminary connection strategies and obstacle information to determine the target connection strategy, and adjust the connection path using collision correction methods to achieve automated and intelligent pipeline connections.
The comprehensive arrangement of electromechanical pipelines has been realized, the quality and efficiency have been improved, the operation complexity has been simplified, conflicts can be avoided quickly, and construction efficiency has been improved.
Smart Images

Figure CN120337474A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of architectural drawing, and more specifically, relates to a method and device for automatically connecting pipelines in a building information model. Background Art
[0002] With the development of civil engineering towards intelligent construction, the application of building information models has become increasingly common. Building Information Modeling (BIM) technology is a data-based tool applied to engineering design, construction, and management. By integrating digital and information models of buildings, it is shared and transmitted throughout the entire life cycle of project planning, operation, and maintenance, enabling engineering technicians to correctly understand and efficiently respond to various building information, providing a basis for collaborative work for design teams and various construction entities including construction and operation units, and playing an important role in improving production efficiency, saving costs, and shortening the construction period. BIM technology is widely used in the design, construction, and operation and maintenance stages of the construction field.
[0003] In the traditional design process, each specialty designs independently, forming information islands, resulting in frequent collision problems among different specialties during the construction process, leading to increased costs and extended construction periods. The integrated electrical and mechanical pipeline based on BIM technology can detect and solve the collision problems among different specialties of electrical and mechanical systems, plan the pipeline paths in advance, and effectively improve the construction efficiency.
[0004] However, there are still certain limitations in the current BIM software for the integrated layout of electrical and mechanical pipelines. Specifically, the current pipeline optimization requires manual adjustment based on specification requirements. Its optimization effect highly depends on the level of technicians, and the efficiency is low, making it difficult to efficiently process the optimization of the integrated layout of electrical and mechanical pipelines. Summary of the Invention
[0005] In view of the above defects or improvement requirements of the prior art, the present invention provides a method and device for automatically connecting pipelines in a building information model, aiming to solve the technical problems of repeated matching and inefficient connection existing in the wiring process of BIM electrical and mechanical pipelines.
[0006] To achieve the above object, according to one aspect of the present invention, there is provided a method for automatically connecting pipelines in a building information model, including: S1: Encoding each device according to the electrical and mechanical system scheme type - system type - installation floor - electrical and mechanical space type - device type - device quantity to obtain a device code; S2: Traversing the device codes to screen out all successfully matched pipelines to be connected, and determining the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected; S3: For any two successfully matched pipelines to be connected, obtain the obstacle information on the connection path of the two in the preliminary connection strategy; S4: Determine the target connection strategy based on the preliminary connection strategy and the obstacle information of the two successfully matched pipelines to be connected, and then realize the pipeline connection between the two.
[0007] Further, the S4 includes: If the obstacle information indicates that there are no obstacles on the connection path, use the preliminary connection strategy as the target connection strategy and perform pipeline connection.
[0008] Further, the S4 includes: If the obstacle information indicates that there are obstacles on the connection path, use the collision correction method to adjust the preliminary connection strategy to obtain the target connection strategy, and perform pipeline connection.
[0009] Further, the using the collision correction method to adjust the preliminary connection strategy to obtain the target connection strategy includes: determining the offset and the available space amount by detecting the remaining available space; performing offset adjustment on the pipeline position or the connection point in the initial connection strategy according to the offset and the available space amount to obtain the target connection strategy.
[0010] Further, the using the collision correction method to adjust the preliminary connection strategy to obtain the target connection strategy includes: regarding the map as composed of three-dimensional space grids based on the spatial A* algorithm, and finding the optimal path between the starting point and the ending point in the three-dimensional space grids by combining the actual cost and the heuristic estimation on the basis of the preliminary connection strategy to obtain the target connection strategy.
[0011] Further, the form of the equipment code is: a-j-m-R-T-n; where a represents the coding of the electromechanical system scheme, j represents the coding of the system type, m represents the coding of the installation floor, R represents the coding of the electromechanical space, T represents the coding of the equipment pipeline type, and n represents the coding of the number of equipment pipelines; where the electromechanical space types include horizontal space, vertical space, and machine room space.
[0012] Further, the S2 includes: S21: Traverse all equipment codes by identifying graphics elements to screen out the pipelines that need to be automatically connected, and classify the pipelines by specialty and type; S22: Determine the preliminary connection strategies corresponding to all successfully matched pipelines to be connected according to the classification results; the classification results include: the connection between the equipment in the machine room and the horizontal pipeline, the connection between the pipelines in two intersecting horizontal spaces, the connection between the horizontal pipeline and the vertical pipeline, and the connection between the horizontal pipeline and the end equipment.
[0013] Further, the S22 includes: If the classification result is the connection between the equipment in the computer room and the horizontal pipeline, the connection point acquisition algorithm is as follows: taking the center line of the horizontal pipeline as a vertical plane, projecting the equipment output port A onto this vertical plane to obtain the projection point B, and then projecting B onto the center line of the horizontal pipeline to obtain the projection point C; the preliminary connection strategy is: A is connected to B, and B is connected to C; If the classification result is the connection of pipelines in two intersecting horizontal spaces, the connection point acquisition algorithm is as follows: the pipeline end points closer to the intersecting space are the connection points, denoted as connection point A and connection point B; the preliminary connection strategy is: extend the pipelines along connection point A and connection point B respectively, and the intersection point is C, A is connected to C, and C is connected to B; If the classification result is the connection between the horizontal pipeline and the vertical pipeline, the connection point acquisition algorithm is as follows: taking the center line of the horizontal pipeline as a vertical plane, projecting the vertical pipeline onto this vertical plane to intersect with the horizontal space to obtain the intersection point A, and similarly projecting the horizontal pipeline to obtain the intersection point B; the preliminary connection strategy is: A is connected to B; If the classification result is the connection between the horizontal pipeline and the terminal equipment, the connection point acquisition algorithm is as follows: taking the center line of the horizontal pipeline as a vertical plane, projecting the input port A of the terminal equipment onto this vertical plane to obtain the projection point B, and then projecting B onto the center line of the horizontal pipeline to obtain the projection point C; the preliminary connection strategy is: A is connected to B, and B is connected to C.
[0014] According to another aspect of the present invention, there is provided a pipeline automatic connection device in a building information model, including: An encoding module, configured to encode each piece of equipment according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - equipment type - equipment quantity to obtain an equipment code; A traversal module, configured to traverse the equipment codes to screen out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected; An acquisition module, configured to, for any two successfully matched pipelines to be connected, acquire the obstacle information on the connection path between the two in the preliminary connection strategy; A connection module, configured to determine a target connection strategy according to the preliminary connection strategy and the obstacle information of the two successfully matched pipelines to be connected, and further realize the pipeline connection between the two.
[0015] According to another aspect of the present invention, there is provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor executes the steps of the above method when executing the computer program.
[0016] Generally speaking, compared with the prior art, the above technical solutions conceived by the present invention can achieve the following beneficial effects: (1) The present invention provides a method for automatically connecting pipelines in a building information model. Each device is encoded according to the mechanical and electrical system solution type - system type - installation floor - mechanical and electrical space type - device type - device quantity to obtain a device code. Then, based on the device code, automatic matching of mechanical and electrical devices is realized. For any two successfully matched pipelines to be connected, obstacle information on the connection path in the preliminary connection strategy is obtained. According to the preliminary connection strategy and the obstacle information of the two successfully matched pipelines to be connected, a target connection strategy is determined, and thus pipeline connection between the two is realized. The present invention can realize the intelligence and automation of the comprehensive layout of mechanical and electrical pipelines, greatly improving the quality and efficiency of the comprehensive layout of mechanical and electrical pipelines.
[0017] (2) This solution can determine whether there is overlap in space on the connection path in the preliminary connection strategy. Based on the discriminant condition of whether there is overlap of bounding boxes, it can be judged whether there will be conflicts in the automatically connected pipelines, and the conflicts are marked. The operation is simple and the computational complexity is low.
[0018] (3) This solution corrects the detected collisions through two collision correction methods: automatic avoidance and automatic pathfinding. Automatic avoidance adjusts the pipeline elevation or connection point position by detecting the remaining available space to avoid collisions; automatic pathfinding re-plans the path based on the spatial A* algorithm to avoid collisions, and can quickly avoid conflicts to achieve automatic connection of pipelines.
[0019] (4) The encoding form of the mechanical and electrical equipment determined by this solution is: a - j - m - R - T - n (a represents the mechanical and electrical system solution encoding, j represents the system type encoding, m represents the equipment installation floor encoding, R represents the mechanical and electrical space encoding, T represents the equipment or pipeline type encoding, and n represents the equipment or pipeline quantity encoding). Different encoding methods are set for different mechanical and electrical system solutions, different system types, different equipment installation floors, different mechanical and electrical spaces, different equipment or pipeline types, and different equipment or pipeline quantities. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flowchart of a method for automatically connecting pipelines in a building information model provided in Embodiment 1 of the present invention.
[0021] Figure 2 It is a first process schematic diagram of a pathfinding algorithm based on three-dimensional A* provided in Embodiment 1 of the present invention.
[0022] Figure 3 It is a second process schematic diagram of a pathfinding algorithm based on three-dimensional A* provided in Embodiment 1 of the present invention.
[0023] Figure 4a 3D schematic diagram after the pipeline implantation provided by Embodiment 1 of the present invention.
[0024] Figure 4b Schematic diagram of the collision point provided by Embodiment 1 of the present invention.
[0025] Figure 4c Schematic diagram of avoiding collision by offsetting the pipeline position when optimizing the horizontal pipeline position provided by Embodiment 1 of the present invention.
[0026] Figure 4d Schematic diagram of actively avoiding turning provided by Embodiment 1 of the present invention. Detailed implementation manners
[0027] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0028] Embodiment 1 As Figure 1 shown, this embodiment provides a method for automatically connecting pipelines in a building information model, including: S1 - S4. Among them, S1: Encode each device according to the mechanical and electrical system scheme type - system type - installation floor - mechanical and electrical space type - device type - device quantity to obtain a device code. S2: Traverse the device codes to screen out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected. S3: For any two successfully matched pipelines to be connected, obtain the obstacle information on the connection path in the preliminary connection strategy. S4: Determine the target connection strategy according to the preliminary connection strategy and obstacle information of the two successfully matched pipelines to be connected, and then realize the pipeline connection between the two.
[0029] As an alternative implementation, the form of the equipment code is: a-j-m-R-T-n; where, a represents the coding of the electromechanical system solution, j represents the coding of the system type, m represents the coding of the installation floor, R represents the coding of the electromechanical space, T represents the coding of the equipment pipeline type, and n represents the coding of the number of equipment pipelines; among them, the electromechanical space types include horizontal space, vertical space, and machine room space. Among them, the coding form of the electromechanical equipment is determined as: a-j-m-R-T-n (a represents the coding of the electromechanical system solution, j represents the coding of the system type, m represents the coding of the equipment installation floor, R represents the coding of the electromechanical space, T represents the coding of the equipment or pipeline type, and n represents the coding of the equipment or pipeline by quantity). Different coding methods are set for different electromechanical system solutions, different system types, different equipment installation floors, different electromechanical spaces, different equipment or pipeline types, and different numbers of equipment or pipelines.
[0030] Among them, according to the unique coding and the coding rules, such as: A1-J-B1-JS represents the electromechanical system solution A1, the water supply system, the first basement floor, the water supply machine room 1, traverse, filter out the elements that need to be automatically connected, and classify the elements by specialty and type. After obtaining the elements that need to be automatically connected, it is necessary to perform one-to-one or one-to-many matching on how the numerous elements are connected. Overall, use the method as Figure 1 shown to perform the matching in sequence. The matching results include: the connection between the machine room equipment and the horizontal pipeline, the connection of the pipelines in two intersecting horizontal spaces, the connection between the horizontal pipeline and the vertical pipeline, and the connection between the horizontal pipeline and the end equipment. Locally, such as the matching between the vertical pipeline and the horizontal pipeline, the algorithm searches for the elements adjacent to the selected element. The definition of the equipment pipeline coordinates adopts the method of the bounding box, and the position of each pipeline is known. When multiple pipelines are matched, if the pipeline specialty types have been matched, the algorithm will perform the matching according to the minimum distance between the pipelines. After determining the connection positions at both ends, perform path planning. The initial planning does not consider the collision problem and only takes the shortest path as the goal. The path planning can be divided into two cases. Case 1: The two pipelines are in the same vertical plane. Case 2: The two pipelines are not in the same plane. For Case 1, extend the horizontal pipeline to connect to the vertical pipeline. For Case 2, it is necessary to judge whether it is possible to connect through a horizontal pipe according to the position of the bounding box, or it is necessary to bend the horizontal pipe for connection. Finally, according to the path obtained by the algorithm, call the method in the Revit API to automatically generate the connection of the pipeline, and generate the required tee joint or elbow joint at the connection.
[0031] Furthermore, determining whether there is a collision between pipelines mainly involves determining whether the positions of the pipelines conflict. The position of a pipeline can be determined by its bounding box. Therefore, it is possible to determine whether there is a collision between pipelines by detecting whether the bounding boxes of the pipelines overlap in space. To determine whether two bounding boxes overlap in space, it is mainly necessary to compare their coordinate ranges in three dimensions. If the ranges of the two bounding boxes overlap in all three coordinate axes, it means they overlap in space; if there is no overlap in any one coordinate axis, it means they do not intersect.
[0032] As an alternative implementation, S4 includes: if there are no obstacles indicated by the obstacle information on the connection path, then use the preliminary connection strategy as the target connection strategy and perform pipeline connection.
[0033] As an alternative implementation, S4 includes: if there are obstacles indicated by the obstacle information on the connection path, then use a collision correction method to adjust the preliminary connection strategy to obtain the target connection strategy and perform pipeline connection.
[0034] As an alternative implementation, using a collision correction method to adjust the preliminary connection strategy to obtain the target connection strategy includes: determining the offset and the available space volume by detecting the remaining available space; offsetting and adjusting the pipeline position or connection points in the initial connection strategy according to the offset and the available space volume to obtain the target connection strategy.
[0035] The correction methods include an automatic avoidance algorithm and a pathfinding algorithm based on 3D A*. The automatic avoidance algorithm is an algorithm that avoids collisions by detecting the remaining available space and adjusting the pipeline elevation or connection point positions. The algorithm first needs to obtain the offset and the available space volume, and determine whether the algorithm is feasible based on the offset and the available space volume. If feasible, it automatically completes the automatic avoidance. As an alternative implementation, using a collision correction method to adjust the preliminary connection strategy to obtain the target connection strategy includes: regarding the map as composed of 3D space grids based on the A* algorithm in space, and finding the optimal path between the starting point and the ending point in the 3D space grids by combining the actual cost and the heuristic estimate on the basis of the preliminary connection strategy to obtain the target connection strategy.
[0036] Specifically, the pathfinding algorithm based on 3D A* is as Figure 2 and Figure 3 shown. In the figure, the green square is the starting point and the blue point is the ending point. The specific steps are as follows: (41)Obtain the two points to be connected in the view (generally the projection points of the pipelines), and the pipeline entities to be ignored (the two pipelines at the starting point and the ending point) to avoid misjudging the pipelines to be connected as obstacles when identifying obstacles.
[0037] (42)Item centered at the starting point: Divide the virtual space of the cell into six directions: front, back, left, right, up, and down. The initial number of cells is extended outward by n grids + 1. In this way, when traversing each cell subsequently, the maximum and minimum values of all grids can be calculated with the starting point as the reference point.
[0038] (43)The size of the single-axis coordinates of the three-dimensional grid obtained in the previous step is: 2n + 1. The three-dimensional array (three-dimensional grid) instantiates the grid data through a three-layer loop with a time complexity of T(n^3) (when initializing the data here, only search for which grid the end point is in, and judge the obstacles during the subsequent pathfinding process).
[0039] (44)After extending the grids in six directions outward, calculate the cost of each grid and sort them. Store the sorting results in a linked list, and set the grids that have been walked through and the obstacles as non-extendable points. Then, use the recursive method to repeat this operation for the grid with the minimum cost to obtain the optimal path.
[0040] (45)If a certain node cannot be extended and the end point has not been searched for, take a backtracking operation, return to the previous node, and select the second smallest node for extension. If the end point has not been searched for after the recursion is completed, it means there is no route.
[0041] (46)After obtaining the optimal path, generate the pipeline according to the path vector. When the direction of the path vector changes, it is necessary to set the elbow joint and set a new pipeline. When the direction of the path vector remains unchanged, extend the length of the pipeline, and the starting point and the end point can be connected.
[0042] As an optional implementation method, S2 includes: S21: Traverse all device codes through the recognition of graphic elements, screen out the pipelines that need to be automatically connected, and classify the pipelines according to the specialty and type; S22: Determine the preliminary connection strategies corresponding to all successfully matched pipelines to be connected according to the classification results; the classification results include: the connection between the equipment in the machine room and the horizontal pipeline, the connection between the pipelines in two intersecting horizontal spaces, the connection between the horizontal pipeline and the vertical pipeline, and the connection between the horizontal pipeline and the end equipment. Among them, Figure 4a is the three-dimensional schematic diagram after the pipeline implantation, Figure 4b is the schematic diagram of the collision point, Figure 4c is the schematic diagram of avoiding collision by offsetting the pipeline position when optimizing the horizontal pipeline position, Figure 4d is the schematic diagram of actively avoiding turning over.
[0043] As an optional implementation method, S22 includes several scenarios.
[0044] If the classification result is the connection between the equipment in the computer room and the horizontal pipeline, the connection point acquisition algorithm is as follows: Take the center line of the horizontal pipeline as a vertical plane, project the equipment output port A onto this vertical plane to obtain the projection point B, and project B onto the center line of the horizontal pipeline to obtain the projection point C; The preliminary connection strategy is: A is connected to B, and B is connected to C.
[0045] If the classification result is the connection of pipelines in two intersecting horizontal spaces, the connection point acquisition algorithm is as follows: The pipeline end points closer to the intersecting space are the connection points, denoted as connection point A and connection point B; The preliminary connection strategy is: Extend the pipelines along connection point A and connection point B respectively, and the intersection point is C. A is connected to C, and C is connected to B.
[0046] If the classification result is the connection between the horizontal pipeline and the vertical pipeline, the connection point acquisition algorithm is as follows: Take the center line of the horizontal pipeline as a vertical plane, project the vertical pipeline onto this vertical plane to intersect with the horizontal space to obtain the intersection point A, and project the horizontal pipeline in the same way to obtain the intersection point B; The preliminary connection strategy is: A is connected to B.
[0047] If the classification result is the connection between the horizontal pipeline and the terminal equipment, the connection point acquisition algorithm is as follows: Take the center line of the horizontal pipeline as a vertical plane, project the input port A of the terminal equipment onto this vertical plane to obtain the projection point B, and project B onto the center line of the horizontal pipeline to obtain the projection point C; The preliminary connection strategy is: A is connected to B, and B is connected to C.
[0048] Embodiment 2 This embodiment provides a pipeline automatic connection device in a building information model, including: an encoding module, a traversal module, an acquisition module, and a connection module. Among them, the encoding module is used to encode each device according to the mechanical and electrical system solution type - system type - installation floor - mechanical and electrical space type - device type - device quantity to obtain a device code; The traversal module is used to traverse the device codes to screen out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected; The acquisition module is used to obtain the obstacle information on the connection path of any two successfully matched pipelines to be connected in the preliminary connection strategy; The connection module is used to determine the target connection strategy according to the preliminary connection strategy and obstacle information of the two successfully matched pipelines to be connected, and then realize the pipeline connection between the two.
[0049] Embodiment 3 This embodiment provides an electronic device, including a memory and a processor. The memory stores a computer program, and the processor executes the steps of the above method when executing the computer program.
[0050] Those skilled in the art can easily understand that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. An automatic pipeline connection method in a building information model, characterized in that, Including: S1: Encoding each device according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - device type - device quantity to obtain a device code; S2: Traversing the device codes to screen out all successfully matched pipelines to be connected, and determining the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected; S3: For any two successfully matched pipelines to be connected, obtaining the obstacle information on the connection path in the preliminary connection strategy; S4: Determining the target connection strategy according to the preliminary connection strategy and the obstacle information of the two successfully matched pipelines to be connected, and then realizing the pipeline connection between the two.
2. The method for automatically connecting pipelines in a building information model according to claim 1, characterized in that, The S4 includes: If the obstacle information indicates that there are no obstacles on the connection path, taking the preliminary connection strategy as the target connection strategy and performing pipeline connection.
3. The method for automatically connecting pipelines in a building information model according to claim 1, wherein, The S4 includes: If the obstacle information indicates that there are obstacles on the connection path, adjusting the preliminary connection strategy by using a collision correction method to obtain the target connection strategy and performing pipeline connection.
4. The method for automatically connecting pipelines in a building information model according to claim 3, wherein, The adjusting the preliminary connection strategy by using a collision correction method to obtain the target connection strategy includes: Determining the offset and the available space amount by detecting the remaining available space; Performing an offset adjustment on the pipeline position or connection point in the initial connection strategy according to the offset and the available space amount to obtain the target connection strategy.
5. The method for automatically connecting pipelines in a building information model according to claim 3, characterized in that, The adjusting the preliminary connection strategy by using a collision correction method to obtain the target connection strategy includes: Regarding the map as composed of three-dimensional space grids based on the spatial A* algorithm, and finding the optimal path between the starting point and the ending point in the three-dimensional space grids by combining the actual cost and the heuristic estimation on the basis of the preliminary connection strategy to obtain the target connection strategy.
6. The automatic pipeline connection method in the building information model according to claim 1, wherein The form of the device code is: a-j-m-R-T-n; where, a represents the electromechanical system scheme code, j represents the system type code, m represents the installation floor code, R represents the electromechanical space code, T represents the device pipeline type code, and n represents the device pipeline quantity code; wherein, the electromechanical space type includes horizontal space, vertical space and machine room space.
7. The method for automatically connecting pipelines in a building information model according to claim 1, characterized in that, The S2 includes: S21: Screening out the pipelines that need to be automatically connected by traversing all the device codes through identifying the graphic elements, and classifying the pipelines according to the specialty and type; S22: Determining the preliminary connection strategy corresponding to all successfully matched pipelines to be connected according to the classification results; The classification results include: the connection between the machine room equipment and the horizontal pipeline, the connection between the pipelines in two intersecting horizontal spaces, the connection between the horizontal pipeline and the vertical pipeline, and the connection between the horizontal pipeline and the end equipment.
8. The method for automatically connecting pipelines in a building information model according to claim 1, characterized in that, The S22 includes: If the classification result is the connection between the machine room equipment and the horizontal pipeline, the connection point acquisition algorithm is: Making a vertical plane with the center line of the horizontal pipeline, projecting the equipment output port A onto this vertical plane to obtain the projection point B, and projecting B onto the center line of the horizontal pipeline to obtain the projection point C; The preliminary connection strategy is: A is connected to B, and B is connected to C; If the classification result is the connection of pipelines in two intersecting horizontal spaces, the connection point acquisition algorithm is as follows: The pipeline endpoint closer to the intersecting end space is the connection point, denoted as connection point A and connection point B; The preliminary connection strategy is as follows: Extend the pipelines along connection point A and connection point B respectively, and the intersection point is C. Connect A to C and C to B; If the classification result is the connection of a horizontal pipeline and a vertical pipeline, the connection point acquisition algorithm is as follows: Make a vertical plane with the center line of the horizontal pipeline, project the vertical pipeline onto this vertical plane to intersect with the horizontal space to obtain intersection point A, and project the horizontal pipeline to obtain intersection point B in the same way; The preliminary connection strategy is as follows: Connect A to B; If the classification result is the connection of a horizontal pipeline and an end device, the connection point acquisition algorithm is as follows: Make a vertical plane with the center line of the horizontal pipeline, project the input port A of the end device onto this vertical plane to obtain projection point B, and project B onto the center line of the horizontal pipeline to obtain projection point C; The preliminary connection strategy is as follows: Connect A to B and B to C.
9. An automatic pipeline connection device in a building information model, characterized in that, Including: An encoding module, configured to encode each device according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - device type - device quantity to obtain a device code; A traversal module, configured to traverse the device codes to screen out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected; An acquisition module, configured to, for any two successfully matched pipelines to be connected, acquire the obstacle information on the connection path in the preliminary connection strategy of the two; A connection line module, configured to determine the target connection strategy according to the preliminary connection strategy and the obstacle information of the two successfully matched pipelines to be connected, and further realize the pipeline connection between the two.
10. An electronic device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method for quickly creating pipeline system based on modeling software
CN115130186A
BIM-based electromechanical pipeline laying system and laying method
CN116738628A
Intelligent comprehensive planning system for building mechanical and electrical pipelines based on BIM and artificial intelligence
CN119760934A
BIM (Building Information Modeling)-based electromechanical pipeline installation method, equipment, medium and product
CN120012336A
DNA code generation method based on Reversible Self-Dual code
KR102429200B1