Cross processing method and device of pipeline, storage medium and electronic equipment
By acquiring pipe path parameters and applying collision avoidance rules to automatically adjust pipe intersections, the problem of Revit software's inability to automatically handle pipe intersections is solved, thus improving design efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JIULING (JIANGSU) DIGITAL INTELLIGENT TECH CO LTD
- Filing Date
- 2021-04-29
- Publication Date
- 2026-06-16
AI Technical Summary
Revit software cannot automatically adjust the cross-cutting of pipes, forcing designers to spend a lot of time making manual adjustments.
By obtaining the path parameters of the pipelines, it is determined whether the pipelines meet the collision conditions, and the intersecting pipelines are bent according to the preset collision avoidance rules, including adjusting the set of pressurized and unpressurized pipelines to avoid intersection.
It enables automatic avoidance of pipe intersections, reducing the workload of designers and improving design efficiency.
Smart Images

Figure CN115270364B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of architectural design, and particularly to a method, apparatus, storage medium, and electronic device for handling pipe intersections. Background Technology
[0002] Current BIM (Building Information Modeling) platforms are generally used to set up architectural drawings and handle complex pipe intersections.
[0003] While Revit software can arrange pipes, it requires manual adjustments to the crossings between pipes, which takes up a lot of the designer's time. Summary of the Invention
[0004] This invention provides a method, apparatus, storage medium, and electronic device for handling pipe intersections, effectively solving the problem that Revit software cannot automatically adjust the intersection handling between pipes, which requires designers to spend a lot of time.
[0005] According to one aspect of the present invention, the present invention provides a method for handling pipe intersections, the method comprising the steps of: obtaining path parameters of the pipes; determining whether the pipes meet the collision conditions based on the obtained path parameters to identify all intersecting pipes; and performing a bending operation on all intersecting pipes according to a preset collision avoidance rule.
[0006] Furthermore, the types of pipelines include pressurized pipelines and unpressurized pipelines, wherein the flow direction of the unpressurized pipeline is determined by the direction of gravity.
[0007] Furthermore, the preset collision avoidance rules include: when it is determined that the unpressurized pipe set and the pressurized pipe set meet the collision conditions, the pressurized pipe set is adjusted so that the pressurized pipe set and the unpressurized pipe set do not intersect, wherein the unpressurized pipe set includes at least one unpressurized pipe and the pressurized pipe set includes at least one pressurized pipe.
[0008] Furthermore, the preset collision avoidance rules also include: the pressurized pipe set includes different types of pressurized pipes, and the different types of pressurized pipes have the same or different parameter values; when it is determined that the pressurized pipe set meets the collision condition, the parameter values of all pressurized pipes in the pressurized pipe set are obtained; the total value of the parameter values of all pressurized pipes in the pressurized pipe set is calculated; and based on the calculated total value, the pressurized pipe set with the smaller total value is adjusted so that the pressurized pipe set with the smaller total value does not intersect with the pressurized pipe set with the larger total value.
[0009] Furthermore, the preset collision avoidance rules also include: when it is determined that the collision conditions are met between sets of unpressurized pipes, the following steps are performed: when only one set of unpressurized pipes meets the first condition, the sets of unpressurized pipes that meet the first condition are adjusted so that the sets of unpressurized pipes that meet the first condition do not intersect with the sets of unpressurized pipes that do not meet the first condition; when two sets of unpressurized pipes simultaneously meet the first condition, and only one set of unpressurized pipes meets the second condition, the sets of unpressurized pipes that meet the second condition are adjusted so that the sets of unpressurized pipes that meet the second condition do not intersect with the sets of unpressurized pipes that do not meet the second condition; when two sets of unpressurized pipes simultaneously meet the first condition, and both sets simultaneously meet the second condition or neither meets the second condition, the pipe lengths of all unpressurized pipes in the sets of unpressurized pipes are calculated. The first condition is met by adjusting the set of unpressurized pipes with the smaller sum of pipe lengths to ensure that the set of unpressurized pipes with the smaller sum of pipe lengths does not intersect with the set of unpressurized pipes with the larger sum of pipe lengths. When both sets of unpressurized pipes do not simultaneously meet the first condition, the maximum vertical clearance between the two ends of the unpressurized pipes in the set is obtained, and the set of unpressurized pipes with the smaller maximum vertical clearance is adjusted to ensure that the set of unpressurized pipes with the smaller maximum vertical clearance does not intersect with the set of unpressurized pipes with the larger maximum vertical clearance. The first condition is met by obtaining the end of each unpressurized pipe in the set with the larger vertical clearance between its two ends, and determining that the end of each unpressurized pipe with the larger vertical clearance between its two ends is located within a closed area. The second condition is met by determining that neither end of each unpressurized pipe in the set is connected to a tee connector.
[0010] Furthermore, the preset collision avoidance rules also include: when it is determined that at least one end of the pressurized pipe in the pressurized pipe set is connected to the branch end of the tee connector, the following steps are performed: determining the break point according to the position of the pressurized pipe and the branch end, wherein the break point is located at a preset position; constructing two first pipes perpendicular to the wired pipe, the length of the first pipes being a preset value; constructing a second pipe parallel to the wired pipe, the length of the second pipe being equal to the distance from the branch end to the break point; and bridging the second pipe to the branch end and the pressurized pipe respectively through the two first pipes.
[0011] Furthermore, the preset collision avoidance rules also include: when it is determined that the collision conditions are met between the sets of unpressurized pipes, obtaining the collision node; according to the collision node, cutting off the unpressurized pipe; obtaining the end with the larger vertical clearance between the two ends of the cut unpressurized pipe (excluding the cut point); adjusting the height of the unpressurized pipe at the end with the larger vertical clearance until its height is greater than the outer diameter of the unpressurized pipe; and reconnecting the disconnected unpressurized pipe.
[0012] According to another aspect of the present invention, the present invention provides a pipe crossing processing device, the device comprising: an acquisition unit for acquiring path parameters of the pipes; a detection unit for determining whether the pipes meet the collision conditions based on the acquired path parameters, so as to identify all crossing pipes; and an execution unit for performing a bending operation on all crossing pipes according to a preset collision avoidance rule.
[0013] According to another aspect of the present invention, a storage medium is provided that stores a plurality of instructions adapted for loading by a processor to execute the pipeline cross-processing method described in any embodiment of the present invention.
[0014] According to another aspect of the present invention, an electronic device is provided, including a processor and a memory, the processor being electrically connected to the memory, the memory being used to store instructions and data, and the processor being used to execute steps in the pipeline cross-processing method described in any embodiment of the present invention.
[0015] The pipeline crossing handling method described in this embodiment of the invention performs the following steps: by obtaining the pipeline path parameters, determining whether the pipelines meet the collision conditions based on the obtained path parameters, identifying all crossing pipelines, and performing a bending operation on all crossing pipelines according to preset collision avoidance rules, thereby achieving automatic avoidance when pipelines cross, and reducing the time spent by designers or developers to improve design efficiency. Attached Figure Description
[0016] The technical solution and other beneficial effects of the present invention will become apparent from the following detailed description of specific embodiments of the invention, in conjunction with the accompanying drawings.
[0017] Figure 1 This is a flowchart illustrating the steps of a pipeline cross-processing method provided in Embodiment 1 of the present invention.
[0018] Figure 2 A flowchart illustrating the steps of a pressurized pipeline assembly bending operation provided in an embodiment of the present invention.
[0019] Figure 3 A flowchart illustrating the steps of bending an unpressurized pipeline assembly according to an embodiment of the present invention.
[0020] Figure 4 This is a schematic diagram of the bending operation of a pressurized pipeline assembly provided in an embodiment of the present invention.
[0021] Figure 5 This is a structural schematic diagram of the collision avoidance rules for unpressurized pipelines provided in an embodiment of the present invention.
[0022] Figure 6 This is a schematic diagram of the collision structure of a pressurized pipeline assembly provided in an embodiment of the present invention.
[0023] Figure 7 This is a schematic diagram of the bending operation of a pressurized pipeline assembly provided in an embodiment of the present invention.
[0024] Figure 8 This is a schematic diagram of the bending operation of a pressurized pipeline assembly provided in an embodiment of the present invention.
[0025] Figure 9 This is a schematic diagram of the structure of a pressurized pipeline assembly after a bending operation, as provided in an embodiment of the present invention.
[0026] Figure 10 This is a schematic diagram of the bending operation of an unpressurized pipeline assembly provided in an embodiment of the present invention.
[0027] Figure 11 This is a schematic diagram of the structure of the unpressurized pipeline assembly after the bending operation provided in an embodiment of the present invention.
[0028] Figure 12 This is a schematic diagram of a pipe cross-processing device provided in Embodiment 2 of the present invention.
[0029] Figure 13 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention. Detailed Implementation
[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0031] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows for communication; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0032] like Figure 1 The diagram shows a flowchart of the pipe crossing method provided in Embodiment 1 of the present invention. The method includes the following steps:
[0033] Step S110: Obtain the path parameters of the pipeline.
[0034] In this step, the types of pipelines include pressurized pipelines and unpressurized pipelines, wherein the flow direction of the unpressurized pipelines is determined by the direction of gravity. The pressurized pipelines may include: air ducts, high-voltage cable trays, and low-voltage cable trays, etc. The path parameters are the three-dimensional coordinates of each pipeline in space.
[0035] Step S120: Based on the obtained path parameters, determine whether the collision conditions between pipes are met, so as to identify all intersecting pipes.
[0036] When two pipes collide, they intersect in space. Therefore, when the path parameters of the two pipes have the same three-dimensional coordinates, this coordinate is the intersection point.
[0037] Step S130: Perform a bend operation on all intersecting pipes according to the preset collision avoidance rules.
[0038] In this embodiment, the preset collision avoidance rules mentioned in step S130 include:
[0039] When a collision condition is met between the set of unpressurized pipes and the set of pressurized pipes, the set of pressurized pipes is adjusted so that they do not intersect. The set of unpressurized pipes includes at least one unpressurized pipe, and the set of pressurized pipes includes at least one pressurized pipe. Since the flow direction of unpressurized pipes is determined by gravity, they are pipes that do not undergo internal pressurization and discharge fluids using their own weight and elevation differences. Unpressurized pipes are pipes where the medium flows solely due to gravity. In practice, pressurized pipes are significantly easier to adjust than unpressurized pipes. Therefore, when a collision condition is met between the set of unpressurized pipes and the set of pressurized pipes, the set of pressurized pipes prioritizes avoiding the set of unpressurized pipes.
[0040] When it is determined that a collision condition is met between sets of pressurized pipelines, the parameter values of all pressurized pipelines in the pressurized pipeline set are obtained. The pressurized pipeline set includes different types of pressurized pipelines, and different types of pressurized pipelines have the same or different parameter values. These parameter values can be adjusted by the user. Table 1 in this embodiment shows the parameter values set for the pressurized pipelines.
[0041]
[0042]
[0043] Table 1
[0044] When it is determined that the pressure pipeline set meets the collision condition, the parameter values of all pressure pipelines in the pressure pipeline set are obtained, the total value of the parameter values of all pressure pipelines in the pressure pipeline set is calculated, and the pressure pipeline set with the smaller total value is adjusted according to the calculated total value so that the pressure pipeline set with the smaller total value does not intersect with the pressure pipeline set with the larger total value.
[0045] For example: If the set of power cable trays is 1*2=2 and the set of ducts is 10*3=30, it is determined that all power cable trays are bent, and the cable tray bending program is called. When the parameter value of the power cable tray is modified to 20, the set of power cable trays becomes 20*2=40 and the set of ducts becomes 10*3=30, and it is determined that all ducts are bent, and the duct bending program is called.
[0046] like Figure 4 As shown, when a pressurized piping assembly performs a bending operation, such as when a power cable tray assembly performs a bending operation, the power cable tray assembly needs to cross both ends of the duct assembly (i.e., Figure 4 (The first end 600 and the second end 601 of the transverse pipe assembly in the middle).
[0047] The preset collision avoidance rules also include: when it is determined that two sets of unpressurized pipes meet the collision conditions, the following steps are performed: when only one set of unpressurized pipes meets the first condition, the sets of unpressurized pipes that meet the first condition are adjusted so that the sets of unpressurized pipes that meet the first condition do not intersect with the sets of unpressurized pipes that do not meet the first condition; when two sets of unpressurized pipes simultaneously meet the first condition, and only one set of unpressurized pipes meets the second condition, the sets of unpressurized pipes that meet the second condition are adjusted so that the sets of unpressurized pipes that meet the second condition do not intersect with the sets of unpressurized pipes that do not meet the second condition; when two sets of unpressurized pipes simultaneously meet the first condition, the collision avoidance rules are further refined. If the first condition is met, and both sets of unpressurized pipes simultaneously meet the second condition or neither meets the second condition, calculate the sum of the pipe lengths of all unpressurized pipes in the unpressurized pipe sets. Adjust the unpressurized pipe set with the smaller sum of pipe lengths so that the unpressurized pipe set with the smaller sum of pipe lengths does not intersect with the unpressurized pipe set with the larger sum of pipe lengths. If both sets of unpressurized pipes do not simultaneously meet the first condition, obtain the maximum vertical clearance among the vertical clearances between the ends of the unpressurized pipes in the unpressurized pipe sets. Adjust the unpressurized pipe set with the smaller maximum vertical clearance so that the unpressurized pipe set with the smaller maximum vertical clearance does not intersect with the unpressurized pipe set with the larger maximum vertical clearance.
[0048] The first condition is met when the larger vertical clearance between the two ends of each unpressurized pipe in the set of unpressurized pipes is obtained, and it is determined that the larger vertical clearance between the two ends of each unpressurized pipe is located within a closed area. The second condition is met when it is determined that neither end of each unpressurized pipe in the set of unpressurized pipes is connected to a tee connector.
[0049] Specifically, see Figure 5 The unpressurized pipe 120 has endpoints A and B. Assuming the vertical clearance between endpoints A and B is greater than that between endpoints B, and endpoint A is located within a closed area (the closed area enclosed by column 300, beam 400, and wall (not shown in the top view, but located below beam 400 and between columns 300)), the unpressurized pipe 120 satisfies the first condition. The unpressurized pipe 110 collides with the unpressurized pipe 120 at intersection 500. Assuming the vertical clearance between the left endpoint and right endpoint of the unpressurized pipe 110 is less than that between the right endpoint, the unpressurized pipe 110 does not satisfy the first condition; otherwise, it does.
[0050] In this embodiment, the B end of the unpressurized pipe 120 is connected to a tee connector 200, so the unpressurized pipe 120 also satisfies the second condition.
[0051] When two sets of unpressurized pipes simultaneously satisfy the first condition, and both sets simultaneously satisfy the second condition, or neither satisfies the second condition, the sum of the pipe lengths of all unpressurized pipes in the set is calculated. For example, the length of unpressurized pipe 120 is the distance from endpoint A to endpoint B.
[0052] When both sets of unpressurized pipes fail to meet the first condition, the maximum vertical clearance between the two ends of the unpressurized pipes in the set is obtained. For example, the vertical clearance at the right end of unpressurized pipe 110 is 10 meters, while the vertical clearance at end A of unpressurized pipe 120 is 12 meters. Therefore, a bending operation is performed on unpressurized pipe 110.
[0053] like Figure 2 As shown, a bend operation is performed on a pressurized pipeline in the following situations:
[0054] Step S210: When it is determined that at least one end of a pressurized pipe in the pressurized pipe assembly is connected to the branch end of the tee connector. Figure 6 The situation described in step S210 is shown.
[0055] Step S220: Determine the breakpoint based on the location of the pressurized pipeline and the branch pipe end, wherein the breakpoint is located at a preset position.
[0056] In this step, such as Figure 7 As shown, the breakpoints include breakpoint 20 and breakpoint 211 (i.e., the branch end port 211 of the branch pipe end 210 of the tee connector 200). Their positions are determined by the distance between the pressurized pipes. In this embodiment, breakpoint 20 is 150 mm away from the wall of the pressurized pipe 130. It should also be noted that... Figure 7 The numbers such as 160, 140, and 150 represent the spacing between measurement points 10, in millimeters.
[0057] See also Figure 8 and Figure 9 .
[0058] Step S230: Construct two first pipes 42 perpendicular to the wired conduit, with the length of the first pipe 42 being a preset value. The length of the first pipe 42 is 300 mm.
[0059] Step S240: Construct a second pipe 41 parallel to the wired pipe. The length of the second pipe 41 is equal to the distance from the branch end (i.e., branch port 211) to the breakpoint 20. The length of the second pipe 41 is 350 mm.
[0060] Step S250: Connect the second pipe to the branch pipe end and the pressurized pipe respectively through the two first pipes.
[0061] like Figure 3 As shown, performing a bend operation on an unpressurized pipeline includes:
[0062] Step S310: When it is determined that the collision condition is met between the sets of unpressurized pipes. Figure 10 The situation described in step S310 is shown, namely, the collision between the unpressurized pipe 140 and the unpressurized pipe 150.
[0063] Step S320: Obtain the collision node.
[0064] Step S330: Cut off the unpressurized pipe according to the collision node.
[0065] In this step, the unpressurized pipe is cut to form breakpoints 141 and 142, wherein breakpoint 141 is aligned with the center of the unpressurized pipe 150, and breakpoint 142 is at a preset distance from breakpoint 141, which can be 480 mm.
[0066] Step S340: Obtain the end with the larger vertical net distance between the two ends of the non-cut-off point in the cut-off unpressurized pipe.
[0067] In this step, it is assumed that the vertical clearance at end C of the unpressurized pipe 140 is greater than the vertical clearance at end D of the unpressurized pipe 140.
[0068] Step S350: Adjust the height of the unpressurized pipe at the end with the larger vertical clearance until its height is greater than the outer diameter of the unpressurized pipe.
[0069] In this step, adjust the height of end C of the unpressurized pipe 140 until its height is greater than the outer diameter 151 of the unpressurized pipe.
[0070] Step S360: Reconnect the disconnected unpressurized pipe.
[0071] In this step, the effect of reconnecting the disconnected unpressurized pipe is as follows: Figure 11 As shown.
[0072] It should be noted that in the above embodiments, the bending operation is performed on only one pipe. When a set of pipes performs the bending operation, it is the same as when one pipe performs the bending operation in the above embodiments.
[0073] It should also be noted that performing a bend operation on a pressurized pipeline does not change the height of the pressurized pipeline; that is, the crossing operation (i.e., the bend operation) is achieved by using two first pipelines perpendicular to the cable pipeline and one second pipeline parallel to the cable pipeline. Performing a bend operation on a non-pressurized pipeline changes the height of part of the non-pressurized pipeline to achieve the crossing operation.
[0074] In Embodiment 1, the pipeline crossing method obtains the pipeline path parameters, determines whether the pipelines meet the collision conditions based on the obtained path parameters, identifies all crossing pipelines, and performs a bending operation on all crossing pipelines according to preset collision avoidance rules, thereby achieving automatic avoidance when pipelines cross, and reducing the time spent by designers or developers to improve design efficiency.
[0075] like Figure 12 This is a schematic diagram of a pipeline cross-processing device provided in an embodiment of the present invention. The device includes: an acquisition unit 50, a detection unit 60, and an execution unit 70.
[0076] The acquisition unit 50 is used to acquire the path parameters of the pipeline. In this embodiment, the types of pipelines include pressurized pipelines and unpressurized pipelines, wherein the flow direction of the unpressurized pipeline is determined by the direction of gravity. The pressurized pipelines include: air ducts, high-voltage cable trays, and low-voltage cable trays, etc. The path parameters are the three-dimensional coordinate values of each pipeline in space.
[0077] The detection unit 60 is used to determine whether the collision conditions between pipes are met based on the obtained path parameters, so as to identify all intersecting pipes. In this embodiment, if two pipes collide, they have an intersection point in space. Therefore, when the path parameters of the two pipes have the same three-dimensional coordinates, this coordinate is the intersection point.
[0078] The execution unit 70 is used to perform a bending operation on all intersecting pipes according to the preset collision avoidance rules.
[0079] In Embodiment 2, the pipeline crossing processing device acquires the pipeline path parameters and determines whether the pipelines meet the collision conditions based on these parameters. This identifies all crossing pipelines, and according to preset collision avoidance rules, performs a bending operation on all crossing pipelines. This achieves automatic avoidance of pipeline crossings and reduces the time spent by designers or developers, thereby improving design efficiency.
[0080] In a third embodiment of this application, an electronic device 1000 is provided, the internal structure of which can be shown in the figure below. Figure 13As shown, the electronic device 1000 includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor of the electronic device 1000 provides computing and control capabilities. The memory of the electronic device 1000 includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for communication with external electronic devices via a network connection. When the computer program is executed by the processor, it implements a pipelined cross-processing method. The display screen of the electronic device can be a liquid crystal display (LCD) or an e-ink display. The input devices of the electronic device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the casing of the electronic device, or an external keyboard, touchpad, or mouse, etc.
[0081] Those skilled in the art will understand that Figure 13 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the electronic device to which the present invention is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0082] In one embodiment, an electronic device 1000 is provided, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0083] Obtain the path parameters of the pipeline;
[0084] Based on the obtained path parameters, determine whether the pipes meet the collision conditions to identify all intersecting pipes; and
[0085] According to the preset collision avoidance rules, all intersecting pipes are subjected to a bending operation.
[0086] In another embodiment, a storage medium is provided on which a computer program is stored, the computer program performing the following steps when executed by a processor:
[0087] Obtain the path parameters of the pipeline;
[0088] Based on the obtained path parameters, determine whether the pipes meet the collision conditions to identify all intersecting pipes; and
[0089] According to the preset collision avoidance rules, all intersecting pipes are subjected to a bending operation.
[0090] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0091] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for handling pipe intersections, characterized in that, Includes the following steps: Obtain the path parameters of the pipeline and process the pipeline type set according to preset rules; wherein, the pipeline type includes unpressurized pipelines, and the type set includes a set of unpressurized pipelines; Determine if the pipes meet the collision conditions to identify all intersecting pipes; and According to preset collision avoidance rules, a bending operation is performed on all intersecting pipes; wherein, the preset collision avoidance rules include: When it is determined that the collision conditions are met between two sets of unpressurized pipes, the following steps are performed: When only one set of unpressurized pipelines satisfies the first condition, adjust the set of unpressurized pipelines that satisfies the first condition so that the set of unpressurized pipelines that satisfies the first condition does not intersect with the set of unpressurized pipelines that does not satisfy the first condition. When two sets of unpressurized pipelines simultaneously satisfy the first condition, and only one set of unpressurized pipelines satisfies the second condition, adjust the set of unpressurized pipelines that satisfies the second condition so that the set of unpressurized pipelines that satisfies the second condition does not intersect with the set of unpressurized pipelines that does not satisfy the second condition. When two sets of unpressurized pipelines simultaneously satisfy the first condition, and both sets simultaneously satisfy the second condition or neither satisfies the second condition, calculate the sum of the pipeline lengths of all unpressurized pipelines in the sets, and adjust the set of unpressurized pipelines with the smaller sum of pipeline lengths so that the set with the smaller sum of pipeline lengths does not intersect with the set with the larger sum of pipeline lengths; and When two sets of unpressurized pipelines do not meet the first condition at the same time, obtain the maximum vertical clearance among the vertical clearances between the two ends of the unpressurized pipelines in the unpressurized pipeline set, and adjust the unpressurized pipeline set with the smaller maximum vertical clearance so that the unpressurized pipeline set with the smaller maximum vertical clearance does not intersect with the unpressurized pipeline set with the larger maximum vertical clearance. The first condition is met by obtaining the end with the larger vertical clearance between the two ends of each of the unpressurized pipes in the set of unpressurized pipes, and determining that the end with the larger vertical clearance between the two ends of each of the unpressurized pipes is located within a closed area. The second condition is satisfied when it is determined that neither end of each of the unpressurized pipes in the set of unpressurized pipes is connected to a tee connector.
2. The method for handling pipe intersections according to claim 1, characterized in that, The types of pipelines also include pressurized pipelines, wherein the bend priority of the unpressurized pipelines is higher than that of the pressurized pipelines.
3. The method for handling pipe intersections according to claim 2, characterized in that, Establish sets of unpressurized pipelines and sets of pressurized pipelines. The preset collision avoidance rules also include: When it is determined that the unpressurized pipeline set and the pressurized pipeline set meet the collision condition, the pressurized pipeline set is adjusted so that the pressurized pipeline set and the unpressurized pipeline set do not intersect. The unpressurized pipeline set includes at least one unpressurized pipeline, and the pressurized pipeline set includes at least one pressurized pipeline.
4. The method for handling pipe intersections according to claim 3, characterized in that, The preset collision avoidance rules also include: the pressurized pipeline set includes different types of pressurized pipelines, and the different types of pressurized pipelines have the same or different parameter values; When it is determined that the collision condition is met between two sets of pressurized pipelines, the parameter values of all pressurized pipelines in the set of pressurized pipelines are obtained. Calculate the sum of parameter values for all pressurized pipes in the pressurized pipe set; and Based on the calculated total value, adjust the set of pressurized pipelines with smaller total values so that the set of pressurized pipelines with smaller total values does not intersect with the set of pressurized pipelines with larger total values.
5. The method for handling pipe intersections according to claim 3, characterized in that, The preset collision avoidance rules also include: When it is determined that at least one end of a pressurized pipe in the pressurized pipe assembly is connected to the branch end of a tee fitting, the following steps are performed: The break point is determined based on the location of the pressurized pipeline and the branch pipe end, where the break point is located at a preset position; Construct two first pipes perpendicular to the wired pipes, with the length of the first pipes being a preset value; Construct a second conduit parallel to the existing conduit, the length of which is equal to the distance from the branch end to the break point; and The second pipe is connected to the branch pipe and the pressurized pipe respectively through two first pipes.
6. The method for handling pipe intersections according to claim 2, characterized in that, The preset collision avoidance rules also include: When it is determined that the collision condition is met between two sets of unpressurized pipes... Obtain the collision nodes; Cut off the unpressurized pipeline based on the collision point; Obtain the end with the larger vertical clearance between the two ends of the non-cut-off point in the cut-off unpressurized pipeline; Adjust the height of the unpressurized pipe at the end with the larger vertical clearance until its height is greater than the outer diameter of the unpressurized pipe. Reconnect the disconnected unpressurized pipes.
7. A pipe crossing device, characterized in that, include: The acquisition unit is used to acquire the path parameters of the pipeline and perform type set processing on the pipeline according to preset rules; wherein, the pipeline type includes unpressurized pipelines, and the type set includes a set of unpressurized pipelines; The detection unit is used to determine whether the collision conditions between pipes are met based on the obtained path parameters, thereby identifying all intersecting pipes; and An execution unit is configured to perform a bending operation on all intersecting pipes according to preset collision avoidance rules; wherein the preset collision avoidance rules include: When it is determined that the collision conditions are met between two sets of unpressurized pipes, the following steps are performed: When only one set of unpressurized pipelines satisfies the first condition, adjust the set of unpressurized pipelines that satisfies the first condition so that the set of unpressurized pipelines that satisfies the first condition does not intersect with the set of unpressurized pipelines that does not satisfy the first condition. When two sets of unpressurized pipelines simultaneously satisfy the first condition, and only one set of unpressurized pipelines satisfies the second condition, adjust the set of unpressurized pipelines that satisfies the second condition so that the set of unpressurized pipelines that satisfies the second condition does not intersect with the set of unpressurized pipelines that does not satisfy the second condition. When two sets of unpressurized pipelines simultaneously satisfy the first condition, and both sets simultaneously satisfy the second condition or neither satisfies the second condition, calculate the sum of the pipeline lengths of all unpressurized pipelines in the sets, and adjust the set of unpressurized pipelines with the smaller sum of pipeline lengths so that the set with the smaller sum of pipeline lengths does not intersect with the set with the larger sum of pipeline lengths; and When two sets of unpressurized pipelines do not meet the first condition at the same time, obtain the maximum vertical clearance among the vertical clearances between the two ends of the unpressurized pipelines in the unpressurized pipeline set, and adjust the unpressurized pipeline set with the smaller maximum vertical clearance so that the unpressurized pipeline set with the smaller maximum vertical clearance does not intersect with the unpressurized pipeline set with the larger maximum vertical clearance. The first condition is met by obtaining the end with the larger vertical clearance between the two ends of each of the unpressurized pipes in the set of unpressurized pipes, and determining that the end with the larger vertical clearance between the two ends of each of the unpressurized pipes is located within a closed area. The second condition is satisfied when it is determined that neither end of each of the unpressurized pipes in the set of unpressurized pipes is connected to a tee connector.
8. A storage medium, characterized in that, The storage medium stores a plurality of instructions adapted for loading by a processor to execute the pipeline cross-processing method of any one of claims 1 to 6.
9. An electronic device, characterized in that, It includes a processor and a memory, the processor being electrically connected to the memory, the memory being used to store instructions and data, and the processor being used to execute the steps in the pipeline cross-processing method of any one of claims 1 to 6.