CN115270364A - Pipeline cross processing method and device, storage medium and electronic equipment - Google Patents

Pipeline cross processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115270364A
CN115270364A CN202110476578.4A CN202110476578A CN115270364A CN 115270364 A CN115270364 A CN 115270364A CN 202110476578 A CN202110476578 A CN 202110476578A CN 115270364 A CN115270364 A CN 115270364A
Authority
CN
China
Prior art keywords
pipeline
pressure
pressure pipeline
condition
pipelines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110476578.4A
Other languages
Chinese (zh)
Inventor
尤勇敏
其他发明人请求不公开姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Original Assignee
Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiuling Jiangsu Digital Intelligent Technology Co Ltd filed Critical Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Priority to CN202110476578.4A priority Critical patent/CN115270364A/en
Publication of CN115270364A publication Critical patent/CN115270364A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Pipeline Systems (AREA)

Abstract

The invention discloses a cross processing method and device of pipelines, a storage medium and electronic equipment. The method comprises the following steps: acquiring path parameters of a pipeline; judging whether the pipelines meet collision conditions according to the obtained path parameters so as to determine all crossed pipelines; and performing bending operation on all crossed pipelines according to a preset collision avoidance rule. The cross processing method of the pipeline can realize automatic avoidance during the crossing of the pipeline.

Description

Pipeline cross processing method and device, storage medium and electronic equipment
Technical Field
The invention belongs to the field of architectural design, and particularly relates to a pipeline cross processing method and device, a storage medium and electronic equipment.
Background
The current BIM (Building Information Modeling, building Information model is a new tool for architecture, engineering and civil engineering, and is used for describing computer aided design related to architecture, which mainly uses three-dimensional graphics, object guidance and architecture), generally applies Revit structure model to set Building drawings, and performs complex cross processing of pipelines.
The Revit software can realize the arrangement function of the pipelines, but needs to manually adjust the cross processing among the pipelines, thereby spending a lot of time on designers.
Disclosure of Invention
The embodiment of the invention provides a method and a device for cross processing of pipelines, a storage medium and electronic equipment, which are used for effectively solving the problem that Revit software cannot automatically adjust cross processing between pipelines and needs a great deal of time of designers.
According to an aspect of the present invention, there is provided a method of cross-processing a pipeline, the method comprising the steps of: acquiring path parameters of a pipeline; judging whether the pipelines meet collision conditions according to the obtained path parameters so as to determine all crossed pipelines; and performing bending operation on all crossed pipelines according to a preset collision avoidance rule.
Further, the types of the pipe include a pressure pipe and a pressure-free pipe, wherein the pressure-free pipe determines the flow direction according to the direction of gravity.
Further, the preset collision avoidance rule comprises: when the condition that collision is met between a non-pressure pipeline set and a pressure pipeline set is judged, the pressure pipeline set is adjusted to enable the pressure pipeline set and the non-pressure pipeline set not to be intersected, wherein the non-pressure pipeline set comprises at least one non-pressure pipeline, and the pressure pipeline set comprises at least one pressure pipeline.
Further, the preset collision avoidance rule further comprises: the pressure pipeline set comprises pressure pipelines of different types, and the pressure pipelines of different types have the same or different parameter values; when the condition that the pressure pipeline set and the pressure pipeline set meet the collision condition is judged, acquiring parameter values of all pressure pipelines in the pressure pipeline set; calculating the total value of the parameter values of all pressure pipelines in the pressure pipeline set; and adjusting the pressure pipeline set with a small total value according to the calculated total value so that the pressure pipeline set with the small total value does not intersect with the pressure pipeline set with a large total value.
Further, the preset collision avoidance rule further comprises: when the condition that the collision is met between the non-pressure pipeline set and the non-pressure pipeline set is judged, the following steps are further executed: when only one pressureless pipeline set meets a first condition, adjusting the pressureless pipeline set meeting the first condition so that the pressureless pipeline set meeting the first condition is not intersected with the pressureless pipeline set not meeting the first condition; when the two pressureless pipeline sets simultaneously meet a first condition and only one pressureless pipeline set meets a second condition, adjusting the pressureless pipeline set meeting the second condition so that the pressureless pipeline set meeting the second condition is not intersected with the pressureless pipeline set not meeting the second condition; when the two non-pressure pipeline sets simultaneously meet a first condition, and the two non-pressure pipeline sets simultaneously meet a second condition or do not meet the second condition, calculating the sum of the pipeline lengths of all the non-pressure pipelines in the non-pressure pipeline sets, and adjusting the non-pressure pipeline set with the smaller sum of the pipeline lengths so that the non-pressure pipeline set with the smaller sum of the pipeline lengths does not intersect with the non-pressure pipeline set with the larger sum of the pipeline lengths; when the two non-pressure pipeline sets do not meet the first condition at the same time, acquiring the maximum vertical clear distance in the vertical clear distances of the two ends of the non-pressure pipelines in the non-pressure pipeline sets, and adjusting the non-pressure pipeline set with the small maximum vertical clear distance so that the non-pressure pipeline set with the small maximum vertical clear distance and the non-pressure pipeline set with the large maximum vertical clear distance are not intersected; the first condition is met, one end of each non-pressure pipeline in the non-pressure pipeline set, with a large vertical clear distance between two ends, is obtained, and it is judged that one end of each non-pressure pipeline, with a large vertical clear distance between two ends, is located in a closed area; and the second condition is met, and the two ends of each non-pressure pipeline in the non-pressure pipeline set are determined not to be connected with a three-way connecting piece.
Further, the preset collision avoidance rule further comprises: when determining that one end of at least one pressure pipeline in the pressure pipeline set is connected to the branch pipe end of the three-way connecting piece, executing the following steps: determining a breakpoint according to the positions of the pressure pipeline and the branch pipe end, wherein the breakpoint is located at a preset position; constructing two first pipelines perpendicular to the wired pipeline, wherein the length of each first pipeline is a preset value; constructing a second pipeline parallel to the wired pipeline, wherein the length of the second pipeline is equal to the distance from the branch pipe end to the breakpoint; and the second pipeline is respectively bridged to the branch pipe end and the pressure pipeline through the two first pipelines.
Further, the preset collision avoidance rule further comprises: when the condition that the non-pressure pipeline set and the non-pressure pipeline set meet the collision condition is judged, acquiring a collision node; cutting off the non-pressure pipeline according to the collision node; acquiring one end with large vertical clear distance of two ends of a non-cutting point in the cut non-pressure pipeline; adjusting the height of the non-pressure pipeline at the end with the large vertical clear distance until the height is larger than the outer diameter of the non-pressure pipeline; reconnecting the disconnected pressureless pipeline.
According to another aspect of the present invention, there is provided an apparatus for cross-handling of pipes, the apparatus comprising: the acquisition unit is used for acquiring path parameters of the pipeline; the detection unit is used for judging whether the pipelines meet collision conditions according to the obtained path parameters so as to determine all crossed pipelines; and the execution unit is used for executing the bending operation on all crossed pipelines according to a preset collision avoidance rule.
According to another aspect of the present invention, there is provided a storage medium having a plurality of instructions stored therein, the instructions being adapted to be loaded by a processor to perform a method for cross-processing pipelines according to any of the embodiments of the present invention.
According to another aspect of the present invention, an electronic device is provided, which includes a processor and a memory, the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing steps in the method for cross-processing pipelines according to any embodiment of the present invention.
The cross processing method of the pipeline of the embodiment of the invention comprises the following steps: the method comprises the steps of obtaining path parameters of pipelines, judging whether the pipelines meet collision conditions or not according to the obtained path parameters to determine all crossed pipelines, and executing turning operation on all crossed pipelines according to a preset collision avoidance rule, so that automatic avoidance during crossing of the pipelines is realized, time spent by designers or developers can be reduced, and design efficiency is improved.
Drawings
The technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1 is a flowchart illustrating steps of a method for cross processing a pipeline according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating the steps of the turn-bending operation of the pressurized pipe assembly according to the embodiment of the present invention.
Fig. 3 is a flowchart illustrating steps of a turn-over operation of a pressureless pipeline collection according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a turn-bending operation of a pressure pipe set according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a collision avoidance rule for a pressureless pipeline provided in an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a collision of a pressurized conduit assembly according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a turn-bending operation of a pressure pipe set according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a turn-bending operation of a pressure pipe set according to an embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a pressure pipe set after a bending operation according to an embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a turn-over operation of a pressureless pipe set provided by an embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a pressureless pipe assembly after a turn-over operation according to an embodiment of the present invention.
Fig. 12 is a schematic structural diagram of a pipeline intersection processing apparatus according to a second embodiment of the present invention.
Fig. 13 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically, electrically or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
As shown in fig. 1, a flowchart of a method for cross-processing a pipeline according to an embodiment of the present invention is provided. The method comprises the following steps:
step S110: and acquiring path parameters of the pipeline.
In this step, the types of the pipe include a pressure pipe and a pressure-free pipe, wherein the pressure-free pipe determines the flow direction according to the direction of gravity. The pressure pipe may include: air pipes, strong current bridges, weak point bridges and the like. The path parameter is a three-dimensional coordinate value of each pipeline in the space.
Step S120: and judging whether the pipelines meet collision conditions or not according to the obtained path parameters so as to determine all crossed pipelines.
If the two pipelines collide, a cross point is formed in the space, so that when the path parameters of the two pipelines have the same three-dimensional coordinate, the coordinate is the cross point.
Step S130: and performing bending operation on all crossed pipelines according to a preset collision avoidance rule.
In this embodiment, the preset collision avoidance rule in step S130 includes:
when judging that the non-pressure pipeline set and the pressure pipeline set meet the collision condition, adjusting the pressure pipeline set to ensure that the pressure pipeline set and the non-pressure pipeline set are not intersected, wherein the non-pressure pipeline set comprises at least one non-pressure pipeline, and the pressure pipeline set comprises at least one pressure pipeline. The non-pressure pipeline determines the flowing direction according to the direction of gravity, so the non-pressure pipeline is a pipeline which is discharged by the self weight and the height difference without pressurization in the self weight pipeline, and the non-pressure pipeline is a pipeline which flows by the self gravity of the medium. In actual operation, the pressure pipelines are obviously easier to adjust than the pressure pipelines, so that when the collision condition is met between the pressure pipeline set and the pressure pipeline set, the pressure pipeline set preferentially avoids the pressure pipeline set.
When the condition that collision is met between the pressure pipeline set and the pressure pipeline set is judged, parameter values of all pressure pipelines in the pressure pipeline set are obtained, the pressure pipeline set comprises pressure pipelines of different types, and the pressure pipelines of different types have the same or different parameter values. The parameter values can be adjusted by a user, and table 1 in this embodiment is the parameter values set for the pressure pipes.
Figure BDA0003047602770000051
Figure BDA0003047602770000061
TABLE 1
When the condition that collision is met between the pressure pipeline set and the pressure pipeline set is judged, parameter values of all pressure pipelines in the pressure pipeline set are obtained, a total value of the parameter values of all the pressure pipelines in the pressure pipeline set is calculated, and the pressure pipeline set with the small total value is adjusted according to the calculated total value, so that the pressure pipeline set with the small total value and the pressure pipeline set with the large total value are not intersected.
For example: and when the parameter value of the strong electric bridge is modified to be 20, the strong electric bridge set is 20 × 2=40, the air duct set is 10 × 3=30, all the air ducts are judged to be bent, and the air duct bending program is called.
As shown in fig. 4, when there is a pressure duct set performing a bend-over operation, such as a strong electrical bridge set performing a bend-over operation, the strong electrical bridge set needs to span both ends of the duct set (i.e., the first end 600 and the second end 601 of the transverse duct set in fig. 4).
The preset collision avoidance rule further comprises: when judging that the non-pressure pipeline set and the non-pressure pipeline set meet the collision condition, further executing the following steps: when only one pressureless pipeline set meets a first condition, the pressureless pipeline set meeting the first condition is adjusted, so that the pressureless pipeline set meeting the first condition is not intersected with the pressureless pipeline set not meeting the first condition, when two pressureless pipeline sets simultaneously meet the first condition and only one pressureless pipeline set meets a second condition, the pressureless pipeline set meeting the second condition is adjusted, so that the pressureless pipeline set meeting the second condition is not intersected with the pressureless pipeline set not meeting the second condition, when the two pressureless pipeline sets simultaneously meet the first condition and the two pressureless pipeline sets simultaneously meet the second condition or simultaneously do not meet the second condition, the sum of the pipeline lengths of all pressureless pipelines in the pressureless pipeline set is calculated, the pressureless pipeline set with the small sum of the pipeline lengths is adjusted, so that the pressureless pipeline set with the small sum of the pipeline lengths is not intersected with the pressureless pipeline set with the large sum of the pipeline lengths, and when the two pressureless pipeline sets simultaneously do not meet the first condition, the largest vertical distance in the vertical distance between the two ends of the pressureless pipelines in the pressureless pipeline set is obtained, the largest vertical distance in the pressureless pipeline set is adjusted, and the largest vertical distance in the pressureless pipeline set with the largest noninterferential pipeline set is not intersected with the small sum of the largest pressureless pipeline set.
The method comprises the steps of obtaining one end with a large vertical clear distance between two ends of each non-pressure pipeline in a non-pressure pipeline set, judging that one end with a large vertical clear distance between two ends of each non-pressure pipeline is located in a closed area, and determining that two ends of each non-pressure pipeline in the non-pressure pipeline set are not connected with a tee joint.
Specifically, referring to fig. 5, the two ends of the pressureless pipe 120 are respectively an a end point and a B end point, and it is assumed that the vertical clear distance between the a end points is greater than that between the B end points, and the a end points are located in a closed area defined by the column 300, the beam 400, and a wall (a top view is not shown, the wall is located below the beam 400, and between the column 300 and the column), so that the pressureless pipe 120 meets the first condition. The pressureless pipe 110 collides with the pressureless pipe 120 at the intersection 500, assuming that the vertical clear distance of the left end point of the pressureless pipe 110 is smaller than the vertical clear distance of the right end point, i.e. the pressureless pipe 110 does not satisfy the first condition, otherwise the first condition is satisfied.
In the present embodiment, the B-end of the pressureless pipe 120 is connected with the three-way connection 200, and thus the pressureless pipe 120 also satisfies the second condition.
And when the two non-pressure pipeline sets simultaneously meet the first condition and the two non-pressure pipeline sets simultaneously meet the second condition or both the two non-pressure pipeline sets simultaneously do not meet the second condition, calculating the sum of the pipeline lengths of all the non-pressure pipelines in the non-pressure pipeline sets. For example, the length of the pressureless pipe 120 is the distance value from the end point a to the end point B.
And when the two non-pressure pipeline sets do not meet the first condition at the same time, acquiring the maximum vertical clear distance in the vertical clear distances of the two ends of the non-pressure pipeline in the non-pressure pipeline sets. For example, the right end point of the pressureless pipe 110 is vertically spaced apart by 10 meters, and the a end point of the pressureless pipe 120 is vertically spaced apart by 12 meters, and thus, the pipe 110 is turned over.
As shown in fig. 2, the bending operation is performed on the pressure pipe under the following conditions, including:
step S210: when it is determined that one end of at least one pressure pipeline in the pressure pipeline set is connected to the branch pipe end of the three-way connecting piece. Fig. 6 shows the situation described in step S210.
Step S220: and determining a breakpoint according to the positions of the pressure pipeline and the branch pipe end, wherein the breakpoint is located at a preset position.
In this step, as shown in fig. 7, the breaking points include the breaking point 20 and the breaking point 211 (i.e. the branch pipe end port 211 of the branch pipe end 210 of the three-way connection 200), and the setting position thereof is determined according to the distance between the pressure pipes, in this embodiment, the breaking point 20 is 150 mm away from the pipe wall of the pressure pipe 130. It should be noted that in fig. 7, numerals such as 160, 140, 150, etc. are all the distances between the measurement points 10, and the unit is millimeter.
See fig. 8 and 9 in combination.
Step S230: two first pipes 42 perpendicular to the wired pipe are constructed, and the length of the first pipes 42 is a preset value. Wherein the first conduit 42 has a length of 300 mm.
Step S240: a second pipe 41 is constructed parallel to the wired pipe, the length of the second pipe 41 is equal to the distance from the branch pipe end (i.e. the branch pipe port 211) to the breakpoint 20, and the length of the second pipe 41 is 350 mm.
Step S250: and bridging the second pipeline to the branch pipe end and the pressure pipeline through the two first pipelines respectively.
As shown in fig. 3, performing a turn-over operation on a pressureless pipe includes:
step S310: and when the condition that the collision is met between the non-pressure pipeline set and the non-pressure pipeline set is judged. Fig. 10 illustrates the situation described in step S310, i.e. the pressureless pipe 140 collides with the pressureless pipe 150.
Step S320: and acquiring a collision node.
Step S330: and cutting off the non-pressure pipeline according to the collision node.
In this step, the non-pressure pipe is cut to form a breakpoint 141 and a breakpoint 142, where the breakpoint 141 is aligned with the center of the pipe diameter of the non-pressure pipe 150, and the breakpoint 142 is a preset distance from the breakpoint 141, and the preset distance may be 480 mm.
Step S340: and acquiring one end with large vertical clear distance between two ends of a non-cutting point in the cut non-pressure pipeline.
In this step, it is assumed that the C-end vertical clearance of the pressureless pipe 140 is greater than the D-end vertical clearance of the pressureless pipe 140.
Step S350: and adjusting the height of the non-pressure pipeline at the end with the large vertical clear distance until the height of the non-pressure pipeline is larger than the outer diameter of the non-pressure pipeline.
In this step, the height of the C-end of the pressureless pipe 140 is adjusted until its height is greater than the pipe outer diameter 151 of the pressureless pipe.
Step S360: reconnecting the disconnected pressureless pipe.
The effect of reconnecting the disconnected pressureless pipe in this step is shown in figure 11.
It should be noted that, in the above embodiment, the turn-bending operation is performed on only one pipe, and when the pipe set performs the turn-bending operation, the same operation as that performed on one pipe in the above embodiment is performed.
It should also be noted that the bending operation performed on the pressure pipes does not change the height of the pressure pipes, i.e. the spanning operation (i.e. the bending operation) is performed by means of two first pipes perpendicular to the wire pipes and one second pipe parallel to the wire pipes. And performing the bending operation on the pressureless pipeline to change the height of the pressureless pipeline so as to realize the spanning operation.
In the first embodiment, the pipeline intersection processing method determines all intersected pipelines by acquiring the path parameters of the pipelines and judging whether the pipelines meet the collision condition according to the acquired path parameters, and performs the turning operation on all intersected pipelines according to the preset collision avoidance rule, so that automatic avoidance during intersection of the pipelines is realized, and the time spent by designers or developers can be reduced to improve the design efficiency.
Fig. 12 is a schematic structural diagram of a pipeline intersection processing apparatus according to an embodiment of the present invention. The device comprises: an acquisition unit 50, a detection unit 60 and an execution unit 70.
The obtaining unit 50 is used for obtaining the path parameters of the pipeline. In this embodiment, the types of the pipe include a pressure pipe and a pressure-free pipe, wherein the pressure-free pipe determines the flow direction according to the direction of gravity. The pressure pipeline includes: air pipes, strong current bridges, weak point bridges and the like. The path parameter is a three-dimensional coordinate value of each pipeline in the space.
The detection unit 60 is configured to determine whether collision conditions are satisfied between the pipes according to the obtained path parameters to determine all crossed pipes. In this embodiment, in this step, if two pipes collide, there is an intersection point in the space, so when the path parameters of the two pipes have the same three-dimensional coordinate, this coordinate is the intersection point.
The execution unit 70 is configured to perform a turning operation on all crossed pipelines according to a preset collision avoidance rule.
In the second embodiment, the pipeline intersection processing device determines whether the pipelines meet the collision condition by acquiring the path parameters of the pipelines and according to the acquired path parameters, and performs the turning operation on all the crossed pipelines according to the preset collision avoidance rule. Therefore, the pipeline is automatically avoided when being crossed, and the time spent by designers or developers can be reduced, so that the design efficiency is improved.
In the third embodiment of the present application, an electronic device 1000 is provided, and an internal structure diagram thereof may be as shown in fig. 13. The electronic device 1000 includes a processor, memory, network interface, display screen, and input device connected by a system bus. Wherein the processor of the electronic device 1000 is configured to provide computing and control capabilities. The memory of the electronic apparatus 1000 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external electronic device through a network. The computer program is executed by a processor to implement a method of cross-processing a pipeline. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configuration shown in fig. 13 is a block diagram of only a portion of the configuration associated with the inventive arrangements and does not constitute a limitation on the electronic device to which the inventive arrangements may be applied, and that a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device 1000 is provided, comprising a memory having a computer program stored therein and a processor that when executed implements the steps of:
acquiring path parameters of a pipeline;
judging whether the pipelines meet collision conditions according to the obtained path parameters so as to determine all crossed pipelines; and
and performing bending operation on all crossed pipelines according to a preset collision avoidance rule.
In another embodiment, a storage medium is provided, on which a computer program is stored, which computer program, when executed by a processor, performs the steps of:
acquiring path parameters of a pipeline;
judging whether the pipelines meet collision conditions according to the obtained path parameters so as to determine all crossed pipelines; and
and performing bending operation on all crossed pipelines according to a preset collision avoidance rule.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which can be stored in a non-volatile computer storage medium, and can include the processes of the above embodiments of the methods when executed. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as limiting the present invention.

Claims (10)

1. A method of cross-processing a pipeline, comprising the steps of:
acquiring path parameters of the pipeline, and performing type set processing on the pipeline according to a preset rule;
judging whether the pipelines meet collision conditions or not so as to determine all crossed pipelines; and
and performing bending operation on all crossed pipelines according to a preset collision avoidance rule.
2. The method of claim 1, wherein the types of pipes include a pressure pipe and a pressureless pipe, wherein the pressureless pipe has a higher turn-over priority than the pressure pipe.
3. The method of claim 2, wherein a pressureless pipeline set and a pressured pipeline set are established, and the predetermined collision avoidance rule comprises:
when the condition that collision is met between a non-pressure pipeline set and a pressure pipeline set is judged, the pressure pipeline set is adjusted to enable the pressure pipeline set and the non-pressure pipeline set not to be intersected, wherein the non-pressure pipeline set comprises at least one non-pressure pipeline, and the pressure pipeline set comprises at least one pressure pipeline.
4. The method of claim 3, wherein the predetermined collision avoidance rule further comprises: the pressure pipeline set comprises different types of pressure pipelines, and the different types of pressure pipelines have the same or different parameter values;
when the condition that the pressure pipeline set and the pressure pipeline set meet the collision condition is judged, acquiring parameter values of all pressure pipelines in the pressure pipeline set;
calculating the total value of the parameter values of all pressure pipelines in the pressure pipeline set; and
and adjusting the pressure pipeline set with a small total value according to the calculated total value so that the pressure pipeline set with the small total value does not intersect with the pressure pipeline set with a large total value.
5. The method of claim 3, wherein the predetermined collision avoidance rule further comprises:
when the condition that the collision is met between the non-pressure pipeline set and the non-pressure pipeline set is judged, the following steps are further executed:
when only one pressureless pipeline set meets a first condition, adjusting the pressureless pipeline set meeting the first condition so that the pressureless pipeline set meeting the first condition is not intersected with the pressureless pipeline set not meeting the first condition;
when the two pressureless pipeline sets simultaneously meet a first condition and only one pressureless pipeline set meets a second condition, adjusting the pressureless pipeline set meeting the second condition so that the pressureless pipeline set meeting the second condition is not intersected with the pressureless pipeline set not meeting the second condition;
when the two non-pressure pipeline sets simultaneously meet a first condition, and the two non-pressure pipeline sets simultaneously meet a second condition or do not meet the second condition, calculating the sum of the pipeline lengths of all the non-pressure pipelines in the non-pressure pipeline sets, and adjusting the non-pressure pipeline set with the smaller sum of the pipeline lengths so that the non-pressure pipeline set with the smaller sum of the pipeline lengths does not intersect with the non-pressure pipeline set with the larger sum of the pipeline lengths; and
when the two non-pressure pipeline sets do not meet the first condition at the same time, acquiring the maximum vertical clear distance between the vertical clear distances of the two ends of the non-pressure pipelines in the non-pressure pipeline sets, and adjusting the non-pressure pipeline set with the small maximum vertical clear distance to ensure that the non-pressure pipeline set with the small maximum vertical clear distance and the non-pressure pipeline set with the large maximum vertical clear distance are not intersected;
the first condition is met, one end of each non-pressure pipeline in the non-pressure pipeline set, with a large vertical clear distance between two ends, is obtained, and it is judged that one end of each non-pressure pipeline, with a large vertical clear distance between two ends, is located in a closed area;
and the second condition is met, and the two ends of each non-pressure pipeline in the non-pressure pipeline set are determined not to be connected with a three-way connecting piece.
6. The method of claim 5, wherein the predetermined collision avoidance rules further comprise:
when determining that one end of at least one pressure pipeline in the pressure pipeline set is connected to the branch pipe end of the three-way connecting piece, executing the following steps:
determining a breakpoint according to the positions of the pressure pipeline and the branch pipe end, wherein the breakpoint is located at a preset position;
constructing two first pipelines perpendicular to the wired pipeline, wherein the length of each first pipeline is a preset value;
constructing a second pipeline parallel to the wired pipeline, wherein the length of the second pipeline is equal to the distance from the branch pipe end to the breakpoint; and
and respectively bridging the second pipeline to the branch pipe end and the pressure pipeline through the two first pipelines.
7. The method of claim 2, wherein the predetermined collision avoidance rule further comprises:
when it is determined that the collision condition is satisfied between the pressureless pipe set and the pressureless pipe set,
acquiring a collision node;
cutting off the non-pressure pipeline according to the collision node;
acquiring one end with large vertical clear distance of two ends of a non-cutting point in the cut non-pressure pipeline;
adjusting the height of the non-pressure pipeline at the end with the large vertical clear distance until the height is larger than the outer diameter of the non-pressure pipeline;
reconnecting the disconnected pressureless pipeline.
8. A cross-handling apparatus for a pipeline, comprising:
the acquisition unit is used for acquiring path parameters of the pipeline;
the detection unit is used for judging whether the pipelines meet collision conditions according to the obtained path parameters so as to determine all crossed pipelines; and
and the execution unit is used for executing the bending operation on all crossed pipelines according to a preset collision avoidance rule.
9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the method of pipeline interleaving of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the method of pipeline interleaving of claims 1-7.
CN202110476578.4A 2021-04-29 2021-04-29 Pipeline cross processing method and device, storage medium and electronic equipment Pending CN115270364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110476578.4A CN115270364A (en) 2021-04-29 2021-04-29 Pipeline cross processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110476578.4A CN115270364A (en) 2021-04-29 2021-04-29 Pipeline cross processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115270364A true CN115270364A (en) 2022-11-01

Family

ID=83745540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110476578.4A Pending CN115270364A (en) 2021-04-29 2021-04-29 Pipeline cross processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115270364A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116720302A (en) * 2023-08-10 2023-09-08 江苏力鼎环保装备有限公司 Implementation method for rapidly designing sewage pipeline scheme

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116720302A (en) * 2023-08-10 2023-09-08 江苏力鼎环保装备有限公司 Implementation method for rapidly designing sewage pipeline scheme
CN116720302B (en) * 2023-08-10 2023-10-31 江苏力鼎环保装备有限公司 Implementation method for rapidly designing sewage pipeline scheme

Similar Documents

Publication Publication Date Title
CN115270364A (en) Pipeline cross processing method and device, storage medium and electronic equipment
WO2011076908A2 (en) An improved computer-implemented method of geometric feature detection
CN113010938A (en) Method for calculating steel bar consumption of solid component and related device
CN114265941A (en) Method and system for converting relationship graph into tree-like form blood relationship graph
CN112966330A (en) Wall surface generation method of crossed wall body, computer equipment and readable storage medium
CN117113745B (en) Stress rechecking method and system for tower crane cross beam foundation
WO2024001391A1 (en) Method and apparatus for building three-dimensional model of cold rolling unit and storage medium
CN102841951A (en) System and method for building three-dimensional safety surface
JP2021149275A (en) Piping design system, piping design method, program, and recording medium
CN115270227A (en) Pipeline parallel processing method and device, storage medium and electronic equipment
CN116070330A (en) BIM-based basement pipeline optimization method, system and storage medium
CN113987665B (en) Optimization method and device for removing pipeline collision of building equipment system
CN114970055A (en) Pipeline arrangement method and system based on BIM model
CN115422196A (en) Vector data topological relation checking method
CN113255047A (en) Frame beam layout method, device, equipment and storage medium
CN115203805A (en) Air duct model generation method and device based on BIM technology and readable medium
CN110795811B (en) MEP pipeline adjusting method and device, computer equipment and storage medium
CN113919027A (en) Component adjustment method and device in BIM (building information modeling) model, computer equipment and storage medium
CN113420356A (en) Self-adaptive arrangement method and device for constrained edge non-shadow region component
CN110737934B (en) Tiger window roof truss node generation method, device and storage medium
FI129592B (en) Computer-aided modeling
CN110704897A (en) Method for placing connecting node between wall keel model and bottom guide beam model and product
CN117131645B (en) Three-dimensional model perforating method and device for spent fuel aftertreatment plant
CN114820944B (en) Three-dimensional scene construction method and device, electronic equipment and storage medium
CN117272488B (en) Building construction simulation method and system based on BIM data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination