Branch pipe expansion drawing method and device, computer equipment and storage medium

By calculating the coordinates of each equally divided point on the end face of the branch pipe, the branch pipe development diagram is automatically drawn, which solves the problem that the branch pipe development diagram is difficult to calculate and draw manually, and realizes efficient and accurate branch pipe development diagram drawing.

CN121009601APending Publication Date: 2025-11-25YICHANG DAMEN SHIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511211682.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-28
Publication Date
2025-11-25

AI Technical Summary

Technical Problem

In existing technologies, it is difficult to manually calculate and draw the development diagram of the branch pipe, especially considering its inclination and offset relative to the main pipe, resulting in low drawing accuracy and drawing efficiency.

Method used

By inputting the parameters of the branch pipe and the main pipe, the coordinates of each equally divided point on the end face of the branch pipe are calculated using mathematical principles, and the branch pipe development diagram is automatically drawn. This includes parameter verification, characteristic parameter calculation and coordinate drawing processes, and the drawing is automated using computer software.

Benefits of technology

It simplifies the process of drawing branch pipe development diagrams, reduces manual labor, improves drawing efficiency and accuracy, and reduces manual drawing errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121009601A_ABST
    Figure CN121009601A_ABST
Patent Text Reader

Abstract

The invention provides a branch pipe expansion drawing drawing method, which comprises the following steps of S1, inputting known branch pipes and parameters corresponding to a main pipe, and checking the rationality of the parameters; s2, calculating characteristic parameters according to the input known parameters; and S3, according to the input known parameters and the calculated characteristic parameters, calculating coordinates of points of the branch pipe expansion curve, and drawing an expansion graph according to the point coordinates. The invention further provides a branch pipe expansion drawing device, computer equipment and a readable storage medium. According to the method, the unfolding shape of the branch pipe is calculated according to the mathematical principle, a set formula set is formed, coordinates can be calculated according to the input parameters of the branch pipe and the main pipe, the branch pipe unfolding drawing is automatically drawn, manual drawing is not needed, the working process is simplified, the labor amount is reduced, and the drawing efficiency of the branch pipe unfolding drawing is greatly improved; and errors possibly existing in the manual drawing process are reduced, and the drawing accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of pipe fitting processing technology, and in particular to a method, apparatus, computer equipment, and storage medium for drawing branch pipe development diagrams. Background Technology

[0002] A pipeline is a system of pipes, pipe fittings, valves, and other components used to transport gases, liquids, or fluids containing solid particles. Typically, fluids are pressurized by blowers, compressors, pumps, and boilers, flowing from high-pressure areas to low-pressure areas within the pipeline. Alternatively, the fluid's own pressure or gravity can be used for transport. Pipelines have a wide range of applications, primarily in water supply, drainage, heating, gas supply, long-distance transport of oil and natural gas, agricultural irrigation, water conservancy projects, and various industrial installations.

[0003] Piping plays a wide role on ships, and is arguably an indispensable component. Ship piping connects various mechanical devices and transmits working fluids such as water, oil, and gas. Ship piping falls into two main categories: power piping and ship system piping. Power piping serves the main engine and auxiliary engines, including lines for fuel oil, lubricating oil, cooling water, compressed air, exhaust, and waste heat. Ship system piping enhances the ship's buoyancy and stability, and meets the daily needs of crew and passengers. Ship system piping is extensive, including water supply systems providing seawater and fresh water; ballast water systems for ballast regulation; bilge water drainage systems for removing water from the bilge; compressed air systems for supplying compressed air; and fire suppression systems, among others. The equipment used in these systems, such as pumps and compressors, is mostly electric and automatically controlled.

[0004] In marine piping, large-diameter exhaust pipes and ventilation pipes are typically made by rolling steel plates into shape and then welding the joints. These exhaust pipes and ventilation pipes come in various shapes, such as round pipes, curved pipes, reducing pipes, square-to-round transition pipes, and branch pipes. In the traditional production process, before rolling, workers would calculate and draw development lines on the steel plates, and then manually cut the plates according to these development lines. After the introduction of CNC cutting equipment, the work of drawing development lines is now done by technicians manually drawing development diagrams on computers, followed by nesting and cutting by CNC cutting machines. However, for branch pipes, traditional hand-drawn diagrams are quite inconvenient because the branch pipe needs to consider its inclination and offset relative to the main pipe, and the joint between the branch pipe and the main pipe needs to match the shape of the main pipe surface, making it difficult to calculate and draw the development diagram manually. This hinders the improvement of drawing accuracy and efficiency during production. Therefore, an intelligent method is needed that can automatically calculate and draw the development diagram of the branch pipe simply by manually inputting basic parameters. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a method, apparatus, computer equipment, and storage medium for drawing branch pipe development diagrams. It solves the problem that in existing technologies, when manually drawing branch pipe development diagrams, the branch pipes need to consider factors such as their inclination and offset relative to the main pipe, making it difficult to calculate and draw the development diagrams manually, which is not conducive to improving the accuracy and efficiency of the drawings during the production process.

[0006] In a first aspect, the present invention proposes a method for drawing a branch pipe development diagram, comprising the following steps:

[0007] S1. Input the known parameters of the branch pipe and the corresponding main pipe, and verify the rationality of the parameters;

[0008] S2. Calculate the feature parameters based on the known input parameters;

[0009] S3. Based on the input known parameters and the calculated characteristic parameters, calculate the coordinates of the points on the unfolded curves located at both ends of the branch pipe, and draw the unfolded diagram based on all the coordinates of the points.

[0010] Preferably, in step S1, the input parameters include the outer diameter of the main pipe, the outer diameter of the branch pipe, the offset of the branch pipe, the length of the branch pipe, the angle of the branch pipe, and the plate thickness.

[0011] Furthermore, the parameters that need to be verified include: the outer diameter of the main pipe cannot be 0, the outer diameter of the branch pipe cannot be 0, the outer diameter of the branch pipe cannot be greater than the outer diameter of the main pipe, the offset of the branch pipe cannot be greater than half the difference between the outer diameters of the main pipe and the branch pipe, the length of the branch pipe cannot be 0, the angle of the branch pipe cannot be less than 30 degrees, the plate thickness cannot be 0, and the number of equal division points must be even.

[0012] If the above situation occurs, drawing will not start and an error will be reported.

[0013] Furthermore, in step S2, when calculating the characteristic parameters, the end face perimeter and radius are first calculated according to the branch pipe deployment method;

[0014] If we choose to expand along the centerline of the pipe wall thickness, the calculation is as follows:

[0015] dCircum2=π*(m_OD2-m_T)-m_Gap;

[0016] r2 = (m_OD2 - m_T) / 2;

[0017] If we choose to expand using the outer wall of the tube, the calculation is as follows:

[0018] dCircum2 = π * m_OD2 - m_Gap;

[0019] r2 = m_OD2 / 2;

[0020] Where dCircum2 is the circumference of the branch pipe end face, m_OD2 is the outer diameter of the branch pipe, m_T is the plate thickness, m_Gap is the weld gap, and r2 is the radius of the branch pipe end face.

[0021] Furthermore, step S2 also includes the following feature parameters that need to be calculated:

[0022] First, calculate the starting angle:

[0023] startAngle = 2 * m_Gap / r2;

[0024] Where startAngle is the starting angle, m_Gap is the weld gap, and r2 is the radius;

[0025] Then calculate the endpoint angle:

[0026] endAngle = 2π - startAngle;

[0027] Where endAngle is the endpoint angle;

[0028] Then each equal division of the angle:

[0029] subAngle=(endAngle-startAngle) / m_Count;

[0030] Where subAngle represents each equal division angle, and m_Count represents the number of division points;

[0031] The angles that are cumulatively divided equally are:

[0032] deltaAngle = π + startAngle;

[0033] Where deltaAngle is the angle of cumulative equal division;

[0034] Spacing between each division point:

[0035] dL = dCircum2 / m_Count;

[0036] Where the distance between each equally divided point of dL, and dCircum2 is the perimeter of the branch pipe end face;

[0037] Convert the entered branch angle m_Angle to a radian value:

[0038] angle = m_Angle / 180 * π;

[0039] Where angle is the value in radians and m_Angle is the branch angle.

[0040] Furthermore, in step S3, when calculating the coordinates of the points on the unfolded curve at both ends of the branch pipe, a three-dimensional coordinate system is first established. Let each equally divided point on the unfolded curve at both ends of the branch pipe belong to coordinate lists ptAry1 and ptAry2 respectively in the coordinate system. Then, the offsets x and y of each equally divided point on the main pipe are calculated.

[0041] x = r² * cos(deltaAngle);

[0042] y=r2*sin(deltaAngle)-m_Offset;

[0043] Where x is the longitudinal offset parallel to the main pipe axis, y is the lateral offset perpendicular to the main pipe axis, r2 is the radius, m_Offset is the input branch pipe offset value, and deltaAngle is the cumulative angle of equal division.

[0044] h=pow(pow(m_OD1 / 2,2)-pow(y,2),0.5);

[0045] h is the vertical height between the dividing point and the center line of the main pipe, and m_OD1 is the outer diameter of the main pipe;

[0046] Finally, output the coordinate values:

[0047] ptAry1.append(AcGePoint3d(0,dY,0));

[0048] ptAry2.append(AcGePoint3d(m_L-h,dY,0));

[0049] Where m_L is the branch pipe length;

[0050] Each time a pair of coordinate values ​​is calculated, the already equally divided angle values ​​are updated:

[0051] deltaAngle+ = subAngle;

[0052] By iterating through the points m_Count times, you can obtain the coordinates of all the points.

[0053] Furthermore, the calculated vertical height h between the division points and the center line of the main pipe needs to be corrected:

[0054] When the equally divided angle value deltaAngle is less than 0.5π:

[0055] h1=h / sin(angle)+x / tan(angle);

[0056] When the equally divided angle value deltaAngle is greater than or equal to 0.5π and less than π:

[0057] h1=h / sin(angle)-x / tan(angle);

[0058] Where h1 is the vertical height from the corrected division point to the center line of the main pipe, and angle is the radian value corresponding to the branch pipe angle.

[0059] Secondly, the present invention provides a branch pipe development diagram drawing device, comprising:

[0060] The input module is used to input the known parameters of the branch pipe and the main pipe, and to select "expand with the pipe wall thickness centerline" or "expand with the pipe outer wall". Then, the parameters are verified to ensure that the calculation can be performed.

[0061] The calculation module is used to calculate the coordinates of each equally divided point at the beginning and end of the branch pipe;

[0062] The drawing module is used to draw the branch pipe development diagram based on the coordinates of the equally divided points at both ends of the branch pipe.

[0063] Thirdly, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the above-described method.

[0064] Fourthly, the present invention provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.

[0065] Compared with the prior art, the present invention has the following beneficial effects:

[0066] This invention uses mathematical principles to calculate the possible unfolded shapes of the end faces of branch pipes when connected to main pipes under different conditions, thus forming a set of predefined formulas. Based on the input parameters of the branch pipe and main pipe, the coordinates of the equal division points at both ends of the branch pipe unfolded diagram can be calculated. The branch pipe unfolded diagram is then formed by connecting these coordinates, eliminating the need for manual drawing. This greatly simplifies the process of drawing branch pipe unfolded diagrams, reduces manual labor, significantly improves the efficiency of drawing branch pipe unfolded diagrams, and correspondingly reduces the errors that may occur in the manual drawing process, thereby improving the accuracy of the drawing. Attached Figure Description

[0067] Figure 1 This is a schematic diagram of the input module interface according to an embodiment of the present invention.

[0068] Figure 2 This is an unfolded diagram drawn for an embodiment of the present invention. Detailed Implementation

[0069] The technical solutions of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0070] In a first aspect, the present invention proposes a method for drawing a branch pipe development diagram, comprising the following steps:

[0071] S1. Input the known parameters of the branch pipe and its corresponding main pipe, and verify the reasonableness of the parameters. The input parameters include the outer diameter of the main pipe, the outer diameter of the branch pipe, the branch pipe offset, the branch pipe length, the branch pipe angle, and the plate thickness. The parameters to be verified are: the outer diameter of the main pipe cannot be 0, the outer diameter of the branch pipe cannot be 0, the outer diameter of the branch pipe cannot be greater than the outer diameter of the main pipe, the branch pipe offset cannot be greater than half the difference between the outer diameters of the main pipe and the branch pipe, the branch pipe length cannot be 0, the branch pipe angle cannot be less than 30 degrees, and the plate thickness cannot be 0; the number of division points must be even. If any of the above conditions are met, drawing cannot begin and an error will be reported.

[0072] S2. Calculate the feature parameters based on the known input parameters. Specifically:

[0073] (1) When calculating characteristic parameters, first calculate the end face perimeter and radius according to the branch pipe deployment method;

[0074] If we choose to expand along the centerline of the pipe wall thickness, the calculation is as follows:

[0075] dCircum2=π*(m_OD2-m_T)-m_Gap;

[0076] r2 = (m_OD2 - m_T) / 2;

[0077] If we choose to expand using the outer wall of the tube, the calculation is as follows:

[0078] dCircum2 = π * m_OD2 - m_Gap;

[0079] r2 = m_OD2 / 2;

[0080] Where dCircum2 is the circumference of the branch pipe end face, m_OD2 is the outer diameter of the branch pipe, m_T is the plate thickness, m_Gap is the weld gap, and r2 is the radius of the branch pipe end face.

[0081] (2) Then calculate the following characteristic parameters:

[0082] First, calculate the starting angle:

[0083] startAngle = 2 * m_Gap / r2;

[0084] Where startAngle is the starting angle, m_Gap is the weld gap, and r2 is the radius;

[0085] Then calculate the endpoint angle:

[0086] endAngle = 2π - startAngle;

[0087] Where endAngle is the endpoint angle;

[0088] Then each equal division of the angle:

[0089] subAngle=(endAngle-startAngle) / m_Count;

[0090] Where subAngle represents each equal division angle, and m_Count represents the number of division points;

[0091] The angles that are cumulatively divided equally are:

[0092] deltaAngle = π + startAngle;

[0093] Where deltaAngle is the angle of cumulative equal division;

[0094] Spacing between each division point:

[0095] dL = dCircum2 / m_Count;

[0096] Where the distance between each equally divided point of dL, and dCircum2 is the perimeter of the branch pipe end face;

[0097] Convert the entered branch angle m_Angle to a radian value:

[0098] angle = m_Angle / 180 * π;

[0099] Where angle is the value in radians and m_Angle is the branch angle.

[0100] S3. Based on the input known parameters and the calculated characteristic parameters, calculate the coordinates of the points on the unfolded curves located at both ends of the branch pipe, and draw the unfolded diagram based on all the coordinates of the points.

[0101] Preferably, in step S3, when calculating the coordinates of the points on the unfolded curve at both ends of the branch pipe, a three-dimensional coordinate system is first established. Let each equally spaced point on the unfolded curve at both ends of the branch pipe belong to coordinate lists ptAry1 and ptAry2 respectively in the coordinate system. Then, the offsets x and y of each equally spaced point on the main pipe are calculated.

[0102] x = r² * cos(deltaAngle);

[0103] y=r2*sin(deltaAngle)-m_Offset;

[0104] Where x is the longitudinal offset parallel to the main pipe axis, y is the lateral offset perpendicular to the main pipe axis, r2 is the radius, m_Offset is the input branch pipe offset value, and deltaAngle is the cumulative angle of equal division.

[0105] h=pow(pow(m_OD1 / 2,2)-pow(y,2),0.5);

[0106] h is the vertical height between the dividing point and the center line of the main pipe, and m_OD1 is the outer diameter of the main pipe;

[0107] In this embodiment, the calculated vertical height h between the division points and the center line of the main pipe needs to be corrected:

[0108] When the equally divided angle value deltaAngle is less than 0.5π:

[0109] h1=h / sin(angle)+x / tan(angle);

[0110] When the equally divided angle value deltaAngle is greater than or equal to 0.5π and less than π:

[0111] h1=h / sin(angle)-x / tan(angle);

[0112] Where h1 is the vertical height from the corrected division point to the center line of the main pipe, and angle is the radian value corresponding to the branch pipe angle.

[0113] Finally, output the coordinate values:

[0114] ptAry1.append(AcGePoint3d(0,dY,0));

[0115] ptAry2.append(AcGePoint3d(m_L-h1,dY,0));

[0116] Where m_L is the branch pipe length;

[0117] Each time a pair of coordinate values ​​is calculated, the already equally divided angle values ​​are updated:

[0118] deltaAngle+ = subAngle;

[0119] By iterating through the points m_Count times, you can obtain the coordinates of all the points.

[0120] Finally, by connecting all the calculated coordinates, the points are drawn to create the development diagram of the branch pipe. Text descriptions can also be added to the completed diagram, including the ship number, serial number, name, material, plate thickness, and quantity.

[0121] like Figure 1 As shown, in this embodiment, the above method is implemented in software. This software is a secondary development software for AutoCAD, based on the Visual Studio development platform, and written in the C++ computer language as a Windows desktop application to perform the drawing work required in this embodiment. The software's interface is shown below. Figure 2 As shown. It has an input box at the top for entering various parameter values, and a button at the bottom. After entering the parameters, click the "OK" button to start drawing, or click the "Cancel" button to cancel the drawing process.

[0122] according to Figure 1 The input parameters and the resulting plotting results are as follows: Figure 2 As shown.

[0123] Secondly, the present invention provides a branch pipe development diagram drawing device, comprising:

[0124] The input module is used to input the known parameters of the branch pipe and the main pipe, and to select "expand with the pipe wall thickness centerline" or "expand with the pipe outer wall". Then, the parameters are verified to ensure that the calculation can be performed; in this embodiment, the expansion with the pipe wall thickness centerline is selected.

[0125] The calculation module is used to calculate the coordinates of each equally divided point at the beginning and end of the branch pipe.

[0126] The drawing module is used to draw the branch pipe development diagram based on the coordinates of the equally divided points at both ends of the branch pipe. In this embodiment, the drawing module directly calls the results of the calculation module to perform the drawing in AutoCAD software, thereby obtaining the final drawing file.

[0127] Thirdly, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the above-described method.

[0128] Fourthly, the present invention provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.

[0129] 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 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 above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A method for drawing a branch pipe development diagram, characterized in that, Includes the following steps: S1. Input the known parameters of the branch pipe and the corresponding main pipe, and verify the rationality of the parameters; S2. Calculate the feature parameters based on the known input parameters; S3. Based on the input known parameters and the calculated characteristic parameters, calculate the coordinates of the points on the unfolded curves located at both ends of the branch pipe, and draw the unfolded diagram based on all the coordinates of the points.

2. The method for drawing branch pipe development diagrams as described in claim 1, characterized in that: In step S1, the input parameters include the outer diameter of the main pipe, the outer diameter of the branch pipe, the offset of the branch pipe, the length of the branch pipe, the angle of the branch pipe, and the plate thickness.

3. The method for drawing branch pipe development diagrams as described in claim 2, characterized in that, The parameters that need to be verified include: the outer diameter of the main pipe cannot be 0, the outer diameter of the branch pipe cannot be 0, the outer diameter of the branch pipe cannot be greater than the outer diameter of the main pipe, the offset of the branch pipe cannot be greater than half the difference between the outer diameters of the main pipe and the branch pipe, the length of the branch pipe cannot be 0, the angle of the branch pipe cannot be less than 30 degrees, and the plate thickness cannot be 0; the number of equal division points must be even. If the above situation occurs, drawing will not start and an error will be reported.

4. The method for drawing a branch pipe development diagram as described in claim 1, characterized in that, In step S2, when calculating the characteristic parameters, the end face perimeter and radius are first calculated according to the branch pipe deployment method. If we choose to expand along the centerline of the pipe wall thickness, the calculation is as follows: dCircum2=π*(m_OD2-m_T)-m_Gap; r2 = (m_OD2 - m_T) / 2; If we choose to expand using the outer wall of the tube, the calculation is as follows: dCircum2 = π * m_OD2 - m_Gap; r2 = m_OD2 / 2; Where dCircum2 is the circumference of the branch pipe end face, m_OD2 is the outer diameter of the branch pipe, m_T is the plate thickness, m_Gap is the weld gap, and r2 is the radius of the branch pipe end face.

5. The method for drawing branch pipe development diagrams as described in claim 3, characterized in that, Step S2 also includes the following feature parameters that need to be calculated: First, calculate the starting angle: startAngle = 2 * m_Gap / r2; Where startAngle is the starting angle, m_Gap is the weld gap, and r2 is the radius; Then calculate the endpoint angle: endAngle = 2π - startAngle; Where endAngle is the endpoint angle; Then each equal division of the angle: subAngle=(endAngle-startAngle) / m_Count; Where subAngle represents each equal division angle, and m_Count represents the number of division points; The angles that are cumulatively divided equally are: deltaAngle = π + startAngle; Where deltaAngle is the angle of cumulative equal division; Spacing between each division point: dL = dCircum2 / m_Count; Where the distance between each equally divided point of dL, and dCircum2 is the perimeter of the branch pipe end face; Convert the entered branch angle m_Angle to a radian value: angle = m_Angle / 180 * π; Where angle is the value in radians and m_Angle is the branch angle.

6. The method for drawing branch pipe development diagrams as described in claim 1, characterized in that: In step S3, when calculating the coordinates of points on the unfolded curve at both ends of the branch pipe, a three-dimensional coordinate system is first established. Let each equally divided point on the unfolded curve at both ends of the branch pipe belong to coordinate lists ptAry1 and ptAry2 respectively in the coordinate system. Then, the offsets x and y of each equally divided point on the main pipe are calculated. x = r² * cos(deltaAngle); y=r2*sin(deltaAngle)-m_Offset; Where x is the longitudinal offset parallel to the main pipe axis, y is the lateral offset perpendicular to the main pipe axis, r2 is the radius, m_Offset is the input branch pipe offset value, and deltaAngle is the cumulative angle of equal division. h=pow(pow(m_OD1 / 2,2)-pow(y,2),0.5); h is the vertical height between the dividing point and the center line of the main pipe, and m_OD1 is the outer diameter of the main pipe; Finally, output the coordinate values: ptAry1.append(AcGePoint3d(0,dY,0)); ptAry2.append(AcGePoint3d(m_L-h,dY,0)); Where m_L is the branch pipe length; Each time a pair of coordinate values ​​is calculated, the already equally divided angle values ​​are updated: deltaAngle+ = subAngle; By iterating through the points m_Count times, you can obtain the coordinates of all the points.

7. The method for drawing a branch pipe development diagram as described in claim 6, characterized in that, The calculated vertical height h between the division points and the center line of the main pipe needs to be corrected: When the equally divided angle value deltaAngle is less than 0.5π: h1=h / sin(angle)+x / tan(angle); When the equally divided angle value deltaAngle is greater than or equal to 0.5π and less than π: h1=h / sin(angle)-x / tan(angle); Where h1 is the vertical height from the corrected division point to the center line of the main pipe, and angle is the radian value corresponding to the branch pipe angle.

8. A device for drawing branch pipe development diagrams, characterized in that, include: The input module is used to input the known parameters of the branch pipe and the main pipe, and to select "expand with the pipe wall thickness centerline" or "expand with the pipe outer wall". Then, the parameters are verified to ensure that the calculation can be performed. The calculation module is used to calculate the coordinates of each equally divided point at the beginning and end of the branch pipe; The drawing module is used to draw the branch pipe development diagram based on the coordinates of the equally divided points at both ends of the branch pipe.

9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of any one of claims 1 to 7.

10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the steps of any one of claims 1 to 7.