Automatic design method for communication channel and pump room of rail transit line and section plan
Through the automatic design method, the problem of inefficient design production efficiency of the rail transit area plane liaison channel and wastewater pump room is solved, and the intelligent and automated design of the liaison channel and wastewater pump room is realized, which significantly improves the design efficiency and quality.
Patent Information
- Application Number
- CN202410158417.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-02-04
AI Technical Summary
The existing rail transit interval plane liaison channel and wastewater pump room design method have low production efficiency, requiring a lot of manual calculation and drawing, which takes a long time.
It provides an automatic design method for connecting channels and pump rooms for rail transit lines and interval floor plans. By reading the design plan data of rail transit lines, calculating the mileage of the contact channels and wastewater pump rooms, and automatically drawing and marking, it realizes intelligent and automated design of the contact channels and wastewater pump rooms.
The production efficiency has been greatly improved, the manual operation steps have been changed to computer automatic operation, and the design quality has been improved. The design time of a subway line has been shortened from 20 working days to only 2 seconds.
Smart Images

Figure CN117932761B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of computer-aided design of construction engineering, and in particular to an automatic design method for a rail transit line, a section plan connection channel and a pump room. Background Art
[0002] A connecting passage is a horizontal passage between two subway tunnels, which plays a role in the safe evacuation of passengers, tunnel drainage, fire prevention, and fire fighting. Article 28.2.4 of my country's "Metro Design Code" GB50157-2013 stipulates that two single-track section tunnels should have a connecting passage, and the distance between two adjacent connecting passages should not be greater than 600m.
[0003] Article 14.3.4 of my country's "Metro Design Code" GB50157-2013 stipulates that the main drainage pump station in the section should be located at the lowest point of the actual slope of the line. When there are more than two lowest points in the longitudinal section of the section line, the main drainage pump station should be set up at each lowest point.
[0004] Generally, the wastewater pump room is built together with the communication channel, that is, the wastewater pump room as well as pipes and pipe wells for wastewater pumping and personnel maintenance are set up in the communication channel, which is conducive to subsequent operation and maintenance management, and any faults can be handled in time.
[0005] At present, designers in the rail transit industry mainly use the following methods when designing communication passages and wastewater pump rooms in section plans.
[0006] This includes manually reading the lowest point mileage of the section line in the AutoCAD line plan design and positioning it in the section plan. Manually measuring the distance between the lowest point of the line and the start and end points of the section, manually calculating and allocating the number and location of the communication channels and wastewater pump houses, and verifying whether they meet the relevant specifications. Manually drawing the communication channels and wastewater pump houses in the section plan, and marking the name, the mileage of the center line of the communication channel based on the left and right lines of the line, the coordinates of the intersection of the center line of the communication channel with the left and right lines of the line, and the line spacing between the left and right lines of the line at the center line of the communication channel.
[0007] The current method used by designers to design the interval plane communication channel and the sewage pump room has the following shortcomings:
[0008] The existing method requires manual reading of the lowest point mileage of the section line in the line plan design and positioning in the section plan. Manually measure the distance between the lowest point of the line and the start and end points of the section, and manually calculate and allocate the number and location of the communication channels and wastewater pump rooms.
[0009] The existing method requires manual drawing of the connecting channel and the sewage pump room in the section plan, and marking the name, the mileage of the center line of the connecting channel based on the left line and the right line of the line, the coordinates of the intersection of the center line of the connecting channel with the left line and the right line of the line, and the line spacing between the left line and the right line of the line at the position of the center line of the connecting channel.
[0010] The above manual operation has the disadvantages of heavy workload and long time consumption. The existing method has low production efficiency and urgently needs to be improved. Summary of the invention
[0011] The purpose of the present invention is to solve the problem of low production efficiency of existing rail transit section planar communication channel and wastewater pump room design methods.
[0012] In order to solve the above problems, the present invention provides a method for automatically designing a rail transit line and a section plan communication channel and a pump room, the method comprising the following steps:
[0013] S1. Read the rail transit line design plan data;
[0014] S2. Calculate the mileage of the communication channel and the sewage pump house according to the rail transit line design plan data;
[0015] S3. Automatically calculate the mileage of other communication channels based on the mileage of the communication channel and the sewage pump room;
[0016] S4, obtaining vertices and creating polylines, completing the outline drawing and format adjustment of the communication channel, the communication channel and the sewage pump room, and automatically generating the communication channel and the sewage pump room in the interval plan;
[0017] S5. Create an aligned annotation at the specified annotation base point, adjust the annotation style, and automatically annotate the communication channel and the line spacing of the wastewater pump room in the interval plan;
[0018] S6. Calculate the vertex coordinates of the annotation leader, create polylines and single-line text, and complete the annotation leader drawing and coordinate marking after adjusting the format. Automatically mark the coordinates of the communication channel and the wastewater pump room in the interval plan;
[0019] S7. Calculate the vertex coordinates of the dimension leader, create polylines and single-line text, and complete the dimension leader drawing and name and mileage marking after adjusting the format. Automatically mark the communication channel and wastewater pump room name and mileage in the interval plan.
[0020] Further preferably, the data reading of step S1 is directly read in the line design plan dwg, dws, dwt, dxf format files by writing an AutoCAD secondary development program; the rail transit line design plan data refers to the line plane design plan data and longitudinal section design plan data, including plane intersection data, station mileage data, longitudinal section slope change point mileage data, and longitudinal section slope data.
[0021] Further preferably, the specific steps of step S2 are as follows:
[0022] S2.1. Filter the slope change points and mileage information of the section according to the line design plan data;
[0023] Specifically, the slope change points within the interval are selected according to the following formula:
[0024]
[0025] in, , are the starting mileage and the ending mileage of the interval, which are determined by external input. is the mileage of the i-th slope change point;
[0026] S2.2, filter the slope change point and mileage information at the lowest point of the line;
[0027] Specifically, the slope change point at the lowest point of the line is selected according to the following formula:
[0028]
[0029] in, is the elevation of the slope change point at the lowest point of the line, , They are the elevations of the i-1th and i+1th slope change points respectively;
[0030] S2.3. If there is a slope change point at the lowest point of the line in the section , that is, a communication channel and sewage pump room are set up there.
[0031] Further preferably, in step S3, when the target interval plane does not have a communication channel and a sewage pump house, the mileage of the remaining communication channels is automatically calculated according to the following formula:
[0032]
[0033]
[0034] in, The number of communication channels that need to be set for the target interval, is the mileage of the section where the jth communication channel needs to be set, The serial number of the communication channel needs to be set for the target section, and the order is from small to large according to the mileage;
[0035] When a connecting channel and wastewater pump house is set up in the target interval plane, the mileage of the remaining connecting channels is automatically calculated according to the following formula;
[0036] The section from the starting point to the communication channel and wastewater pump room:
[0037]
[0038]
[0039] The section from the connecting channel and wastewater pump house to the end of the section:
[0040]
[0041]
[0042] in, N is the number of communication channels that need to be set up in the interval from the starting point of the interval to the communication channel and sewage pump room, and N2 is the number of communication channels that need to be set up in the interval from the communication channel and sewage pump room to the end point of the interval. , They are the first 1. The interval mileage of the communication channel, The mileage of the communication channel and sewage pump room is 1. 2 is the serial number of the communication channel that needs to be set in the range, sorted from small to large in mileage;
[0043] When two or more communication channels and wastewater pump houses are set up in the target section plane, the mileage of the remaining communication channels is automatically calculated according to the following formula;
[0044] The section from the starting point to the first communication channel and sewage pump room:
[0045]
[0046]
[0047] No. A communication channel and sewage pump room to the The area within the communication channel and sewage pump room:
[0048]
[0049]
[0050] The section from the last connecting channel and wastewater pump house to the end of the section:
[0051]
[0052]
[0053] in, The first communication channel and sewage pump room mileage, The number of communication channels that need to be set within the range. The interval mileage of the jkth communication channel to be set in the interval range, are the mileages of the k-1th and kth communication channels and wastewater pumping stations respectively, It is the number of section connecting channels and sewage pumping houses. The connecting channels and sewage pumping houses are arranged in order from small mileage to large mileage.
[0054] Further preferably, the step S4 comprises the following steps:
[0055] S4.1. Determine point P1 on the route based on the mileage of the section communication channel and the sewage pump house;
[0056] S4.2, with P1 as the base point, draw a perpendicular line to another line to determine point P2 on that line;
[0057] S4.3, define polylines PL1, PL2, PL3;
[0058] Specifically, the PL1 is connected by points P1 and P2, and the PL2 and PL3 are obtained by offsetting PL1 to both sides, and the offset is 0.5 times the plane width of the communication channel;
[0059] S4.4, define points P3, P4, P5, and P6;
[0060] Specifically, P3 and P4 are the intersection points of PL2 and the inner contour of the left and right line interval tunnels. P5 and P6 are the intersection points of PL3 and the inner outer contour of the left and right line interval tunnels.
[0061] S4.5, draw polylines PL4 and PL5;
[0062] Specifically, the PL4 is connected by points P3 and P4, and the PL5 is connected by points P5 and P6;
[0063] S4.6. Modify the properties of PL4 and PL5, including line type, width, and color.
[0064] Further preferably, the step S5 comprises the following steps:
[0065] S5.1: Insert the alignment mark of the communication channel and the wastewater pump room line spacing;
[0066] Specifically, the alignment annotation uses points P1 and P2 as annotation base points, and the annotation content is the plane distance between the left line and the right line of the line along the center line direction of the communication channel;
[0067] S5.2: Set the annotation style of the alignment annotation, including color, font height, and arrow size attributes.
[0068] Further preferably, the step S6 comprises the following steps:
[0069] S6.1, define points P7 and P8;
[0070] Specifically, the coordinates of point P7 are , Calculate according to the following formula:
[0071]
[0072]
[0073]
[0074] in, Mark the leader length for the first segment, is the azimuth from point P1 to point P2, is the azimuth from point P1 to point P7, , is the coordinate of point P1, The angle is 180°;
[0075] The coordinates of point P8 , Calculate according to the following formula:
[0076]
[0077]
[0078]
[0079] in, Mark the lead length for the second segment, is the azimuth from point P7 to point P8, , is the coordinate of point P7;
[0080] S6.2, draw polyline PL6 along points P1, P7, and P8 in sequence, and set the line type, width, and color of the polyline;
[0081] S6.3, taking the midpoint between points P1 and P2 as the rotation base point, copy the polyline PL6 and rotate it 180° to generate polyline PL7, and copy and rotate points P7 and P8 to generate points P9 and P10;
[0082] S6.4, read the coordinate information of points P1 and P2, create four lines of single-line text for annotation, and set the font, character height, and color;
[0083] Specifically, the single-line text content is the X-axis and Y-axis coordinates of points P1 and P2, and is arranged on both sides of the line connecting points P7 and P8 and points P9 and P10, and the text direction is parallel to the line;
[0084] The X-axis, Y-axis and corresponding coordinate calculations of the present invention all adopt the Cartesian plane rectangular coordinate system, and the coordinate marking adopts the Gaussian plane rectangular coordinate system.
[0085] Further preferably, the step S7 comprises the following steps:
[0086] S7.1, define points P11 and P12;
[0087] Specifically, assuming that point P1 is a point on the right line of the line, the coordinates of point P11 are , Calculate according to the following formula:
[0088]
[0089]
[0090] in, Mark the leader length for the first segment;
[0091] The coordinates of point P12 , Calculate according to the following formula:
[0092]
[0093]
[0094]
[0095] in, Mark the lead length for the second segment, is the azimuth from point P11 to point P12;
[0096] S7.2, draw a polyline PL8 along points P1, P11, and P12 in sequence, and set the line type, width, and color of the polyline;
[0097] S7.3, read the mileage information of points P1 and P2, create three lines of single-line text for annotation, and set the font, height and color;
[0098] Specifically, the contents of the single-line text are the names of the communication channel and the wastewater pump room, and the mileage of points P1 and P2; the single-line text is arranged on both sides of the line connecting points P11 and P12, and the direction of the text is parallel to the line.
[0099] The beneficial effect of the present invention is to realize the intelligent and automated design of the connection channels and wastewater pump rooms between urban rail transit lines and sections. By writing the method of the present invention into an AutoCAD secondary development program, after simple human-computer interaction, the connection channels and wastewater pump rooms can be automatically designed on the computer, the number and location of the connection channels and wastewater pump rooms can be automatically allocated, and they can be automatically drawn and marked, and a large number of steps that require manual calculation and operation can be converted to computer automatic operation, greatly improving production efficiency and design quality. If the existing production method is used, it will take about 20 working days to manually calculate and draw the connection channels and wastewater pump rooms of the thirty-two sections of a certain subway line. If the method and embodiment of the present invention are used, the automatic design can be completed in only 2 seconds, and the production efficiency is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0100] Figure 1 is a flow chart of the method of the present invention;
[0101] Figure 2 It is an implementation diagram of the automatic calculation result of the present invention;
[0102] Figure 3 It is a schematic diagram of the interval plane communication channel and the wastewater pump room of an embodiment of the present invention;
[0103] Figure 4 It is a schematic diagram of the interval plane communication channel and the wastewater pump room of an embodiment of the present invention;
[0104] Figure 5 This is a flow chart of Embodiment 2 of the present invention;
[0105] Figure 6 This is a schematic diagram of the interval plan communication channel and wastewater pump room of the second embodiment of the present invention. DETAILED DESCRIPTION
[0106] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0107] Embodiment 1
[0108] The present invention provides a method for automatically designing a rail transit line and a section plan communication channel and a pump room. Figure 1 The method flow chart of the present invention comprises the following steps:
[0109] S1. Read the rail transit line design data; the data reading of step S1 is directly read in the line design dwg, dws, dwt, dxf format files by writing AutoCAD secondary development program; the rail transit line design data refers to the line plane design data and longitudinal section design data, including plane intersection data, station mileage data, longitudinal section slope change point mileage data, and longitudinal section slope data. It is used to determine the range of the interval and automatically design the communication channel and the sewage pump room.
[0110] S2. Calculate the mileage of the connecting channel and the sewage pump house according to the data of the rail transit line design plan; the calculated mileage of the connecting channel and the sewage pump house is used to determine the position in the section plan, and draw and mark based on this.
[0111] The specific steps of step S2 are as follows:
[0112] S2.1. Filter the slope change points and mileage information of the section according to the line design plan data;
[0113] Specifically, the slope change points within the interval are selected according to the following formula:
[0114]
[0115] in, , are the starting mileage and the ending mileage of the interval, which are determined by external input. is the mileage of the i-th slope change point;
[0116] S2.2, filter the slope change point and mileage information at the lowest point of the line;
[0117] Specifically, the slope change point at the lowest point of the line is selected according to the following formula:
[0118]
[0119] in, is the elevation of the slope change point at the lowest point of the line, , They are the elevations of the i-1th and i+1th slope change points respectively;
[0120] S2.3. If there is a slope change point at the lowest point of the line in the section , that is, a communication channel and sewage pump room are set up there.
[0121] The calculated mileage information of the communication channel and wastewater pump house is saved in a table form. If the mileage in the present invention is not clearly specified, it can be the mileage of the right line or the mileage of the left line, but all parameters must be consistent.
[0122] When the above step S2 is implemented specifically, it is realized by writing an AutoCAD secondary development program, and the programming language includes but is not limited to C++ and C#. After the program is run, the calculation and operation described in step S2 can be automatically completed in dwg, dws, dwt, and dxf format files.
[0123] S3. Automatically calculate the mileage of other connecting channels based on the mileage of connecting channels and wastewater pump house; the calculated mileage of connecting channels is used to determine the position in the interval plan, and is drawn and marked based on this.
[0124] In step S3, when the target interval plane does not have a communication channel and a sewage pump house, the remaining communication channel mileage is automatically calculated according to the following formula:
[0125]
[0126]
[0127] in, The number of communication channels that need to be set for the target interval, is the mileage of the section where the jth communication channel needs to be set, The serial number of the communication channel needs to be set for the target section, and the order is from small to large according to the mileage;
[0128] When a connecting channel and wastewater pump house is set up in the target interval plane, the mileage of the remaining connecting channels is automatically calculated according to the following formula;
[0129] The section from the starting point to the communication channel and wastewater pump room:
[0130]
[0131]
[0132] The section from the connecting channel and wastewater pump house to the end of the section:
[0133]
[0134]
[0135] in, N is the number of communication channels that need to be set up in the interval from the starting point of the interval to the communication channel and sewage pump room, and N2 is the number of communication channels that need to be set up in the interval from the communication channel and sewage pump room to the end point of the interval. , They are the first 1. The interval mileage of the communication channel, The mileage of the communication channel and sewage pump room is 1. 2 is the serial number of the communication channel that needs to be set in the range, sorted from small to large in mileage;
[0136] When two or more communication channels and wastewater pump houses are set up in the target section plane, the mileage of the remaining communication channels is automatically calculated according to the following formula;
[0137] The section from the starting point to the first communication channel and sewage pump room:
[0138]
[0139]
[0140] No. A communication channel and sewage pump room to the The area within the communication channel and sewage pump room:
[0141]
[0142]
[0143] The section from the last connecting channel and wastewater pump house to the end of the section:
[0144]
[0145]
[0146] in, The first communication channel and sewage pump room mileage, The number of communication channels that need to be set within the range. The interval mileage of the jkth communication channel to be set in the interval range, are the mileages of the k-1th and kth communication channels and wastewater pumping stations respectively, It is the number of section connecting channels and sewage pumping houses. The connecting channels and sewage pumping houses are arranged in order from small mileage to large mileage.
[0147] When the above step S3 is implemented, it is realized by writing an AutoCAD secondary development program. The programming language includes but is not limited to C++ and C#. After the program is run, the calculation and operation described in step S2 can be automatically completed in dwg, dws, dwt, and dxf format files. The calculated communication channel and sewage pump room mileage information is saved in a table format. Figure 2 An embodiment of the automatic calculation result of the present invention is shown.
[0148] S4. Obtain vertices and create polylines, complete the outline drawing and format adjustment of the communication channel, communication channel and sewage pump room, and automatically generate the communication channel and sewage pump room in the interval plan; refer to Figure 3 The schematic diagram of the interval plane communication channel and the wastewater pump room in the embodiment of the present invention, the step S4 comprises the following steps:
[0149] S4.1. Determine point P1 on the route based on the mileage of the section communication channel and the sewage pump house;
[0150] S4.2, with P1 as the base point, draw a perpendicular line to another line to determine point P2 on that line;
[0151] S4.3, define polylines PL1, PL2, PL3;
[0152] Specifically, the PL1 is connected by points P1 and P2, and the PL2 and PL3 are obtained by offsetting PL1 to both sides, and the offset is 0.5 times the plane width of the communication channel;
[0153] S4.4, define points P3, P4, P5, and P6;
[0154] Specifically, P3 and P4 are the intersection points of PL2 and the inner contour of the left and right line interval tunnels. P5 and P6 are the intersection points of PL3 and the inner outer contour of the left and right line interval tunnels.
[0155] S4.5, draw polylines PL4 and PL5;
[0156] Specifically, the PL4 is connected by points P3 and P4, and the PL5 is connected by points P5 and P6;
[0157] S4.6. Modify the properties of PL4 and PL5, including line type, width, and color.
[0158] When the above step S4 is specifically implemented, it is realized by writing an AutoCAD secondary development program, that is, various combinations of graphic elements that can be represented as communication channels and wastewater pump rooms in the interval plan are automatically generated in AutoCAD, including but not limited to points and polylines. The programming language includes but is not limited to C++ and C# languages. After the program is run, the above operation can be automatically completed in dwg, dws, dwt, and dxf format files.
[0159] S5, creating an aligned annotation at the specified annotation base point, adjusting the annotation style, and automatically annotating the communication channel and the line spacing of the wastewater pump room in the interval plan; the step S5 comprises the following steps:
[0160] S5.1: Insert the alignment mark of the communication channel and the wastewater pump room line spacing;
[0161] Specifically, the alignment annotation uses points P1 and P2 as annotation base points, and the annotation content is the plane distance between the left line and the right line of the line along the center line direction of the communication channel;
[0162] S5.2: Set the annotation style of the alignment annotation, including color, font height, and arrow size attributes.
[0163] When the above step S5 is implemented specifically, it is realized by writing an AutoCAD secondary development program, and the programming language includes but is not limited to C++ and C#. After the program is run, alignment annotations can be inserted into dwg, dws, dwt, and dxf format files according to the requirements described in step S5.
[0164] S6, calculating the coordinates of the vertex of the annotation leader, creating a polyline and a single line of text, and completing the annotation leader drawing and coordinate annotation after adjusting the format, and automatically annotating the communication channel and the wastewater pump room coordinates in the interval plan; the step S6 includes the following steps:
[0165] S6.1, define points P7 and P8;
[0166] Specifically, the coordinates of point P7 are , Calculate according to the following formula:
[0167]
[0168]
[0169]
[0170] in, Mark the leader length for the first segment, is the azimuth from point P1 to point P2, is the azimuth from point P1 to point P7, , is the coordinate of point P1, The angle is 180°;
[0171] The coordinates of point P8 , Calculate according to the following formula:
[0172]
[0173]
[0174]
[0175] in, Mark the leader length for the second segment, is the azimuth from point P7 to point P8, , is the coordinate of point P7;
[0176] S6.2, draw polyline PL6 along points P1, P7, and P8 in sequence, and set the line type, width, and color of the polyline;
[0177] S6.3, taking the midpoint between points P1 and P2 as the rotation base point, copy the polyline PL6 and rotate it 180° to generate polyline PL7, and copy and rotate points P7 and P8 to generate points P9 and P10;
[0178] S6.4, read the coordinate information of points P1 and P2, create four lines of single-line text for annotation, and set the font, character height, and color;
[0179] Specifically, the single-line text content is the X-axis and Y-axis coordinates of points P1 and P2, and is arranged on both sides of the line connecting points P7 and P8 and points P9 and P10, and the text direction is parallel to the line;
[0180] The X-axis, Y-axis and corresponding coordinate calculations of the present invention all adopt the Cartesian plane rectangular coordinate system, and the coordinate marking adopts the Gaussian plane rectangular coordinate system.
[0181] When the above step S6 is specifically implemented, it is realized by writing an AutoCAD secondary development program, that is, various combinations of graphic elements that can represent the coordinates of the communication channel and the wastewater pump room in the interval plan are automatically generated in AutoCAD, including but not limited to points, polylines, and single-line text. The programming language includes but is not limited to C++ and C# languages. After the program is run, the above operation can be automatically completed in dwg, dws, dwt, and dxf format files.
[0182] S7. Calculate the vertex coordinates of the annotation leader, create polylines and single-line text, and complete the annotation leader drawing and name and mileage annotation after adjusting the format. Automatically annotate the name and mileage of the communication channel and wastewater pump room in the interval plan. Figure 4 The schematic diagram of the interval plane communication channel and the wastewater pump room marking of the embodiment of the present invention, the step S7 includes the following steps:
[0183] S7.1, define points P11 and P12;
[0184] Specifically, assuming that point P1 is a point on the right line of the line, the coordinates of point P11 are , Calculate according to the following formula:
[0185]
[0186]
[0187] in, Mark the leader length for the first segment;
[0188] The coordinates of point P12 , Calculate according to the following formula:
[0189]
[0190]
[0191]
[0192] in, Mark the leader length for the second segment, is the azimuth from point P11 to point P12;
[0193] S7.2, draw a polyline PL8 along points P1, P11, and P12 in sequence, and set the line type, width, and color of the polyline;
[0194] S7.3, read the mileage information of points P1 and P2, create three lines of single-line text for annotation, and set the font, height and color;
[0195] Specifically, the contents of the single-line text are the names of the communication channel and the wastewater pump room, and the mileage of points P1 and P2; the single-line text is arranged on both sides of the line connecting points P11 and P12, and the direction of the text is parallel to the line.
[0196] The above technical solution is realized by writing an AutoCAD secondary development program, that is, various graphic element combinations that can represent the name and mileage of the connecting channel and the wastewater pump room on the interval plan are automatically generated in AutoCAD, including but not limited to points, polylines, and single-line text. The programming language includes but is not limited to C++ and C#. After the program is run, the design and annotation of the connecting channel and the wastewater pump room on the interval plan can be automatically completed in dwg, dws, dwt, and dxf format files.
[0197] Embodiment 2
[0198] This embodiment
[0199] A. Run the exe format executable file in the AutoCAD secondary development program of this embodiment.
[0200] B. Open the dwg, dws, dwt, and dxf format files required for the design of the section plane connection channel and wastewater pump room.
[0201] Furthermore, there are two dwg, dws, dwt, and dxf format files, which respectively contain the line plane design plan and the line longitudinal section design plan. After opening the file, the AutoCAD secondary development program of this embodiment automatically reads the line design plan data. The line design plan data refers to the line plane design plan data and the longitudinal section design plan data, including but not limited to plane intersection data, station mileage data, longitudinal section slope change point mileage data, and longitudinal section slope data. It is used to determine the interval range and automatically design the communication channel and the sewage pump room.
[0202] C. Click the Auto button on the AutoCAD secondary development program panel in the line plane design file. Figure 2 The program automatically calculates and allocates the number and mileage of the interval plane communication channels and wastewater pumping houses. The calculated communication channels and wastewater pumping house mileage information are saved in a table format.
[0203] D. Click the OK button on the AutoCAD secondary development program panel in this embodiment in the line plane design file. Figure 2 The program automatically draws the area plan connection channel and the sewage pump room, and automatically marks them. Figure 5 Flow chart of the second embodiment of the present invention, Figure 6 The schematic diagram of the interval plane communication channel and wastewater pump room of the second embodiment of the present invention completes the automatic design of the interval plane communication channel and the wastewater pump room.
[0204] This embodiment converts the work that needs to be completed manually into automatic work by computer, realizes data-based precise design, and improves the overall design work efficiency and design quality level.
[0205] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for automatically designing communication channels and pump rooms for rail transit lines and section plans, characterized in that: The method comprises the following steps: S1. Read the rail transit line design plan data; The specific steps of step S1 are as follows: S1.
1. Run the exe file in the AutoCAD secondary development program; S1.
2. Open the dwg, dws, dwt, dxf format files that need to be designed for the section plane connection channel and the sewage pump room. After opening the files, the AutoCAD secondary development program automatically reads the rail transit line design plan data; the rail transit line design plan data refers to the line plane design plan data and longitudinal section design plan data, including plane intersection data, station mileage data, longitudinal section slope change point mileage data, and longitudinal section slope data; S2. Calculate the mileage of the communication channel and the sewage pump house according to the rail transit line design plan data; The specific steps of step S2 are as follows: S2.
1. Filter the slope change points and mileage information of the section according to the line design plan data; Specifically, the slope change points within the interval are selected according to the following formula: in, , are the starting mileage and the ending mileage of the interval, which are determined by external input. is the mileage of the i-th slope change point; S2.2, filter the slope change point and mileage information at the lowest point of the line; S2.
3. If there is a slope change point at the lowest point of the line, a communication channel and wastewater pump house shall be set up at that point; S3. Automatically calculate the mileage of other communication channels based on the mileage of the communication channel and the sewage pump room; In step S3, when the target interval plane does not have a communication channel and a sewage pump house, the remaining communication channel mileage is automatically calculated according to the following formula: ; ; in, The number of communication channels that need to be set for the target interval, is the mileage of the section where the jth communication channel needs to be set, The serial number of the communication channel needs to be set for the target section, and the order is from small to large according to the mileage; When a connecting channel and wastewater pump house is set up in the target interval plane, the mileage of the remaining connecting channels is automatically calculated according to the following formula; The section from the starting point to the communication channel and wastewater pump room: ; ; The section from the connecting channel and wastewater pump house to the end of the section: ; ; in, N is the number of communication channels that need to be set up in the area from the starting point of the interval to the communication channel and sewage pump room, and N2 is the number of communication channels that need to be set up in the area from the communication channel and sewage pump room to the end point of the interval. , They are the first 1. The interval mileage of the communication channel, The mileage of the communication channel and sewage pump room is 1. 2 is the serial number of the communication channel that needs to be set in the range, sorted from small to large in mileage; When two or more communication channels and wastewater pump houses are set up in the target section plane, the mileage of the remaining communication channels is automatically calculated according to the following formula; The section from the starting point to the first communication channel and sewage pump room: ; ; No. A communication channel and sewage pump room to the The area within the communication channel and sewage pump room: ; ; The section from the last connecting channel and wastewater pump house to the end of the section: ; ; in, The first communication channel and sewage pump room mileage, The number of communication channels that need to be set within the range. The interval mileage of the jkth communication channel to be set in the interval range, are the mileages of the kth and k-1th communication channels and wastewater pumping stations, The number of inter-section communication channels and wastewater pumping stations. The communication channels and wastewater pumping stations are arranged in order from the smallest mileage to the largest mileage. S4, obtaining vertices and creating polylines, completing the outline drawing and format adjustment of the communication channel, the communication channel and the sewage pump room, and automatically generating the communication channel and the sewage pump room in the interval plan; The step S4 comprises the following steps: S4.
1. Determine point P1 on the route based on the mileage of the section communication channel and the sewage pump house; S4.2, with P1 as the base point, draw a perpendicular line to another line to determine point P2 on that line; S4.3, define polylines PL1, PL2, PL3; Specifically, the PL1 is connected by points P1 and P2, and the PL2 and PL3 are obtained by offsetting PL1 to both sides, and the offset is 0.5 times the plane width of the communication channel; S4.4, define points P3, P4, P5, and P6; Specifically, P3 and P4 are intersections of PL2 and the inner contour of the left and right line interval tunnels, and P5 and P6 are intersections of PL3 and the inner outer contour of the left and right line interval tunnels; S4.5, draw polylines PL4 and PL5; Specifically, the PL4 is connected by points P3 and P4, and the PL5 is connected by points P5 and P6; S4.6, modify PL4 and PL5 properties, including line type, width, and color; S5. Create an aligned annotation at the specified annotation base point, adjust the annotation style, and automatically annotate the communication channel and the line spacing of the wastewater pump room in the interval plan; The step S5 comprises the following steps: S5.1: Insert the alignment mark of the communication channel and the wastewater pump room line spacing; Specifically, the alignment annotation uses points P1 and P2 as annotation base points, and the annotation content is the plane distance between the left line and the right line of the line along the center line direction of the communication channel; S5.2: Set the annotation style of the alignment annotation, including color, font height, and arrow size attributes; S6. Calculate the vertex coordinates of the annotation leader, create polylines and single-line text, and complete the annotation leader drawing and coordinate marking after adjusting the format. Automatically mark the coordinates of the communication channel and the wastewater pump room in the interval plan; The step S6 comprises the following steps: S6.1, define points P7 and P8; Specifically, the coordinates of point P7 are , Calculate according to the following formula: in, Mark the leader length for the first segment, is the azimuth from point P1 to point P2, is the azimuth from point P1 to point P7, , is the coordinate of point P1, The angle is 180°; The coordinates of point P8 , Calculate according to the following formula: in, Mark the lead length for the second segment, is the azimuth from point P7 to point P8, , is the coordinate of point P7; S6.2, draw polyline PL6 along points P1, P7, and P8 in sequence, and set the line type, width, and color of the polyline; S6.3, taking the midpoint between points P1 and P2 as the rotation base point, copy the polyline PL6 and rotate it 180° to generate polyline PL7, and copy and rotate points P7 and P8 to generate points P9 and P10; S6.4, read the coordinate information of points P1 and P2, create four lines of single-line text for annotation, and set the font, character height, and color; Specifically, the single-line text content is the X-axis and Y-axis coordinates of points P1 and P2, and is arranged on both sides of the line connecting points P7 and P8 and points P9 and P10, and the text direction is parallel to the line; The X and Y axes and their corresponding coordinates are calculated using the Cartesian plane rectangular coordinate system, and the coordinates are marked using the Gaussian plane rectangular coordinate system; S7. Calculate the vertex coordinates of the dimension leader, create polylines and single-line text, and complete the dimension leader drawing and name and mileage marking after adjusting the format. Automatically mark the communication channel and wastewater pump room name and mileage in the interval plan.
2. The method for automatically designing rail transit lines, section plan communication channels and pump rooms according to claim 1, characterized in that: The data reading of step S1 is directly read in the line design plan dwg, dws, dwt, dxf format files by writing an AutoCAD secondary development program; there are two dwg, dws, dwt, dxf format files, which respectively contain the line plan design plan and the line longitudinal section design plan.
Citation Information
Patent Citations
Subway shield interval contact channel pre-assembly method based on BIM (Building Information Modeling)
CN115114716A
Subway design drawing rechecking method and system based on lines and storage medium
CN115392017A