A pipeline support drawing-based rapid drawing method, system and storage medium
By automatically parsing CAD drawings and geological data, construction drawings for municipal buried pipelines are automatically generated, solving the problems of longitudinal section data extraction and support type selection, and achieving efficient, accurate and consistent generation of construction drawings.
Patent Information
- Application Number
- CN202611053627.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-15
- Publication Date
- 2026-11-24
AI Technical Summary
In the current design of construction drawings for municipal buried pipeline projects, difficulties in extracting longitudinal profile data, inaccurate matching of geological parameters, reliance on manual experience in selecting support types, and inconsistent drawing updates lead to low design efficiency and frequent errors.
By analyzing the ground line, pipe line, and pipe attribute data in CAD drawings, the longitudinal profile foundation data is automatically extracted. Combined with geological drilling parameters, the support type is automatically generated and the CAD blocks are used to generate construction drawings, realizing automated data flow and linked updates of drawings.
It reduced the workload of manual reading and adjustment, improved design efficiency, ensured data accuracy and drawing consistency, and reduced the error rate.
Smart Images

Figure CN123158722A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of construction drawing design technology for municipal buried pipeline engineering, and specifically relates to a rapid drawing generation method, system and storage medium based on pipeline support drawings. Background Technology
[0002] In the construction drawing design stage, municipal water supply, drainage, gas, and heating buried pipeline projects typically require determining the trench support type based on pipeline burial depth, trench excavation depth, geological conditions along the route, groundwater level, and construction safety requirements. This process results in outputs such as support plan layout, typical support cross-sections, detailed node drawings, and quantity statistics tables. Current design processes generally rely on pipeline plan views, longitudinal sections, and geological survey data, with designers manually extracting data, determining support types, verifying against standards, and creating CAD drawings.
[0003] In existing methods, pipeline longitudinal profile data is typically scattered across ground lines, pipe bottom lines, station markings, and pipeline attribute annotations on CAD drawings. Designers need to read information such as ground elevation, pipe bottom elevation, and pipe outer diameter at different mileage points, and calculate the excavation depth in conjunction with the subbase thickness. However, the naming, annotation methods, and polyline drawing methods of CAD layers are not uniform across different projects. The drawings may also contain fitted polylines, spline curves, invalid vertices, or elevation abrupt changes, causing the longitudinal profile data extraction process to rely on manual identification and verification, which can easily lead to data omissions or reading errors.
[0004] Meanwhile, geological data along the pipeline route is typically provided in the form of geological survey reports, borehole columnar sections, or independent tables, lacking a direct link with CAD pipeline drawings. Designers need to manually determine the geological boreholes corresponding to different pipeline mileage sections and map parameters such as groundwater level, cohesion, internal friction angle, and soil weight from the boreholes to the pipeline mileage. For long-distance pipelines or projects with significant variations in geological conditions, manual matching is prone to problems such as inaccurate mileage mapping, unclear geological zoning boundaries, and inconsistent soil layer parameter references.
[0005] Regarding the determination of support type, the existing process typically involves designers making preliminary selections based on excavation depth, groundwater level, and empirical rules, such as slope excavation, retaining walls with cross bracing, channel steel piles, Larssen IV sheet piles, or other support types. While some CAD-aided drafting tools can generate support profiles based on input parameters, they often remain at the level of parametric drafting, failing to establish a continuous process for support selection, embedment depth calculation, heave stability verification, and overall sliding stability verification. This results in a separation between calculation, verification, and drawing.
[0006] For pile-type supports such as channel steel piles and Larssen IV sheet piles, it is usually necessary to back-calculate the embedment depth based on the excavation depth, earth pressure, and groundwater conditions, and then perform stability verification. If the verification does not meet the requirements, it is necessary to increase the embedment depth, adjust the pile type, add internal bracing, or upgrade the support type. In the existing manual workflow, after parameter adjustments, it is also necessary to simultaneously modify the cross-sectional drawings, plan views, detailed node drawings, and quantity statistics tables, which easily leads to problems such as inconsistencies between calculated parameters and drawing annotations, and the support type being adjusted but the quantity not being updated accordingly.
[0007] Furthermore, during the design process of municipal pipeline projects, situations frequently arise such as ground line corrections, pipe bottom elevation adjustments, pipe diameter changes, or the need to supplement geological data. Existing drawing generation methods typically lack the mapping relationship between the original CAD polyline objects and the generated support blocks. When the original data changes, designers need to manually locate the affected pipe sections and revise the drawings and bill of quantities, resulting in significant rework and a high risk of omissions.
[0008] Therefore, the main technical problems to be solved in this application are: how to automatically parse the longitudinal section data in CAD drawings and form standardized data; how to correspond pipeline mileage with geological borehole parameters; how to automatically determine the support type and complete the specification verification based on excavation depth, groundwater level and soil layer parameters; how to drive static or dynamic CAD blocks to generate construction drawings based on the final support parameters; and how to achieve the linkage update of support drawings and engineering quantity statistics table when the original CAD data changes. Summary of the Invention
[0009] The technical problem to be solved by this invention is to provide a rapid drawing generation method, system and storage medium based on pipeline support drawings. This invention automatically extracts the ground elevation, pipe bottom elevation and pipe outer diameter distributed along the pipeline mileage by parsing the ground line layer, pipe bottom layer and pipeline attribute data in CAD drawings, and calculates the excavation depth corresponding to each mileage point. This enables the longitudinal profile foundation data required for pipeline trench support design to be automatically generated from the drawing objects, reducing the workload of manually reading station number, elevation and pipe diameter information.
[0010] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: A rapid drawing generation method based on pipeline support drawings is applied to the automatic generation of construction drawings for municipal buried pipeline trench support. The method includes the following steps: S1. Parsing the ground line layer, pipe bottom line layer, and pipeline attribute data in the CAD drawings, extracting the ground elevation, pipe bottom elevation, and pipe outer diameter distributed along the pipeline mileage, and calculating the excavation depth corresponding to each mileage point to form standardized longitudinal profile data; S2. Reading geological borehole data along the route, interpolating and mapping each mileage point to the soil layer parameters of the corresponding borehole to generate a continuous geological profile that varies with mileage; S3. Based on the excavation depth, groundwater level, and soil layer parameters... S4. Determine the support type for each pipe section according to the preset support selection rules; S5. Perform back calculation of embedment depth and stability verification based on the specifications for pipe sections requiring pile support, and perform support upgrade or parameter correction if the verification does not meet the requirements, and output the final support parameter set; S6. Call static CAD blocks or dynamic CAD blocks according to the support type and the final support parameter set to generate support profile data; S7. Batch put the support profile data into the preset drawing frame template to generate a complete set of construction drawings including support plan layout, typical support profile, node detail drawings and engineering quantity statistics table.
[0011] Preferably, after step S6, a change linkage update step is further included: establishing a two-way mapping relationship between the original polyline object identifier and the generated block entity identifier; when a change in the longitudinal section data in the original CAD drawing is detected, or when the vertex movement, vertex deletion, or elevation modification event of the original polyline is detected, the affected pipe segment and block entity are located according to the two-way mapping relationship, the old block is deleted, and the corresponding block is regenerated by calling the new parameters, so as to realize the linkage update of the drawing and the engineering quantity statistics table.
[0012] Preferably, in step S1, the excavation depth is calculated according to the following formula:
[0013] In the formula, Pipeline mileage; For mileage Excavation depth at the location; For mileage Ground elevation at that location; For mileage The bottom elevation of the pipe at that location; For mileage The thickness of the padding layer at that location.
[0014] The thickness of the padding layer h c (s)The thickness is obtained from the subbase annotation attributes, pipe attribute fields, or project configuration files in the CAD drawings. When the subbase thickness is not included in the CAD drawings, the default subbase thickness entered by the user in the interactive interface is used, or the thickness is automatically assigned according to the preset subbase thickness rules based on the pipe outer diameter, pipe foundation type, and foundation conditions.
[0015] Preferably, in step S1, the pipe attribute data further includes the pipe outer diameter. , For mileage The outer diameter of the corresponding pipe section; the ground elevation. Pipe bottom elevation and pipe outer diameter All of these are obtained by reading the vertex coordinates of CAD polylines, pipe annotation attributes, or block attribute fields.
[0016] Preferably, in step S1, only linear lightweight polylines are processed when parsing the CAD drawing, and spline curves and fitted polylines are filtered out; for elevation changes between adjacent vertices, the elevation difference is calculated according to the following formula:
[0017] In the formula, For the first Pipeline mileage corresponding to each vertex; For the first Pipeline mileage corresponding to each vertex; For the first The difference in ground elevation between each vertex and the previous vertex; For the first Ground elevation at each vertex; For the first Ground elevation at each vertex; For CAD polyline vertex indices; when Exceeding the preset elevation mutation threshold When this happens, the corresponding pipe section will be marked as a data anomaly area and automatic drawing generation will be paused.
[0018] Preferably, before step S1, a layer preprocessing step is included: automatically identifying objects in the CAD drawing whose layer names contain the keywords "ground", "pipe bottom" or "station number"; if no standard layer is identified, an interactive interface pops up to prompt the user to manually specify the corresponding layer, and the layer name specified by the user is saved as a configuration file.
[0019] Preferably, in step S2, the soil parameters include cohesion. internal friction angle Soil weight and groundwater level The interpolation mapping uses the nearest neighbor algorithm, and the calculation formula is as follows:
[0020]
[0021] In the formula, For mileage Corresponding spatial point and the first Euclidean distance between geological boreholes; and mileage The planar coordinates of the corresponding spatial point; and The first Planar coordinates of a geological borehole; Number the geological boreholes; A collection of geological boreholes; For mileage The nearest geological borehole number is located here; and the number is... The geological boreholes correspond to soil layer parameters mapped to mileage. Soil layer parameters at the location.
[0022] Preferably, in step S2, if the nearest geological borehole numbers corresponding to two adjacent mileage points are different, a support zone boundary line is generated between the two mileage points, and the support zone boundary line is used as the segmentation basis for subsequent initial selection of support type, stability verification and engineering quantity statistics.
[0023] Preferably, in step S3, a first depth threshold is set. Second depth threshold ,and ;when When the slope stability coefficient meets the requirements, the mileage is determined. The support type at this location is slope excavation; when At that time, determine the mileage The support structure at this location is a combination of retaining plates and horizontal bracing; when When the groundwater level is higher than the bottom of the trench, the mileage is determined. The support type at this location is Larssen IV type steel sheet piles; when When the groundwater level is lower than the bottom of the trench, the mileage is determined. The support structure at this location is constructed using channel steel piles.
[0024] The slope stability coefficient is obtained by the system calling a preset slope stability calculation method, which includes at least one of the Swedish slice method, the simplified Bishop method, or an equivalent calculation method permitted by the "Technical Specification for Building Slope Engineering". The system calculates the slope stability coefficient based on the excavation depth of the pipe section, the width of the trench bottom, the slope ratio, the groundwater level, the cohesion, the internal friction angle, and the soil weight. Kslope (s) and compare it with the slope stability safety factor limit. K slope,lim Compare; when K slope (s) Not less than K slope,lim When the slope stability coefficient meets the requirements, the bottom elevation of the trench is determined based on the bottom elevation of the pipe, the outer diameter of the pipe, and the thickness of the cushion layer. Whether the groundwater level is higher or lower than the bottom of the trench is determined by comparing the groundwater level elevation with the bottom elevation of the trench.
[0025] Preferably, in step S4, for pipe sections with channel steel piles or Larssen IV type sheet piles as support, the required embedment depth is solved iteratively using the equivalent beam method. The total pile length is calculated using the following formula:
[0026] In the formula, For mileage Total pile length for pile-type support; For mileage Excavation depth at the location; For mileage The required embedment depth is determined by the equivalent beam method and stability verification.
[0027] Preferably, in step S4, the stability verification includes anti-bulging stability verification and overall sliding stability verification; the anti-bulging stability verification satisfies the following conditions:
[0028] The overall sliding stability check meets the following conditions:
[0029] In the formula, For mileage The heave stability safety factor is calculated according to the "Technical Specification for Foundation Pit Support" (JGJ 120); The limit value for the stability safety factor against uplift; For mileage The overall sliding stability safety factor is calculated based on the circular arc sliding strip method. The overall sliding stability safety factor limit is set; if any stability safety factor is less than the corresponding safety factor limit, the stability check is deemed to have failed.
[0030] Preferably, in step S4, the support upgrade or parameter correction includes: when the stability verification of the Larssen IV type steel sheet pile fails, the embedment depth is increased preferentially according to the following formula:
[0031] In the formula, For mileage The required embedding depth after correction; This is the embedment depth amplification factor, and ; For mileage The required embedment depth before correction; if the stability check is still not met after increasing the embedment depth, the support type will be upgraded to a double-row pile or a composite support type with increased number of internal supports.
[0032] Preferably, in step S5, for the slope excavation and retaining plate with cross bracing support type, static CAD blocks are called and the specification text, elevation value, and layer affiliation are updated by modifying the block attribute dictionary; for the channel steel pile and Larssen IV type steel sheet pile support type, dynamic CAD blocks are called and the total pile length is adjusted accordingly. The height stretching parameters of the drive block are updated, and the dashed line spacing and visibility status of the pile segments within the block are also updated.
[0033] Preferably, in step S5, the dynamic block reference is opened in the transaction through the CAD application interface, the dynamic block reference attributes are read, and the numerical attributes corresponding to the stretching action are modified to the target value so that the geometric grip position of the dynamic block matches the final support parameter set.
[0034] Preferably, in step S6, the engineering quantity statistics table is generated in the following way: traversing all generated support profile data, extracting the support type, total pile length, cross brace spacing and cross brace quantity for each pipe section, and generating a partitioned statistics table containing the linear meters of Larsen IV type steel sheet piles, the weight of channel steel walers and the number of cross braces according to the preset quota calculation rules.
[0035] A rapid drawing generation system based on pipeline support drawings employs the aforementioned rapid drawing generation method based on pipeline support drawings. It includes a data parsing module, a geological mapping module, a support decision module, a standard calculation module, a block-driven module, a drawing layout module, and a linked update module, all interacting sequentially. The data parsing module traverses CAD polyline entities and extracts ground elevation, pipe bottom elevation, pipe outer diameter, and mileage data. The geological mapping module reads geological borehole data along the pipeline route and establishes an interpolation mapping relationship between pipeline mileage and soil parameters. The support decision module matches preset rules based on excavation depth, groundwater level, and soil parameters to output the support type. The standard calculation module calculates the support type according to the "Technical Specification for Foundation Pit Support" (JGJ). 120) Perform embedding depth calculation, stability verification and parameter correction; block-driven module, used to handle attribute modification of static CAD blocks and action driving of dynamic CAD blocks; drawing layout module, used to batch insert the generated drawing data into the preset drawing frame template and output a set of construction drawings; linkage update module, used to locate the affected pipe section and trigger the linkage refresh of drawings and engineering quantity statistics table when the original CAD drawings are changed.
[0036] Preferably, the data parsing module is further configured to identify the layer name of the polyline, distinguish between the ground line layer, the pipeline line layer, and the stationing layer; when reading coordinates, it automatically removes invalid vertices with an elevation value of zero or invalid, and sorts the vertices in ascending order of mileage.
[0037] Preferably, the standard calculation module includes an equivalent beam calculation unit, an anti-heave verification unit, an overall sliding verification unit, and a standard database unit; wherein, the equivalent beam calculation unit is used to iteratively solve the pile embedment depth, the anti-heave verification unit is used to calculate the anti-heave stability safety factor, the overall sliding verification unit is used to verify the overall stability using the circular arc sliding strip method, and the standard database unit is used to store the soil physical and mechanical index limits and safety factor limits in JGJ 120 standard.
[0038] Preferably, the block driving module includes a static block attribute modification unit, a dynamic block transaction processing unit, and a visibility state switching unit; the dynamic block transaction processing unit is used to open a dynamic block reference in a CAD transaction, obtain the dynamic block reference attributes, and modify the numerical attributes corresponding to the stretching action to achieve parametric adjustment of geometric dimensions.
[0039] Preferably, it also includes a user interface module, which is used to display the support selection rule configuration interface, receive user instructions to modify the support type activation status and safety factor limit, and transmit the modified configuration parameters to the support decision module and the standard calculation module.
[0040] A computer device includes 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 rapid drawing generation method based on pipeline support drawings described above.
[0041] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the rapid drawing generation method based on pipeline support drawings described above.
[0042] The present invention can achieve the following beneficial effects: 1. This invention automatically extracts the ground elevation, pipe bottom elevation, and pipe outer diameter distributed along the pipeline mileage by parsing the ground line layer, pipe bottom layer, and pipe attribute data in CAD drawings, and calculates the excavation depth corresponding to each mileage point. This enables the longitudinal profile foundation data required for pipeline trench support design to be automatically generated from the drawing objects, reducing the workload of manually reading station number, elevation, and pipe diameter information.
[0043] 2. This invention performs layer preprocessing before parsing CAD drawings, and can automatically identify layers containing keywords such as "ground", "pipe bottom" or "station number". When a standard layer is not identified, the user can specify the corresponding layer through the interactive interface and save the configuration file, so that the method can adapt to the situation where the layer naming is inconsistent in different design units and different projects.
[0044] 3. When parsing CAD polylines, this invention only processes linear lightweight polylines and filters spline curves and fitted polylines. At the same time, it detects elevation changes between adjacent vertices. When the elevation difference exceeds a preset threshold, the corresponding pipe segment is marked as a data anomaly area and automatic drawing is paused. This can reduce the risk of erroneous longitudinal profile data directly entering the support calculation and construction drawing generation process.
[0045] 4. This invention reads geological borehole data along the pipeline route and establishes an interpolation mapping relationship for soil parameters based on the spatial distance between pipeline mileage points and geological boreholes. This allows parameters such as cohesion, internal friction angle, soil weight, and groundwater level in the geological boreholes to be automatically mapped to pipeline mileage, reducing the correspondence errors that occur when manually matching geological boreholes with pipeline sections.
[0046] 5. When the nearest geological borehole number corresponding to adjacent mileage points changes, the present invention automatically generates the support zone boundary line and uses the boundary line as the basis for subsequent preliminary selection of support type, stability verification and engineering quantity statistics, so that the support zone can reflect the changes in geological conditions along the line and reduce the possibility of using the same support parameters in different geological sections.
[0047] 6. Based on the excavation depth, groundwater level and soil layer parameters, this invention determines the support type, such as slope excavation, retaining plate with cross bracing, channel steel pile or Larssen IV type steel sheet pile, according to the preset support selection rules. This allows the initial selection of support schemes to be completed automatically by standardized data and rules, reducing the selection differences caused by relying solely on the experience judgment of designers.
[0048] 7. This invention performs back calculation of the embedment depth of pile-type support pipe sections such as channel steel piles and Larssen IV type steel sheet piles, and performs verification in combination with anti-heave stability verification and overall sliding stability verification, so that the support parameter generation process is connected with the standard calculation process, avoiding the problem of only generating graphics without stability verification.
[0049] 8. When the stability verification does not meet the requirements, the present invention automatically increases the embedment depth, upgrades the support type, or corrects the internal support parameters, and re-outputs the final support parameter set, so that the support design forms a closed-loop process of "initial selection - verification - correction", reducing the workload of manually adjusting the calculation parameters and drawing parameters repeatedly.
[0050] 9. This invention calls static or dynamic CAD blocks for different support types. For slope excavation and retaining plate with cross bracing, the specification text, elevation value and layer affiliation are updated by modifying the static block attributes. For channel steel piles and Larssen IV type steel sheet piles, the geometric size of the blocks is changed by the stretching parameters of the dynamic blocks, so that the support blocks can be consistent with the final support parameter set.
[0051] 10. This invention opens the dynamic block reference in the transaction through the CAD application programming interface, reads and modifies the numerical attributes corresponding to the stretching action, and updates the dashed line interval and visibility status, so that the pile length, waler, cross brace and node display of the dynamic block can be parametrically adjusted, reducing the manual stretching and manual annotation operations in the pile support section drawing.
[0052] 11. This invention batch-inserts the generated support profile data into a preset drawing frame template, which can generate support plan layout, typical support profile, node detail drawings and engineering quantity statistics table at one time, so that pipeline support construction drawing results can be output as a set, reducing the inconsistency of content between different drawings caused by manual drawing.
[0053] 12. This invention extracts the support type, total pile length, cross brace spacing and number of cross braces by traversing the generated support profile data, and generates a quantity statistics table according to the preset quota calculation rules, so that the quantity of Larsen IV type steel sheet piles, the weight of channel steel walers and the number of cross braces can be generated synchronously with the drawing parameters.
[0054] 13. This invention establishes a two-way mapping relationship between the original polyline object identifier and the generated block entity identifier. When the ground line, pipe line, or elevation data changes, it can locate the affected pipe section and block entity, and regenerate the corresponding block and engineering quantity statistics table, reducing the amount of manual rework after the longitudinal section adjustment.
[0055] 14. This invention enables the coordinated operation of a data parsing module, a geological mapping module, a support decision-making module, a standard calculation module, a block-driven module, a drawing layout module, and a linkage update module to form a continuous automated process for municipal buried pipeline trench support construction drawings, from basic data extraction, geological parameter matching, support parameter calculation to CAD drawing generation, thereby improving the efficiency of support construction drawing generation and the consistency of drawing parameters. Attached Figure Description
[0056] The present invention will be further described below with reference to the accompanying drawings and embodiments: Figure 1 This is a schematic diagram of the module structure of the rapid drawing generation system based on pipeline support drawings of the present invention; Figure 2 This is a flowchart illustrating the overall process of the rapid drawing generation method based on pipeline support drawings of the present invention. Figure 3 This is a schematic diagram of the mapping between pipeline mileage points and geological boreholes in this invention; Figure 4 This is a schematic diagram of the geological borehole profile and soil layer parameter mapping of the present invention; Figure 5 This is a schematic diagram of CAD longitudinal section data analysis and elevation anomaly identification according to the present invention; Figure 6 This is a schematic diagram of the output of the slope excavation and support cross-section block of the present invention; Figure 7 This is a schematic diagram of the cross-sectional view of the retaining plate and cross bracing of the present invention. Figure 8 This is a schematic diagram of the output of the cross-sectional view of the Larsen IV type steel sheet pile support of the present invention; Figure 9 This is a schematic diagram of the planar layout and cross-sectional index of the support zone of the present invention.
[0057] In the diagram: Y indicates that the standard calculation or stability verification has passed; N indicates that the standard calculation or stability check failed; i represents the i-th pipeline mileage point, pipeline segment, or support zone number, where i is a natural integer; j represents the number of the j-th geological borehole, where j is a natural integer; P iThis represents the final support parameter set corresponding to the i-th pipe segment or the i-th support zone. The final support parameter set includes at least one of the following: support type, excavation depth, embedment depth, total pile length, cross brace spacing, number of cross braces, stability safety factor, and block driving parameters. H represents the excavation depth; t e q represents the required embedment depth of the pile support; B is Figures 6 to 8 The width in the middle indicates the bottom width of the trench or the net width within the support structure; Figure 9 The section indices A, B, and C in the text only represent index identifiers for different typical sections; H1 represents the vertical distance between the current ground level and the first horizontal brace or the first control elevation; H2 represents the vertical distance between two adjacent horizontal braces, or the vertical distance between the first horizontal brace and the second horizontal brace; H3 represents the vertical distance between the lower horizontal brace and the bottom of the groove; H4 indicates the depth of the pile embedded in the soil below the bottom of the trench; C i C1 represents the number of the i-th geological borehole; C2, C3 represent the 1st, 2nd, and 3rd geological boreholes, respectively. S i This represents the ith pipeline mileage point or the ith pipeline station number; h0 represents the groundwater level elevation; h1 represents the top surface elevation of the first soil layer or the current ground elevation; h2 represents the top surface elevation of the second soil layer; h3 represents the top surface elevation of the third soil layer. X i X1 represents the name of the i-th soil layer; X2, X3 represent the names of the 1st, 2nd, and 3rd soil layers, respectively. c i c1 represents the cohesion of the i-th soil layer; c2, c3 represent the cohesion of the 1st, 2nd, and 3rd soil layers, respectively. γ i γ1 represents the soil weight of the i-th soil layer; γ2, γ3 represent the soil weights of the 1st, 2nd, and 3rd soil layers, respectively. φ i The internal friction angle of the i-th soil layer is represented by ψ; ψ is the graphic symbol used to represent the internal friction angle in the attached figure, and the two have the same meaning. D i This represents the planar distance between the i-th pipeline mileage point and the corresponding geological borehole; x i y i Represents the planar coordinates of the i-th pipeline mileage point; x j y jrepresents the plane coordinates of the j-th geological borehole; Δh represents the difference in ground elevation between adjacent pipeline mileage points; 0+124, 0+142, 0+170 represent pipeline stake numbers or pipeline mileage positions; 1.52, 1.38, 2.37 represent the ground elevation values at the corresponding pipeline stake numbers; 0.72, 0.67, 0.59 represent the pipe bottom elevation values at the corresponding pipeline stake numbers; 1:m represents the slope ratio of sloping excavation; Sloping excavation refers to the support type of sloping excavation; Timber sheet pile with horizontal strut refers to the support type of timber sheet pile paired with horizontal struts; Channel steel pile refers to the support type of channel steel piles; Both Larssen type IV steel sheet pile and type IV Larssen steel sheet pile refer to the support type of Larssen type IV steel sheet piles; Waling beam refers to the horizontal load-bearing component arranged longitudinally along the trench and used to transmit the reaction force of horizontal struts; Horizontal strut, horizontal strut rod, and support all refer to the horizontal support component installed between the support structures on both sides; Square timber and square wood both refer to the wooden component used to support or connect timber sheet piles and horizontal struts; Timber sheet pile and earth retaining member both refer to the plate-shaped support component installed on the side wall of the trench for retaining soil and stabilizing the trench wall; Vertical wale refers to the vertical load-bearing component arranged vertically and used to support timber sheet piles or horizontal struts; Existing ground refers to the original ground line before trench excavation; Pipe bottom line refers to the line in the CAD longitudinal section view that represents the change in the inner bottom of the pipeline or the elevation of the pipe bottom; Ground line refers to the line in the CAD longitudinal section view that represents the change in ground elevation along the pipeline direction; Pipeline axis refers to the projection line of the pipeline centerline in the plan view; Abnormal point refers to the vertex of a CAD polyline where the elevation difference between adjacent vertices exceeds a preset elevation mutation threshold; Abnormal area refers to the pipeline section range where automatic drawing is suspended due to elevation mutations, invalid vertices, or data anomalies; Support zoning boundary line refers to the zoning boundary formed by changes in the number of the nearest geological borehole, support type, or excavation parameters; Section index refers to the identifier in the support layout plan that points to the corresponding typical support section view; Quantity statistics table refers to the statistical table automatically generated based on the support type, total pile length, horizontal strut spacing, and number of horizontal struts of each pipeline section. Detailed Description of the Embodiments
[0058] As Figures 1 to 9As shown, this invention provides a rapid drawing generation method based on pipeline support drawings, applied to the automatic generation of construction drawings for municipal buried pipeline trench support. This method uses the ground line layer, pipeline bottom line layer, and pipeline attribute data from CAD drawings as a foundation, combined with geological borehole data along the pipeline route. It sequentially performs standardized longitudinal profile data generation, continuous geological profile generation, support type determination, embedment depth back-calculation, stability verification, CAD block-driven processing, and generation of a complete set of construction drawings. For cases where the original CAD drawings have changed, the method also utilizes the bidirectional mapping relationship between the original polyline object identifier and the generated block entity identifier to perform linked updates on the affected pipe sections and corresponding block entities.
[0059] In this embodiment, pipeline mileage is used to characterize the location along the pipeline centerline; standardized longitudinal profile data includes ground elevation, pipe bottom elevation, pipe outer diameter, bedding layer thickness, and excavation depth distributed along the pipeline mileage; continuous geological profiles include cohesion, internal friction angle, soil weight, and groundwater level corresponding to each mileage point; the final support parameter set includes at least one of the following: support type, excavation depth, required embedment depth, total pile length, cross brace spacing, number of cross braces, stability safety factor, and block-driven parameters. The CAD blocks include static CAD blocks for slope excavation and retaining plate with cross braces, and dynamic CAD blocks for channel steel piles and Larssen IV type steel sheet piles.
[0060] Before step S1, a layer preprocessing step is performed. The system automatically identifies objects in the CAD drawings whose layer names contain the keywords "ground," "pipe bottom," or "station number," and establishes candidate sets for ground line layers, pipe bottom layers, and station number layers, respectively. If a standard layer can be identified, the layer to be parsed is determined according to a preset priority; if no standard layer is identified, an interactive interface pops up prompting the user to manually specify the corresponding layer, and the user-specified layer name is saved as a configuration file for use in subsequent similar projects. This layer preprocessing step is used to reduce the impact of inconsistent layer naming among different design units on the automatic parsing process.
[0061] S1. Analyze the ground line layer, pipe bottom line layer and pipe attribute data in the CAD drawings, extract the ground elevation, pipe bottom elevation and pipe outer diameter distributed along the pipeline mileage, and calculate the excavation depth corresponding to each mileage point to form standardized longitudinal profile data.
[0062] Specifically, the system traverses the polyline entities in the CAD drawings, processing only linear lightweight polylines and filtering spline curves and fitted polylines. For linear lightweight polylines in the ground line layer, it reads the coordinates of each vertex and the corresponding elevation field, forming a ground elevation sequence in ascending order of mileage. For linear lightweight polylines in the pipe bottom line layer, it reads the coordinates of each vertex and the corresponding elevation field, forming a pipe bottom elevation sequence based on the same mileage benchmark. Pipe attribute data is obtained by reading the CAD polyline vertex coordinates, pipe annotation attributes, or block attribute fields, including the pipe outer diameter.
[0063] The excavation depth is calculated using the following formula:
[0064] In the formula, Pipeline mileage; For mileage Excavation depth at the location; For mileage Ground elevation at that location; For mileage The bottom elevation of the pipe at that location; For mileage The thickness of the padding layer at that location.
[0065] The thickness of the padding layer h c (s) The thickness is obtained from the subbase annotation attributes, pipe attribute fields, or project configuration files in the CAD drawings. When the subbase thickness is not included in the CAD drawings, the default subbase thickness entered by the user in the interactive interface is used, or the thickness is automatically assigned according to the preset subbase thickness rules based on the pipe outer diameter, pipe foundation type, and foundation conditions.
[0066] The outer diameter of the pipe is denoted as ,in, For mileage The system records the outer diameter of the corresponding pipe segment. For pipe segments where the outer diameter remains unchanged, the system assigns the same value to the outer diameter of each mileage point within that segment. For pipe segments where the pipe diameter changes, the system uses the change-diameter location in the pipe attribute field as the segment boundary and records the outer diameter of each segment separately.
[0067] When parsing CAD drawings, abrupt changes in elevation between adjacent vertices are detected. The elevation difference is calculated using the following formula:
[0068] In the formula, For the first Pipeline mileage corresponding to each vertex; For the first Pipeline mileage corresponding to each vertex; For the first The difference in ground elevation between each vertex and the previous vertex; For the first Ground elevation at each vertex; For the first Ground elevation at each vertex; This refers to the vertex number of a CAD polyline.
[0069] when Exceeding the preset elevation mutation threshold When this happens, the corresponding pipe section will be marked as a data anomaly area and automatic drawing generation will be paused; among which, A preset elevation change threshold is set. For marked data anomaly areas, the system displays the abnormal mileage range, abnormal vertex number, elevation difference before and after, and associated CAD object identifier in the interactive interface. Subsequent steps will only proceed after the designer confirms or corrects the information.
[0070] S2. Read the geological borehole data along the route, interpolate and map the soil layer parameters of each mileage point to the corresponding borehole, and generate a continuous geological profile that changes with the mileage.
[0071] Specifically, the system reads geological borehole data along the pipeline route. This data includes the borehole number, borehole planar coordinates, soil layer boundary depth, cohesion, internal friction angle, soil weight, and groundwater level. For each pipeline mileage point, the system uses a nearest neighbor algorithm to determine the corresponding geological borehole based on the Euclidean distance between the spatial coordinates of that mileage point and the planar coordinates of each geological borehole, and then maps the soil layer parameters of that borehole to that mileage point.
[0072] The formula for the nearest neighbor algorithm is:
[0073]
[0074] In the formula, For mileage Corresponding spatial point and the first Euclidean distance between geological boreholes; and mileage The planar coordinates of the corresponding spatial point; and The first Planar coordinates of a geological borehole; Number the geological boreholes; A collection of geological boreholes; For mileage The nearest geological borehole number.
[0075] The system will number as The geological boreholes correspond to soil layer parameters mapped to mileage. Soil layer parameters at the location. If the nearest geological borehole numbers corresponding to two adjacent mileage points are different, a support zone boundary line is generated between the two mileage points, and this support zone boundary line is used as the segmentation basis for subsequent initial selection of support type, stability verification, and engineering quantity statistics. Through the above processing, the pipeline longitudinal profile data and the geological borehole data form a continuous geological profile under a unified mileage benchmark.
[0076] S3. Based on the excavation depth, groundwater level, and soil parameters, determine the support type for each pipe section according to the preset support selection rules.
[0077] Specifically, the system reads mileage. Excavation depth at the location The system considers groundwater level, cohesion, internal friction angle, and soil weight, and performs initial selection using preset support selection rules. These preset support selection rules include a first depth threshold. Second depth threshold ,and ;in, The first depth threshold, This is the second depth threshold.
[0078] when When the slope stability coefficient meets the requirements, the mileage is determined. The support type at this location is slope excavation. At that time, determine the mileage The support structure at this location consists of retaining walls combined with horizontal bracing. When the groundwater level is higher than the bottom of the trench, the mileage is determined. The support type at this location is Larssen IV type steel sheet piles. When the groundwater level is lower than the bottom of the trench, the mileage is determined. The support structure at this location is constructed using channel steel piles.
[0079] The slope stability coefficient is obtained by the system calling a preset slope stability calculation method, which includes at least one of the Swedish slice method, the simplified Bishop method, or an equivalent calculation method permitted by the "Technical Specification for Building Slope Engineering". The system calculates the slope stability coefficient based on the excavation depth of the pipe section, the width of the trench bottom, the slope ratio, the groundwater level, the cohesion, the internal friction angle, and the soil weight. K slope (s) and compare it with the slope stability safety factor limit. K slope,lim Compare; when K slope (s) Not less than Kslope,lim When the slope stability coefficient meets the requirements, the bottom elevation of the trench is determined based on the bottom elevation of the pipe, the outer diameter of the pipe, and the thickness of the cushion layer. Whether the groundwater level is higher or lower than the bottom of the trench is determined by comparing the groundwater level elevation with the bottom elevation of the trench.
[0080] During the initial selection of support type, the system also combines soil parameters to merge pipe sections for continuity. For adjacent pipe sections with the same support type, the same source of soil parameters, and an excavation depth difference not exceeding the preset allowable range, the system merges the adjacent pipe sections into the same support zone; for pipe sections with different support types, different recent geological borehole numbers, or data anomaly markers, the system maintains independent zones to ensure the accuracy of subsequent specification calculations and engineering quantity statistics.
[0081] S4. Perform back calculation of embedment depth and stability verification based on the standard for pipe sections that require pile support, and perform support upgrade or parameter correction if the verification does not meet the requirements, and output the final support parameter set.
[0082] For pipe sections supported by channel steel piles or Larssen IV sheet piles, the system uses the equivalent beam method iteratively to solve for the required embedment depth, and calculates the total pile length of the pile support based on the excavation depth and the required embedment depth. The total pile length is calculated according to the following formula:
[0083] In the formula, For mileage Total pile length for pile-type support; For mileage Excavation depth at the location; For mileage The required embedment depth is determined by the equivalent beam method and stability verification.
[0084] Stability verification includes anti-heave stability verification and overall sliding stability verification. Anti-heave stability verification must meet the following conditions:
[0085] The overall sliding stability check meets the following conditions:
[0086] In the formula, For mileage The heave stability safety factor is calculated according to the "Technical Specification for Foundation Pit Support" (JGJ 120); The limit value for the stability safety factor against uplift; For mileage The overall sliding stability safety factor is calculated based on the circular arc sliding strip method. This is the limit value for the overall sliding stability safety factor.
[0087] When any stability safety factor is less than the corresponding safety factor limit, the stability verification is deemed unsuccessful, and support upgrades or parameter corrections are implemented. For Larssen IV type sheet piles that fail the stability verification, the system prioritizes increasing the embedment depth. The required embedment depth after correction is calculated using the following formula:
[0088] In the formula, For mileage The required embedding depth after correction; This is the embedment depth amplification factor, and ; For mileage The required embedding depth before correction.
[0089] If the stability check is still not met after increasing the embedment depth, the support type will be upgraded to a double-row pile or a composite support type with increased internal bracing. For pipe sections that fail the channel steel pile check, the system will upgrade them to Larssen IV type steel sheet pile or a composite support type according to the preset support upgrade rules. After completing the support upgrade or parameter correction, the system will re-execute the embedment depth back calculation, heave stability check, and overall sliding stability check until the final support parameter set that meets the requirements is output.
[0090] S5. Based on the support type and the final support parameter set, call static CAD blocks or dynamic CAD blocks to generate support profile data.
[0091] For slope excavation and retaining plate with cross bracing support, the system calls static CAD blocks and updates the specification text, elevation values, and layer affiliation by modifying the block attribute dictionary. Static CAD blocks are used to represent support types with relatively fixed geometry, where drawing adaptation is mainly achieved through text annotations and attribute field changes.
[0092] For the support type of channel steel piles and Larssen IV type steel sheet piles, the system calls up dynamic CAD blocks and adjusts them according to the total pile length. The system drives the height stretching parameters of the dynamic block and simultaneously updates the dashed line spacing and visibility status of the pile segments within the block. This ensures that the pile height, support location, waler annotations, and node detail references in the dynamic block remain consistent with the final support parameter set.
[0093] During the dynamic block-driven process, the system opens the dynamic block reference within the transaction through the CAD application programming interface, reads the dynamic block reference attributes, and modifies the numerical attributes corresponding to the stretching action to the target values, ensuring that the geometric grip positions of the dynamic block match the final support parameter set. Before committing the transaction, the system checks the layer, scale, rotation angle, attribute fields, and visibility status of the block reference; if the check passes, the transaction is committed and support profile metadata is generated; if the check fails, the transaction is rolled back and an error log is output.
[0094] S6. Batch import the support section data into the preset drawing frame template to generate a complete set of construction drawings including support plan layout, typical support section, node detail drawings and engineering quantity statistics table.
[0095] Specifically, the system generates a support plan layout based on the pipe section mileage, support type, and support zone boundary line; generates a typical support profile based on the final support parameter set of each support zone; generates a node detail drawing by calling the corresponding node library according to the support type; and batches the above-mentioned map data into the map frame template according to the map size, scale, title bar field, and layer rules of the preset map frame template.
[0096] The quantity statistics table is generated as follows: All generated support profile data is traversed to extract the support type, total pile length, cross brace spacing, and cross brace quantity for each pipe section. Based on pre-set quota calculation rules, a zonal statistics table is generated, containing the linear meters of Larssen IV type steel sheet piles, the weight of channel steel walers, and the number of cross braces. This zonal statistics table corresponds to the support zonal boundary lines, enabling designers to verify quantities according to geological zoning, support type zoning, or mileage intervals.
[0097] Following step S6, the change linkage update step is executed. The system establishes a two-way mapping relationship between the original polyline object identifier and the generated block entity identifier. When a change in the longitudinal section data in the original CAD drawing is detected, or when events such as vertex movement, vertex deletion, or elevation modification of the original polyline are detected, the system locates the affected pipe segment and block entity according to the two-way mapping relationship, deletes the old block, and regenerates the corresponding block using the new parameters, thereby achieving linkage updates between the drawing and the quantity statistics table.
[0098] During the coordinated update process, the system prioritizes recalculating the excavation depth, geological mapping results, support type, embedment depth, and stability safety factor of the affected pipe section, and regenerates the corresponding support profile metadata. When the support type of the affected pipe section changes, the system synchronously updates the support plan layout, typical support profile, node detail drawings, and engineering quantity statistics table; when only the elevation value or block attribute changes, the system prioritizes modifying the corresponding block attribute dictionary or dynamic block parameters to reduce unnecessary full-map redrawing.
[0099] The present invention also provides a rapid drawing system based on pipeline support drawings, which adopts the above-mentioned rapid drawing method based on pipeline support drawings and includes a data parsing module, a geological mapping module, a support decision module, a standard calculation module, a block-driven module, a drawing layout module, and a linkage update module that are interactively linked in sequence.
[0100] The data parsing module is used to traverse CAD polyline entities and extract ground elevation, pipe bottom elevation, pipe outer diameter, and mileage data. The module also identifies the polyline layer name, distinguishing between ground line layers, pipe bottom line layers, and stationing layers; when reading coordinates, it automatically removes invalid vertices with zero or invalid elevation values and sorts the vertices in ascending order of mileage.
[0101] The geological mapping module reads geological borehole data along the pipeline route and establishes an interpolation mapping relationship between pipeline mileage and soil parameters. The support decision module matches preset rules based on excavation depth, groundwater level, and soil parameters to output the support type. The standard calculation module performs embedment depth calculation, stability verification, and parameter correction according to the "Technical Specification for Foundation Pit Support" (JGJ 120).
[0102] The standard calculation module includes an equivalent beam calculation unit, a heave resistance verification unit, an overall sliding verification unit, and a standard database unit. The equivalent beam calculation unit is used to iteratively solve for the pile embedment depth; the heave resistance verification unit is used to calculate the heave stability safety factor; the overall sliding verification unit is used to verify the overall stability using the circular arc sliding slice method; and the standard database unit stores the soil physical and mechanical property limits and safety factor limits from JGJ 120 standard.
[0103] The block-driven module handles attribute modification of static CAD blocks and action-driven operation of dynamic CAD blocks. It includes a static block attribute modification unit, a dynamic block transaction processing unit, and a visibility state switching unit. The dynamic block transaction processing unit opens dynamic block references within CAD transactions, retrieves their attributes, and modifies the numerical attributes corresponding to the stretching action to achieve parametric adjustment of geometric dimensions. The visibility state switching unit switches the visibility state of dynamic blocks based on support type, pile type, and node detail type.
[0104] The drawing layout module is used to batch insert the generated drawing data into a preset drawing frame template and output a complete set of construction drawings. The linkage update module is used to locate the affected pipe sections and trigger a linkage update of the drawings and engineering quantity statistics table when the original CAD drawings are changed. The system also includes a user interface module, which is used to display the support selection rule configuration interface, receive user instructions to modify the support type activation status and safety factor limit, and transmit the modified configuration parameters to the support decision module and the specification calculation module.
[0105] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the above-described rapid drawing generation method based on pipeline support drawings.
[0106] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described rapid drawing generation method based on pipeline support drawings. The computer-readable storage medium may be a hard disk, solid-state drive, read-only memory, random access memory, removable memory, or other media capable of storing computer programs.
[0107] Example 1: This embodiment takes a municipal drainage pipeline project as an example and quickly generates construction drawings for the pipeline trench support within the range of chainage 0+000 to 0+200.
[0108] First, the system reads the ground line layer, pipe bottom line layer, and station layer from the CAD drawings. The ground line layer includes vertices such as station numbers 0+124, 0+142, and 0+170, while the pipe bottom line layer includes the pipe bottom elevation at the corresponding station. The system only parses linear lightweight polylines, reading vertices from smallest to largest mileage and performing abrupt elevation changes. When the difference between the ground elevation at station 0+170 and the previous vertex exceeds a preset elevation change threshold, this location is marked as a data anomaly, and automatic drawing generation for that pipe segment is paused. After the designer confirms and corrects the elevation, the system recalculates the excavation depth for that pipe segment.
[0109] Subsequently, the system reads the plane coordinates and soil parameters of geological boreholes C1, C2, and C3 along the route. For each mileage point, the system uses the nearest neighbor algorithm to calculate the Euclidean distance between it and each geological borehole, and maps the soil parameters of the nearest geological borehole to that mileage point. If the nearest geological borehole corresponding to an adjacent mileage point changes from C2 to C3, a support zone boundary line is generated between the corresponding mileage points, which serves as the segmentation basis for subsequent support selection and engineering quantity statistics.
[0110] Next, the system performs a preliminary selection of support type based on the excavation depth, groundwater level, and soil parameters of each zone. For pipe sections with a small excavation depth and a slope stability coefficient that meets the requirements, slope excavation is selected; for pipe sections with a medium excavation depth, retaining plates combined with cross bracing are selected; for pipe sections with a large excavation depth and a groundwater level higher than the bottom of the trench, Larssen type IV steel sheet piles are selected; and for pipe sections with a large excavation depth and a groundwater level lower than the bottom of the trench, channel steel piles are selected.
[0111] For pipe sections identified as Larssen IV type sheet piles, the system invokes the standard calculation module to iteratively solve for the required embedment depth using the equivalent beam method, and further performs uplift stability verification and overall sliding stability verification. When any stability safety factor is lower than the corresponding safety factor limit, the system first corrects the required embedment depth according to the embedment depth increase factor; if the requirements are still not met after correction, the support type is upgraded to a composite support type, and the verification is re-executed.
[0112] After the final support parameter set is output, the system calls the block-driven module. For slope excavation and retaining plate with cross bracing, static CAD blocks are called and the specification text, elevation values, and layer assignments are updated. For channel steel piles and Larssen IV type steel sheet piles, dynamic CAD blocks are called, the block height stretching parameters are driven according to the total pile length, and the pile segment dashed line intervals and visibility status are updated. The generated support profile metadata is batch-placed into a preset frame template to form a support plan layout, typical support profile, node detail drawings, and engineering quantity statistics table.
[0113] When designers subsequently adjust the vertices of the pipeline baseline or ground line polyline, the linked update module locates the affected pipeline segment based on the two-way mapping relationship between the original polyline object identifier and the generated block entity identifier, deletes the old block, and regenerates the corresponding block using the new parameters, while simultaneously refreshing the engineering quantity statistics table. This method reduces manual rework caused by longitudinal section adjustments and improves the efficiency and consistency of pipeline support construction drawings.
[0114] The above implementation method is illustrated using a municipal drainage pipeline trench support construction drawing as an example. For municipal water supply, gas, heating, or other buried pipeline projects, the same data analysis, geological mapping, support decision-making, standard calculation, block-driven, and drawing layout process can be adopted, and the support selection rules, stability safety factor limits, and CAD block library can be adjusted according to engineering specifications and drawing templates.
Claims
1. A rapid drawing method based on pipe support drawing, applied to the automatic generation of municipal buried pipe trench support construction drawing, characterized in that, Includes the following steps: S1. Analyze the ground line layer, pipe bottom line layer and pipe attribute data in the CAD drawings, extract the ground elevation, pipe bottom elevation and pipe outer diameter distributed along the pipeline mileage, and calculate the excavation depth corresponding to each mileage point to form standardized longitudinal profile data. S2. Read the geological borehole data along the route, interpolate and map the soil layer parameters of each mileage point to the corresponding borehole, and generate a continuous geological profile that changes with mileage. S3. Based on the excavation depth, groundwater level, and soil parameters, determine the support type for each pipe section according to the preset support selection rules; S4. Perform back calculation of embedment depth and stability verification based on the standard for pipe sections that require pile support, and perform support upgrade or parameter correction if the verification does not meet the requirements, and output the final support parameter set. S5. Based on the support type and the final support parameter set, call static CAD blocks or dynamic CAD blocks to generate support profile data. S6. Batch import the support section data into the preset drawing frame template to generate a complete set of construction drawings including support plan layout, typical support section, node detail drawings and engineering quantity statistics table.
2. The method of claim 1, wherein, After step S6, a change linkage update step is also included: establishing a two-way mapping relationship between the original polyline object identifier and the generated block entity identifier; when a change in the longitudinal section data in the original CAD drawing is detected, or when the vertex movement, vertex deletion or elevation modification event of the original polyline is detected, the affected pipe segment and block entity are located according to the two-way mapping relationship, the old block is deleted and the corresponding block is regenerated by calling the new parameters, so as to realize the linkage update of the drawing and the engineering quantity statistics table.
3. The method of claim 1, wherein, In step S1, the excavation depth is calculated according to the following formula: ; wherein is the pipeline mileage; is the mileage is the excavation depth at the mileage; is the mileage is the ground elevation at the mileage; is the pipeline mileage; is the pipe bottom elevation at the mileage; is the mileage is the bedding thickness at the mileage; The mat layer thickness h c (s) Obtained from mat layer annotation attribute, pipe attribute field or project configuration file in CAD drawing; when mat layer thickness is not contained in CAD drawing, default mat layer thickness input by user in interactive interface is adopted, or mat layer thickness is automatically assigned according to preset mat layer thickness rule based on pipe outer diameter, pipe foundation type and ground condition.
4. The rapid drawing generation method based on pipeline support drawings according to claim 3, characterized in that, In step S1, the pipe attribute data also includes the outer diameter of the pipe. , For mileage The outer diameter of the corresponding pipe section; the ground elevation. Pipe bottom elevation and pipe outer diameter All of these are obtained by reading the vertex coordinates of CAD polylines, pipe annotation attributes, or block attribute fields.
5. The rapid drawing generation method based on pipeline support drawings according to claim 3, characterized in that, In step S1, only linear lightweight polylines are processed when parsing the CAD drawing, and spline curves and fitted polylines are filtered out; for elevation changes between adjacent vertices, the elevation difference is calculated according to the following formula: ; In the formula, For the first Pipeline mileage corresponding to each vertex; For the first Pipeline mileage corresponding to each vertex; For the first The difference in ground elevation between each vertex and the previous vertex; For the first Ground elevation at each vertex; For the first Ground elevation at each vertex; For CAD polyline vertex indices; when Exceeding the preset elevation mutation threshold When this happens, the corresponding pipe section will be marked as a data anomaly area and automatic drawing generation will be paused.
6. The rapid drawing generation method based on pipeline support drawings according to claim 1, characterized in that, Before step S1, a layer preprocessing step is also included: automatically identifying objects in the CAD drawing whose layer names contain the keywords "ground", "pipe bottom" or "station number"; if no standard layer is identified, an interactive interface pops up to prompt the user to manually specify the corresponding layer, and the layer name specified by the user is saved as a configuration file.
7. The rapid drawing generation method based on pipeline support drawings according to claim 1, characterized in that, In step S2, the soil parameters include cohesion. internal friction angle Soil weight and groundwater level The interpolation mapping uses the nearest neighbor algorithm, and the calculation formula is as follows: ; ; In the formula, For mileage Corresponding spatial point and the first Euclidean distance between geological boreholes; and mileage The planar coordinates of the corresponding spatial point; and The first Planar coordinates of a geological borehole; Number the geological boreholes; A collection of geological boreholes; For mileage The nearest geological borehole number is located here; and the number is... The geological boreholes correspond to soil layer parameters mapped to mileage. Soil layer parameters at the location.
8. The rapid drawing generation method based on pipeline support drawings according to claim 7, characterized in that, In step S2, if the nearest geological borehole numbers corresponding to two adjacent mileage points are different, a support zone boundary line is generated between the two mileage points, and the support zone boundary line is used as the segmentation basis for subsequent initial selection of support type, stability verification and engineering quantity statistics.
9. The rapid drawing generation method based on pipeline support drawings according to claim 3, characterized in that, In step S3, a first depth threshold is set. Second depth threshold ,and ; when When the slope stability coefficient meets the requirements, the mileage is determined. The support type at this location is slope excavation; when At that time, determine the mileage The support structure at this location consists of retaining plates combined with horizontal bracing. when When the groundwater level is higher than the bottom of the trench, the mileage is determined. The support type at this location is Larssen IV sheet piles; when When the groundwater level is lower than the bottom of the trench, the mileage is determined. The support structure at this location is constructed using channel steel piles.
10. The rapid drawing generation method based on pipeline support drawings according to claim 9, characterized in that, In step S4, for pipe sections with channel steel piles or Larssen IV type steel sheet piles as support, the required embedment depth is solved iteratively using the equivalent beam method. The total pile length is calculated using the following formula: ; In the formula, For mileage Total pile length for pile-type support; For mileage Excavation depth at the location; For mileage The required embedment depth is determined by the equivalent beam method and stability verification.
11. The rapid drawing generation method based on pipeline support drawings according to claim 10, characterized in that, In step S4, the stability verification includes anti-heave stability verification and overall sliding stability verification; the anti-heave stability verification satisfies the following conditions: ; The overall sliding stability check meets the following conditions: ; In the formula, For mileage The heave stability safety factor is calculated according to the "Technical Specification for Foundation Pit Support" (JGJ 120); The limit value for the stability safety factor against uplift; For mileage The overall sliding stability safety factor is calculated based on the circular arc sliding strip method. The overall sliding stability safety factor limit is set; if any stability safety factor is less than the corresponding safety factor limit, the stability check is deemed to have failed.
12. The rapid drawing generation method based on pipeline support drawings according to claim 11, characterized in that, In step S4, the support upgrade or parameter correction includes: when the stability verification of the Larssen IV type steel sheet pile fails, the embedment depth is increased preferentially according to the following formula: ; In the formula, For mileage The required embedding depth after correction; This is the embedment depth amplification factor, and ; For mileage The required embedment depth before correction; if the stability check is still not met after increasing the embedment depth, the support type will be upgraded to a double-row pile or a composite support type with increased number of internal supports.
13. The rapid drawing generation method based on pipeline support drawings according to claim 10, characterized in that, In step S5, for slope excavation and retaining plate with cross bracing support, static CAD blocks are called and the specification text, elevation values, and layer affiliation are updated by modifying the block attribute dictionary; for channel steel piles and Larssen IV type steel sheet piles support, dynamic CAD blocks are called and the total pile length is adjusted accordingly. The height stretching parameters of the drive block are updated, and the dashed line spacing and visibility status of the pile segments within the block are also updated.
14. The rapid drawing generation method based on pipeline support drawings according to claim 13, characterized in that, In step S5, the dynamic block reference is opened in the transaction through the CAD application interface, the dynamic block reference attributes are read, and the numerical attributes corresponding to the stretching action are modified to the target value so that the geometric grip position of the dynamic block matches the final support parameter set.
15. The rapid drawing generation method based on pipeline support drawings according to claim 1, characterized in that, In step S6, the engineering quantity statistics table is generated in the following way: traverse all generated support profile data, extract the support type, total pile length, cross brace spacing and cross brace quantity for each pipe section, and generate a partitioned statistics table containing the linear meter of Larsen IV steel sheet piles, the weight of channel steel walers and the number of cross braces according to the preset quota calculation rules.
16. A rapid drawing generation system based on pipeline support drawings, characterized in that, The rapid drawing generation method based on pipeline support drawings as described in any one of claims 1-15 is adopted, comprising a data parsing module, a geological mapping module, a support decision module, a standard calculation module, a block-driven module, a drawing layout module, and a linked update module that are sequentially interactive and linked: wherein: The data parsing module is used to traverse CAD polyline entities and extract ground elevation, pipe bottom elevation, pipe outer diameter and mileage data; The geological mapping module is used to read geological borehole data along the pipeline route and establish an interpolation mapping relationship between pipeline mileage and soil parameters. The support decision module is used to match preset rules based on excavation depth, groundwater level and soil layer parameters, and output the support type. The standard calculation module is used to perform embedding depth calculation, stability verification, and parameter correction in accordance with technical specifications. The block-driven module is used to handle the modification of attributes of static CAD blocks and the driving of actions for dynamic CAD blocks. The drawing output and layout module is used to batch insert the generated drawing data into the preset drawing frame template and output a complete set of construction drawings; The linkage update module is used to locate the affected pipe section and trigger a linkage update between the drawing and the engineering quantity statistics table when the original CAD drawing is changed.
17. The rapid drawing generation system based on pipeline support drawings according to claim 16, characterized in that, The data parsing module is also configured to identify the layer name of the polyline, distinguish between the ground line layer, the pipeline line layer, and the stationing layer; when reading coordinates, it automatically removes invalid vertices with an elevation value of zero or invalid, and sorts the vertices in ascending order of mileage.
18. The rapid drawing generation system based on pipeline support drawings according to claim 16, characterized in that, The standard calculation module includes an equivalent beam calculation unit, an anti-heave verification unit, an overall sliding verification unit, and a standard database unit. The equivalent beam calculation unit is used to iteratively solve the pile embedment depth, the anti-heave verification unit is used to calculate the anti-heave stability safety factor, the overall sliding verification unit is used to verify the overall stability using the circular arc sliding strip method, and the standard database unit is used to store the soil physical and mechanical property limits and safety factor limits in JGJ 120 standard.
19. The rapid drawing generation system based on pipeline support drawings according to claim 16, characterized in that, The block-driven module includes a static block attribute modification unit, a dynamic block transaction processing unit, and a visibility state switching unit. The dynamic block transaction processing unit is used to open a dynamic block reference in a CAD transaction, obtain the dynamic block reference attributes, and modify the numerical attributes corresponding to the stretching action to achieve parametric adjustment of geometric dimensions.
20. The rapid drawing generation system based on pipeline support drawings according to claim 16, characterized in that, It also includes a user interface module, which is used to display the support selection rule configuration interface, receive user instructions to modify the support type activation status and safety factor limit, and transmit the modified configuration parameters to the support decision module and the standard calculation module.
21. A computer device, characterized in that, The method includes 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 rapid drawing method based on pipeline support drawings as described in any one of claims 1 to 15.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the rapid drawing method based on pipeline support drawings as described in any one of claims 1 to 15.
