Pipe line bend processing method and apparatus
By automatically identifying and connecting pipeline bends and elbows using computer equipment, the problem of low pipeline layout efficiency in traditional methods is solved, and a highly efficient pipeline layout process is achieved.
Patent Information
- Application Number
- CN202111166393.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2041-09-30
AI Technical Summary
Traditional methods for laying out main pipelines in underground parking garages are inefficient, requiring manual repeated trials to determine the bends and turns, resulting in wasted resources and extended time.
By acquiring the main pipeline attribute information through computer equipment, the system automatically determines the bends between adjacent pipelines and performs bend connections, avoiding manual intervention.
It improves pipeline layout efficiency, saves manpower, and shortens the time for bending, connecting, and laying.
Smart Images

Figure CN115906223B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer-aided architectural design technology, and in particular to a method and apparatus for pipeline bending. Background Technology
[0002] With social development and the scarcity of urban land, making full use of above-ground and underground space and intensive development has become a trend. Underground parking garages play a significant role in solving public parking problems in urban centers and private parking problems in residential areas. Therefore, it is necessary to rationally arrange underground parking garages. Underground parking garages contain numerous professional pipelines designed to meet fire protection and operational requirements. The challenge lies in how to rationally arrange these main pipelines vertically to meet functional and regulatory requirements while also saving costs.
[0003] In traditional techniques, designers divide the main pipeline into segments and repeatedly adjust the height of these segments using different bends until the height of each segment is adjusted to a level where adjacent segments can be connected by a single bend, thus achieving the vertical arrangement of the main pipeline segments. However, this traditional method results in low pipeline layout efficiency. Summary of the Invention
[0004] Therefore, it is necessary to provide a pipeline bending treatment method and apparatus to address the aforementioned technical problems.
[0005] A method for pipe bending, the method comprising:
[0006] Obtain all main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline; the attribute information includes the type and layout information of the main pipelines.
[0007] Based on the attribute information of each main pipeline, determine the bends between adjacent main pipelines;
[0008] The bending elbow is invoked to bend and connect the adjacent main pipelines.
[0009] A pipeline bending and straightening device, the device comprising:
[0010] The information acquisition module is used to acquire all main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline; the attribute information includes the type and layout information of the main pipelines.
[0011] The bend determination module is used to determine the bends between adjacent main pipelines based on the attribute information of each main pipeline.
[0012] The bending connection module is used to call the bending elbow to bend and connect the adjacent main pipelines.
[0013] The aforementioned pipeline bending processing method and apparatus allows the computer equipment to acquire all main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline. Based on the attribute information of each main pipeline, the bending bends between adjacent main pipelines are determined, and the adjacent main pipelines are bent and connected through the bending bends. This method can be implemented by a computer processing program without human intervention, avoiding the process of manually repeating experiments to determine the bending bends, saving human resources. At the same time, it can also shorten the time for bending and connecting main pipelines and the time for pipeline layout, thereby improving the efficiency of pipeline layout. Attached Figure Description
[0014] Figure 1 This is an internal structural diagram of a computer device in one embodiment;
[0015] Figure 2 This is a flowchart illustrating a pipeline bending process in one embodiment;
[0016] Figure 3 This is a schematic diagram of the method for determining the bending elbow in one embodiment;
[0017] Figure 4 This is a schematic diagram of the structure after two adjacent main pipelines are bent and connected in another embodiment;
[0018] Figure 5 This is a flowchart illustrating the method for determining the bending elbow in another embodiment;
[0019] Figure 6 This is a flowchart illustrating the method for determining the bending elbow in another embodiment;
[0020] Figure 7 This is a structural schematic diagram of the relationship between two adjacent main pipelines in different directions and the structural beams arranged above them in another embodiment;
[0021] Figure 8 This is a schematic flowchart of a method for connecting a main pipeline by bending in one embodiment.
[0022] Figure 9 This is a flowchart illustrating the method for determining the bending elbow in another embodiment;
[0023] Figure 10 This is a structural schematic diagram of the relationship between two adjacent main pipelines in different directions and the structural beams arranged above them in another embodiment;
[0024] Figure 11 This is a structural schematic diagram of the relationship between two adjacent main pipelines in different directions and the structural beams arranged above them in another embodiment;
[0025] Figure 12This is a structural schematic diagram of the relationship between two adjacent main pipelines in different directions and the structural beams arranged above them in another embodiment;
[0026] Figure 13 This is a structural schematic diagram of the relationship between two adjacent main pipelines in different directions and the structural beams arranged above them in another embodiment;
[0027] Figure 14 This is a flowchart illustrating the method for determining the bending elbow in another embodiment;
[0028] Figure 15 This is a schematic diagram of a structure in another embodiment where two adjacent main pipelines are connected by a bend.
[0029] Figure 16 This is a schematic diagram of a structure in another embodiment where two adjacent main pipelines are connected by a bend.
[0030] Figure 17 This is a flowchart illustrating the method for determining the bending elbow in another embodiment;
[0031] Figure 18 This is a schematic diagram of a structure in another embodiment where two adjacent main pipelines are connected by a bend.
[0032] Figure 19 This is a schematic diagram of a partial side structure of two adjacent main pipelines connected by a bend in another embodiment.
[0033] Figure 20 This is a flowchart illustrating a method for connecting two adjacent main pipelines in another embodiment.
[0034] Figure 21 This is a schematic diagram of a structure connecting two adjacent main pipelines in another embodiment;
[0035] Figure 22 This is an initial layout diagram of two adjacent ducts in different directions in another embodiment;
[0036] Figure 23 This is a schematic diagram of a structure in another embodiment where two adjacent ducts in different directions are bent upwards and connected.
[0037] Figure 24 This is a flowchart illustrating a method for connecting two adjacent main pipelines in another embodiment.
[0038] Figure 25 This is a schematic diagram of a structure in another embodiment where the area to be processed is divided into three sub-areas.
[0039] Figure 26 This is a flowchart illustrating the method for determining the bending elbow in another embodiment;
[0040] Figure 27 This is a flowchart illustrating the method for determining the bending elbow in another embodiment;
[0041] Figure 28 This is a flowchart illustrating a method for determining the elevation of each main pipeline segment in another embodiment.
[0042] Figure 29 This is a schematic diagram of the arrangement structure between the main pipeline and adjacent main pipeline segments in another embodiment;
[0043] Figure 30 This is an initial layout diagram of a target direction main pipeline and multiple non-target direction main pipelines in another embodiment;
[0044] Figure 31 This is an initial layout diagram of a target direction main pipeline and multiple non-target direction main pipelines in another embodiment;
[0045] Figure 32 This is a flowchart illustrating the method for determining the family of elbows in another embodiment;
[0046] Figure 33 This is a schematic diagram of a structure in another embodiment where two adjacent target direction main pipelines are connected by an upward bend.
[0047] Figure 34 This is a schematic diagram of a structure in another embodiment where two adjacent target direction main pipelines are connected by a downward bend.
[0048] Figure 35 This is a structural block diagram of a pipeline bending treatment device in one embodiment. Detailed Implementation
[0049] 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.
[0050] The pipeline bending method provided in this application can be applied to Figure 1 The computer equipment shown. (For example...) Figure 1As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides the environment for the operation of the operating system and computer programs in the non-volatile storage media. The computer device's database stores all main pipelines within the processing area, their attribute information, and structural beams positioned above the main pipelines. The network interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements a pipeline bending processing method.
[0051] Those skilled in the art will understand that Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0052] It should be noted that the pipeline bending processing method provided in this application can be implemented by a pipeline bending processing device, which can be implemented as part or all of a computer device through software, hardware, or a combination of software and hardware. The following method embodiments will use a computer device as an example to illustrate the implementation subject.
[0053] This embodiment describes a process executed by computer equipment before arranging main pipelines in terms of height. This embodiment can also be a process for adjusting the bending height of all main pipelines on the same gradient before arranging them in terms of height. The above-mentioned pipeline bending process can be applied to pipeline bending processes in underground parking garages, as well as to pipeline bending processes in ground parking garages. Of course, it can also be applied to other application scenarios involving the arrangement of main pipelines in the construction industry. This embodiment does not limit the application scenario.
[0054] In one embodiment, such as Figure 2 As shown, a pipeline bending treatment method is provided, which can be applied to... Figure 1 Taking a computer device as an example, the explanation includes the following steps:
[0055] S1000: Obtain all main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline; the attribute information includes the type and layout information of the main pipelines.
[0056] Specifically, the area to be processed may include main lines and non-main lines. In this embodiment, only the main lines are bent; the non-main lines are not bent. Furthermore, bending can be performed on all pairs of adjacent main lines within the entire area to be processed, or it can be performed on a subset of adjacent main lines within the area to be processed. The attribute information of the main lines may include the type of main line and its layout information.
[0057] The types of the aforementioned main pipelines may include cable trays, water pipes, and air ducts; the layout information of the aforementioned main pipelines may include the layout direction of the main pipeline, the elevation of the main pipeline, whether there are bends or bends on the main pipeline, whether there are pipe fittings on the main pipeline, and the length information of the main pipeline and the structural beam label under the corresponding structural beam, etc.
[0058] S2000. Based on the attribute information of each main pipeline, determine the bends between adjacent main pipelines.
[0059] Specifically, the computer equipment can determine the bends between all pairs of adjacent main lines by using the type and layout information of each main line to be bent. The bends between pairs of adjacent main lines can be the same or different.
[0060] Different bends can correspond to different bend angles, and once the bend is determined, its corresponding bend length and bend height can also be determined. In other words, there is a one-to-one correspondence between the bend, bend angle, bend height, and bend length.
[0061] S3000: Call the bending elbow to bend and connect adjacent main pipelines.
[0062] Furthermore, the computer equipment can invoke bending elbows, placing them between pairs of adjacent main pipelines and connecting them by bending. Connecting adjacent main pipelines by invoking bending elbows can be understood as connecting a lower-elevation main pipeline to an adjacent, higher-elevation main pipeline. In this embodiment, whenever there is an elevation difference between pairs of adjacent main pipelines, there will be corresponding bending elbows between them.
[0063] In the above-mentioned pipeline bending processing method, the computer equipment can obtain all the main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline. Based on the attribute information of each main pipeline, the bending bends between adjacent main pipelines are determined, and the bending bends are called to bend and connect the adjacent main pipelines. This method can be implemented by a computer processing program without human intervention, avoiding the process of manually repeating experiments to determine the bending bends, saving human resources. At the same time, it can also shorten the time for bending and connecting main pipelines and the time for pipeline layout, thereby improving the efficiency of pipeline layout.
[0064] As one example, such as Figure 3 As shown, the step in S2000 above, which determines the bends between adjacent main pipelines based on the attribute information of each main pipeline, can be achieved through the following steps:
[0065] S2100. Obtain the first elevation of the first main line and the second elevation of the second main line based on the layout information of each main line. The first main line and the second main line are adjacent and of the same type.
[0066] Specifically, the first main pipeline and the second main pipeline are a pair of adjacent main pipelines among all the main pipelines in the area to be processed. The computer equipment can identify all pairs of adjacent main pipelines from all the main pipelines in the area to be processed, and determine the first elevation of the first main pipeline and the second elevation of the second main pipeline based on the elevations of all the main pipelines. The first and second main pipelines can be of the same type, both being cable trays, water pipes, or air ducts. The aforementioned main pipeline elevation can be understood as the height of the main pipeline relative to the horizontal plane.
[0067] S2200. Determine the first turning bend based on the type of the first main pipeline and the second main pipeline, as well as the first elevation difference between the first elevation and the second elevation.
[0068] Specifically, the computer equipment can determine the magnitude of the first elevation and the second elevation, and then subtract the larger elevation from the smaller elevation to obtain the first elevation difference. Alternatively, the computer equipment can subtract the first elevation from the second elevation; if the difference is positive, it is taken as the first elevation difference; if the difference is negative, the absolute value of the difference is taken as the first elevation difference.
[0069] It is understandable that, since different types of main pipelines have different outer diameters, the bends at which adjacent main pipelines of different types are connected by bends can be different.
[0070] Furthermore, the step of calling the bending elbow in S3000 above to bend and connect adjacent main lines may include: calling the first bending elbow to bend and connect the first main line and the second main line.
[0071] If there are no bends or pipe fittings on the first and second main pipelines, they can be directly connected by bending. In this case, there is a certain height difference between the first and second main pipelines and the bottom of the upper structural beam. When directly bending the first and second main pipelines, the bends do not intersect with the structural beam. Alternatively, the first or second main pipeline can be extended, and the extended pipeline and the unextended pipeline can be connected by bending. In this case, the height difference between the first or second main pipeline and the upper structural beam is smaller. When directly bending the first and second main pipelines, the bends may intersect with the structural beam. Therefore, in this case, the lower-elevation main pipeline needs to be extended to the edge of the structural beam and then bent to connect with the unextended main pipeline from the edge.
[0072] For example, such as Figure 4 The diagram shows a structural design after two adjacent main pipelines are connected by a bend. The lower-elevation main pipeline is extended to the edge of the structural beam, and then bends to connect with the higher-elevation, unextended main pipeline from the left edge of the structural beam. The patterned rectangles in the diagram represent the structural beam.
[0073] It is also understandable that the computer equipment can call the first bending bend to directly bend and connect the first main pipeline and the second main pipeline, bending the lower elevation main pipeline to the higher elevation main pipeline. Alternatively, it can call the first bending bend to extend the first main pipeline to the edge of the upper structural beam to obtain an extended first main pipeline, and then bend and connect the extended first main pipeline and the second main pipeline. Or, it can call the first bending bend to extend the second main pipeline to the edge of the upper structural beam to obtain an extended second main pipeline, and then bend and connect the extended second main pipeline and the first main pipeline.
[0074] This embodiment can call a bending elbow to bend and connect the first main pipeline and the second main pipeline, thereby realizing the connection between adjacent main pipelines on different elevations. In addition, when arranging pipelines in different situations, the computer equipment can quickly and conveniently arrange pipelines in different scenarios, improving the efficiency of pipeline arrangement.
[0075] The above-mentioned pipeline bending processing method can obtain the first elevation of the first main pipeline and the second elevation of the second main pipeline based on the layout information of each main pipeline. According to the type of the first and second main pipelines and the first elevation difference between the first and second elevations, the first bending bend is determined. Then, by calling the bending bend, adjacent main pipelines at different elevations are bent and connected, thereby enabling computer equipment to quickly and conveniently arrange pipelines in different scenarios and improve the efficiency of pipeline layout.
[0076] As one example, such as Figure 5 As shown, the step in S2200 above, which determines the first bend based on the types of the first and second main pipelines and the first elevation difference between the first and second elevations, can be achieved through the following steps:
[0077] S2210. If there is a bend in the second main pipeline and the first elevation is lower than the second elevation, then the first main pipeline is extended to the edge of the corresponding structural beam to obtain the extended first main pipeline.
[0078] Specifically, if there is a bend in the second main pipeline, and the first elevation of the first main pipeline is lower than the second elevation of the second main pipeline, the computer equipment can extend the first main pipeline at the lower elevation to the edge of the corresponding structural beam above it, thus obtaining the extended first main pipeline. The length of the extended main pipeline segment can be equal to half the width of the structural beam above the corresponding main pipeline.
[0079] S2220. Determine the first bend elbow based on the corresponding types of the first main pipeline and the second main pipeline, and the first elevation difference. The first bend elbow is used to bend and connect the extended first main pipeline to the second main pipeline.
[0080] The steps in S2220 are the same as those in S2200, and the specific implementation process will not be described in this embodiment.
[0081] Understandably, the computer equipment can invoke the first bend to bend the extended first main pipeline and connect it to the second main pipeline at a higher elevation.
[0082] This embodiment can call a bending elbow to bend and connect the extended first and second main pipelines, thereby realizing the connection between adjacent main pipelines at different elevations. Furthermore, when arranging pipelines under different circumstances, it enables computer equipment to quickly and conveniently arrange pipelines in different scenarios, improving the efficiency of pipeline arrangement.
[0083] The above-mentioned pipeline bending method can determine the first bend when there is a bend in the second main pipeline, and then call the bend to bend and connect adjacent main pipelines at different elevations. This allows computer equipment to quickly and conveniently arrange pipelines in different scenarios, improving the efficiency of pipeline arrangement.
[0084] In some scenarios, when adjacent first and second main pipelines are connected by a bend, there may be a bend in the main pipeline at a higher elevation. In this case, it is necessary to determine the length between the nearest port of the bend in the extended first main pipeline and the nearest port of the extended main pipeline to the bend in the extended first main pipeline, as well as the elevation difference between the first and second main pipelines to ensure that the bend condition is met. Figure 6 As shown, the step in S2220 above, which determines the first bend based on the types of the first main pipeline and the second main pipeline and the first elevation difference, may specifically include the following steps:
[0085] S2221. Determine the length of the first port between the first port of the extended first main pipeline and the first port of the bend fitting; the first port of the first main pipeline is the port closest to the bend fitting, and the first port of the bend fitting is the port closest to the extended first main pipeline.
[0086] Specifically, when there is a bend in the main pipeline at the higher elevation between two adjacent main pipelines, the port length between the bends in the extended first and second main pipelines can be calculated first. This port length can be the port length between any port on the extended first main pipeline and any port on the bend. The number of port lengths can be equal to 4.
[0087] However, in this embodiment, the length of the first port can be equal to the length between the port closest to the bend fitting on the extended main line without bends and the port closest to the extended first main line on the bend fitting. That is, the length between the first port of the extended first main line and the first port of the bend fitting is calculated. In other words, the length between the relatively close ports of the bend fitting and the main line without bends is calculated.
[0088] S2222. Determine the priority of the first turning angle based on the type of the first main pipeline and the second main pipeline.
[0089] In this embodiment, the two adjacent main pipelines connected by a bend are of the same type, which can be cable tray pipes, water pipes, or air ducts. The mapping relationship between different types of main pipelines and their corresponding bend angle priorities may be different. Table 1 shows the mapping relationship between different types of main pipelines and the first bend angle priority corresponding to the main pipeline bend connection, and this mapping relationship is not limited to Table 1. Specifically, if the first main pipeline and the adjacent second main pipeline are both cable tray pipes, a 45° bend is preferred. If the 45° bend does not meet the bend requirements, a 30° bend is considered next. In other words, 45° has a higher priority than 30°. If the first main pipeline and the adjacent second main pipeline are both cable tray pipes, a 90° bend is preferred. If the 90° bend does not meet the bend requirements, a 45° bend is considered next. In other words, 90° has a higher priority than 45°. If the first main pipeline and the adjacent second main pipeline are both ductwork, a 45° bend is preferred. If the 45° bend does not meet the bend requirements, a 30° bend is considered next. In other words, 45° has a higher priority than 30°.
[0090] Types of main lines First turning angle priority (take priority) First priority is the turning angle (second consideration). cable tray 45° 30° water pipe 90° 45° air duct 45° 30°
[0091] S2223. Determine at least one first turning angle according to the priority of the first turning angle, and determine the corresponding first turning height and first turning length based on the first turning angle.
[0092] Specifically, when the bending angle is fixed, the corresponding bending head can also be fixed. The fixed bending head has a fixed bending height and bending length. Therefore, the first bending angle can be determined according to the priority of the first bending angle, and then the corresponding first bending head can be determined according to the first bending angle, thereby obtaining the first bending height and first bending length corresponding to the first bending head.
[0093] It is understood that in the above S2223, the first turning angle can be determined according to the priority of the first turning angle, from higher priority to lower priority, or from lower priority to highest priority. In this embodiment, a first turning angle can be determined first according to the priority of the first turning angle. If the first turning height and first turning length corresponding to the first turning angle can satisfy the turning condition for the first elevation difference and the first port length, then this embodiment does not need to determine other first turning angles. If the first turning height and first turning length corresponding to the first turning angle cannot satisfy the turning condition for the first elevation difference and the first port length, another first turning angle can be determined according to the priority of the first turning angle until the first turning height and first turning length corresponding to the determined first turning angle can satisfy the turning condition for the first elevation difference and the first port length. Therefore, the number of first turning angles determined in the above S2223 can be greater than or equal to 1.
[0094] S2224. If the length of the first port is greater than or equal to the length of the first bend, and the first elevation difference is greater than or equal to the height of the first bend, then the first bend head is determined based on the height of the first bend and the length of the first bend.
[0095] Specifically, the computer equipment can determine whether the length of the first port and the first elevation difference meet the bending conditions, that is, whether the length of the first port is greater than or equal to the first bending length corresponding to the first bending angle, and whether the first elevation difference is greater than or equal to the first bending height corresponding to the first bending angle. If it is determined that the length of the first port is greater than or equal to the first bending length, and the first elevation difference is greater than or equal to the first bending height, then the bend corresponding to the first bending height and the first bending length can be identified as the first bend where the extended first main line and the second main line with the bend are connected. However, when it is determined that the first elevation difference is greater than the first bending height corresponding to the first bending angle, the elevation of either the extended first main line or the second main line with the bend can be adjusted until the first elevation difference between the extended first main line and the second main line with the bend is equal to the first bending height corresponding to the first bending angle.
[0096] For example, such as Figure 7 The diagram shows the structural relationship between two adjacent main pipelines in different directions and the structural beams arranged above them. H+2200 and H+2400 in the diagram are the elevations of the two main pipelines, respectively.
[0097] The above-mentioned pipeline bending method can determine the first bend when there is a bend in the second main pipeline. Then, by using the determined bend, adjacent main pipelines at different elevations can be bent and connected. This allows computer equipment to quickly and conveniently arrange pipelines in different scenarios, improving the efficiency of pipeline arrangement.
[0098] In some scenarios, if the length of the first port and / or the first elevation difference does not meet the bending conditions, such as... Figure 8 As shown, after step S2223 above, the above pipeline bending treatment method may further include the following steps:
[0099] S2225. If the length of the first port is less than the length of the first bend, and the first elevation difference is greater than or equal to the height of the first bend, then the second main pipeline is divided to obtain a second main pipeline that includes the bend fitting and a second main pipeline that does not include the bend fitting.
[0100] Specifically, the computer equipment can determine whether the length of the first port is less than the length occupied by the first bend, and whether the first elevation difference between the first main pipeline and the second main pipeline is equal to the first bend height corresponding to the first bend angle. If it is determined that the length of the first port is less than the length occupied by the first bend, and the first elevation difference is greater than or equal to the first bend height, it indicates that the length of the first port does not meet the bend condition. At this time, the computer equipment can divide the second main pipeline into a second main pipeline including the bend fitting and a second main pipeline not including the bend fitting. The dividing point on the second main pipeline can be a point on the second main pipeline corresponding to the edge of the structural beam above the second main pipeline, and this point can divide the second main pipeline into two segments, namely the second main pipeline including the bend fitting and the second main pipeline not including the bend fitting.
[0101] S2226. Move the second main pipeline containing the bend to the first elevation, and connect the extended first main pipeline to the second main pipeline containing the bend to obtain the third main pipeline.
[0102] Understandably, the computer equipment can move the second main pipeline, which includes the bend fitting, from the second elevation to the first elevation, and then combine the extended first main pipeline with the second main pipeline containing the bend fitting to form a new main pipeline, namely the third main pipeline. Connections between adjacent main pipelines at the same elevation do not require bends; they only need to be connected through the ports of the adjacent main pipelines.
[0103] S2227. The third main pipeline is bent and connected to the second main pipeline, which does not include a bend, by means of the first bend.
[0104] Furthermore, the computer equipment can connect the third main pipeline to a second main pipeline at a higher elevation that does not contain bends, by means of a defined first bend.
[0105] This embodiment can bend and connect the second main pipeline with the first main pipeline when there is a bend in the pipe fitting, so that the first main pipeline and the second main pipeline can be bent and connected when avoiding the bend in the pipe fitting, thereby realizing pipeline layout under different conditions.
[0106] The above-mentioned pipeline bending method can determine the first bend when there is a bend in the second main pipeline. Then, by using the determined bend, adjacent main pipelines at different elevations can be bent and connected. This allows computer equipment to quickly and conveniently arrange pipelines in different scenarios, improving the efficiency of pipeline arrangement.
[0107] In some scenarios, if the port length between the bend in the second main pipeline and the extended first main pipeline does not meet the bend condition, a main pipeline segment that meets the bend condition can be found on the second main pipeline. This involves identifying the main pipeline segment between the bend and the pipe fitting that meets the bend condition, and then dividing the main pipeline within this segment to achieve a bend connection between the first and second main pipelines. Therefore, if... Figure 9 As shown, the step in S2000 above, which determines the bends between adjacent main pipelines based on the attribute information of each main pipeline, can be achieved through the following steps:
[0108] S2300. If there are bends and pipe fittings on the second main pipeline, determine the length of the second port between the second port of the bend and the first port of the pipe fitting. The second port of the bend is the port closest to the pipe fitting, and the first port of the pipe fitting is the port closest to the bend.
[0109] Specifically, when there are bends and pipe fittings on the higher elevation of two adjacent main pipelines, the port length between the bend and the pipe fitting can be calculated first. This port length can be the length between any port on the bend and any port on the pipe fitting, and the number of these port lengths can be equal to four. For example, such as... Figure 10 The diagram shows the structural relationship between two adjacent main pipelines in different directions and the structural beams arranged above them. On the main pipeline at the higher elevation, there is a right-angle bend and a tee fitting. The right-angle bend is located at a right angle on the main pipeline at the higher elevation, and the tee fitting is located on the main pipeline at the higher elevation.
[0110] However, in this embodiment, the length of the second port can be equal to the length between the port closest to the pipe fitting on the bend fitting and the port closest to the bend fitting on the pipe fitting, that is, the length between the relatively close ports of the bend fitting and the pipe fitting.
[0111] S2400. If the length of the second port is less than the length of the first bend, and the first elevation difference is greater than or equal to the height of the first bend, then the second main pipeline is divided to obtain a second main pipeline that includes bend fittings and pipe accessories and a second main pipeline that does not include bend fittings and pipe accessories.
[0112] Specifically, the computer equipment can determine whether the length of the second port is less than the length occupied by the first bend, and whether the first elevation difference between the first main pipeline and the second main pipeline is greater than or equal to the first bend height corresponding to the first bend angle. If it is determined that the length of the second port is less than the length occupied by the first bend, and the first elevation difference is greater than or equal to the first bend height, it indicates that the length of the second port does not meet the bend condition. At this time, the computer equipment can divide the second main pipeline into a second main pipeline including bend fittings and pipe accessories and a second main pipeline not including bend fittings and pipe accessories. The dividing point on the second main pipeline can be a point on the second main pipeline corresponding to the edge of the structural beam above the second main pipeline, and this point can divide the second main pipeline into two segments, namely the second main pipeline including bend fittings and pipe accessories and the second main pipeline not including bend fittings and pipe accessories.
[0113] In this embodiment, if it is determined that the length of the second port is greater than or equal to the length of the first bend, and the first elevation difference is equal to the first bend height, it indicates that the length of the second port meets the bend condition. At this time, the computer device can divide the second main pipeline to obtain a second main pipeline containing a bend fitting and a second main pipeline containing pipe accessories. If it is determined that the length of the second port is greater than or equal to the length of the first bend, and the first elevation difference is greater than the first bend height, the elevation of either the first main pipeline or the second main pipeline can be adjusted until the first elevation difference between the first main pipeline and the second main pipeline is equal to the first bend height. Then, the second main pipeline can be divided to obtain a second main pipeline containing a bend fitting and a second main pipeline containing pipe accessories.
[0114] S2500, Move the second main pipeline, which includes bends and pipe fittings, from the second elevation to the first elevation, and connect the extended first main pipeline to the second main pipeline, which includes bends and pipe fittings, to obtain the fourth main pipeline.
[0115] Understandably, the computer equipment can move the second main pipeline, which includes bends and pipe fittings, from the second elevation to the first elevation, and combine the extended first main pipeline with the second main pipeline, which includes bends and pipe fittings, to form a new main pipeline, namely the fourth main pipeline.
[0116] S2600, The fourth main pipeline is bent and connected to the second main pipeline, which does not include bends or pipe fittings, through the first bend.
[0117] Furthermore, the computer equipment can connect the third main pipeline to a second main pipeline at a higher elevation that does not contain bends, by means of a defined first bend.
[0118] In addition, if there are multiple bends and / or pipe fittings on the second main pipeline, the port lengths between adjacent bends and / or pipe fittings can be calculated sequentially. Then, it can be determined whether the port lengths meet the bend conditions. If they do, the second main pipeline can be divided between the corresponding adjacent bends and / or pipe fittings to obtain two second main pipeline segments. The second main pipeline segment that is closer to the extended first main pipeline can be moved from the second elevation to the first elevation, and the two can be connected to obtain a new main pipeline. The new main pipeline can then be bent and connected to the second main pipeline segment that has not been moved through a bend.
[0119] Also, such as Figure 11 The diagram shows a structural schematic of two adjacent main pipelines in different directions and the structural beams arranged above them. In the diagram, there is a tee pipe fitting on the main pipeline at the higher elevation. In this case, we can first determine the port length between the port of the tee pipe fitting and the port of the main pipeline at the lower elevation. We can then determine whether the port length is greater than or equal to the length occupied by the first bend and whether the first elevation difference is greater than or equal to the height of the first bend. If so, we determine the first bend. If not, we determine the dividing point on the main pipeline at the higher elevation that meets the bend conditions and divide the main pipeline at the higher elevation to achieve the bend connection between the two adjacent main pipelines. Figure 11 The diagram shows a situation where the length of the port corresponding to the port of the tee pipe fitting and the port of the main pipeline at a lower elevation is greater than the length occupied by the first bend. Figure 12 The diagram shows a case where the length of the port corresponding to the port of the tee pipe fitting and the port of the main pipeline at a lower elevation is less than the length occupied by the first bend. For example... Figure 13 The diagram shows the structural relationship between two adjacent main pipelines in different directions and the structural beams arranged above them. The diagram shows a four-way pipe fitting on the main pipeline at a higher elevation.
[0120] This embodiment allows for the bend connection between the second main pipeline and the first main pipeline, where bends and pipe fittings are present. This enables the first main pipeline to bend and connect with the second main pipeline while avoiding bends and pipe fittings, thus achieving pipeline layout under different conditions.
[0121] The above-mentioned pipeline bending method can determine the first bend when there are bends and pipe fittings on the second main pipeline. Then, by using the determined bend, adjacent main pipelines at different elevations can be bent and connected, thereby enabling computer equipment to quickly and conveniently arrange pipelines in different scenarios and improve the efficiency of pipeline layout.
[0122] As one example, such as Figure 14 As shown, the step in S2220 above, which determines the first bend based on the types of the first main pipeline and the second main pipeline and the first elevation difference, may specifically include the following steps:
[0123] S2228. Determine the priority of the first turning angle based on the type of the first main pipeline and the second main pipeline.
[0124] Specifically, the method for determining the priority of the first turning angle in S2228 is the same as the method for determining the priority of the first turning angle in S2222, and will not be repeated here.
[0125] S2229. Based on the priority of the first turning angle and the first elevation difference, determine the first family of bends; the first family of bends includes at least two turning bends, and at least two turning bends include the first turning bend.
[0126] Specifically, the computer equipment can determine the first family of bends where the extended first and second main pipelines are connected by a bend, based on the first bend angle priority and the first elevation difference between the first and second main pipelines. This first family of bends includes at least two bends. That is, based on the first bend angle priority and the first elevation difference between the first and second main pipelines, the first bend is first determined. If the first bend does not meet the bend conditions for connecting the extended first and second main pipelines, other bends are determined based on the first bend angle priority until all determined bends are connected, enabling the connection of the extended first and second main pipelines by bend.
[0127] Furthermore, the step of calling the bending elbow in S3000 above to bend and connect adjacent main lines may include: calling all bending elbows in the first elbow family to bend and connect the extended first main line to the second main line.
[0128] It is also understandable that after the first family of bends is determined, the computer equipment can call up all the bends in the first family of bends and connect all the bends together. Through the connected bends, the extended first main line at a lower elevation is bended and connected to the second main line at a higher elevation.
[0129] For example, such as Figure 15 The diagram illustrates a structural design for connecting two adjacent main pipelines via a bend. In this embodiment, the first bend is initially determined to be a 90° bend. If the 90° bend does not meet the bend requirements, another bend can be determined based on the 90° bend. These two bends are then connected to allow for a bend connection between the extended first main pipeline at a lower elevation and the second main pipeline at a higher elevation. If neither of the two adjacent main pipelines can be connected via a bend family corresponding to the first bend angle priority, the two adjacent main pipelines can be recorded so that the user can adjust the bends to achieve the bend connection.
[0130] In addition, such as Figure 16 The diagram shows a structural schematic of two adjacent main pipelines being connected by a bend. A tee fitting is present on the lower elevation main pipeline. Connecting the two adjacent main pipelines by bend means connecting the tee fitting to the higher elevation main pipeline. In this case, a first bend family can be determined based on the first bend angle priority and the first elevation difference. All bends in the first bend family can be called, and the two adjacent main pipelines can be connected through all bends. If the two adjacent main pipelines cannot be connected by combining bends through the bend family corresponding to the first bend angle priority, the two adjacent main pipelines can be recorded so that the user can adjust the bends themselves to achieve the bend connection.
[0131] This embodiment can call all the bends in the bend family to bend and connect the second main pipeline to the first main pipeline, thereby realizing the bend connection of adjacent main pipelines under different layout structures, and further enabling the arrangement of pipelines under different layout structures.
[0132] The above-mentioned pipeline bending method can identify the bend families of adjacent main pipelines under different layout structures, and call all the bends in the bend family to bend and connect the second main pipeline with the first main pipeline, thereby enabling computer equipment to quickly and conveniently arrange pipelines under different layout structures, and improve the efficiency of pipeline layout.
[0133] As one embodiment, if the second main pipeline includes a first main pipeline segment and a second main pipeline segment, then the step in S2000 above, which determines the bend between adjacent main pipelines based on the attribute information of each main pipeline, is as follows: Figure 17 As shown, this can be achieved through the following steps:
[0134] S2700. If there are pipe fittings on the first main pipeline, and the first and second main pipelines are main pipelines of the same gradient, then obtain the third elevation of the first main pipeline segment and the fourth elevation of the second main pipeline segment based on the pipeline layout information.
[0135] Specifically, if a pipe fitting exists on the first main pipeline, and the first and second main pipelines are adjacent and at the same elevation, and the second main pipeline includes segments of both the first and second main pipelines, then the computer equipment can determine the third elevation of the first main pipeline segment and the fourth elevation of the second main pipeline segment based on the pipeline layout information. The pipeline layout information may include the elevations of each main pipeline segment. The pipe fitting may be located in the middle of the first main pipeline.
[0136] S2800. Based on the third and fourth elevations, determine the second elevation difference between the first main pipeline segment and the second main pipeline segment; wherein the first main pipeline segment and the second main pipeline segment are adjacent.
[0137] Understandably, the computer equipment can determine the magnitudes of the third and fourth elevations, and then subtract the larger elevation from the smaller one to obtain the second elevation difference. Alternatively, the computer equipment can subtract the third and fourth elevations; if the difference is positive, it is taken as the second elevation difference; if the difference is negative, its absolute value is taken as the second elevation difference.
[0138] In this embodiment, the second main pipeline may include multiple main pipeline segments, and the first main pipeline segment and the second main pipeline segment may be two adjacent main pipeline segments on the second main pipeline.
[0139] S2900. Based on the types of the first main pipeline and the second main pipeline, the third elevation difference between the first elevation and the third elevation, and the second elevation difference, determine the second bend family; the first main pipeline is adjacent to the first main pipeline segment.
[0140] Specifically, the computer equipment can determine the magnitudes of the first and third elevations, and then subtract the larger elevation from the smaller elevation to obtain the third elevation difference. Alternatively, the computer equipment can subtract the first and third elevations; if the difference is positive, it is taken as the third elevation difference; if the difference is negative, its absolute value is taken as the third elevation difference. Furthermore, the computer equipment can determine the second elbow family based on the types of the first and second main pipelines, the third elevation difference, and the second elevation difference. The second elbow family can include at least two reverse elbows.
[0141] like Figure 18 As shown, in this case, the first main pipeline and the first main pipeline segment can be connected by a bend, that is, the bend connects the tee fitting on the first main pipeline to the first main pipeline segment. Simultaneously, the bend connection between the first main pipeline segment and the second main pipeline segment can be achieved through at least one bend. Figure 18 The first main line segment and the second main line segment shown are connected by two bends. Additionally, as... Figure 19 As shown Figure 18 A partial side view of the structure shown. Figure 18 On the left is the interface of the tee pipe fitting connected to the first main line. In this case, it can be assumed that the first main line, the first main line segment, and the second main line segment are connected by three 90° bends. Therefore, the computer equipment can pre-calculate the interval distance between the center point of the tee pipe fitting and the edge of the structural beam above the second main line segment, and determine whether the interval distance is greater than or equal to three times the bending length of the 90° bend. The bending distance in the figure can be understood as the bending length. If the judgment result is yes, it means that the interval distance meets the bending condition and the first main line, the first main line segment, and the second main line segment can be connected by three 90° bends.
[0142] The above-mentioned pipeline bending processing method can determine the bend families of adjacent main pipelines under different layout structures, and then connect the second main pipeline with the first main pipeline by calling all the bending bends in the bend family. This enables computer equipment to quickly and conveniently arrange pipelines under different layout structures, thereby improving the efficiency of pipeline layout.
[0143] As one example, such as Figure 20 As shown, after the above steps, the above pipeline bending treatment method may further include the following steps:
[0144] S2000a. If there is a first pipe fitting on the first main pipeline and a second pipe fitting on the second main pipeline, then determine whether the first elevation difference is greater than or equal to the minimum connection height corresponding to the connection between the first pipe fitting and the second pipe fitting.
[0145] Specifically, if there is a pipe fitting on the first main pipeline (i.e., the first pipe fitting) and a pipe fitting on the second main pipeline (i.e., the second pipe fitting), the computer equipment can determine whether the first elevation difference is greater than or equal to the minimum connection height corresponding to the connection between the first and second pipe fittings. The first pipe fitting can be located in the middle of the first main pipeline, and the second pipe fitting can be located in the middle of the second main pipeline. The minimum connection height corresponding to the connection between the first and second pipe fittings can be understood as the connection height when the first and second pipe fittings are directly connected, that is, the distance between the center points of the first and second pipe fittings after they are directly connected. A direct connection between the first and second pipe fittings can be understood as the case where it is not necessary to connect the first and second pipe fittings through fittings.
[0146] In this embodiment, both the first and second pipe fittings are typically tee fittings, and the first and second pipe fittings can be directly connected to form a four-way fitting.
[0147] S2000b: If the first elevation difference is greater than or equal to the minimum connection height, then connect the first pipe fitting to the second pipe fitting.
[0148] Understandably, if the first elevation difference is determined to be greater than or equal to the minimum connection height corresponding to the connection between the first and second pipe fittings, the computer equipment can directly connect the first pipe fitting to the second pipe fitting. For example... Figure 21 The diagram shows a structure in which the first main pipeline and the second main pipeline are directly connected through their respective pipe fittings.
[0149] Furthermore, following step S2000a above, the pipeline bending treatment method may further include the following steps: if the first elevation difference is less than the minimum connection height, disconnect the first main pipeline from the first pipe fitting, adjust the first elevation of the first main pipeline, and connect the first main pipeline after elevation adjustment to the disconnected first pipe fitting. Alternatively, if the first elevation difference is less than the minimum connection height, disconnect the second main pipeline from the second pipe fitting, adjust the second elevation of the second main pipeline, and connect the second main pipeline after elevation adjustment to the disconnected second pipe fitting. This embodiment may also record the main pipeline whose elevation has been adjusted.
[0150] Specifically, if the first elevation difference is determined to be less than the minimum connection height corresponding to the connection between the first and second pipe fittings, the computer equipment can disconnect the first main pipeline from the first pipe fitting, adjust the first elevation of the first main pipeline, and then connect the first main pipeline after elevation adjustment to the disconnected first pipe fitting, that is, connect the first main pipeline after elevation adjustment to the disconnected four-way pipe fitting. Alternatively, the computer equipment can also disconnect the second main pipeline from the second pipe fitting, adjust the second elevation of the second main pipeline, and then connect the second main pipeline after elevation adjustment to the disconnected second pipe fitting, that is, connect the second main pipeline after elevation adjustment to the disconnected four-way pipe fitting.
[0151] Figure 22 This is an initial layout diagram of two adjacent ducts in different directions. Based on the initial layout, the two adjacent ducts need to be bent and connected. Figure 23 The diagram shows a structure with an upward-bending connection.
[0152] The above-mentioned pipe bending method can directly connect the pipe fittings on the main pipeline, thereby realizing the connection of adjacent main pipelines at different elevations. This enables computer equipment to quickly and conveniently arrange pipelines under different layout structures, improving the efficiency of pipeline layout.
[0153] In some scenarios, if the main pipelines and non-main pipelines in the area to be processed include different types of main pipelines, then during pipeline layout, crossings and collisions often occur. Therefore, if... Figure 24 As shown, the step in S2000 above, which determines the bends between adjacent main pipelines based on the attribute information of each main pipeline, can be achieved through the following steps:
[0154] S2001. Perform collision detection on all main lines and all non-main lines within the processing area to obtain the collision points between different main lines.
[0155] Specifically, the area to be processed can include main lines and non-main lines arranged in different directions. Non-main lines can be understood as main lines that are not arranged. The computer equipment can perform collision detection on all main lines and all non-main lines within the area to be processed; that is, it can detect collision points between different main lines, between different non-main lines, and between main lines and non-main lines, and then filter out the collision points between different main lines. Both different main lines and non-main lines can carry distinguishing markers.
[0156] S2002. Based on the collision point, determine the two adjacent first structural beams that are closest to the collision point and have the same direction.
[0157] Understandably, after obtaining the collision points between different main pipelines, the computer equipment can calculate the distance between the edges of structural beams in different directions around the collision point and the collision point itself. It then identifies the two adjacent structural beams in each direction corresponding to the smallest distance as the two closest adjacent first structural beams in the same direction to the collision point. Typically, this process can determine the two closest adjacent first structural beams in the same direction to multiple similar collision points.
[0158] S2003. The area to be processed is divided into multiple sub-areas to be processed by two first structural beams and two second structural beams; the two second structural beams are adjacent structural beams with the same direction, and the directions of the first structural beams and the second structural beams are different.
[0159] It is also understandable that after identifying the two first structural beams, the computer equipment can continue to identify the two second structural beams that are adjacent to each other in other directions and closest to the collision point, and divide the area to be processed into one or more sub-areas to be processed.
[0160] For example, such as Figure 25 The diagram shows the structure of the three sub-regions to be processed after the region to be processed is divided. The collision point is surrounded by structural beams in two directions. The four structural beams closest to and adjacent to the collision point in the two directions can form region 1. Furthermore, regions 2 and 3 can be found.
[0161] S2004. Based on the attribute information of the main pipeline in each sub-region to be processed, determine the bends between adjacent main pipelines.
[0162] Furthermore, after dividing the area to be processed into regions, the steps in S1000 to S2000 above can be performed on all main lines in each sub-region to determine the bending elbows required when connecting adjacent main lines.
[0163] The above-mentioned pipeline bending method can divide the area to be treated into regions, and bend and connect all main pipelines of mixed types according to different sub-regions to avoid the situation of cross collision between main pipelines in different directions. Furthermore, it can quickly, conveniently and reasonably arrange pipelines under different layout structures, thereby improving the effect and efficiency of pipeline layout.
[0164] As one example, such as Figure 26 As shown, the step in S2000 above, which determines the bends between adjacent main pipelines based on the attribute information of the main pipelines in each sub-region to be processed, can be achieved through the following steps:
[0165] S2005. Determine the number of bends required for adjacent main pipelines.
[0166] Specifically, the computer equipment can pre-determine the number of bends required when connecting two adjacent main pipelines.
[0167] S2006. Determine the target direction main line based on the number of bends and the weighting coefficients of each main line in different directions.
[0168] It is understandable that the influence of all main pipelines in the same direction on the overall pipeline layout varies. Therefore, a weighting coefficient can be set for each main pipeline in the same direction. Furthermore, the computer equipment can determine the target direction main pipeline based on the required number of bends between two adjacent main pipelines and the weighting coefficients of each main pipeline in different directions. Optionally, the two adjacent main pipelines can be two adjacent main pipelines in the same direction, or two main pipelines in different directions. The target direction can be any direction, and bend-avoidance connection processing is performed on the main pipelines in the target direction.
[0169] S2007. Based on the attribute information of each main pipeline, determine the bends between adjacent main pipelines in the target direction.
[0170] Specifically, computer equipment can determine the bends between adjacent main lines in the target direction based on the type and layout information of each main line. Of the two main lines ultimately connected by the bend, one can be located in the target direction, and the other can be located in another direction.
[0171] Among them, the step in S2007 above, which determines the bends between adjacent main pipelines in the target direction based on the attribute information of each main pipeline, is as follows: Figure 27 As shown, it can specifically include:
[0172] S2017. Determine the elevation information of all main lines in non-target directions based on the layout information of each main line. The elevation information includes the maximum or minimum elevation of all main lines.
[0173] Specifically, the computer equipment can determine the elevation of each main line in the non-target direction based on the main line elevation of each main line in the layout information of all main lines in the sub-region to be processed, and perform extreme value comparison processing on all the corresponding main line elevations in the non-target direction, and obtain the maximum or minimum elevation of all main lines in the non-target direction based on the extreme value comparison results.
[0174] S2027. Based on the layout information, elevation information and preset elevation of each main pipeline, the fifth elevation of the third main pipeline segment and the sixth elevation of the fourth main pipeline segment are obtained. The third main pipeline segment in the target direction is adjacent to the fourth main pipeline segment in the target direction.
[0175] Understandably, the computer equipment can segment the target direction main pipeline to obtain at least one third main pipeline segment and at least one fourth main pipeline segment. Optionally, the segmentation points on the target direction main pipeline can correspond to the edges of the structural beams above the target direction main pipeline. The fifth elevation of the third main pipeline segment can be equal to the corresponding main pipeline elevation of the target direction main pipeline. The sixth elevation of the fourth main pipeline segment can be different from the fifth elevation. The fifth elevation can be less than or greater than the sixth elevation.
[0176] S2037. Based on the types of the third main pipeline segment and the fourth main pipeline segment, and the fourth elevation difference between the fifth elevation and the sixth elevation, determine the third bend family; the third bend family includes at least one reversing bend, and at least one reversing bend includes a first reversing bend.
[0177] Specifically, the computer equipment can determine the family of third bends required for the bend connection between the third and fourth main pipeline segments based on the types of the third and fourth main pipeline segments and the fourth elevation difference between the fifth and sixth elevations. Optionally, the family of third bends may include one bend or multiple bends.
[0178] Furthermore, the step of calling the bending elbow in S3000 above to bend and connect adjacent main lines may include: calling all bending elbows in the third elbow family to bend and connect the third main line segment to the fourth main line segment.
[0179] It is also understandable that after the third bend family is determined, the computer equipment can call all the bends in the third bend family and connect all the bends together, so that the lower elevation third main line segment can be bent and connected to the higher elevation fourth main line segment through the connected bends.
[0180] This embodiment can call all the bends in the bend family to bend and connect the third main pipeline segment and the fourth main pipeline segment, thereby realizing the bend connection of adjacent main pipeline segments under different layout structures, and further enabling the arrangement of pipelines under different layout structures.
[0181] The above-mentioned pipeline bending method can determine the bend families of adjacent main pipeline segments under different layout structures, and connect the third main pipeline segment and the fourth main pipeline segment by calling all the bending bends in the bend family. This enables computer equipment to quickly and conveniently arrange pipelines under different layout structures, thereby improving the efficiency of pipeline layout.
[0182] In some scenarios, if the distance between the edge of the structural beam above the main pipeline in the target direction and the edge of the main pipeline closest to the structural beam in the non-target direction satisfies the bending length requirement in the bending condition, such as... Figure 28 As shown, the step in S2027 above, which obtains the fifth elevation of the third main pipeline segment and the sixth elevation of the fourth main pipeline segment based on the layout information, elevation information, and preset elevation of each main pipeline, may specifically include:
[0183] S2027a. Divide each main pipeline in the target direction to obtain the third main pipeline segment and the fourth main pipeline segment.
[0184] Specifically, the computer equipment can determine the corresponding dividing point on the main pipeline in the target direction based on the edge of the structural beam above the main pipeline in the target direction, and divide each main pipeline in the target direction according to the dividing point to obtain at least one third main pipeline segment and at least one fourth main pipeline segment.
[0185] For example, if there is only one structural beam in the direction perpendicular to the target direction, there can be a dividing point on the main pipeline in the target direction. After dividing the main pipeline in the target direction, a third main pipeline segment and a fourth main pipeline segment are obtained, and a bend is required when connecting the third and fourth main pipeline segments. If there are two structural beams in the direction perpendicular to the target direction, there can be two dividing points on the main pipeline in the target direction. After dividing the main pipeline in the target direction, two third main pipeline segments and a fourth main pipeline segment are obtained, and at least two bends are required when connecting the third and fourth main pipeline segments. In addition, if there are pipe fittings on the main pipeline in the target direction, and the pipe fittings are connected to the main pipeline in a non-target direction, such as... Figure 29 As shown, in this case, there can be a dividing point on the target direction main line. After dividing the target direction main line, a third main line segment and a fourth main line segment are obtained. When the third main line segment and the fourth main line segment are connected by a bend, at least two bends are required.
[0186] S2027b. Determine the fifth elevation based on the layout information of each main pipeline.
[0187] Specifically, the computer equipment can determine the fifth elevation of the third main pipeline segment based on the main pipeline elevation of the target direction main pipeline, which is the main pipeline elevation of the target direction main pipeline corresponding to the third main pipeline segment.
[0188] S2027c, Determine the edge distance between the edge of the structural beam corresponding to each target direction main line and the edge distance between the structural beam and the non-target direction main line that is closest to the structural beam in the non-target direction.
[0189] The computer equipment can determine the edge distance between the edge of the structural beam arranged above the target direction main line and the edge distance between the structural beam and the non-target direction main line that is closest to the structural beam.
[0190] S2027d. If the edge distance is greater than or equal to the first bend length of the first bend head, then the maximum elevation and the preset elevation are summed to obtain the sixth elevation. The sixth elevation is the elevation after the fourth main line segment is adjusted.
[0191] Specifically, the computer equipment can determine whether the edge distance is greater than or equal to the first bend length of the first bend. If the edge distance is determined to be greater than or equal to the first bend length of the first bend, it indicates that the third and fourth main pipeline segments can satisfy the upward bend connection. Therefore, the maximum elevation and the preset elevation can be summed to obtain the sixth elevation, and the fourth main pipeline segment can be adjusted from the fifth elevation to the sixth elevation. Usually, when making bend connections, upward bend connections are considered first. If an upward bend connection is not satisfied, a downward bend connection can be considered next.
[0192] like Figure 30 The diagram shows the initial layout of a target direction main line and multiple non-target direction main lines. The target direction main line is divided into two third main line segments and one fourth main line segment. Based on the initial layout, the third and fourth main line segments are bent and connected. The diagram also shows a schematic diagram of the upward bending connection. Figure 31 The diagram shows the initial layout of a main pipeline in a target direction and multiple main pipelines in non-target directions. A tee fitting is located in the middle of the main pipeline in the target direction and connects to one of the non-target direction main pipelines. The method for handling this bend connection is as follows: Figure 30 The situation is similar, so I will not go into details.
[0193] In addition, following S2027c above, the sixth elevation can be determined through the following steps:
[0194] S2027e. If the edge distance is less than the first bend length of the first bend head, then the difference between the minimum elevation and the preset elevation is used to obtain the sixth elevation.
[0195] Specifically, the computer equipment can determine whether the edge distance is less than the first bending length of the first bending head. If it is determined that the edge distance is less than the first bending length of the first bending head, it indicates that the third main line segment and the fourth main line segment do not meet the upward bending connection, but can meet the downward bending connection. Therefore, the difference between the maximum elevation and the preset elevation can be further calculated to obtain the sixth elevation, and the fourth main line segment can be adjusted from the fifth elevation to the sixth elevation.
[0196] The above-mentioned pipeline bending method can determine whether to perform an upward or downward bending connection when connecting adjacent main pipeline segments, thereby realizing the bending connection between adjacent main pipeline segments. This method can handle pipeline bending connections under different layout structures, improving the versatility of the pipeline bending method.
[0197] As one example, such as Figure 32 As shown, the step in S2037 above, which determines the third bend family based on the types of the third and fourth main pipeline segments and the fourth elevation difference between the fifth and sixth elevations, may specifically include:
[0198] S2037a. Determine the priority of the second turning angle based on the types corresponding to the third and fourth main pipelines.
[0199] Specifically, the method for determining the priority of the second turning angle in S2037a is the same as the method for determining the priority of the first turning angle in S2222, and will not be repeated here.
[0200] S2037b. Determine the third family of bends based on the priority of the second bend angle and the fourth elevation difference.
[0201] The method for determining the third family of bends in S2037b is similar to the method for determining the first family of bends in S2229, and will not be described in detail here.
[0202] For example, such as Figure 33 As shown, if two adjacent target direction main pipelines are both cable tray pipes and the two target direction main pipelines are not in the same direction, when connecting the two adjacent target direction main pipelines by bending, in order to avoid cross collision, the part of the target direction main pipeline segment that intersects with other non-target direction main pipelines in the structural beam can be cut and moved from the fifth elevation to the sixth elevation, and then the adjacent target direction main pipeline segments can be bent and connected. Figure 34 A schematic diagram of a structure that connects two adjacent target direction main lines by bending downwards.
[0203] The above-mentioned pipeline bending method can determine the bend families of adjacent main pipeline segments under different layout structures, and call all the bends in the bend family to bend and connect the third main pipeline segment and the fourth main pipeline segment, thereby enabling computer equipment to quickly and conveniently arrange pipelines under different layout structures, and improve the efficiency of pipeline layout.
[0204] It should be understood that, although Figure 2-3 , Figure 5-6 , Figure 8-9 , Figure 14 , Figure 17 , Figure 20 , Figure 24 , Figure 26-28 and Figure 32 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2-3 , Figure 5-6 , Figure 8-9 , Figure 14 , Figure 17 , Figure 20 , Figure 24 , Figure 26-28 and Figure 32 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0205] In one embodiment, such as Figure 35 As shown, a pipeline bending processing device is provided, including: an information acquisition module 11, a bend determination module 12, and a bending connection module 13, wherein:
[0206] Information acquisition module 11 is used to acquire all main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline; the attribute information includes the type and layout information of the main pipelines.
[0207] The elbow determination module 12 is used to determine the bends between adjacent main pipelines based on the attribute information of each main pipeline.
[0208] The bending connection module 13 is used to call the bending elbow to bend and connect adjacent main pipelines.
[0209] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0210] In one embodiment, the bend determination module 12 includes: an elevation acquisition unit, a first bend determination unit, and a first bend connection unit, wherein:
[0211] The elevation acquisition unit is used to acquire the first elevation of the first main line and the second elevation of the second main line based on the layout information of each main line. The first main line and the second main line are adjacent and of the same type.
[0212] The first bend determination unit is used to determine the first bend based on the type of the first main pipeline and the second main pipeline and the first elevation difference between the first elevation and the second elevation.
[0213] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0214] In one embodiment, the first bend determination unit includes: a first extension subunit and a bend determination subunit, wherein:
[0215] The first extension subunit is used to extend the first main pipeline to the edge of the corresponding structural beam when there is a bend in the second main pipeline and the first elevation is less than the second elevation, so as to obtain the extended first main pipeline.
[0216] The elbow determination subunit is used to determine the first bend elbow based on the corresponding types of the first main pipeline and the second main pipeline and the first elevation difference; the first bend elbow is used to bend the extended first main pipeline to connect it to the second main pipeline.
[0217] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0218] In one embodiment, the bend determination subunit includes: a port length determination subunit, a first priority determination subunit, a bend information determination subunit, and a first bend acquisition subunit, wherein:
[0219] The port length determination subunit is used to determine the length of the first port between the first port of the extended first main pipeline and the first port of the bend fitting; the first port of the first main pipeline is the port closest to the bend fitting, and the first port of the bend fitting is the port closest to the extended first main pipeline.
[0220] The first priority determination sub-unit is used to determine the first bending angle priority based on the types corresponding to the first main pipeline and the second main pipeline.
[0221] The bending information determination subunit is used to determine at least one first bending angle according to the priority of the first bending angle, and to determine the corresponding first bending height and first bending length based on the first bending angle.
[0222] The first bend acquisition subunit is used to determine the first bend based on the first bend height and the first bend length when the length of the first port is greater than or equal to the length of the first bend and the first elevation difference is equal to the height of the first bend.
[0223] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0224] In one embodiment, the bend determination subunit further includes: a first segmentation subunit, an elevation adjustment subunit, and a bend connection subunit, wherein:
[0225] The first segmentation subunit is used to segment the second main pipeline when the length of the first port is less than the length of the first bend and the first elevation difference is greater than or equal to the height of the first bend, so as to obtain a second main pipeline containing a bend fitting and a second main pipeline not containing a bend fitting.
[0226] The elevation adjustment subunit is used to move the second main pipeline containing the bend pipe fitting from the second elevation to the first elevation, and connect the extended first main pipeline to the second main pipeline containing the bend pipe fitting to obtain the third main pipeline.
[0227] The bending connection subunit is used to bend the third main pipeline to the second main pipeline, which does not contain bends, through the first bending elbow.
[0228] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0229] In one embodiment, the bend determination module 12 further includes: a port length determination unit, a segmentation unit, an elevation adjustment unit, and a first bend connection unit, wherein:
[0230] The port length determination unit is used to determine the second port length between the second port of the bend fitting and the first port of the pipe fitting when there are bend fittings and pipe accessories on the second main pipeline. The second port of the bend fitting is the port closest to the pipe accessory, and the first port of the pipe accessory is the port closest to the bend fitting.
[0231] The segmentation unit is used to segment the second main pipeline when the length of the second port is less than the length of the first bend and the first elevation difference is greater than or equal to the first bend height, so as to obtain a second main pipeline that includes bend fittings and pipe accessories and a second main pipeline that does not include bend fittings and pipe accessories.
[0232] The elevation adjustment unit is used to move the second main pipeline, which includes bends and pipe fittings, from the second elevation to the first elevation, and connect the extended first main pipeline to the second main pipeline, which includes bends and pipe fittings, to obtain the fourth main pipeline.
[0233] The first bending connection unit is used to bend the fourth main pipeline to the second main pipeline, which does not include bend fittings and pipe accessories, through the first bending elbow.
[0234] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0235] In one embodiment, the elbow determination subunit further includes: a second priority determination subunit and a first elbow family determination subunit, wherein:
[0236] The second priority determination sub-unit is used to determine the first bending angle priority based on the types corresponding to the first main line and the second main line.
[0237] The first bend family is determined by a sub-unit, which is used to determine the first bend family based on the priority of the first turning angle and the first elevation difference; the first bend family includes at least two turning bends, and the at least two turning bends include the first turning bend.
[0238] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0239] In one embodiment, if the second main pipeline includes a first main pipeline segment and a second main pipeline segment, the bend determination module 12 further includes: an elevation determination unit, a first elevation difference determination unit, and a first bend family determination unit, wherein:
[0240] The elevation determination unit is used to obtain the third elevation of the first main pipeline segment and the fourth elevation of the second main pipeline segment based on the pipeline layout information when there are pipeline accessories on the first main pipeline and the first and second main pipelines are main pipelines of the same gradient.
[0241] The first elevation difference determination unit is used to determine the second elevation difference between the first main pipeline segment and the second main pipeline segment based on the third elevation and the fourth elevation; wherein the first main pipeline segment and the second main pipeline segment are adjacent.
[0242] The first bend family determination unit is used to determine the second bend family based on the types of the first main pipeline and the second main pipeline, the third elevation difference between the first elevation and the third elevation, and the second elevation difference; the first main pipeline and the first main pipeline segment are adjacent.
[0243] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0244] In one embodiment, the bend determination module 12 further includes: a judgment unit and a second bend connection unit, wherein:
[0245] The judgment unit is used to determine whether the first elevation difference is greater than or equal to the minimum connection height when the first pipe fitting and the second pipe fitting are connected, when there is a first pipe fitting on the first main pipeline and a second pipe fitting on the second main pipeline.
[0246] The second bending connection unit is used to connect the first pipe accessory to the second pipe accessory when the judgment result of the judgment unit is yes.
[0247] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0248] In one embodiment, the bend determination module 12 further includes: a third bend connection unit, wherein:
[0249] The sixth bend connection unit is used to disconnect the first main pipeline from the first pipe fitting when the unit's judgment result is negative, adjust the first elevation of the first main pipeline, and connect the first main pipeline after elevation adjustment to the disconnected first pipe fitting; or
[0250] The third bending connection unit is also used to disconnect the second main pipeline from the second pipe fitting when the judgment result of the unit is negative, adjust the second elevation of the second main pipeline, and connect the second main pipeline after the elevation adjustment to the disconnected second pipe fitting.
[0251] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0252] In one embodiment, the bend determination module 12 further includes: a collision detection unit, a structural beam determination unit, a region division unit, and a second bend determination unit, wherein:
[0253] The collision detection unit is used to perform collision detection on all main lines and all non-main lines within the processing area to obtain the collision points between different main lines.
[0254] The structural beam determination unit is used to determine the two adjacent first structural beams that are closest to the collision point and have the same direction, based on the collision point.
[0255] The region division unit is used to divide the region to be processed into multiple sub-regions to be processed by two first structural beams and two second structural beams; the two second structural beams are adjacent structural beams with the same direction, and the directions of the first structural beams and the second structural beams are different.
[0256] The second bend determination unit is used to determine the bends between adjacent main lines based on the attribute information of the main lines in each sub-region to be processed.
[0257] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0258] In one embodiment, the bend determination module 12 further includes: a bend number determination unit, a target main pipeline determination unit, and a third bend determination unit, wherein:
[0259] The bend count determination unit is used to determine the number of bends required for adjacent main pipelines;
[0260] The target main pipeline determination unit is used to determine the target direction main pipeline based on the number of bends and the weight coefficients of each main pipeline in different directions.
[0261] The third bend determination unit is used to determine the bends between adjacent main pipelines in the target direction based on the attribute information of each main pipeline.
[0262] The pipeline bending processing device provided in this embodiment can perform the above-described method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0263] Specific limitations regarding the pipeline bending processing device can be found in the limitations of the pipeline bending processing method described above, and will not be repeated here. Each module in the aforementioned pipeline bending processing device 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 in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0264] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0265] Obtain all main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline; the attribute information includes the type and layout information of the main pipelines.
[0266] Based on the attribute information of each main pipeline, determine the bends and elbows between adjacent main pipelines;
[0267] Adjacent main lines are connected by bending elbows.
[0268] In one embodiment, a readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0269] Obtain all main pipelines to be bent and connected within the processing area, as well as the attribute information of each main pipeline; the attribute information includes the type and layout information of the main pipelines.
[0270] Based on the attribute information of each main pipeline, determine the bends and elbows between adjacent main pipelines;
[0271] Adjacent main lines are connected by bending elbows.
[0272] 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-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0273] 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.
[0274] 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 invention patent. 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 of processing a pipe bend, characterized by, The method comprises: acquiring all main pipelines to be connected by turning in a to-be-processed region and attribute information of each main pipeline; the attribute information comprises a type and arrangement information of the main pipeline; determining a turning elbow between adjacent main pipelines according to the attribute information of each main pipeline; calling the turning elbow to connect the adjacent main pipelines by turning; the determining of the turning elbow between the adjacent main pipelines according to the attribute information of each main pipeline comprises: acquiring a first elevation of a first main pipeline and a second elevation of a second main pipeline according to the arrangement information of each main pipeline, the first main pipeline and the second main pipeline being adjacent and having the same type; determining a first turning elbow according to the type of the first main pipeline and the second main pipeline and a first elevation difference between the first elevation and the second elevation; in a case where the second main pipeline comprises a first main pipeline segment and a second main pipeline segment, if there is a pipeline accessory on the first main pipeline and the first main pipeline and the second main pipeline are main pipelines of the same gradient, acquiring a third elevation of the first main pipeline segment and a fourth elevation of the second main pipeline segment according to the arrangement information of the main pipeline; determining a second elevation difference between the first main pipeline segment and the second main pipeline segment according to the third elevation and the fourth elevation; the first main pipeline segment and the second main pipeline segment are adjacent; determining a second elbow family according to the type of the first main pipeline and the second main pipeline, a third elevation difference between the first elevation and the third elevation and the second elevation difference; the first main pipeline is adjacent to the first main pipeline segment; the second elbow family comprises at least two turning elbows.
2. The method of claim 1, wherein, the determining of the first turning elbow according to the type of the first main pipeline and the second main pipeline and the first elevation difference between the first elevation and the second elevation comprises: if there is a bend-through pipe fitting on the second main pipeline and the first elevation is less than the second elevation, extending the first main pipeline to an edge of a corresponding structural beam to obtain an extended first main pipeline; determining the first turning elbow according to the corresponding type of the first main pipeline and the second main pipeline and the first elevation difference; the first turning elbow is used to connect the extended first main pipeline to the second main pipeline by turning.
3. The method of claim 2, wherein, the determining of the first turning elbow according to the corresponding type of the first main pipeline and the second main pipeline and the first elevation difference comprises: determining a first port length between a first port of the extended first main pipeline and a first port of the bend-through pipe fitting; the first port of the first main pipeline is the closest port to the bend-through pipe fitting, and the first port of the bend-through pipe fitting is the closest port to the extended first main pipeline; determining a first turning angle priority according to the corresponding type of the first main pipeline and the second main pipeline; determining at least one first turning angle according to the first turning angle priority, and determining a corresponding first turning height and first turning length occupancy through the first turning angle. If the first port length is greater than or equal to the first turning length occupation, and the first elevation difference is greater than or equal to the first turning height, a first turning elbow is determined according to the first turning height and the first turning length occupation.
4. The method of claim 3, wherein, The method further comprises: If the first port length is less than the first turning length occupation, and the first elevation difference is greater than or equal to the first turning height, the second main pipeline is split to obtain a second main pipeline containing the bend-through pipe fitting and a second main pipeline not containing the bend-through pipe fitting; The second main pipeline containing the bend-through pipe fitting is moved from the second elevation to the first elevation, and the extended first main pipeline is connected with the second main pipeline containing the bend-through pipe fitting to obtain a third main pipeline; The third main pipeline is connected to the second main pipeline not containing the bend-through pipe fitting through the first turning elbow.
5. The method of claim 2, wherein, The determination of the first turning elbow according to the types corresponding to the first main pipeline and the second main pipeline and the first elevation difference comprises: A first turning angle priority is determined according to the types corresponding to the first main pipeline and the second main pipeline; A first elbow family is determined according to the first turning angle priority and the first elevation difference; the first elbow family comprises at least two turning elbows, and the at least two turning elbows comprise the first turning elbow.
6. The method of claim 1, wherein, The determination of the turning elbow between adjacent main pipelines according to the attribute information of each main pipeline comprises: If there is a bend-through pipe fitting and a pipe fitting on the second main pipeline, a second port length between a second port of the bend-through pipe fitting and a first port of the pipe fitting is determined; the second port of the bend-through pipe fitting is the port closest to the pipe fitting, and the first port of the pipe fitting is the port closest to the bend-through pipe fitting; If the second port length is less than a first turning length occupation, and the first elevation difference is greater than or equal to the first turning height, the second main pipeline is split to obtain a second main pipeline containing the bend-through pipe fitting and the pipe fitting and a second main pipeline not containing the bend-through pipe fitting and the pipe fitting; The second main pipeline containing the bend-through pipe fitting and the pipe fitting is moved from the second elevation to the first elevation, and the extended first main pipeline is connected with the second main pipeline containing the bend-through pipe fitting and the pipe fitting to obtain a fourth main pipeline; The fourth main pipeline is connected to the second main pipeline not containing the bend-through pipe fitting and the pipe fitting through the first turning elbow.
7. The method of claim 1, wherein, The method further comprises: If there is a first pipe fitting on the first main pipeline and a second pipe fitting on the second main pipeline, it is determined whether the first elevation difference is greater than or equal to a minimum connection height corresponding to the connection of the first pipe fitting and the second pipe fitting; If the first elevation difference is greater than or equal to the minimum connection height, the first pipe fitting is connected to the second pipe fitting.
8. The method of claim 7, wherein, The method further comprises: if the first elevation difference is less than the minimum connection height, disconnecting the first main pipeline from the first pipe fitting, adjusting a first elevation of the first main pipeline, and connecting the first main pipeline at the adjusted first elevation to the disconnected first pipe fitting; or if the first elevation difference is less than the minimum connection height, disconnecting the second main pipeline from the second pipe fitting, adjusting a second elevation of the second main pipeline, and connecting the second main pipeline at the adjusted second elevation to the disconnected second pipe fitting.
9. The method of claim 1, wherein, The method further includes: performing collision detection on all main pipelines and all non-main pipelines in the to-be-processed region to obtain collision points between different main pipelines; determining two first structural beams that are adjacent and have the same direction and are closest to the collision points according to the collision points; dividing the to-be-processed region into a plurality of to-be-processed sub-regions by the two first structural beams and two second structural beams; the two second structural beams are structural beams that are adjacent and have the same direction, and the first structural beams and the second structural beams have different directions; determining a turning bend between adjacent main pipelines in each to-be-processed sub-region according to attribute information of the main pipelines in the to-be-processed sub-region.
10. The method of claim 9, wherein, The method further includes: determining a number of turns required by the adjacent main pipelines; determining a target direction main pipeline according to the number of turns and a weight coefficient of each main pipeline in different directions in different directions; determining a turning bend between the adjacent main pipelines in the target direction according to attribute information of the main pipelines.
11. A pipeline turnaround treatment apparatus, characterized by, The device includes: an information acquisition module configured to acquire all main pipelines to be turned and connected in a to-be-processed region and attribute information of each main pipeline; the attribute information includes a type and arrangement information of the main pipeline; a bend determination module configured to determine a turning bend between adjacent main pipelines according to the attribute information of each main pipeline; a turning connection module configured to call the turning bend and perform turning connection on the adjacent main pipelines; The bend determination module is further configured to: acquire a first elevation of a first main pipeline and a second elevation of a second main pipeline according to the arrangement information of each main pipeline; the first main pipeline and the second main pipeline are adjacent and have the same type; determine a first turning bend according to a first elevation difference between the first main pipeline and the second main pipeline, and the type of the first main pipeline and the second main pipeline; in a case where the second main pipeline includes a first main pipeline segment and a second main pipeline segment, if there is a pipe fitting on the first main pipeline and the first main pipeline and the second main pipeline are main pipelines of the same gradient, acquire a third elevation of the first main pipeline segment and a fourth elevation of the second main pipeline segment according to the arrangement information of the main pipelines; determining a second elevation difference between the first main pipeline segment and the second main pipeline segment according to the third elevation and the fourth elevation; wherein the first main pipeline segment is adjacent to the second main pipeline segment; determining a second elbow family according to the types of the first main pipeline and the second main pipeline, a third elevation difference between the first elevation and the third elevation, and the second elevation difference; the first main pipeline is adjacent to the first main pipeline segment; the second elbow family comprises at least two turning elbows.