Pipe network-based automatic modeling and matching method for adjunct well

By reading and calculating pipeline data, well models of different materials and specifications are generated. The triangular mesh construction method is used to realize the automated modeling and matching of wells for pipeline accessories, which solves the problem of time-consuming and labor-intensive processes in the existing technology and improves efficiency and adaptability.

CN120995559APending Publication Date: 2025-11-21UNDERGROUND SPACE TECHNOLOGY DEVELOPMENT CO LTD OF CNACG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511142374.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

In existing technologies, modeling of pipeline accessory wells is time-consuming, labor-intensive, and difficult to match with 3D pipeline networks, resulting in low efficiency.

Method used

By reading two-dimensional vector point data and correlation line data, parameters such as well diameter and well depth are calculated to generate well models of different materials and specifications, and the triangular mesh construction method is used to automatically model and match them.

Benefits of technology

It achieves efficient and automated modeling and matching of pipeline appurtenance wells, reduces the workload of manual modeling, improves flexibility and intelligence, and adapts to pipeline data of different pipe diameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120995559A_ABST
    Figure CN120995559A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic modeling and matching method for an attached object well based on a pipe network. The method comprises the following steps: 1, reading data; 2, calculating parameters; 3, the diameter of the well lid is obtained; 4, generating a round well chamber model; 5, generating a well chamber model of the wine bottle well; step 6, generating a well lid model; and step 7, hitching related attribute information to obtain a three-dimensional model of the whole well. By applying the method, automatic modeling of the attached object well in the pipe network data is achieved, automatic matching is conducted on the attached object well and the pipeline, the method is more efficient, more flexible and more intelligent, universality is achieved for data of different pipe diameters, and the problems that the workload of manual modeling is large, and time and labor are wasted due to repeated modeling caused by the fact that flexible matching cannot be achieved are solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of geographic information, and relates to an automatic modeling and matching method for an accessory well based on a pipe network. BACKGROUND

[0002] At present, the modeling of accessory wells in a pipe network on the market is mostly realized by importing the accessory well model into the entire pipe network through a pipe network modeling tool after external modeling. However, the accessory well data of each pipe point in the pipe network is different, and the size and material of the generated well are also different. If different wells are modeled manually, a great amount of work will be increased, and it is difficult to unify the matching of the accessory well and the three-dimensional pipe network. The pipe network data is generally massive data at the city level. This method is time-consuming, labor-intensive, and has poor effect. SUMMARY

[0003] In order to overcome the shortcomings of the prior art, the purpose of the present application is to provide an automatic modeling and matching method for an accessory well based on a pipe network. The method realizes the automatic modeling of the accessory well in the pipe network data and the automatic matching with the pipe line. Different materials are set for different wells to generate well models with different materials and different specifications. The method is more efficient, flexible, intelligent, and universal, and avoids the problems of large manual modeling workload and time-consuming and laborious repeated modeling caused by the inability to adapt flexibly.

[0004] In order to achieve the above purpose, the technical scheme adopted by the present application is: An automatic modeling and matching method for an accessory well based on a pipe network, characterized in that it comprises the following steps: Step 1, data reading: reading two-dimensional vector point data and associated vector line data of a target accessory well; including the coordinates, buried depth, well chamber material, well cover material, well diameter, well cover diameter, well neck depth, and pipe diameter of the associated pipe line of the target accessory well; Step 2, parameter calculation: calculating the well diameter, well neck depth, and well depth according to the point data and associated line data of the target well; taking the maximum of the calculated well diameter, the obtained well diameter attribute, and the default value to ensure that the generated target well can be normally matched with the pipe network and wrapped in the well; The well depth = pipe point buried depth + 0.1 m + well wall thickness; The well neck depth = pipe point buried depth - pipe diameter - 0.1 m + well wall thickness; The well diameter calculation value = pipe diameter + well wall thickness * 2 + pipe exposed head * 2; Wherein, the well wall thickness is 0.05m, the pipe protrusion is 0.07m, the well diameter default value is 0.7m, the well diameter attribute value is obtained in step 1; the well diameter takes the maximum value among the calculated value, the default value and the attribute value, to ensure matching with the pipeline and the well chamber can wrap the pipeline inside; Step 3, obtaining the well cover diameter: when the well cover diameter attribute value in step 1 is not 0, the attribute value is taken, otherwise the default value 0.7m is taken, if the diameter of the well cover is greater than the well diameter, the well cover diameter takes the well diameter value, through the comparison of the well cover diameter and the well diameter, when the well diameter is less than or equal to the well cover diameter, step 4 is entered to generate a round well with the same thickness from top to bottom; when the well diameter is greater than the well cover diameter, step 5 is entered to generate a wine bottle well with a thin top and a thick bottom; Step 4, generating a round well chamber model: creating well chamber material according to the obtained well chamber texture picture; calculating all the vertices of the well chamber according to the pipe point coordinates, the well cover diameter and the well depth, to generate a polygon point set, including the polygon point set of the outer circle lower and upper edges, the polygon point set of the inner circle lower and upper edges, the polygon point set of the inner and outer eaves, the outer bottom surface polygon point set and the inner bottom surface polygon point set; constructing a triangular net according to the generated polygon point set, including: outer (inner) side upper and lower vertex network; outer (inner) bottom surface vertex network; inner and outer eaves vertex network; calculating the normal and texture coordinates of all generated vertices (some vertex coordinates are the same, but the normals are different due to the different triangular faces of the points); Step 5, generating a wine bottle well chamber model: creating well chamber material according to the obtained well chamber texture picture; calculating the radius difference (ΔR=R-r) of the well radius (R) and the well cover radius (r), interpolating the height of the well, and interpolating the radius difference of the well and the well cover according to the interpolated height; when the value of the radius difference ΔR is less than the default value 0.3m, the radius difference ΔR takes the default value, calculating all the vertices of the well chamber according to the pipe point coordinates, the well diameter, the well cover diameter, the well depth, the well neck depth, the height interpolation, the radius interpolation, to generate a polygon point set, including: generating the polygon point set of each interpolation section of the outer side surface from bottom to top in clockwise direction, generating the polygon point set of each interpolation section of the inner side surface from bottom to top in clockwise direction, generating the inner and outer eaves polygon point set, the outer bottom surface polygon point set and the inner bottom surface polygon point set; constructing a triangular net according to the height difference, including: outer (inner) side upper and lower vertex network; outer (inner) bottom surface vertex network; inner and outer eaves vertex network; calculating the normal and texture coordinates of all generated vertices (some vertex coordinates are the same, but the normals are different due to the different triangular faces of the points); Step 6, generating the manhole cover model: creating the manhole cover material according to the obtained manhole cover texture picture; calculating all the vertices of the manhole cover according to the pipe point coordinates, the manhole cover diameter and the well depth, generating the polygon point set, the range including, from bottom to top, the polygon point set of the cylindrical side surface, the polygon point set of the lower bottom surface and the polygon point set of the upper bottom surface in clockwise; constructing the triangular net according to the generated polygon point set, including: the net construction of the upper and lower vertices of the outer side, the net construction of the lower (upper) bottom surface vertices; calculating the normal (some vertex coordinates are the same, but the normal is different due to the different triangular faces where the points are located) and the texture coordinates of all the generated vertices; the calculation method of the polygon point set, the normal vector calculation method and the triangular net construction method are consistent with the method described in step 4; Step 7, obtaining the three-dimensional model of the entire well by combining the related attribute information of the above steps.

[0005] The data reading in step 1 is from a shape file or a gdb file or a PostgreSQL data.

[0006] The polygon point set in step 4 takes the inner bottom surface of the well as an example, which takes the coordinates of the pipe point obtained in step 1 as the center (x, y, z), takes the manhole cover data obtained in step 3 as the diameter to form a circle with a radius of Radius, and divides the entire circular surface 16 into equal parts (the radian value of each part is angle_step = 2π / 16), and calculates the coordinates in_point (x, y, z) of the 17 points of the entire polygon circular surface in clockwise order (the starting point is coincident, forming a closed polygon surface), the calculation method is as follows (due to the coordinate system, the y coordinate of the point represents the elevation): The radian value of the starting calculation point is v_angle = 0, and ∆h = 0; in_point.x = center.x + sin(v_angle) * Radius; in_point.z = center.z + cos(v_angle) * Radius; in_point.y = center.y + ∆h; Since it is clockwise, the radian value of the next point should be subtracted from the radian value of the previous point (v_angle = v_angle - angle_step); 16 times of iteration are performed to obtain 16 points, and the first point is additionally added to form a closed polygon surface, obtaining a polygon point set of 17 points. In addition, the point sets of the outer bottom surface, the outer bottom surface and the top eaves of the well are different from the inner bottom surface described above in that the radius is added with the well wall thickness and the height is added with the well depth.

[0007] The step 4 is to construct the triangular net, and the outer (inner) side surface is constructed by constructing a triangle with two corresponding points on the polygon point set of the outer (inner) side surface, and the outer (inner) bottom surface is constructed by taking a point as a starting point and sequentially constructing a triangle to another two adjacent points; and the top eave is constructed by constructing a triangle with two corresponding points on the polygon point set of the inner and outer sides of the top eave.

[0008] The step 5 is to perform height interpolation and radius difference interpolation, wherein the height interpolation divides the height of the entire well into six height ratios, i.e. 0, 0.4, 0.5, 0.6, 0.7 and 1.0; and the radius difference interpolation divides the radius difference into six values corresponding to the height ratios, i.e. ΔR, ΔR, 0.75*ΔR, 0.25*ΔR, 0 and 0.

[0009] The step 5 is to perform height interpolation and radius difference interpolation, wherein the height interpolation divides the height of the entire well into six height ratios, i.e. 0, 0.4, 0.5, 0.6, 0.7 and 1.0; and the radius difference interpolation divides the radius difference into six values corresponding to the height ratios, i.e. ΔR, ΔR, 0.75*ΔR, 0.25*ΔR, 0 and 0.

[0010] The step 7 is attribute information, mainly including pipe point number and ID.

[0011] The present application has the following advantages: The automatic modeling and matching of the well of the pipe network accessory can automatically generate well models of different specifications and materials according to the related parameters and material configuration of the well, thereby solving the time-consuming and labor-intensive problem of manual modeling and import by external personnel.

[0012] The automatic modeling and matching of the well of the pipe network accessory can also adaptively match according to the size of the pipe diameter, and is more flexible, intelligent and universal. DETAILED DESCRIPTION

[0013] Figure 1 The present application has the following advantages:

[0014] Figure 2 The present application has the following advantages:

[0015] Figure 3 The present application has the following advantages:

[0016] Figure 4 The present application has the following advantages:

[0017] Figure 5 The present application has the following advantages:

[0018] Figure 6 Generate a rendering for the three-dimensional model of the round well of the application.

[0019] Figure 7 Generate a rendering for the three-dimensional model of the wine bottle well of the application. DETAILED DESCRIPTION

[0020] The application is further described below in conjunction with the accompanying drawings, which are embodiments of the application.

[0021] As shown in the flowchart of the automatic modeling and matching of the pipe network accessory well, it includes the following steps: Figure 1 Step 1, data reading: read the two-dimensional vector point data and associated vector line data, mainly including: the coordinates of the target accessory well, the buried depth, the well chamber material, the well cover material, the well diameter, the well cover diameter, the well neck depth, the pipe diameter of the associated pipeline and other parameters. Step 2, parameter calculation: according to the point data and associated line data of the target well, calculate the well diameter, well neck depth and well depth; take the maximum of the calculated well diameter, the obtained well diameter attribute and the default value to ensure that the generated target well can be normally matched with the pipe network, and the pipeline is wrapped in the well, and the calculation method is as follows:

[0022] Well depth = pipe point buried depth + 0.1m + well wall thickness; Well neck depth = pipe point buried depth - pipe diameter - 0.1m + well wall thickness; Well diameter calculation value = pipe diameter + well wall thickness * 2 + pipe exposed head * 2; Wherein, the well wall thickness is 0.05m, the pipe exposed head is 0.07m, the default value of the well diameter is 0.7m, and the attribute value of the well diameter is obtained in step 1; the diameter of the well takes the maximum of the calculation value, the default value and the attribute value, which ensures the matching with the pipeline and the pipeline is wrapped in the well chamber. Step 3, get the well cover diameter, compare it with the well diameter to determine different well types, if the well diameter is less than or equal to the well cover diameter, then go to step 4 to generate a round well; if the well diameter is greater than the well cover diameter, then go to step 5 to generate a wine bottle well.

[0023]

[0024] ​Step 4, generate a circular well chamber model: create a well chamber material according to the obtained well chamber texture picture; take the coordinates of the pipe point obtained in step 1 as the center center(x, y, z), take the well cover data obtained in step 3 as the diameter to form a circle with a radius r, and divide the entire circular surface 16 into equal parts (the radian value of each part is angle_step = 2π / 16), and calculate the coordinates in_point(x, y, z) of the 17 points of the entire polygonal circular surface in clockwise order (the starting point is coincident, forming a closed polygonal surface); the constructed polygonal point set range includes: the polygonal point set of the lower and upper edges outside the well, the polygonal point set of the lower and upper edges inside the well, the polygonal point set of the inner and outer edges of the well top eaves, the polygonal point set of the outer bottom surface of the well, and the polygonal point set of the inner bottom surface of the well; according to the generated polygonal point set, construct a triangular net, including: for the polygonal point set of the upper and lower edges outside (inside) the well, construct a triangular net according to the two adjacent upper and lower corresponding two vertices in turn, and the result is as follows Figure 2 ; for the outer (inner) bottom surface of the well, always take a point as the starting point, and construct a triangular net with the other two adjacent vertices in turn, and the result is as follows Figure 3 ; for the polygonal point set of the inner and outer edges of the well top eaves, construct a triangular net according to the two adjacent inner and outer corresponding two vertices, and the result is as follows Figure 4 ; calculate the normal and texture coordinates of all generated vertices (some vertex coordinates are the same, but the normals are different because the points are in different triangular surfaces).

[0025] The detailed calculation method of the polygonal point set of the inner lower bottom surface of the well is as follows (due to the coordinate system, the y coordinate of the point represents the elevation): The radian value of the starting calculation point is v_angle = 0, and ∆h = 0; in_point.x = center.x + sin(v_angle) * Radius; in_point.z = center.z + cos(v_angle) * Radius; in_point.y = center.y + ∆h; Since it is clockwise, the next point arc value should be based on the previous point minus each arc value (v_angle = v_angle - angle_step); 16 times in turn, that is, 16 points are obtained, and the first point is additionally added to form a closed polygon surface, obtaining a 17-point polygon point set. In addition, the difference between the outer lower bottom surface of the well and the above-mentioned inner lower bottom surface is that the well radius (Radius) is the well cover radius (r) plus the well wall thickness (0.05 m); the difference between the outer edge of the well top eaves and the above-mentioned inner lower bottom surface is that the well radius (Radius) is the well cover radius (r) plus the well wall thickness (0.05 m), and the well height (Δh) needs to be added to the well depth; the difference between the inner edge of the well top eaves and the above-mentioned inner lower bottom surface is that the well height (Δh) needs to be added to the well depth.

[0026] The method for constructing a triangular mesh of a well is as follows, including bottom surface construction and side surface construction, which are described in detail as follows: outer (inner) lower bottom surface of the well to construct a triangular mesh: the polygon point set of the lower bottom surface is A0, A1...A15, A16 (A0 and A16 coincide), always taking A0 as the starting point, and the triangular meshes constructed in turn are triangle A0A2A1, triangle A0A3A2,..., triangle A0A14A13, and triangle A0A15A14; outer side surface of the well to construct a triangular mesh: the polygon point set of the lower side surface is A0, A1...A15, A16 (A0 and A16 coincide), the polygon point set of the upper side surface is B0, B1...B15, B16 (B0 and B16 coincide), and the triangular meshes constructed in turn are triangle A0A1B0, triangle A1B1B0,..., triangle A15A16B15, and triangle A16B16B15.

[0027] The normal vector of a point is calculated in detail as follows, including the outer side surface, the inner side surface, the outer bottom surface, the inner bottom surface, and the top eaves inner and outer edges: the initial calculation point has an arc value of v_angle = 0, and the arc value is increased or decreased by angle_step each time, and 16 times in turn, that is, 16 points are obtained, and the first point is additionally added to obtain 17 points, which are calculated as follows: out_point.nx = sin(v_angle); out_point.nz = cos(v_angle); out_point.ny = out_point.y; The inner side surface is opposite to the outer side surface, and the normal vector is directly inverted; the outer bottom surface normal vector is directly taken as (0, -1, 0); the inner bottom surface normal vector is directly taken as (0, 1, 0); and the top eaves inner and outer edges normal vectors are directly taken as (0, 1, 0).

[0028] The texture coordinate calculation method of the point is as follows, the range includes the outer side, the inner side, the outer bottom, the inner bottom, and the top eaves inner and outer edges: the texture coordinates of the outer (inner) side, the value of deep is the well depth, angle_step is the radian value of the equal division of the circular surface 16, the traversal index nj of the starting calculation point is 0, and the 17 times (nj takes values of 0, 1,..., 15, 16) are sequentially looped to obtain the texture coordinates of all points of the lower edge (when it is the upper edge of the outer side, the value of deep is 0): out_point.tu = Radius * angle_step * nj; out_point.tv = deep; The texture coordinates of the outer bottom, the inner bottom, and the top eaves inner and outer edges are directly taken as the normal vector values of the points, as follows: out_point.tu = out_point.nx; out_point.tv = out_point.nz; Step 5, generating a wine bottle well chamber model, creating a well chamber material according to the obtained well chamber texture picture; calculating the radius difference (ΔR = R-r) of the well radius (R) and the well cover radius (r), interpolating the height of the well, and interpolating the radius difference of the well and the well cover according to the interpolated height; The height interpolation divides the height of the entire well into 6 height ratios, which are 0, 0.4, 0.5, 0.6, 0.7, and 1.0. Corresponding to the height ratio, the radius difference interpolation divides the radius difference into 6 values corresponding to the height ratio, which are ΔR, ΔR, 0.75*ΔR, 0.25*ΔR, 0, and 0. The interpolation result is as follows: Figure 5 According to the pipe point coordinates, the well diameter, the well cover diameter, the well depth, the well neck depth, the height interpolation, and the radius interpolation, all the vertices of the well chamber are calculated. The polygon point set constructed includes: the outer side of the well from bottom to top, the outer side face polygon point set of each interpolation section is generated in a clockwise direction, the inner side of the well from bottom to top, the inner side face polygon point set of each interpolation section is generated in a clockwise direction, the top eaves inner and outer edge polygon point set is generated, the outer bottom polygon point set is generated, and the inner bottom polygon point set is generated; according to the generated polygon point set, the triangular mesh is constructed in sections according to the height difference, including: for the polygon point set of the outer (inner) side of the well with two adjacent height differences, the triangular mesh is constructed in sequence according to the two corresponding vertices of the upper and lower height differences, and the result is as follows: Figure 2 For the polygon point set of the outer (inner) bottom of the well, the triangular mesh is constructed in sequence with another two adjacent vertices starting from a certain point, and the result is as follows: Figure 3 For the polygon point set of the top eaves inner and outer edge, the triangular mesh is constructed in sequence according to the two corresponding vertices of the adjacent inner and outer edges, and the result is as follows: Figure 4; Calculate the normal and texture coordinates of all generated vertices (some vertex coordinates are the same, but because the point is in a different triangle, the normal is different).

[0029] The calculation method of polygon point set, the construction method of triangular mesh, the normal vector, and the texture calculation are the same as those in step four. The difference from step four is that the depth of the entire well is interpolated according to different heights and radii, so the outer surface of the well must be calculated for each height section of the polygon point set, and the triangular mesh must be constructed for each two adjacent height sections, and the value of the well radius (Radius) is calculated from bottom to top, in turn, as ∆R + r, ∆R + r, 0.75*∆R + r, 0.25*∆R + r, r, r, the value of the height (∆h) is calculated from bottom to top, in turn, as 0, 0.4*well depth, 0.5*well depth, 0.6*well depth, 0.7*well depth, 1.0*well depth, and the value of deep in the texture calculation is from bottom to top, in turn, as 1.0*well depth, 0.7*well depth, 0.6*well depth, 0.5*well depth, 0.4*well depth, 0; Step 6, generating a well cover model: creating a well cover material according to the obtained well cover texture picture; calculating all vertices of the well cover according to the pipe point coordinates, well cover diameter, and well depth, and the constructed polygon point set range includes the polygon point set of the lower and upper edges of the well cover, the polygon point set of the lower bottom surface of the well cover, and the polygon point set of the upper bottom surface of the well cover; constructing a triangular mesh according to the generated polygon point set, including: for the polygon point set of the upper and lower edges of the well cover, constructing a triangular mesh according to two adjacent upper and lower corresponding vertices in turn, and the result is as shown in Figure 2 ; for the lower (upper) bottom surface of the well cover, always taking a point as the starting point, and constructing a triangular mesh with the other two adjacent vertices in turn, and the result is as shown in Figure 3 ; calculating the normal and texture coordinates of all generated vertices (some vertex coordinates are the same, but because the point is in a different triangle, the normal is different). The calculation method of polygon point set, the construction method of triangular mesh, the normal vector, and the texture calculation of the well cover are the same as those described in step four.

[0030] Step 7, hanging related attribute information to obtain the three-dimensional model of the entire well, and displaying through a three-dimensional platform, the three-dimensional display effect of the circular well is as shown in Figure 6 , and the three-dimensional display effect of the wine bottle well is as shown in Figure 7 .

Claims

1. An automated modeling and matching method for accessory wells based on pipeline networks, characterized in that, Includes the following steps: Step 1, Data Reading: Read the two-dimensional vector point data and associated vector line data of the target attachment well; This includes parameters such as the coordinates of the pipe point where the target ancillary well is located, its burial depth, the material of the well chamber, the material of the well cover, the well diameter, the diameter of the well cover, the depth of the well neck, and the diameter of the associated pipelines; Step 2, Parameter Calculation: Based on the point data and associated line data of the target well, calculate the well diameter, well neck depth, and well depth; take the maximum value of the calculated well diameter, the obtained well diameter attribute, and the default value to ensure that the generated target well can be properly matched with the pipeline network and that the pipeline is wrapped inside the well; The well depth is calculated as follows: well depth = pipe burial depth + 0.1m + well wall thickness; Well neck depth = pipe burial depth - pipe diameter - 0.1m + well wall thickness; Well diameter calculation = pipe diameter + well wall thickness * 2 + pipe outcrop * 2; The well wall thickness is 0.05m, the pipe protrusion is 0.07m, and the default well diameter is 0.7m. Step 1 obtains the attribute value of the well diameter. The well diameter is taken as the maximum value among the calculated value, the default value, and the attribute value to ensure that it matches the pipeline and that the well chamber can enclose the pipeline. Step 3: Obtain the manhole cover diameter: If the manhole cover diameter attribute value in Step 1 is not 0, then take the attribute value; otherwise, take the default value of 0.7m. If the diameter of the manhole cover is greater than the diameter of the well, then take the diameter of the well as the manhole cover diameter. By comparing the diameter of the manhole cover with the diameter of the well, if the diameter of the well is less than or equal to the diameter of the manhole cover, proceed to Step 4 to generate a circular well with the same thickness at the top and bottom; if the diameter of the well is greater than the diameter of the manhole cover, proceed to Step 5 to generate a bottle-shaped well that is thinner at the top and thicker at the bottom. Step 4: Generate the circular well chamber model: Create the well chamber material based on the obtained well chamber texture image; calculate all vertices of the well chamber based on the pipe point coordinates, well cover diameter, and well depth, including the polygon point sets of the outer lower and upper edges, the inner lower and upper edges, the inner and outer top edges, the outer bottom surface, and the inner bottom surface; construct a triangular mesh based on the generated vertices, including: meshing the upper and lower vertices of the outer (inner) side; meshing the vertices of the outer (inner) bottom surface; meshing the vertices of the inner and outer edges of the top edge; calculate the normal and texture coordinates of all generated vertices (although some vertex coordinates are the same, their normal and texture coordinates are different because the triangle faces in which the points are located are different); Step 5: Generate the bottle-shaped well chamber model: Create the well chamber material based on the acquired well chamber texture image; calculate the radius difference (∆R=Rr) between the well radius (R) and the well cover radius (r), interpolate the well height, and interpolate the radius difference between the well and the well cover based on the interpolated height; when the radius difference ∆R is less than the default value of 0.3m, the radius difference ∆R is taken as the default value. Based on the pipe point coordinates, well diameter, well cover diameter, well depth, well neck depth, height interpolation, and radius interpolation, calculate all the vertices of the well chamber, including the outer ring, which is generated clockwise from bottom to top. The polygon point sets of each interpolation section are generated clockwise from bottom to top on the outer ring, generating polygon point sets for each interpolation section on the inner side, generating polygon point sets for the inner and outer top eaves, outer bottom surface, and inner bottom surface; based on the generated vertices, triangulation meshes are constructed segmentally according to the height difference, including: meshing of the upper and lower vertices on the outer (inner) side; meshing of the vertices on the outer (inner) bottom surface; meshing of the vertices along the inner and outer edges of the top eaves; the normals (and texture coordinates) of all generated vertices are calculated (although some vertices have the same coordinates, their normals and texture coordinates are different because the triangle faces in which the points are located are different); Step 6: Generate the manhole cover model: Create the manhole cover material based on the obtained manhole cover texture image; calculate all vertices of the manhole cover based on the pipe point coordinates, manhole cover diameter, and manhole depth, including, from bottom to top, clockwise, the polygon point set of the cylindrical side, the polygon point set of the bottom surface, and the polygon point set of the top surface; construct a triangular mesh, including: constructing the mesh of the outer top and bottom vertices, and constructing the mesh of the bottom (top) surface vertices; calculate the texture coordinates of the vertices; the method for generating the polygon point set and constructing the triangular mesh is the same as the method described in Step 4; Step 7: Combining the relevant attribute information from the above steps, obtain the three-dimensional model of the entire well.

2. The automated modeling and matching method for accessory wells based on pipeline networks according to claim 1, characterized in that, The data read in step 1 comes from shapefiles, gdb files, or PostgreSQL data.

3. The automated modeling and matching method for accessory wells based on pipeline networks according to claim 1, characterized in that, The polygon point set in step 4 is centered at the coordinates of the pipe point obtained in step 1 (center(x,y,z)) and with the manhole cover data obtained in step 3 as the diameter, forming a circle with a radius of Radius. The entire circle is divided into 16 equal parts (each part has an angle_step = 2π / 16 radian value). The coordinates of 17 points on the entire polygon circle are calculated clockwise in_point(x,y,z) (the starting points coincide, forming a closed polygon surface). The calculation method is as follows (due to the coordinate system, the y-coordinate of the point represents the elevation): The radian values ​​for the first calculation point are v_angle = 0, ∆h = 0; in_point.x = center.x + sin(v_angle) * Radius; in_point.z = center.z + cos(v_angle) * Radius; in_point.y = center.y + ∆h; Since it's clockwise, the radian value of the next point should be the radian value of each equal division minus the previous point (v_angle = v_angle - angle_step); repeating this 16 times yields 16 points. Adding the first point, a closed polygonal surface is formed, resulting in a polygonal point set of 17 points. Furthermore, the point sets of the outer bottom surface, outer bottom surface, and top edge of the well differ from those of the inner bottom surface mentioned above in whether the radius is increased by the well wall thickness and whether the height is increased by the well depth.

4. The automated modeling and matching method for ancillary wells based on pipeline networks according to claim 1, characterized in that, In step 4, the construction of the triangulation involves constructing triangles on the outer (inner) side by pairwise construction of triangles from the polygon point sets on the upper and lower sides of the outer (inner) side; constructing triangles on the outer (inner) bottom surface by starting from one point and constructing triangles from the other two adjacent points; and constructing triangles on the top edge by pairwise construction of triangles from the polygon point sets on the inner and outer sides of the top edge.

5. The automated modeling and matching method for accessory wells based on pipeline networks according to claim 1, characterized in that, In step 5, the height interpolation and radius difference interpolation are described. The height interpolation divides the height of the entire well into 6 height ratios, namely 0, 0.4, 0.5, 0.6, 0.7, and 1.

0. Corresponding to the height ratio, the radius difference interpolation divides the radius difference into 6 values ​​corresponding to the height ratio, namely ∆R, ∆R, 0.75*∆R, 0.25*∆R, 0, and 0.

6. The automated modeling and matching method for accessory wells based on pipeline networks according to claim 1, characterized in that, In step 5, the segmented construction of the triangular mesh is carried out because the upper and lower radii of the well are different. The entire well body is divided into multiple segments by height interpolation, and triangular meshes are constructed between each height segment to make the modeling more aesthetically pleasing. The method is the same as the triangular mesh construction method in step 4.

7. The automated modeling and matching method for accessory wells based on pipeline networks according to claim 1, characterized in that, The attribute information in step 7 mainly includes the pipe point number and ID.