Reducer expansion drawing drawing method and device, computer equipment and storage medium

By automatically drawing the development diagram of reducers through mathematical calculations, the problems of low efficiency and large errors in manual drawing are solved, and efficient and accurate development diagram drawing of reducers is achieved.

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

Patent Information

Application Number
CN202511211680.6
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, the development diagram of reducers is more complex than that of traditional pipes. Manual drawing is inefficient and prone to calculation errors, which affects the construction quality.

Method used

It uses mathematical principles to calculate the unfolded shape of the reducer, calculates the radius and arc of the inner and outer sectors or the coordinates of the division points by input parameters, and automatically draws the unfolded diagram. It provides computer equipment and storage media to realize automated drawing.

Benefits of technology

It simplifies the process of drawing the development diagram of reducers, improves efficiency, reduces human error, and improves the accuracy of drawing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121010722A_ABST
    Figure CN121010722A_ABST
Patent Text Reader

Abstract

The invention provides a reducing pipe expansion drawing drawing method which comprises the following steps: S1, inputting known reducing pipe parameters, and checking the rationality of the parameters; s2, calculating characteristic parameters according to the input known parameters; and S3, according to known parameters and the calculated characteristic parameters, respectively drawing expanded drawings of the reducing pipe under the condition that whether the eccentric distance is 0 or not. The invention further provides a reducing pipe expansion drawing drawing device, computer equipment and a readable storage medium. According to the method, the expanded shape of the reducing pipe is calculated through the mathematical principle, a set formula set is formed, coordinates can be calculated according to input parameters, the expanded 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 expanded 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 reducing pipe processing technology, and in particular to a method, apparatus, computer equipment, and storage medium for drawing developing diagrams of reducing pipes. 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, bends, reducers, and square-to-round reducers. In the traditional production process, before rolling, workers would calculate and draw development lines on the steel plates, then manually cut the plates according to these lines. After the introduction of CNC cutting equipment, the work of drawing development lines is now done by technicians manually drawing the development diagram on a computer, followed by nesting, and then cutting by a CNC cutting machine. However, for reducers, the diameters of their two ends are inconsistent, and even the center positions of the two ends may be offset. Therefore, the development diagram is more complex than that of traditional pipes. Manual drawing is not only inefficient but also prone to calculation errors, affecting normal construction. Summary of the Invention

[0005] In view of the shortcomings of the prior art, the present invention provides a method, apparatus, computer equipment and storage medium for drawing development diagrams of reducers. It solves the problems that the development diagrams of reducers are more complex than those of traditional pipes, and that manual drawing is not only inefficient, but also prone to calculation errors, which affects normal construction.

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

[0007] S1. Input the known parameters of the reducer and verify the rationality of the parameters;

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

[0009] S3. Based on known parameters and characteristic parameters:

[0010] When the eccentricity is 0, the inner and outer sectors of the reducer are concentric sectors after unfolding. The unfolded diagram can be drawn by calculating its radius and radii respectively.

[0011] When the eccentricity is not 0, the inner and outer sectors of the eccentric pipe are not concentric after unfolding. The coordinates of each equally divided point on the inner and outer sectors after unfolding are calculated respectively, and the unfolded diagram is drawn based on the coordinates of all equally divided points.

[0012] Preferably, in step S1, the input parameters include outer diameter one, outer diameter two, reducer length, plate thickness, and eccentricity.

[0013] Furthermore, the parameters that need to be verified include: outer diameter one cannot be 0, outer diameter two cannot be 0, outer diameter one and outer diameter two cannot be equal, the length of the reducer cannot be 0, the plate thickness cannot be 0 when unfolded with the pipe wall thickness centerline, and the number of equal division points must be even.

[0014] Furthermore, in step S2, when calculating the characteristic parameters, the end face circumference and radius are first calculated according to the unfolding method of the reducer;

[0015] If you choose to expand along the center line of the pipe wall thickness:

[0016] dCircum1=π*(m_OD1-m_T)-m_Gap;

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

[0018] r1 = (m_OD1 - m_T) / 2;

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

[0020] If you choose to unfold using the outer wall of the tube:

[0021] dCircum1 = π * m_OD1 - m_Gap;

[0022] dCircum2 = π * m_OD2 - m_Gap;

[0023] r1 = m_OD1 / 2;

[0024] r2 = m_OD2 / 2;

[0025] Where dCircum1 is the circumference of circle one, m_OD1 is the outer diameter of circle one, dCircum2 is the circumference of circle two, m_OD2 is the outer diameter of circle two, r1 is the radius of circle one, r2 is the radius of circle two, m_T is the plate thickness, and m_Gap is the weld gap.

[0026] Furthermore, in step S3, when the eccentricity is 0, the drawing steps are as follows:

[0027] First, calculate the intermediate value:

[0028] dAlpha = atan(|r1-r2| / m_L);

[0029] Then, the radii of the two sectors corresponding to Circle 1 and Circle 2 after unfolding are calculated respectively:

[0030] dR1 = r1 / sin(dAlpha);

[0031] dR² = r² / sin(dAlpha);

[0032] Finally, calculate the radii of the two sectors corresponding to Circle 1 and Circle 2 after unfolding:

[0033] dAngle1 = dCircum1 / dR1;

[0034] dAngle2 = dCircum2 / dR2;

[0035] Where dAlpha is the median value, r1 is the radius of circle one, r2 is the radius of circle two, m_L is the length of the reducer, dR1 is the radius of sector fan1 after expanding circle one, dR2 is the radius of sector fan2 after expanding circle two, dAngle1 is the radian of sector fan1 after expanding circle one, and dAngle2 is the radian of sector fan2 after expanding circle two.

[0036] Based on the calculated values ​​of dR1, dAngle1, dR2, and dAngle2, the unfolded diagram of the variator pipe with concentric inner and outer sectors can be drawn.

[0037] Furthermore, in step S3, when the eccentricity is not 0, the drawing steps are as follows:

[0038] First, calculate the starting and ending angles of the corresponding sectors after unfolding Circle 1 and Circle 2 respectively:

[0039] startAngle1 = m_Gap / r1 / 2;

[0040] endAngle1=2*π-startAngle1;

[0041] startAngle2 = m_Gap / r2 / 2;

[0042] endAngle2=2*π-startAngle2;

[0043] Wherein, startAngle1 is the starting angle of sector fan1 after circle 1 is unfolded, endAngle1 is the ending angle of sector fan1 after circle 1 is unfolded, startAngle2 is the starting angle of sector fan2 after circle 2 is unfolded, endAngle2 is the ending angle of sector fan2 after circle 2 is unfolded, r1 is the radius of circle 1, and r2 is the radius of circle 2.

[0044] Then, two three-dimensional coordinate points ptCenter1(0, 0, 0) and ptCenter2(m_Offset, 0, m_L) are generated, where m_Offset is the eccentricity and m_L is the length of the reducer.

[0045] Using ptCenter1 as the endpoint, generate a sector fan1 with radius r1, start angle startAngle1, and end angle endAngle1 along the Z and X axes. Then, sample along the edge of the sector at a frequency of m_Count to obtain the coordinates of the sampled points and store them in ptsArray1. Using ptCenter2 as the endpoint, generate a sector fan2 with radius r2, start angle startAngle2, and end angle endAngle2 along the Z and X axes. Then, sample along the edge of the sector at a frequency of m_Count to obtain the coordinates of the sampled points and store them in ptsArray2.

[0046] Then, a line is generated with three-dimensional coordinates (r1, 0, 0) and (r2+m_Offset, 0, m_L), and another line is generated with (-r1, 0, 0) and (-r2+m_Offset, 0, m_L). The intersection of the two lines is the vertex pt0 of the eccentric cone formed by the joint rolling of fan1 and fan2.

[0047] Calculate the spacing of each equal segment in sector fan1 and sector fan2 respectively:

[0048] dInterval1=dCircum1 / m_Count;

[0049] dInterval2=dCircum2 / m_Count;

[0050] Where dCircum1 is the circumference of circle one, and dCircum2 is the circumference of circle two;

[0051] Calculate the distance from vertex pt0 to the first sampling point in sector fan1 and the distance to the first sampling point in sector fan2, and use them as l1 and l2. Then generate an initial coordinate point (l1, 0, 0) and (l2, 0, 0) for each of them, and store them in two coordinate lists ptAry1 and ptAry2 respectively.

[0052] Initialize four variables: angle1, angle2, x, and y. Angle1 and angle2 are used to store the accumulated angles of the division, and their initial values ​​are 0. x and y are used to store the calculated coordinates of the division points.

[0053] For sector fan1:

[0054] The loop iterates through the number of equally divided points m_Count-1 times. Each time, it calculates the distance from vertex pt0 to the i-th sampling point and stores it in temporary variables l1 and l2 respectively. Then, it calculates the cumulative angle of the divided points.

[0055] angle1=arccos((l1^2+l2^2-dInterval1^2) / (l1*l2*2));

[0056] Then, based on the calculated angle and the known side length, the values ​​of x and y are determined:

[0057] x = l2 * cos(angle1);

[0058] y = l2*sin(angle1);

[0059] This will construct an equally divided point (x, y, 0) and store it in the coordinate list ptAry1;

[0060] For sector fan2:

[0061] The loop iterates through the number of equally divided points m_Count-1 times. Each time, it calculates the distance from vertex pt0 to the i-th sampling point and stores it in temporary variables l1 and l2 respectively. Then, it calculates the cumulative angle of the divided points.

[0062] Angle2=arccos((l1^2+l2^2-dInterval2^2) / (l1*l2*2));

[0063] Then, based on the calculated angle and the known side length, the values ​​of x and y are determined:

[0064] x = l2 * cos(angle2);

[0065] y = l2*sin(angle2);

[0066] This will construct an equally divided point (x, y, 0) and store it in the coordinate list ptAry2;

[0067] Finally, based on the calculated coordinates ptAry1 of each equally divided point in sector fan1 and ptAry2 of each equally divided point in sector fan2, the development diagram of the reducer can be drawn.

[0068] Secondly, the present invention provides a device for drawing a straight pipe development diagram, comprising:

[0069] The input module is used to input the known parameters of the reducer 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.

[0070] The calculation module is used to calculate the characteristic parameters separately. When the eccentricity is 0, it calculates the radius and arc of the inner and outer sectors after the reducer is unfolded. When the eccentricity is not 0, it calculates the coordinates of each equally divided point on the inner and outer sectors after the reducer is unfolded.

[0071] The drawing module is used to draw the pipe unfolding diagram based on the radius and arc of the inner and outer sectors after the reducer is unfolded, or the coordinates of the equally divided points on the inner and outer sectors after the reducer is unfolded.

[0072] 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, wherein the processor executes the computer program to implement the steps of the above-described method.

[0073] 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.

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

[0075] This invention uses mathematical principles to calculate the unfolded shape of reducers with different end face shapes, thus forming a pre-defined set of formulas. After inputting the reducer parameters, the radius and arc of the inner and outer sectors after unfolding the reducer, or the coordinates of each equally spaced point on the inner and outer sectors, can be calculated based on whether the eccentricity is zero. This allows for the creation of the reducer unfolded diagram without manual drawing. This greatly simplifies the process of drawing reducer unfolded diagrams, reduces manual labor, significantly improves the efficiency of drawing reducer unfolded diagrams, and correspondingly reduces errors that may occur in manual drawing, thus improving the accuracy of the drawings. Attached Figure Description

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

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

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

[0079] This invention provides a method for drawing the development diagram of a reducer, comprising the following steps:

[0080] S1. Input the known parameters of the reducer and verify their validity. Specifically, the input parameters include outer diameter 1, outer diameter 2, reducer length, plate thickness, and eccentricity. Parameters requiring verification include: outer diameter 1 cannot be 0, outer diameter 2 cannot be 0, outer diameter 1 and outer diameter 2 cannot be equal, reducer length cannot be 0, plate thickness cannot be 0 when unfolded along the pipe wall thickness centerline, and the number of division points must be even. If any of these conditions occur, drawing will fail and an error will be reported.

[0081] S2. Calculate the characteristic parameters based on the input known parameters. When calculating the characteristic parameters, first calculate the end face circumference and radius according to the unfolding method of the reducer;

[0082] If you choose to expand along the center line of the pipe wall thickness:

[0083] dCircum1=π*(m_OD1-m_T)-m_Gap;

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

[0085] r1 = (m_OD1 - m_T) / 2;

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

[0087] If you choose to unfold using the outer wall of the tube:

[0088] dCircum1 = π * m_OD1 - m_Gap;

[0089] dCircum2 = π * m_OD2 - m_Gap;

[0090] r1 = m_OD1 / 2;

[0091] r2 = m_OD2 / 2;

[0092] Where dCircum1 is the circumference of circle one, m_OD1 is the outer diameter of circle one, dCircum2 is the circumference of circle two, m_OD2 is the outer diameter of circle two, r1 is the radius of circle one, r2 is the radius of circle two, m_T is the plate thickness, and m_Gap is the weld gap.

[0093] S3. Based on the known parameters and characteristic parameters, when the eccentricity is 0, the inner and outer sectors of the variator are concentric sectors after unfolding. Calculate their radii and radians respectively, and then draw the unfolded diagram. The specific drawing steps are as follows:

[0094] First, calculate the intermediate value:

[0095] dAlpha = atan(|r1-r2| / m_L);

[0096] Then, the radii of the two sectors corresponding to Circle 1 and Circle 2 after unfolding are calculated respectively:

[0097] dR1 = r1 / sin(dAlpha);

[0098] dR² = r² / sin(dAlpha);

[0099] Finally, calculate the radii of the two sectors corresponding to Circle 1 and Circle 2 after unfolding:

[0100] dAngle1 = dCircum1 / dR1;

[0101] dAngle2 = dCircum2 / dR2;

[0102] Where dAlpha is the median value, r1 is the radius of circle one, r2 is the radius of circle two, m_L is the length of the reducer, dR1 is the radius of sector fan1 after expanding circle one, dR2 is the radius of sector fan2 after expanding circle two, dAngle1 is the radian of sector fan1 after expanding circle one, and dAngle2 is the radian of sector fan2 after expanding circle two.

[0103] Based on the calculated values ​​of dR1, dAngle1, dR2, and dAngle2, the unfolded diagram of the variator pipe with concentric inner and outer sectors can be drawn.

[0104] When the eccentricity is not zero, the inner and outer sectors of the variator will be non-concentric after unfolding. The coordinates of each equally spaced point on the unfolded inner and outer sectors are calculated, and the unfolded diagram is drawn based on the coordinates of all equally spaced points. The specific drawing steps are as follows:

[0105] First, calculate the starting and ending angles of the corresponding sectors after unfolding Circle 1 and Circle 2 respectively:

[0106] startAngle1 = m_Gap / r1 / 2;

[0107] endAngle1=2*π-startAngle1;

[0108] startAngle2 = m_Gap / r2 / 2;

[0109] endAngle2=2*π-startAngle2;

[0110] Wherein, startAngle1 is the starting angle of sector fan1 after circle 1 is unfolded, endAngle1 is the ending angle of sector fan1 after circle 1 is unfolded, startAngle2 is the starting angle of sector fan2 after circle 2 is unfolded, endAngle2 is the ending angle of sector fan2 after circle 2 is unfolded, r1 is the radius of circle 1, and r2 is the radius of circle 2.

[0111] Then, two three-dimensional coordinate points ptCenter1(0, 0, 0) and ptCenter2(m_Offset, 0, m_L) are generated, where m_Offset is the eccentricity and m_L is the length of the reducer.

[0112] Using ptCenter1 as the endpoint, generate a sector fan1 with radius r1, start angle startAngle1, and end angle endAngle1 along the Z and X axes. Then, sample along the edge of the sector at a frequency of m_Count to obtain the coordinates of the sampled points and store them in ptsArray1. Using ptCenter2 as the endpoint, generate a sector fan2 with radius r2, start angle startAngle2, and end angle endAngle2 along the Z and X axes. Then, sample along the edge of the sector at a frequency of m_Count to obtain the coordinates of the sampled points and store them in ptsArray2.

[0113] Then, a line is generated with three-dimensional coordinates (r1, 0, 0) and (r2+m_Offset, 0, m_L), and another line is generated with (-r1, 0, 0) and (-r2+m_Offset, 0, m_L). The intersection of the two lines is the vertex pt0 of the eccentric cone formed by the joint rolling of fan1 and fan2.

[0114] Calculate the spacing of each equal segment in sector fan1 and sector fan2 respectively:

[0115] dInterval1=dCircum1 / m_Count;

[0116] dInterval2=dCircum2 / m_Count;

[0117] Where dCircum1 is the circumference of circle one, and dCircum2 is the circumference of circle two;

[0118] Calculate the distance from vertex pt0 to the first sampling point in sector fan1 and the distance to the first sampling point in sector fan2, and use them as l1 and l2. Then generate an initial coordinate point (l1, 0, 0) and (l2, 0, 0) for each of them, and store them in two coordinate lists ptAry1 and ptAry2 respectively.

[0119] Initialize four variables: angle1, angle2, x, and y. Angle1 and angle2 are used to store the accumulated angles of the division, and their initial values ​​are 0. x and y are used to store the calculated coordinates of the division points.

[0120] For sector fan1:

[0121] The loop iterates through the number of equally divided points m_Count-1 times. Each time, it calculates the distance from vertex pt0 to the i-th sampling point and stores it in temporary variables l1 and l2 respectively. Then, it calculates the cumulative angle of the divided points.

[0122] angle1=arccos((l1^2+l2^2-dInterval1^2) / (l1*l2*2));

[0123] Then, based on the calculated angle and the known side length, the values ​​of x and y are determined:

[0124] x = l2 * cos(angle1);

[0125] y = l2*sin(angle1);

[0126] This will construct an equally divided point (x, y, 0) and store it in the coordinate list ptAry1;

[0127] For sector fan2:

[0128] The loop iterates through the number of equally divided points m_Count-1 times. Each time, it calculates the distance from vertex pt0 to the i-th sampling point and stores it in temporary variables l1 and l2 respectively. Then, it calculates the cumulative angle of the divided points.

[0129] Angle2=arccos((l1^2+l2^2-dInterval2^2) / (l1*l2*2));

[0130] Then, based on the calculated angle and the known side length, the values ​​of x and y are determined:

[0131] x = l2 * cos(angle2);

[0132] y = l2*sin(angle2);

[0133] This will construct an equally divided point (x, y, 0) and store it in the coordinate list ptAry2;

[0134] Finally, based on the calculated coordinates ptAry1 of each equally divided point in sector fan1 and ptAry2 of each equally divided point in sector fan2, the development diagram of the reducer can be drawn.

[0135] 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.

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

[0137] The present invention also proposes a device for drawing a straight pipe development diagram, comprising:

[0138] The input module is used to input the known parameters of the reducer 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.

[0139] The calculation module is used to calculate the characteristic parameters separately. When the eccentricity is 0, it calculates the radius and arc of the inner and outer sectors after the reducer is unfolded. When the eccentricity is not 0, it calculates the coordinates of each equally divided point on the inner and outer sectors after the reducer is unfolded.

[0140] The drawing module is used to draw the pipe unfolding diagram based on the radius and arc of the inner and outer sectors after the reducer is unfolded, or the coordinates of the equally divided points on the inner and outer sectors after the reducer is unfolded.

[0141] The present invention also proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above method.

[0142] The present invention also proposes a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above method.

[0143] Those skilled in the art will understand that all or part of the processes in 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 described above. 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.

[0144] 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 the development diagram of a reducer, characterized in that, Includes the following steps: S1. Input the known parameters of the reducer and verify the rationality of the parameters; S2. Calculate the feature parameters based on the known input parameters; S3. Based on known parameters and characteristic parameters: When the eccentricity is 0, the inner and outer sectors of the reducer are concentric sectors after unfolding. The unfolded diagram can be drawn by calculating its radius and radii respectively. When the eccentricity is not 0, the inner and outer sectors of the eccentric pipe are not concentric after unfolding. The coordinates of each equally divided point on the inner and outer sectors after unfolding are calculated respectively, and the unfolded diagram is drawn based on the coordinates of all equally divided points.

2. The method for drawing a development diagram of a reducer as described in claim 1, characterized in that: In step S1, the input parameters include outer diameter one, outer diameter two, reducer length, plate thickness, and eccentricity.

3. The method for drawing a development diagram of a reducer as described in claim 1, characterized in that, The parameters that need to be verified include: outer diameter one cannot be 0, outer diameter two cannot be 0, outer diameter one and outer diameter two cannot be equal, the length of the reducer cannot be 0, the plate thickness cannot be 0 when unfolded with the pipe wall thickness centerline, and the number of equal division points must be even.

4. The method for drawing a development diagram of a reducer as described in claim 1, characterized in that, In step S2, when calculating the characteristic parameters, the end face circumference and radius are first calculated according to the unfolding method of the reducer. If you choose to expand along the center line of the pipe wall thickness: dCircum1=π*(m_OD1-m_T)-m_Gap; dCircum2=π*(m_OD2-m_T)-m_Gap; r1 = (m_OD1 - m_T) / 2; r2 = (m_OD2 - m_T) / 2; If you choose to unfold using the outer wall of the tube: dCircum1 = π * m_OD1 - m_Gap; dCircum2 = π * m_OD2 - m_Gap; r1 = m_OD1 / 2; r2 = m_OD2 / 2; Where dCircum1 is the circumference of circle one, m_OD1 is the outer diameter of circle one, dCircum2 is the circumference of circle two, m_OD2 is the outer diameter of circle two, r1 is the radius of circle one, r2 is the radius of circle two, m_T is the plate thickness, and m_Gap is the weld gap.

5. The method for drawing a development diagram of a reducer as described in claim 1, characterized in that, In step S3, when the eccentricity is 0, the drawing steps are as follows: First, calculate the intermediate value: dAlpha = atan(|r1-r2| / m_L); Then, the radii of the two sectors corresponding to Circle 1 and Circle 2 after unfolding are calculated respectively: dR1 = r1 / sin(dAlpha); dR² = r² / sin(dAlpha); Finally, calculate the radii of the two sectors corresponding to Circle 1 and Circle 2 after unfolding: dAngle1 = dCircum1 / dR1; dAngle2 = dCircum2 / dR2; Where dAlpha is the median value, r1 is the radius of circle one, r2 is the radius of circle two, m_L is the length of the reducer, dR1 is the radius of sector fan1 after expanding circle one, dR2 is the radius of sector fan2 after expanding circle two, dAngle1 is the radian of sector fan1 after expanding circle one, and dAngle2 is the radian of sector fan2 after expanding circle two. Based on the calculated values ​​of dR1, dAngle1, dR2, and dAngle2, the unfolded diagram of the variator pipe with concentric inner and outer sectors can be drawn.

6. The method for drawing a development diagram of a reducer as described in claim 1, characterized in that, In step S3, when the eccentricity is not 0, the drawing steps are as follows: First, calculate the starting and ending angles of the corresponding sectors after unfolding Circle 1 and Circle 2 respectively: startAngle1 = m_Gap / r1 / 2; endAngle1=2*π-startAngle1; startAngle2 = m_Gap / r2 / 2; endAngle2=2*π-startAngle2; Wherein, startAngle1 is the starting angle of sector fan1 after circle 1 is unfolded, endAngle1 is the ending angle of sector fan1 after circle 1 is unfolded, startAngle2 is the starting angle of sector fan2 after circle 2 is unfolded, endAngle2 is the ending angle of sector fan2 after circle 2 is unfolded, r1 is the radius of circle 1, and r2 is the radius of circle 2. Then, two three-dimensional coordinate points ptCenter1(0, 0, 0) and ptCenter2(m_Offset, 0, m_L) are generated, where m_Offset is the eccentricity and m_L is the length of the reducer. Using ptCenter1 as the endpoint, generate a sector fan1 with radius r1, start angle startAngle1, and end angle endAngle1 along the Z and X axes. Then, sample along the edge of the sector at a frequency of m_Count to obtain the coordinates of the sampled points and store them in ptsArray1. Using ptCenter2 as the endpoint, generate a sector fan2 with radius r2, start angle startAngle2, and end angle endAngle2 along the Z and X axes. Then, sample along the edge of the sector at a frequency of m_Count to obtain the coordinates of the sampled points and store them in ptsArray2. Then, a line is generated with three-dimensional coordinates (r1, 0, 0) and (r2+m_Offset, 0, m_L), and another line is generated with (-r1, 0, 0) and (-r2+m_Offset, 0, m_L). The intersection of the two lines is the vertex pt0 of the eccentric cone formed by the joint rolling of fan1 and fan2. Calculate the spacing of each equal segment in sector fan1 and sector fan2 respectively: dInterval1=dCircum1 / m_Count; dInterval2=dCircum2 / m_Count; Where dCircum1 is the circumference of circle one, and dCircum2 is the circumference of circle two; Calculate the distance from vertex pt0 to the first sampling point in sector fan1 and the distance to the first sampling point in sector fan2, and use them as l1 and l2. Then generate an initial coordinate point (l1, 0, 0) and (l2, 0, 0) for each of them, and store them in two coordinate lists ptAry1 and ptAry2 respectively. Initialize four variables: angle1, angle2, x, and y. Angle1 and angle2 are used to store the accumulated angles of the division, and their initial values ​​are 0. x and y are used to store the calculated coordinates of the division points. For sector fan1: The loop iterates through the number of equally divided points m_Count-1 times. Each time, it calculates the distance from vertex pt0 to the i-th sampling point and stores it in temporary variables l1 and l2 respectively. Then, it calculates the cumulative angle of the divided points. angle1=arccos((l1^2+l2^2-dInterval1^2) / (l1*l2*2)); Then, based on the calculated angle and the known side length, the values ​​of x and y are determined: x = l2 * cos(angle1); y = l2*sin(angle1); This will construct an equally divided point (x, y, 0) and store it in the coordinate list ptAry1; For sector fan2: The loop iterates through the number of equally divided points m_Count-1 times. Each time, it calculates the distance from vertex pt0 to the i-th sampling point and stores it in temporary variables l1 and l2 respectively. Then, it calculates the cumulative angle of the divided points. Angle2=arccos((l1^2+l2^2-dInterval2^2) / (l1*l2*2)); Then, based on the calculated angle and the known side length, the values ​​of x and y are determined: x = l2 * cos(angle2); y = l2*sin(angle2); This will construct an equally divided point (x, y, 0) and store it in the coordinate list ptAry2; Finally, based on the calculated coordinates ptAry1 of each equally divided point in sector fan1 and ptAry2 of each equally divided point in sector fan2, the development diagram of the reducer can be drawn.

7. A device for drawing a straight pipe development diagram, characterized in that, include: The input module is used to input the known parameters of the reducer and to select "expand based on the pipe wall thickness centerline" or "expand based on 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 characteristic parameters separately, and when the eccentricity is 0, it calculates the radius and arc of the inner and outer sectors after the reducer is unfolded. When the eccentricity is not 0, calculate the coordinates of each equally divided point on the inner and outer sectors after the reducer is unfolded; The drawing module is used to draw the pipe unfolding diagram based on the radius and arc of the inner and outer sectors after the reducer is unfolded, or the coordinates of the equally divided points on the inner and outer sectors after the reducer is unfolded.

8. 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 6.

9. 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 6.