CN111859513B - Automatic calculation and rapid drawing method for roadbed gutter - Google Patents

Automatic calculation and rapid drawing method for roadbed gutter Download PDF

Info

Publication number
CN111859513B
CN111859513B CN202010747938.5A CN202010747938A CN111859513B CN 111859513 B CN111859513 B CN 111859513B CN 202010747938 A CN202010747938 A CN 202010747938A CN 111859513 B CN111859513 B CN 111859513B
Authority
CN
China
Prior art keywords
gutter
section
moat
trench
elevation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010747938.5A
Other languages
Chinese (zh)
Other versions
CN111859513A (en
Inventor
肖昌睿
李伯根
周和祥
魏炜
杜猛
张显峰
王雨佳
曾永红
龚建辉
吴沛沛
李宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Railway Eryuan Engineering Group Co Ltd CREEC
Original Assignee
China Railway Eryuan Engineering Group Co Ltd CREEC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway Eryuan Engineering Group Co Ltd CREEC filed Critical China Railway Eryuan Engineering Group Co Ltd CREEC
Priority to CN202010747938.5A priority Critical patent/CN111859513B/en
Publication of CN111859513A publication Critical patent/CN111859513A/en
Application granted granted Critical
Publication of CN111859513B publication Critical patent/CN111859513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Road Paving Structures (AREA)

Abstract

The invention discloses a roadbed gutter automatic calculation and rapid drawing method in the field of geotechnical engineering design, which comprises the following steps: s1, inputting a gutter type, and acquiring size data of the gutter according to the mapping relation between the gutter type and the size data corresponding to the gutter type; s2, selecting a roadbed cross section diagram of the gutter to be drawn; s3, calculating the key point coordinates of the gutter according to the coordinates of the trench top of the subgrade cross-section diagram, the coordinates of the pile points in the circuit, the corresponding elevation value of the elevation point, the ground line parameters, the distance between the gutter and the trench top, the inclination angle and the wall thickness of the gutter wall, and the relative position relation of the gutter in the section mileage diagram; and S4, sequentially connecting the key point coordinates, and drawing a moat gutter cross-sectional diagram corresponding to the section mileage. The invention provides an automatic and rapid drawing method of a gutter, which is suitable for general railway roadbed design and solves the problems of large manual drawing error, long time consumption and low design efficiency in the prior art.

Description

Automatic calculation and rapid drawing method for roadbed gutter
Technical Field
The invention relates to the field of geotechnical engineering design, in particular to a method for automatically calculating and quickly drawing a roadbed gutter.
Background
In the design of railway subgrade, two forms of embankment and cutting are mainly adopted. And the cutting outside slope can be divided into three types: inclined line side, basic flat slope and back line, the two former forms need to set up intercepting ditches on both sides of the moat top for intercepting side slope flowing water, namely gutter.
The general design method is that according to the distance requirement of the gutter and the cutting, an auxiliary line is manually made according to the distance, a point on the ground line, which meets the distance requirement with the cutting, is found, then the gutter is manually drawn, the auxiliary line is deleted, the distance between the gutter bottom and a certain known elevation position is measured, and the elevation of the gutter bottom is calculated by utilizing the height difference. And after a section of gutter is drawn, counting the heights of the bottoms of all the gutters, sequencing the heights, determining the drainage direction, and drawing a drainage sign line. And after the left side cutting gutter is drawn, drawing the right side gutter. The repeated workload is large, and the time and the labor are wasted.
Disclosure of Invention
In order to overcome the defects, the manual drawing method is changed into automatic drawing, and the automatic calculation and rapid drawing method for the roadbed gutter is provided.
In order to achieve the above purpose, the invention provides the following technical scheme:
a roadbed gutter automatic calculation and rapid drawing method comprises the following steps:
s1, inputting a gutter type, and acquiring size data of the gutter according to a mapping relation between the gutter type and size data corresponding to the gutter type, wherein the size data comprises bottom width, gutter depth, wall thickness and gutter wall inclination;
s2, selecting a roadbed cross section diagram of the gutter to be drawn;
s3, calculating the key point coordinates of the gutter according to the coordinates of the cutting top of the section mile graph, the coordinates of the pile point in the line, the corresponding elevation value of the elevation point, the ground line parameters, the distance between the gutter and the cutting top and the relative position relationship of the gutter in the section mile graph;
s4, calling a drawing software wiring function, sequentially connecting key point coordinates on the roadbed cross section diagram, and drawing a moat gutter cross section diagram corresponding to the section mileage;
and S5, calculating the trench bottom elevation of the cross section of the moat gutter according to the key point coordinates, the coordinates of the pile points in the line and the elevation values corresponding to the elevation points, and calling drawing software to draw a trench bottom elevation icon according to the trench bottom elevation.
Furthermore, after drawing a plurality of cross sectional views of a section of continuous gutter, the method also comprises the step of drawing a drainage marker line:
s6, numbering the cross-sectional diagram of the moat gutter from small to large according to the ascending sequence of the section mileage to obtain a section numbering sequence;
s7, finding the section number corresponding to the maximum trench bottom height by comparison;
s8, determining the drainage directions of the cross-sectional diagrams of the plurality of trench roof gutters according to the positions of the section numbers corresponding to the maximum trench bottom elevations in the section number sequences, wherein the drainage directions comprise a direction of discharging to a small mileage and a direction of discharging to a large mileage;
s9, if the drainage direction of the cross section diagram of the trench roof gutter is the direction of discharging to the small mileage, drawing a direction icon of discharging to the small mileage at the trench bottom elevation icon of the cross section diagram of the trench roof gutter, and if the drainage direction of the cross section diagram of the trench roof gutter is the direction of discharging to the large mileage, drawing a direction icon of discharging to the large mileage at the trench bottom elevation icon of the cross section diagram of the trench roof gutter.
As a preferred embodiment of the present invention, step S8 specifically includes the following steps:
if the section number corresponding to the maximum trench bottom height is the first of the section number sequence, the drainage direction of the cross section diagram of the moat gutter corresponding to other section numbers is arranged in the direction of large mileage;
if the section number corresponding to the maximum trench bottom height is the last section number of the section number sequence, the drainage direction of the cross section diagram of the moat gutter corresponding to other section numbers is the direction of discharging to a small mileage;
if the section number corresponding to the maximum trench bottom height is located in the middle of the section number sequence, dividing the section number sequence into a front section number sequence and a rear section number sequence by taking the section number corresponding to the maximum trench bottom height as a boundary, wherein the section number in the front section number sequence is smaller than the section number in the rear section number sequence, the drainage direction of the moat roof gutter cross section diagram corresponding to the section number in the front section number sequence is arranged in a small mileage direction, and the drainage direction of the moat roof gutter cross section diagram corresponding to the section number in the rear section number sequence is arranged in a large mileage direction.
Further, the steps also include an automatic correction process, and the automatic correction specifically includes the following steps:
A. setting n section numbers within the gutter range as K1~KnAnd the section number corresponding to the maximum trench bottom elevation is KmWherein m is more than or equal to 1 and less than or equal to n;
B. number of section K1~KmThe moat gutter drains water in the direction of a small mileage by KmThe section is the initial section, and the section is numbered KiTrench bottom elevation G of corresponding moat gutter cross sectional viewiAnd section number Ki-1Trench bottom elevation G of corresponding moat gutter cross sectional viewi-1Making difference to obtain difference value C ═ Gi-Gi-1Wherein, the section number is KiAnd section number Ki-1Adjacent to each other, i is more than or equal to 1 and more than or equal to 1, i is more than or equal to m; if C is less than or equal to 0, the section number Ki-1The gutter bottom elevation is unreasonable, and the section number K is reduced by taking 0.1m as a step lengthi-1The distance from the gutter to the moat top, and the section number K is recalculatedi-1The elevation of the bottom of the cross section is calculated again, the difference C is calculated again, if C is less than or equal to 0, the number K of the cross section is reduced continuouslyi-1Until C, from the gutter to the moat>0; continuously judging the next pair of adjacent sections until the section number K1~KmThe elevation difference of the bottom of the cross section trench meets C>0;
C. Number of section Km~KnThe moat gutter drains water in the direction of big mileage by KmThe section is the initial section, and the section is numbered KiTrench bottom elevation G of corresponding moat gutter cross sectional viewiAnd section number Ki+1Trench bottom elevation G of corresponding moat gutter cross sectional viewi+1Making difference to obtain difference value C ═ Gi+1-GiWherein the section is numbered KiAnd section number Ki+1Adjacent to each other, and m is more than or equal to i and more than or equal to i +1 and more than or equal to n; if C is more than or equal to 0, the section number Ki+1The gutter bottom elevation is unreasonable, and the section number K is increased by taking 0.1m as a step lengthi+1From the gutter to the moatDistance of (2), recalculating section number Ki+1The elevation of the channel bottom of the section is calculated, the difference value C is calculated, and if C is more than or equal to 0, the section number K is continuously reducedi+1Until C, from the gutter to the moat<0; continuously judging the next pair of adjacent sections until the section number Km~KnThe elevation difference of the bottom of the cross section trench meets C<0;
D. Obtaining a section number K1~KnMinimum distance d of Zhongtian furrow from moat topiminThe minimum distance d of the gutter from the moatiminAt a predetermined minimum distance d from the input0minMaking a difference: d ═ d0min-dimin(ii) a If delta d is less than or equal to 0, the adjustment is finished; if Δ d>0, all the sections are numbered K1~KnDistance d between gutter of middle and cross section and cutting topiΔ d is increased such that Δ d ≦ 0.
As a preferred scheme, after automatic correction, according to the drainage slope, judge whether the left side or right side gutter drainage is smooth, if smooth, finish the drawing of gutter, if not smooth, adjust the height of section gutter, include the following steps specifically:
firstly, inputting a drainage gradient I, picking up mileage text information corresponding to j, j +1, … j + n sections and converting the mileage text information into a numerical value CKj,CKj+1,…CKj+n
Secondly, finding the K section of the groove bottom section of the side slope highest side groove, and acquiring the groove bottom elevation h of the section of the K sectionkAnd calculating the difference of drainage height between sections, wherein, is I x (CK)i+1-CKi);
Thirdly, for the left gutter, when the condition is satisfied: h isk-Δ≥hk-1,hk-1-Δ≥hk-2,…hi+1≥hi(ii) a And h isk-Δ≥hk+1,hk+1-Δ≥hk+2,…hi+n-1-Δ≥hi+nWhen the water is drained, the left gutter is smooth;
for the right gutter, when the condition is satisfied: h is a total ofk-Δ≤hk-1,hk-1-Δ≤hk-2,…hi+1≤hi(ii) a And h isk-Δ≤hk+1,hk+1-Δ≤hk+2,…hi+n-1-Δ≤hi+nWhen the water is drained, the gutter on the right side is smooth;
fourthly, comparing h for the left gutterkAnd hk-1Size when hk-Δ<hk-1While decreasing hk-1The height of the section gutter is reduced by 0.1m, and h is recalculated according to step S3k-1Obtaining new h from each key point position of section gutterk-1(ii) a Judging new hk-1Whether the conditions for the smooth drainage of the left gutter in the third step are met or not;
for the right gutter, compare hkAnd hk-1Size when hk-Δ>hk-1While decreasing hkThe height of the section gutter is reduced by 0.1m, and h is recalculated according to step S3kObtaining new h from each key point position of section gutterk(ii) a Judging new hkWhether the conditions of the drainage smoothness of the gutter on the right side in the third step are met or not;
fifthly, repeating the fourth step until the elevation h of the groove bottom of each sectionkThe condition of smooth drainage is met.
Preferably, the step S3 includes:
s301, calculating the top width of the trench wall and the top width of the gutter according to the tilt angle and the wall thickness of the trench wall;
s302, determining the type of the cutting as a left cutting or a right cutting according to the relative position relation between the coordinates of the pile point in the line and the coordinates of the cutting;
s303, if the moat type is a left moat, obtaining an L1 straight line y according to the horizontal coordinate of the moat, the distance between the gutter and the moat and the width of the trench wall topL1L1 straight line yL1Is the boundary line of the gutter near the line side, and the L2 straight line y is obtained according to the horizontal coordinate of the elevation point, the distance between the gutter and the moat top, the width of the gutter top and the width of the gutter wall topL2L2 straight line yL2The side boundary line of the gutter far away from the line;
if the type of the moat is the right moat, obtaining an L3 straight line y according to the horizontal coordinate of the moat, the distance between the gutter and the moat and the width of the trench wall topL3L3 straight line yL3Is the side boundary line of the gutter close to the lineObtaining an L4 straight line y according to the abscissa of the elevation point, the distance between the gutter and the moat top, the width of the gutter top and the width of the gutter wall topL4L4 straight line yL4The side boundary line of the gutter far away from the line;
s304, if the type of the graben is a left graben, calculating a coordinate P of an intersection point of the ground line and the L1 straight line according to the ground line parametersL1And calculating the coordinate P of the intersection point of the ground line and the L2 straight lineL2
If the cutting top type is a right cutting top, calculating the coordinate P of the intersection point of the ground line and the L3 straight line according to the ground line parametersL3And calculating the coordinate P of the intersection point of the ground line and the L4 straight lineL4
S305, if the type of the moat is the left moat, determining according to the coordinate PL1Ordinate and coordinate P ofL2Judging the type of the left graben slope according to the relative relation of the vertical coordinates,
if the type of the cutting is the right cutting, according to the coordinate PL3Ordinate and coordinate P ofL4Judging the type of the right cutting slope according to the relative relation of the vertical coordinates;
and S306, calculating the coordinates of the key points of the left graben or the right graben according to the type of the graben slope.
Further, the functional mathematical expression of the L1 line is:
x=x1-d+tt
wherein x is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat; t is ttThe width of the top of the trench wall;
the functional mathematical expression of the L2 line is:
x’=x1-d-(wt+tt)
wherein x' is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat; t is ttIs the width of the roof of the trench wall, wtThe roof of the gutter is wide;
the functional mathematical expression of the L3 line is:
x=x1+d-tt
wherein x is the horizontal axis in the CAD drawing coordinate systemCoordinate, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat; t is ttThe width of the top of the trench wall;
the functional mathematical expression of the L4 line is:
x’=x1+d+(wt+tt)
wherein x' is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat; t is ttIs the width of the top of the trench wall, wtThe gutter is wide at the top.
Preferably, the type of the graben slope comprises an inclined line and a basic flat slope, and when the type of the graben is a left graben, if yL1≤yL2If y is the line of the left graben slope typeL1>yL2If the type of the left graben slope is a basic flat slope;
when the cutting type is right cutting, if yL3≤yL4The type of the left graben slope is the inclined route, if yL3>yL4And the type of the left graben slope is a basic flat slope.
As a preferred scheme, in step S306, if the type of the left moat is a left moat, there are 8 key points of the left moat, and when the type of the left moat slope is an inclined route, the calculation formula of the coordinates of the 8 key points of the left moat is as follows:
p0=[xL1,yL1]
p1=[xp0-tt,yp0]
p2=[xp1-h·cotθ,yp1-h]
p3=[xp2-w,yp2]
p4=[xp3-h·cotθ,yp3+h]
p5=[xp4-tt,yp4]
p6=[xp5+(h+t)·cotθ,yp5-(h+t)]
p7=[xp0-(h+t)·cotθ,yp0-(h+t)]
wherein p is0~p7Represents 8 key points, [ x ]L1,yL1]Is the coordinate of the intersection of the ground line and the L1 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6,xp7The abscissa, y, of the 8 key points of the left grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the left grabentIs the width of the top of the trench wall, theta is the inclination angle of the trench wall, h is the depth of the trench, w is the width of the bottom of the gutter, and t is the width of the top of the trench wall;
when the type of the left cutting slope is a basic flat slope, a local counter slope exists at the position of the water ditch, and the calculation formula of the coordinates of 8 key points of the left cutting is as follows:
p0=[xL2,yL2]
p1=[xp0+tt,yp0]
p2=[xp1+h·cotθ,yp1-h]
p3=[xp2+w,yp2]
p4=[xp3+h·cotθ,yp3+h]
p5=[xp4+tt,yp4]
p6=[xp5-(h+t)·cotθ,yp5-(h+t)]
p7=[xp0+(h+t)·cotθ,yp0-(h+t)]
wherein p is0~p7Represents 8 key points, [ x ]L2,yL2]Is the coordinate of the intersection of the ground line and the L2 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6,xp7The abscissa, y, of the 8 key points of the left grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the left grabentIs the width of the top of the gutter wall, theta is the inclination angle of the gutter wall, h is the depth of the gutter, and w is the bottom of the gutterWidth, t is the width of the top of the trench wall.
As a preferred scheme, in step S306, if the type of the cut is a right cut, there are 8 key points of the right cut, and when the type of the right cut slope is an inclined route, a calculation formula of coordinates of the 8 key points of the right cut is:
q0=[xL3,yL3]
q1=[xq0+tt,yq0]
q2=[xq1+h·cotθ,yq1-h]
q3=[xq2+w,yq2]
q4=[xq3+h·cotθ,yq3+h]
q5=[xq4+tt,yq4]
q6=[xq5-(h+t)·cotθ,yq5-(h+t)]
q7=[xq0+(h+t)·cotθ,yq0-(h+t)]
wherein q is0~q7Represents 8 key points, [ x ]L3,yL3]Is the coordinate of the intersection of the ground line and the L3 straight line, xq0,xq1,xq2,xq3,xq4,xq5,xq6,xq7The abscissa, y, of 8 key points of the right grabenq0,yq1,yq2,yq3,yq4,yq5,yq6,yq7The ordinate, t, of 8 key points on the top of the right grabentIs the width of the top of the trench wall, theta is the inclination angle of the trench wall, h is the depth of the trench, w is the width of the bottom of the gutter, and t is the width of the top of the trench wall;
when the type of the right cutting slope is a basic flat slope, a local reverse slope exists at the position of the set ditch, and the calculation formula of the coordinates of 8 key points of the right cutting is as follows:
q0=[xL4,yL4]
q1=[xq0-tt,yq0]
q2=[xq1-h·cotθ,yq1-h]
q3=[xq2-w,yq2]
q4=[xq3-h·cotθ,yq3+h]
q5=[xq4-tt,yq4]
q6=[xq5+(h+t)·cotθ,yq5-(h+t)]
q7=[xq0-(h+t)·cotθ,yq0-(h+t)]
wherein q is0~q7Represents 8 key points, [ x ]L4,yL4]Is the coordinate of the intersection of the ground line and the L4 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6,xp7The abscissa, y, of 8 key points of the right grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the top of the right grabentIs the width of the top of the trench wall, theta is the inclination angle of the trench wall, h is the depth of the trench, w is the width of the gutter bottom, and t is the width of the top of the trench wall.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a method for automatically calculating and quickly drawing a roadbed gutter, which is suitable for general railway roadbed design and solves the problems of large manual drawing error, long consumed time and low design efficiency in the prior art.
Description of the drawings:
fig. 1 is a flowchart of a roadbed gutter automatic calculation and rapid drawing method in embodiment 1 of the present invention;
FIG. 2 is a schematic view of a ladder-shaped gutter in example 1 of the present invention;
FIG. 3 is a schematic view of a left-cut down-slope gutter in embodiment 1 of the present invention;
FIG. 4 is a schematic view of a left moat adverse slope gutter in embodiment 1 of the present invention;
FIG. 5 is a schematic view of a right-cut down-slope gutter in embodiment 1 of the present invention;
FIG. 6 is a schematic view of a right-cut down-hill gutter in embodiment 1 of the present invention;
FIG. 7 is a schematic diagram of a road shoulder point and an elevation view in example 1 of the present invention;
FIG. 8 is a schematic view of a drainage marker line (in the direction of a small mileage) in example 1 of the present invention;
fig. 9 is a schematic view of a drainage marker line (in the direction of a large mileage) in example 1 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to test examples and specific embodiments. It should be understood that the scope of the above-described subject matter is not limited to the following examples, and any techniques implemented based on the disclosure of the present invention are within the scope of the present invention.
Example 1
A flow chart of a roadbed gutter automatic calculation and rapid drawing method is shown in fig. 1, and the method comprises the steps of:
and S1, establishing a mapping relation between the gutter type and the size data corresponding to the gutter type.
Determining the type of the gutter and size data corresponding to the type of the gutter, wherein the size data corresponding to the type of the gutter comprises the width of the top of the gutter, the width of the bottom of the gutter, the depth of the gutter, the wall thickness, the inclination angle of the wall of the gutter, the drainage gradient and the like. In the embodiment, the trapezoidal gutter is taken as an example to implement the method of the present invention, but the method is not limited to be applied to only the trapezoidal gutter, and other types of gutter drawing methods are also within the scope of the present invention based on the idea of the present invention. The dimensions of the trapezoidal gutter are input and stored in program variables using the lisp program of the autoVAD, the stored data including wall thickness (gutter wall base width) t, gutter depth h, gutter base width w, gutter wall inclination angle θ, and the trapezoidal gutter schematic diagram is shown in fig. 2.
And S2, selecting a roadbed cross section diagram of the gutter to be drawn.
And S3, determining the relative position relation of the gutter in the section mileage chart according to the coordinates of the top of the trench, the coordinates of the pile points in the line, the corresponding elevation values of the elevation points, the ground line parameters and the distance between the gutter and the top of the trench of the roadbed cross section chart, the inclination angle and the wall thickness of the gutter wall, and calculating the coordinates of the key points of the gutter according to the relative position relation.
And S4, calling a drawing software connection function, sequentially connecting the key point coordinates on the section mileage graph, and drawing a moat gutter cross section graph corresponding to the section mileage.
And S5, calculating the trench bottom elevation of the cross section of the moat gutter according to the key point coordinates, the coordinates of the pile points in the line and the elevation value corresponding to the elevation point, and drawing a trench bottom elevation icon according to the trench bottom elevation by calling drawing software.
Wherein, step S3 is the important step of the key point coordinate of calculation gutter, the step includes:
s301, calculating the top width and the top width of the trench wall according to the tilt angle, the wall thickness, the trench depth and the bottom width of the trench wall. The formula for calculating the roof width of the gutter is as follows: w is atW +2h cot theta, the width of the trench wall top is calculated by ttWhere t is the wall thickness (trench wall bottom width), h is the trench depth, w is the gutter bottom width, and θ is the trench wall inclination.
And S302, determining the type of the cutting to be a left cutting or a right cutting according to the relative position relation between the coordinates of the pile point in the line and the coordinates of the cutting.
Setting the moat coordinate as Pd(x1,y1) And the coordinates of pile points in the line are G (x)1,y1) If x1≤x0Graben coordinates Pd(x1,y1) The located cutting is a left cutting; if x1≥x0Graben coordinates Pd(x1,y1) The located graben is a right graben.
S303, if the moat type is a left moat, obtaining an L1 straight line y according to the horizontal coordinate of the moat, the distance between the gutter and the moat and the width of the trench wall topL1The expression of (3) is obtained according to the abscissa of the elevation point, the distance between the gutter and the moat top, the top width and the top width of the gutter wall, and the L2 straight line y is obtainedL2Is described in (1).
The functional mathematical expression of the L1 line is: x is x1-d+ttWherein x is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat, ttIs the width of the top of the trench wall.
The functional mathematical expression of the L2 line is: x ═ x1-d-(wt+tt) Wherein x' is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat, ttIs the width of the top of the trench wall, wtThe gutter is wide at the top, and the gutter arrangement generally has distance requirements, namely the distance between the gutter and the moat is not less than d, which is different according to projects.
If the type of the moat is the right moat, obtaining an L3 straight line y according to the horizontal coordinate of the moat, the distance between the gutter and the moat and the width of the trench wall topL3The expression of (3) is obtained according to the abscissa of the elevation point, the distance between the gutter and the moat top, the top width and the top width of the gutter wall, and the L4 straight line y is obtainedL4Is described in (1).
The functional mathematical expression of the L3 line is: x ═ x1+d-ttWherein x is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat, ttThe width of the top of the trench wall;
the functional mathematical expression of the L4 line is: x ═ x1+d+(wt+tt) Wherein x' is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat, ttIs the width of the top of the trench wall, wtThe gutter is wide at the top.
S304, if the type of the graben is a left graben, calculating a coordinate P of an intersection point of the ground line and the L1 straight line according to the ground line parametersL1(xL1,yL1) And calculating the coordinate P of the intersection point of the ground line and the L2 straight lineL2(xL2,yL2)。
If the cutting top type is a right cutting top, calculating a coordinate P of the intersection point of the ground line and the L3 straight line according to the ground line parametersL3(xL3,yL3) And calculating the coordinate P of the intersection point of the ground line and the L4 straight lineL1(xL4,yL4);
S305, if the type of the moat is the left moat, determining according to the coordinate PL1Ordinate and coordinate PL2Judging the type of the left graben slope according to the relative relation of the vertical coordinates; if the type of the cutting is a right cutting, according to the coordinate PL3Ordinate and coordinate PL4And judging the type of the right cutting slope according to the relative relation of the vertical coordinates.
If the type of the cutting is left cutting, according to yL1And yL2The relative relation can judge whether the cut slope is a inclined line or a basic flat slope (slight reverse slope), if yL1≤yL2The slope is inclined to the line if yL1>yL2And if the side slope is basically flat, a local reverse slope exists at the ditch.
If the type of the cutting is a right cutting, according to yL3And yL4The relative relation can judge whether the cut top slope is a trend line or a basic flat slope (slight reverse slope), if yL3≤yL4Then the slope is inclined to the line, if yL3>yL4And if the side slope is basically flat, a local reverse slope exists at the ditch.
And S306, calculating the coordinates of the key points of the left graben or the right graben according to the type of the graben slope.
When the cut slope type of the left cut is an inclined line, the schematic diagram of the left cut downslope gutter is shown in fig. 3, and a calculation formula for drawing coordinates of 8 key points required by the gutter is as follows:
p0=[xL1,yL1]
p1=[xp0-tt,yp0]
p2=[xp1-h·cotθ,yp1-h]
p3=[xp2-w,yp2]
p4=[xp3-h·cotθ,yp3+h]
p5=[xp4-tt,yp4]
p6=[xp5+(h+t)·cotθ,yp5-(h+t)]
p7=[xp0-(h+t)·cotθ,yp0-(h+t)]
wherein p is0~p7Represents 8 key points, [ x ]L1,yL1]Is a ground line andcoordinates of the intersection of the L1 lines, xp0,xp1,xp2,xp3,xp4,xp5,xp6,xp7The abscissa, y, of the 8 key points of the left grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the left grabentIs the width of the trench wall top, θ is the trench wall tilt angle, h is the trench depth, w is the gutter floor width, and t is the trench wall top width.
When the type of the cutting side slope of the left cutting is a basic flat slope, a schematic diagram of a left cutting anti-slope gutter is shown in fig. 4, a local anti-slope is arranged at the gutter, and a calculation formula for drawing 8 key point coordinates required by the gutter is as follows: :
p0=[xL2,yL2]
p1=[xp0+tt,yp0]
p2=[xp1+h·cotθ,yp1-h]
p3=[xp2+w,yp2]
p4=[xp3+h·cotθ,yp3+h]
p5=[xp4+tt,yp4]
p6=[xp5-(h+t)·cotθ,yp5-(h+t)]
p7=[xp0+(h+t)·cotθ,yp0-(h+t)]
wherein p is0~p7Represents 8 key points, [ x ]L2,yL2]Is the coordinate of the intersection of the ground line and the L2 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6The abscissa, y, of the 8 key points of the left grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the left grabentIs the width of the top of the trench wall, theta is the inclination angle of the trench wall, h is the depth of the trench, w is the width of the gutter bottom, and t is the width of the top of the trench wall.
According to the gutter key point p5、p6Calculating the intersection point of the extension line and the ground line to obtain the key point p8Point coordinates. And calling a multi-segment line drawing command in the lisp program according to a certain sequence by using the calculated key points to draw the gutter.
When the type of the top slope of the right cutting is an inclined line, a schematic diagram of the downslope gutter of the right cutting is shown in fig. 5, and a calculation formula for drawing coordinates of 8 key points required by the gutter is as follows:
q0=[xL3,yL3]
q1=[xq0+tt,yq0]
q2=[xq1+h·cotθ,yq1-h]
q3=[xq2+w,yq2]
q4=[xq3+h·cotθ,yq3+h]
q5=[xq4+tt,yq4]
q6=[xq5-(h+t)·cotθ,yq5-(h+t)]
q7=[xq0+(h+t)·cotθ,yq0-(h+t)]
wherein q is0~q7Represents 8 key points, [ x ]L3,yL3]Is the coordinate of the intersection of the ground line and the L3 straight line, xq0,xq1,xq2,xq3,xq4,xq5,xq6,xq7The abscissa, y, of 8 key points of the right grabenq0,yq1,yq2,yq3,yq4,yq5,yq6,yq7The ordinate, t, of 8 key points on the top of the right grabentIs the width of the top of the trench wall, theta is the inclination angle of the trench wall, h is the depth of the trench, w is the width of the gutter bottom, and t is the width of the top of the trench wall.
When the type of the cut slope of the right cut is a basic flat slope, a schematic diagram of the right cut anti-slope gutter is shown in fig. 6, and a calculation formula for drawing coordinates of 8 key points required by the gutter is as follows:
q0=[xL4,yL4]
q1=[xq0-tt,yq0]
q2=[xq1-h·cotθ,yq1-h]
q3=[xq2-w,yq2]
q4=[xq3-h·cotθ,yq3+h]
q5=[xq4-tt,yq4]
q6=[xq5+(h+t)·cotθ,yq5-(h+t)]
q7=[xq0-(h+t)·cotθ,yq0-(h+t)]
wherein q is0~q7Represents 8 key points, [ x ]L4,yL4]Is the coordinate of the intersection of the ground line and the L4 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6,xp7The abscissa, y, of 8 key points of the right grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the top of the right grabentIs the width of the trench wall top, θ is the trench wall tilt angle, h is the trench depth, w is the gutter floor width, and t is the trench wall top width.
Step S5, calculating the trench bottom elevation of the cross section of the moat gutter according to the coordinates of the key points, the coordinates of the pile points in the line and the corresponding elevation values of the elevation points, wherein the steps of realization comprise:
firstly, establishing a corresponding relation between a vertical coordinate of a point with elevation information near a line and an elevation h. For the cross section of the proposed gutter, selecting points with elevation information near the line, such as ground piles, side gutter bottom points and road shoulder points, taking the road shoulder points as an example in the embodiment, such as fig. 7, selecting any one of the side road shoulder points (x, y), and knowing the coordinates (x, y) of the elevation points0,y0) And elevation h0Establishing a corresponding relation between the y coordinate and the elevation h, wherein a calculation formula is as follows: y-y0=h-h0Which isAnd y and h are respectively a y coordinate and an elevation value corresponding to any point.
Secondly, calculating the gutter bottom elevation in each section by using the corresponding relation between the y coordinate and the elevation h and the coordinate of each key point, and taking the key point p as the2For example, the trench bottom elevation is: h isi=yp2-y0+h0Wherein, yP2Is a selected key point P2Ordinate of (a), y0Is the ordinate of the elevation point, h0Is the elevation value, h, corresponding to the elevation pointiThe trench bottom elevation of each section, i is the number of the section.
After the single roof gutter cross-sectional diagram is drawn by adopting the method, the steps S1-S5 are repeated, and a plurality of roof gutter cross-sectional diagrams of a section of continuous gutter can be drawn. Based on a plurality of moat gutter cross sectional diagrams, the method can also draw a drainage marker line, and specifically comprises the following steps:
s6, numbering the cross sectional diagram of the moat gutter from small to large according to the ascending sequence of the section mileage to obtain a section numbering sequence;
s7, finding the section number corresponding to the maximum trench bottom height by comparison;
s8, determining the drainage directions of the cross sectional diagrams of the plurality of moat roof ditches according to the positions of the section numbers corresponding to the maximum ditch bottom elevation in the section number sequence, wherein the drainage directions comprise a small mileage direction and a large mileage direction;
and S9, if the drainage direction of the cross section diagram of the trench roof gutter is toward the small mileage direction, drawing an toward small mileage direction icon at the trench bottom elevation icon of the cross section diagram of the trench roof gutter, and if the drainage direction of the cross section diagram of the trench roof gutter is toward the large mileage direction, drawing an toward large mileage direction icon at the trench bottom elevation icon of the cross section diagram of the trench roof gutter.
Wherein, step S8 specifically includes the following steps:
if the section number corresponding to the maximum trench bottom elevation is the first of the section number sequence, the drainage direction of the cross sectional diagram of the moat gutter corresponding to other section numbers is the direction of discharging to large mileage;
if the section number corresponding to the maximum trench bottom elevation is the last section of the section number sequence, the drainage direction of the cross section diagram of the moat gutter corresponding to other section numbers is the direction of discharging to a small mileage;
if the section number corresponding to the maximum trench bottom elevation is located in the middle of the section number sequence, dividing the section number sequence into a front section number sequence and a rear section number sequence by taking the section number corresponding to the maximum trench bottom elevation as a boundary, wherein the section number in the front section number sequence is smaller than the section number in the rear section number sequence, the drainage direction of the moat roof gutter cross section diagram corresponding to the section number in the front section number sequence is arranged in a small mileage direction, and the drainage direction of the moat roof gutter cross section diagram corresponding to the section number in the rear section number sequence is arranged in a large mileage direction.
The invention also provides a solution for trench bottom elevation anomaly: suppose n sections within the gutter range are numbered as K1~KnAnd the section number corresponding to the maximum trench bottom elevation is KmWherein m is more than or equal to 1 and less than or equal to n.
For section K1~KmThe moat gutter drains water in the direction of a small mileage by KmThe section is the initial section, and the section is numbered KiTrench bottom elevation G of corresponding moat gutter cross sectional viewiAnd section number Ki-1Trench bottom elevation G of corresponding moat gutter cross sectional viewi-1Making difference to obtain difference value C ═ Gi-Gi-1Wherein the section is numbered KiAnd section number Ki-1Adjacent to each other, i is more than or equal to 1 and more than or equal to 1, i is more than or equal to m. If C is less than or equal to 0, the section number Ki-1The elevation of the gutter bottom is unreasonable, the distance from the gutter to the moat top is reduced by taking 0.1m as a step length, the elevation of the gutter bottom of the section is recalculated, the difference value C is calculated, if C is less than or equal to 0, the distance from the gutter to the moat top is continuously reduced until C is less than or equal to 0>0。
Continue to judge the next pair of adjacent sections, i.e. Ki-1Section and Ki-2Cross section, and so on untilThe elevation difference of all the section trench bottoms of the section meets C>0。
For section Km~KnThe moat gutter drains water in the direction of big mileage by KmThe section is the initial section, and the section is numbered KiTrench bottom elevation G of corresponding moat gutter cross sectional viewiAnd section number Ki+1Trench bottom elevation G of corresponding moat gutter cross-sectional viewi+1Making difference to obtain difference value C ═ Gi+1-GiWherein the section is numbered KiAnd section number Ki+1And m is more than or equal to i and more than or equal to i +1 and more than or equal to n. If C is more than or equal to 0, the section number Ki+1The elevation of the gutter bottom is unreasonable, the distance from the gutter to the moat top is increased by taking 0.1m as a step length, the elevation of the gutter bottom of the section is recalculated, the difference C is calculated, if C is larger than or equal to 0, the distance from the gutter to the moat top is continuously reduced until C is larger than or equal to 0<0。
Continue to judge the next pair of adjacent sections, i.e. Ki+1Section and Ki+2And C, performing analogization on the section until the trench bottom elevation difference values of all sections in the section meet C<0。
Outputting the minimum distance d from the gutter to the moat top after all the sections are adjustediminAnd at a predetermined minimum distance d0minMake a difference, i.e. Δ d ═ d0min-dimin. If delta d is less than or equal to 0, the adjustment is finished; if Δ d>0, the distance d between the gutter of all the cross sections and the moatiAnd increasing the delta d, recalculating the coordinates of the key points of the gutter on all the sections and the elevation of the gutter bottom, finding out the section with the maximum elevation of the gutter bottom, and adjusting the section with the unreasonable elevation of the gutter bottom.
And after all the sections are adjusted, checking whether the minimum distance between the gutter and the moat meets the input minimum distance requirement or not, and if not, continuing to adjust.
And marking the drainage direction, and specifically determining according to the drainage gradient.
And inputting a drainage slope I. The mileage text information corresponding to the i, i +1, … i + n sections is picked up and converted into a numerical value CKi,CKi+1,…CKi+n
The left section gutter bottom elevation is as follows: h isi,hi+1…hi+n(ii) a Finding the section K of the bottom of the trench at the highest side of the left side slope, and the elevation h of the bottom of the trench at the sectionk(ii) a Δ is the drainage height difference between the sections, and taking section I and section I +1 as an example, the drainage height difference between the sections is Δ ═ I (CK)i+1-CKi)。
In order to drain and feed water to the left gutter, the following conditions are required: h isk-Δ≥hk-1,hk-1-Δ≥hk-2,…hi+1≥hi(ii) a And h isk-Δ≥hk+1,hk+1-Δ≥hk+2,…hi+n-1-Δ≥hi+n
Comparison hkAnd hk-1Size when hk-Δ<hk-1When it is, adjust hk-1Height of section gutter: d-0.1, repeating the fourth part to calculate h againk-1Obtaining new h from each key point position of section gutterk-1. Repeating the steps until hk-Δ≥hk-1Namely, the gutter on the left side of the k section towards the k-1 section is smooth in water drainage. Repeating the steps to drain and feed water to the left gutter, namely: h isk-Δ≥hk-1,hk-1-Δ≥hk-2,…hi+1≥hi(ii) a And h isk-Δ≥hk+1,hk+1-Δ≥hk+2,…hi+n-1-Δ≥hi+n
The same can lead the right side to discharge water smoothly.
The trench bottom elevation data of the left and right gutter sides of each section and corresponding key points p2And respectively storing the drainage data into different lisp variables, traversing the drainage data after drawing of the gutter is finished, and determining the drainage direction of the gutter on the left side and the right side of each section according to the height difference.
And after the drainage direction is determined, the drainage marking line can be drawn. The drawing of gutter drainage marker lines is the same as that of the gutter, and can be p2The key points are base points, the coordinates of each key point required by drawing the drainage marker line are respectively calculated according to the geometric position relationship, the geometric position relationship can be automatically drawn, and the height of the geometric position relationship is the same as that of the ditch bottom. The direction of water discharge being in the direction of small mileage and in the direction of large mileageThe relative positions of the drainage marker lines and the key points are shown in fig. 7 and 8, respectively.
In the design process, typically a left gutter drainage marker is drawn on the left side of the gutter and a right gutter drainage marker is drawn on the right side of the gutter. And calling a CAD drawing interface, and drawing a drainage marker line and a trench bottom elevation by using lisp combined drawing commands according to the key point coordinates.
The method realizes programming by utilizing lisp, binds the programming into a CAD command, and can realize automatic drawing of the gutter only by selecting basic key points and primitives.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. A roadbed gutter automatic calculation and rapid drawing method is characterized by comprising the following steps:
s1, inputting a gutter type, and acquiring dimension data of the gutter according to a mapping relation between the gutter type and dimension data corresponding to the gutter type, wherein the dimension data comprises a bottom width, a gutter depth, a wall thickness and a gutter wall inclination angle;
s2, selecting a roadbed cross section diagram of the gutter to be drawn;
s3, calculating the coordinates of key points of the gutter according to the coordinates of the cutting top of the section mile graph, the coordinates of pile points in the line, the corresponding elevation value of an elevation point, ground line parameters, the distance between the gutter and the cutting top and the relative position relationship of the gutter in the section mile graph;
s4, calling a drawing software connection function, sequentially connecting the key point coordinates on the roadbed cross sectional diagram, and drawing a moat gutter cross sectional diagram corresponding to the section mileage;
s5, calculating a trench bottom elevation of the cross section of the moat gutter according to the key point coordinates, the coordinates of the pile points in the line and the elevation value corresponding to the elevation point, and drawing a trench bottom elevation icon according to the trench bottom elevation by calling drawing software;
the step of step S3 includes:
s301, calculating the top width of the trench wall and the top width of the gutter according to the inclination angle and the wall thickness of the trench wall;
s302, determining the type of the cutting as a left cutting or a right cutting according to the relative position relation between the coordinates of the pile points in the circuit and the coordinates of the cutting;
s303, if the moat type is a left moat, obtaining an L1 straight line y according to the horizontal coordinate of the moat, the distance between the gutter and the moat and the width of the trench wall topL1The L1 straight line yL1Is the boundary line of the gutter near the line side, and the L2 straight line y is obtained according to the horizontal coordinate of the elevation point, the distance between the gutter and the moat top, the width of the gutter top and the width of the gutter wall topL2The L2 straight line yL2The side boundary line of the gutter far away from the line;
if the type of the moat is the right moat, obtaining an L3 straight line y according to the horizontal coordinate of the moat, the distance between the gutter and the moat and the width of the trench wall topL3The L3 straight line yL3Is the boundary line of the gutter near the line side, and the L4 straight line y is obtained according to the horizontal coordinate of the elevation point, the distance between the gutter and the moat top, the width of the gutter top and the width of the gutter wall topL4The L4 straight line yL4The side boundary line of the gutter far away from the line;
s304, if the type of the graben is a left graben, calculating a coordinate P of a straight intersection point of the ground line and the L1 according to the parameters of the ground lineL1And calculating the coordinate P of the intersection point of the ground line and the L2 straight lineL2
If the type of the cutting top is the right cutting top, calculating the coordinate P of the intersection point of the ground line and the L3 straight line according to the parameters of the ground lineL3And calculating the coordinate P of the intersection point of the ground line and the L4 straight lineL4
S305, if the type of the moat is a left moat, according to the coordinate PL1And the ordinate of (2) and the coordinate PL2Judging the type of the left graben slope according to the relative relation of the vertical coordinates,
if the type of the cutting is the right cutting, according to the coordinate PL3And the ordinate of (2) and the coordinate PL4Judging the type of the right graben slope according to the relative relation of the vertical coordinates;
and S306, calculating the coordinates of the key points of the left graben or the right graben according to the type of the graben slope.
2. The method for automatically calculating and quickly drawing a roadbed gutter as claimed in claim 1, wherein after drawing a plurality of cross sectional views of a section of continuous gutter, the method further comprises the step of drawing a drainage marker line:
s6, numbering the cross sectional diagram of the moat gutter from small to large according to the ascending sequence of the section mileage to obtain a section numbering sequence;
s7, finding out the section number corresponding to the maximum trench bottom height by comparison;
s8, determining drainage directions of the cross-sectional diagrams of the plurality of moat gutter according to the positions of the section numbers corresponding to the maximum gutter bottom elevation in the section number sequence, wherein the drainage directions comprise a direction of discharging to a small mileage direction and a direction of discharging to a large mileage direction;
s9, if the drainage direction of the cross section diagram of the trench roof gutter is the direction of discharging to the small mileage, drawing a direction icon of discharging to the small mileage at the trench bottom elevation icon of the cross section diagram of the trench roof gutter, and if the drainage direction of the cross section diagram of the trench roof gutter is the direction of discharging to the large mileage, drawing a direction icon of discharging to the large mileage at the trench bottom elevation icon of the cross section diagram of the trench roof gutter.
3. The method according to claim 2, wherein the step S8 includes the following steps:
if the section number corresponding to the maximum trench bottom elevation is the first of the section number sequence, the drainage direction of the cross sectional diagram of the moat gutter corresponding to other section numbers is the direction of discharging to large mileage;
if the section number corresponding to the maximum trench bottom elevation is the last section of the section number sequence, the drainage direction of the cross section diagram of the moat gutter corresponding to other section numbers is the direction of discharging to a small mileage;
if the section number corresponding to the maximum trench bottom elevation is located in the middle of the section number sequence, dividing the section number sequence into a front section number sequence and a rear section number sequence by taking the section number corresponding to the maximum trench bottom elevation as a boundary, wherein the section number in the front section number sequence is smaller than the section number in the rear section number sequence, the drainage direction of the moat roof gutter cross section diagram corresponding to the section number in the front section number sequence is arranged in a small mileage direction, and the drainage direction of the moat roof gutter cross section diagram corresponding to the section number in the rear section number sequence is arranged in a large mileage direction.
4. The method for automatically calculating and rapidly drawing a roadbed gutter as claimed in claim 3, wherein the steps further comprise an automatic correction process, and the automatic correction specifically comprises the steps of:
A. setting n section numbers within the gutter range as K1~KnAnd the section number corresponding to the maximum trench bottom elevation is KmWherein m is more than or equal to 1 and less than or equal to n;
B. number of section K1~KmThe moat gutter drains water in the direction of a small mileage by KmThe section is the initial section, and the section is numbered KiTrench bottom elevation G of corresponding moat gutter cross sectional viewiAnd section number Ki-1Trench bottom elevation G of corresponding moat gutter cross-sectional viewi-1Making difference to obtain difference value C ═ Gi-Gi-1Wherein the section is numbered KiAnd section number Ki-1Adjacent to each other, i is more than or equal to 1 and more than or equal to 1, i is more than or equal to m; if C is less than or equal to 0, the section number Ki-1The gutter bottom elevation is unreasonable, and the section number K is reduced by taking 0.1m as a step lengthi-1The distance from the gutter to the moat top, and the section number K is recalculatedi-1The elevation of the bottom of the cross section is calculated again, the difference C is calculated again, if C is less than or equal to 0, the number K of the cross section is reduced continuouslyi-1Until C, from the gutter to the moat>0; continuously judging the next pair of adjacent sections until the section number K1~KmThe elevation difference of the bottom of the cross section trench meets C>0;
C. Number of section Km~KnMoat gutter drains over a long distanceDirection in KmThe section is the initial section, and the section is numbered KiTrench bottom elevation G of corresponding moat gutter cross sectional viewiAnd section number Ki+1Trench bottom elevation G of corresponding moat gutter cross sectional viewi+1Making difference to obtain difference value C ═ Gi+1-GiWherein the section is numbered KiAnd section number Ki+1Adjacent to each other, and m is more than or equal to i and more than or equal to i +1 and more than or equal to n; if C is more than or equal to 0, the section number Ki+1The gutter bottom elevation is unreasonable, and the section number K is increased by taking 0.1m as a step lengthi+1The distance from the gutter to the moat top, and the section number K is recalculatedi+1The elevation of the bottom of the cross section is calculated, the difference C is calculated, and if C is more than or equal to 0, the number K of the cross section is continuously reducedi+1Until C, from the gutter to the moat<0; continuously judging the next pair of adjacent sections until the section number Km~KnThe elevation difference of the bottom of the cross section trench meets C<0;
D. Obtain the section number K1~KnMinimum distance d of middle gutter from grabeniminAnd the minimum distance d between the gutter and the moatiminAt a predetermined minimum distance d from the input0minMaking a difference: d ═ d0min-dimin(ii) a If delta d is less than or equal to 0, the adjustment is finished; if Δ d>0, all the sections are numbered K1~KnDistance d between gutter of middle and cross section and cutting topiΔ d is increased such that Δ d ≦ 0.
5. The method for automatically calculating and quickly drawing the roadbed gutter as claimed in claim 4, wherein after automatic correction, whether drainage of the left or right gutter is smooth is judged according to the drainage gradient, if so, gutter drawing is completed, and if not, the height of the section gutter is adjusted, and the method specifically comprises the following steps:
firstly, inputting a drainage gradient I, picking up mileage text information corresponding to j, j +1, … j + n sections and converting the mileage text information into a numerical value CKj,CKj+1,…CKj+n
Secondly, finding the K section of the groove bottom section of the side slope highest side groove, and acquiring the groove bottom elevation h of the section of the K sectionkAnd is combined withCalculating the difference of drainage height between sections, wherein, is I x (CK)i+1-CKi);
Thirdly, for the left gutter, when the condition is satisfied: h is a total ofk-Δ≥hk-1,hk-1-Δ≥hk-2,…hi+1≥hi(ii) a And h isk-Δ≥hk+1,hk+1-Δ≥hk+2,…hi+n-1-Δ≥hi+nWhen the water is drained, the left gutter is smooth;
for the right gutter, when the condition is satisfied: h isk-Δ≤hk-1,hk-1-Δ≤hk-2,…hi+1≤hi(ii) a And h isk-Δ≤hk+1,hk+1-Δ≤hk+2,…hi+n-1-Δ≤hi+nWhen the water is drained, the gutter on the right side is smooth;
fourthly, comparing h for the left gutterkAnd hk-1Size when hk-Δ<hk-1While decreasing hk-1The height of the section gutter is reduced by 0.1m, and h is recalculated according to the step S3k-1Obtaining new h from each key point position of section gutterk-1(ii) a Judging new hk-1Whether the conditions for the smooth drainage of the left gutter in the third step are met or not;
for the right gutter, compare hkAnd hk-1Size when hk-Δ>hk-1While decreasing hkThe height of the section gutter is reduced by 0.1m, and h is recalculated according to step S3kObtaining new h from each key point position of section gutterk(ii) a Judging new hkWhether the conditions of the drainage smoothness of the gutter on the right side in the third step are met or not;
fifthly, repeating the fourth step until the elevation h of the groove bottom of each sectionkThe condition of smooth drainage is met.
6. The method for automatically calculating and rapidly drawing a roadbed gutter as claimed in claim 1,
the functional mathematical expression of the L1 line is:
x=x1-d+tt
wherein x is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat; t is ttThe width of the top of the trench wall;
the functional mathematical expression of the L2 line is:
x’=x1-d-(wt+tt)
wherein x' is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat, ttIs the width of the top of the trench wall, wtThe roof of the gutter is wide;
the functional mathematical expression of the L3 line is:
x=x1+d-tt
wherein x is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat; t is ttThe width of the top of the trench wall;
the functional mathematical expression of the L4 line is:
x’=x1+d+(wt+tt)
wherein x' is the abscissa in the CAD drawing coordinate system, x1Is the horizontal coordinate of the moat, d is the distance between the gutter and the moat, ttIs the width of the top of the trench wall, wtThe gutter is wide at the top.
7. The method according to claim 1, wherein in step S305, the type of trench top slope includes an inclined line and a substantially flat slope, and if y is a left trench top when the type of trench top is a left trench topL1≤yL2If y is the line of the left graben slope typeL1>yL2If so, the type of the left graben slope is a basic flat slope;
when the type of the cutting is the right cutting, if yL3≤yL4If y is the line of the left graben slope typeL3>yL4And if so, the type of the left graben slope is a basic flat slope.
8. The method according to claim 1, wherein in step S306, if the type of the moat is a left moat, there are 8 key points of the left moat, and when the type of the left moat slope is an inclined line, the formula for calculating the coordinates of the 8 key points of the left moat is as follows:
p0=[xL1,yL1]
p1=[xp0-tt,yp0]
p2=[xp1-h·cotθ,yp1-h]
p3=[xp2-w,yp2]
p4=[xp3-h·cotθ,yp3+h]
p5=[xp4-tt,yp4]
p6=[xp5+(h+t)·cotθ,yp5-(h+t)]
p7=[xp0-(h+t)·cotθ,yp0-(h+t)]
wherein p is0~p7Represents 8 key points, [ x ]L1,yL1]Is the coordinate of the intersection of the ground line and the L1 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6,xp7The abscissa, y, of the 8 key points of the left grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the left grabentIs the trench wall top width, theta is the trench wall inclination angle, h is the trench depth, w is the gutter floor width, and t is the trench wall floor width;
when the type of the left cutting slope is a basic flat slope, a local reverse slope exists at the water ditch, and the calculation formula of the coordinates of 8 key points of the left cutting is as follows:
p0=[xL2,yL2]
p1=[xp0+tt,yp0]
p2=[xp1+h·cotθ,yp1-h]
p3=[xp2+w,yp2]
p4=[xp3+h·cotθ,yp3+h]
p5=[xp4+tt,yp4]
p6=[xp5-(h+t)·cotθ,yp5-(h+t)]
p7=[xp0+(h+t)·cotθ,yp0-(h+t)]
wherein p is0~p7Represents 8 key points, [ x ]L2,yL2]Is the coordinate of the intersection of the ground line and the L2 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6The abscissa, y, of the 8 key points of the left grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the left grabentIs the trench wall top width, theta is the trench wall tilt angle, h is the trench depth, w is the gutter floor width, and t is the trench wall floor width.
9. The method according to claim 1, wherein in step S306, if the type of the cut is a right cut, there are 8 key points of the right cut, and when the type of the right cut slope is an inclined route, the calculation formula of the coordinates of the 8 key points of the right cut is as follows:
q0=[xL3,yL3]
q1=[xq0+tt,yq0]
q2=[xq1+h·cotθ,yq1-h]
q3=[xq2+w,yq2]
q4=[xq3+h·cotθ,yq3+h]
q5=[xq4+tt,yq4]
q6=[xq5-(h+t)·cotθ,yq5-(h+t)]
q7=[xq0+(h+t)·cotθ,yq0-(h+t)]
wherein q is0~q7Represents 8 key points, [ x ]L3,yL3]Is the coordinate of the intersection of the ground line and the L3 straight line, xq0,xq1,xq2,xq3,xq4,xq5,xq6,xq7The abscissa, y, of 8 key points of the right grabenq0,yq1,yq2,yq3,yq4,yq5,yq6,yq7The ordinate, t, of 8 key points on the top of the right grabentIs the trench wall top width, theta is the trench wall inclination angle, h is the trench depth, w is the gutter bottom width, t is the trench wall bottom width;
when the type of the right cutting slope is a basic flat slope, a local reverse slope exists at the position of the ditch, and the calculation formula of the coordinates of 8 key points of the right cutting is as follows:
q0=[xL4,yL4]
q1=[xq0-tt,yq0]
q2=[xq1-h·cotθ,yq1-h]
q3=[xq2-w,yq2]
q4=[xq3-h·cotθ,yq3+h]
q5=[xq4-tt,yq4]
q6=[xq5+(h+t)·cotθ,yq5-(h+t)]
q7=[xq0-(h+t)·cotθ,yq0-(h+t)]
wherein q is0~q7Represents 8 key points, [ x ]L4,yL4]Is the coordinate of the intersection of the ground line and the L4 straight line, xp0,xp1,xp2,xp3,xp4,xp5,xp6The abscissa, y, of 8 key points of the right grabenp0,yp1,yp2,yp3,yp4,yp5,yp6,yp7The ordinate, t, of 8 key points on the top of the right grabentIs the trench wall top width, θ is the trench wall tilt angle, h is the trench depth, w is the gutter floor width, and t is the trench wall floor width.
CN202010747938.5A 2020-07-30 2020-07-30 Automatic calculation and rapid drawing method for roadbed gutter Active CN111859513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010747938.5A CN111859513B (en) 2020-07-30 2020-07-30 Automatic calculation and rapid drawing method for roadbed gutter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010747938.5A CN111859513B (en) 2020-07-30 2020-07-30 Automatic calculation and rapid drawing method for roadbed gutter

Publications (2)

Publication Number Publication Date
CN111859513A CN111859513A (en) 2020-10-30
CN111859513B true CN111859513B (en) 2022-05-03

Family

ID=72945624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010747938.5A Active CN111859513B (en) 2020-07-30 2020-07-30 Automatic calculation and rapid drawing method for roadbed gutter

Country Status (1)

Country Link
CN (1) CN111859513B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116341090B (en) * 2023-05-31 2023-08-08 四川华恒升科技发展有限公司 Automatic plotting method for farmland water conservancy channels

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159066A (en) * 2007-11-20 2008-04-09 中交第二公路勘察设计研究院有限公司 Highway measuring and setting method based on three-dimensional airborne LIDAR
CN107908820A (en) * 2017-10-19 2018-04-13 武汉金思路科技发展有限公司 Method for designing parallel cross section of road

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102425091A (en) * 2011-09-09 2012-04-25 中铁二院工程集团有限责任公司 Mountain area groove cutting subgrade drainage structure
CN202227286U (en) * 2011-09-09 2012-05-23 中铁二院工程集团有限责任公司 Road cutting and roadbed drainage structure of ditches in mountainous areas
JP6440435B2 (en) * 2014-09-29 2018-12-19 太平洋セメント株式会社 Water retention pavement structure
JP2016079592A (en) * 2014-10-10 2016-05-16 株式会社シーマコンサルタント Pavement structure
CN104314015B (en) * 2014-10-28 2016-04-13 铁道第三勘察设计院集团有限公司 Railway bed row of horizontal collaborative design method in length and breadth
CN105279792B (en) * 2015-10-13 2017-12-15 中国铁路设计集团有限公司 Railway bed draining BIM design methods based on terrain surface
CN207525557U (en) * 2017-05-24 2018-06-22 中国铁路总公司 A kind of abrupt slope is soft soil roadbed
CN109162152B (en) * 2018-10-10 2021-05-11 上海华峰新材料研发科技有限公司 Method for remedying slurry pumping disease of ballastless track bed of high-speed rail
CN110030972A (en) * 2019-04-24 2019-07-19 中铁八局集团第三工程有限公司 Tunnel Overbreak & Underbreak detection method based on ExcelVBA

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159066A (en) * 2007-11-20 2008-04-09 中交第二公路勘察设计研究院有限公司 Highway measuring and setting method based on three-dimensional airborne LIDAR
CN107908820A (en) * 2017-10-19 2018-04-13 武汉金思路科技发展有限公司 Method for designing parallel cross section of road

Also Published As

Publication number Publication date
CN111859513A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN106097450B (en) A kind of contour lines creation method and device
CN106225707B (en) A method of it is deformed for fast slowdown monitoring high CFRD extrusion side wall
CN107869249B (en) Arcuate structure high-formwork construction method
CN111859513B (en) Automatic calculation and rapid drawing method for roadbed gutter
CN105138788A (en) Full-parameterization establishing method for road three-dimensional model
KR20050006173A (en) Digital altimetric map drawing method and device
JP6987624B2 (en) Pile construction method and pile construction management system
CN106931942A (en) A kind of super high rise building tilt measuring method
CN106202648A (en) Tunnel portal position automatization is than the BIM method for designing of choosing
WO2024037121A1 (en) Complex geological immersed tube tunnel foundation trench soil-distinguished over- and under-excavation analysis method and apparatus
CN113256809A (en) Engineering earth volume calculation method of seabed immersed tube tunnel foundation trench based on BIM
CN116542105B (en) Riverbed bottom paving operation method and system in ultra-deep dynamic water area
CN115146363B (en) Civil 3D-based damming structure and construction drawing creation method
CN107563059A (en) A kind of curved section steel reinforcement cage feature point calculating method
CN114741770B (en) Dredging section structure based on Civil3D and template establishing method
CN116127575A (en) BIM-based building indoor piping space clear height analysis method and system
CN116305500A (en) Automatic pile foundation engineering quantity generation method and system
CN107908820B (en) Method for designing parallel cross section of road
CN115936518A (en) Tunnel overexcavation control level quantitative evaluation method based on point cloud data
CN110263437A (en) Rail link automatic design method
CN114150683A (en) Arrangement method of pressure relief device on bottom plate of basement in sloping field
CN111815741A (en) Road drawing method and system based on image texture recognition
CN110046425A (en) Adapt to the long line engineering kilometer stone integrated test equipment, method of path change
CN115758516A (en) Automatic arrangement and automatic engineering quantity calculation method for layered reinforcement structure of filling roadbed
CN109684692A (en) Mine road superrelation on curve based on AUTO CAD widens element acquisition methods

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant