CN116664793A - Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment - Google Patents

Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment Download PDF

Info

Publication number
CN116664793A
CN116664793A CN202310681244.XA CN202310681244A CN116664793A CN 116664793 A CN116664793 A CN 116664793A CN 202310681244 A CN202310681244 A CN 202310681244A CN 116664793 A CN116664793 A CN 116664793A
Authority
CN
China
Prior art keywords
slope
line
line segment
road
target
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.)
Pending
Application number
CN202310681244.XA
Other languages
Chinese (zh)
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 Water Resources Pearl River Planning Surverying & Designing Co ltd
Original Assignee
China Water Resources Pearl River Planning Surverying & Designing Co ltd
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 Water Resources Pearl River Planning Surverying & Designing Co ltd filed Critical China Water Resources Pearl River Planning Surverying & Designing Co ltd
Priority to CN202310681244.XA priority Critical patent/CN116664793A/en
Publication of CN116664793A publication Critical patent/CN116664793A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

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

Abstract

The invention provides a three-dimensional modeling method, a device and electronic equipment for excavating and releasing slopes of a hydraulic building, which are used for respectively acquiring the releasing parameters and the building base surface side lines of the hydraulic building; based on the control point coordinates of each base surface side line, correspondingly dividing each base surface side line into a plurality of corresponding line segments; based on the slope releasing parameters and all line segments, creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement; and generating an original excavation surface based on all the slope pavement lines and all the slope control side lines, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface. The invention can improve the efficiency of the design of excavating and releasing slopes.

Description

Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment
Technical Field
The invention relates to the technical field of hydraulic engineering design, in particular to a three-dimensional modeling method, a device and electronic equipment for hydraulic building excavation and slope releasing.
Background
The excavation of side slopes is an important work in the arrangement and design of hydraulic buildings, and is closely related to the topography and geology. The existing design of excavating and releasing slopes is often realized through drawing software modeling, but the operation related to the mode is very tedious, the operation requirement on a designer is high, and a large number of manual operations can severely restrict the efficiency of the design of excavating and releasing slopes, so that the problem becomes more serious under the condition of complex foundation planes.
Disclosure of Invention
In view of the above, the invention aims to provide a three-dimensional modeling method, a device and electronic equipment for excavating and releasing slopes of hydraulic buildings so as to improve the efficiency of excavating and releasing slopes.
In a first aspect, an embodiment of the present invention provides a three-dimensional modeling method for hydraulic building excavation and slope release, where the method includes: respectively acquiring slope setting parameters and base surface side lines of a hydraulic building; the slope setting parameters comprise the width of the pavement, the elevation of each grade of pavement and the slope ratio among each grade of pavement, and the foundation surface side line comprises a first foundation surface side line positioned on the upstream side of the hydraulic building and a second foundation surface side line positioned on the downstream side of the hydraulic building; based on the control point coordinates of each base surface side line, correspondingly dividing each base surface side line into a plurality of corresponding line segments; based on the slope setting parameters and all line segments, creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement; and generating an original excavation surface based on all slope pavement lines and all slope control edges, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface.
In a second aspect, an embodiment of the present invention further provides a three-dimensional modeling apparatus for excavating and releasing a slope in a hydraulic building, where the apparatus includes: the acquisition module is used for respectively acquiring the slope setting parameters and the base surface side line of the hydraulic building; the slope setting parameters comprise the width of the pavement, the elevation of each grade of pavement and the slope ratio among each grade of pavement, and the foundation surface side line comprises a first foundation surface side line positioned on the upstream side of the hydraulic building and a second foundation surface side line positioned on the downstream side of the hydraulic building; the dividing module is used for correspondingly dividing each building base surface boundary into a plurality of corresponding line segments based on the control point coordinates of each building base surface boundary; the creation module is used for creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement based on the slope releasing parameters and all line segments; the generation module is used for generating an original excavation surface based on all slope horse road lines and all slope control side lines, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the three-dimensional modeling method for hydraulic building excavation and slope laying.
The embodiment of the invention provides a three-dimensional modeling method, a device and electronic equipment for excavating and releasing slopes of a hydraulic building, which are used for respectively acquiring the parameters of releasing slopes and the base surface side lines of the hydraulic building; based on the control point coordinates of each base surface side line, correspondingly dividing each base surface side line into a plurality of corresponding line segments; based on the slope releasing parameters and all line segments, creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement; and generating an original excavation surface based on all the slope pavement lines and all the slope control side lines, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface. By adopting the technology, the three-dimensional model of the slope surface can be quickly built by combining the existing topographic data only by acquiring the slope releasing parameters and the base surface side lines of the hydraulic building, so that the efficiency of slope surface releasing design is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a three-dimensional modeling method for hydraulic building excavation and slope release in an embodiment of the invention;
FIG. 2 is a diagram illustrating an example of a boundary line of a complex base surface in accordance with an embodiment of the present invention;
FIG. 3 is a diagram illustrating grouping of line segments in a LineList in accordance with an embodiment of the present invention;
FIG. 4 is an exemplary diagram of a segment start and end interchange in an embodiment of the invention;
FIG. 5 is a diagram illustrating an example sequence of adjusting elements in the LineSubList_1 list in an embodiment of the present invention;
FIG. 6 is an exemplary diagram of generating a spatial line segment in an embodiment of the invention;
FIG. 7 is a diagram illustrating an example of a result of generating a spatial line segment of a boundary of a base surface in an embodiment of the present invention;
FIG. 8 is an exemplary diagram of a temporary slope-lowering segment intersecting a space segment in an embodiment of the present invention;
FIG. 9 is an exemplary diagram of an intersection between a temporary slope-releasing segment line and a space segment line in an embodiment of the present invention;
FIG. 10 is an exemplary diagram of generating a transitional multi-segment line in an embodiment of the invention;
FIG. 11 is an exemplary diagram of generating a multi-segment offsetLine in an embodiment of the present invention;
FIG. 12 is an exemplary diagram of a side slope road line generated in an embodiment of the invention;
FIG. 13 is an exemplary diagram of creating an upstream side excavation edge line and adding inter-grade catwalk side slope control edge lines in an embodiment of the present invention;
FIG. 14 is an exemplary diagram of an upstream and downstream side excavation edge line and a side slope control edge line between the various levels of the catwalk in accordance with an embodiment of the present invention;
FIG. 15 is an exemplary diagram of generating an original excavation face in an embodiment of the present invention;
fig. 16 is an exemplary diagram of an intersection of a three-dimensional topographical Mesh surface with an originally excavated Mesh surface in an embodiment of the present invention;
FIG. 17 is an exemplary illustration of an excavated opening line in an embodiment of the present invention;
FIG. 18 is an axial side exemplary view of a precision three-dimensional excavation surface in accordance with an embodiment of the present invention;
FIG. 19 is a schematic structural view of a three-dimensional modeling apparatus for hydraulic building excavation and slope release according to an embodiment of the present invention;
fig. 20 is a diagram illustrating a structure of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described in conjunction with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The excavation of side slopes is an important work in the arrangement and design of hydraulic buildings, and is closely related to the topography and geology. The existing design of excavating and releasing slopes is often realized through drawing software modeling, but the operation related to the mode is very tedious, the operation requirement on a designer is high, and a large number of manual operations can severely restrict the efficiency of the design of excavating and releasing slopes, so that the problem becomes more serious under the condition of complex foundation planes.
Based on the method, the device and the electronic equipment for three-dimensional modeling of the hydraulic building excavation and slope release provided by the embodiment of the invention, the efficiency of the excavation and slope release design can be improved.
For the understanding of this embodiment, a three-dimensional modeling method for excavating and releasing a slope of a hydraulic building disclosed in the embodiment of the present invention is described in detail, and referring to fig. 1, the method may include the following steps:
Step S102, slope setting parameters and base surface side lines of the hydraulic building are respectively obtained.
The slope setting parameters may include a width of the catwalk, an elevation of the catwalk at each level, and a slope ratio between the catwalks at each level, and the base side line may include a first base side line located on an upstream side of the hydraulic building and a second base side line located on a downstream side of the hydraulic building.
For example, the elevation of each level of the horse road of the slope to be put, the slope ratio of the corresponding slope between each level of the horse road, and the width of the slope horse road line (i.e., the width of the horse road) may be obtained by a direct input method or a direct call of the existing data, and the base surface side line may be obtained by a real-time drawing method or a direct selection of the existing data by the user, which is not limited. Referring to fig. 2, two base side lines (which are all multi-segment lines) are shown in fig. 2 and are respectively located on the upstream side and the downstream side of the building structure, and the corresponding base side lines can be directly obtained by mouse pointing.
Step S104, based on the control point coordinates of each base surface side line, each base surface side line is correspondingly divided into a plurality of corresponding line segments.
And S106, creating a slope road line corresponding to each level of road and a slope control side line among each level of road based on the slope setting parameters and all line segments.
And S108, generating an original excavation surface based on all the slope horse road lines and all the slope control side lines, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface.
The embodiment of the invention provides a three-dimensional modeling method for excavating and releasing slopes of a hydraulic building, which is used for respectively obtaining the parameters of releasing slopes and the boundary lines of foundation surfaces of the hydraulic building; based on the control point coordinates of each base surface side line, correspondingly dividing each base surface side line into a plurality of corresponding line segments; based on the slope releasing parameters and all line segments, creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement; and generating an original excavation surface based on all the slope pavement lines and all the slope control side lines, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface. By adopting the technology, the three-dimensional model of the slope surface can be quickly built by combining the existing topographic data only by acquiring the slope releasing parameters and the base surface side lines of the hydraulic building, so that the efficiency of slope surface releasing design is improved.
As one possible implementation, the starting point height Cheng Zhijun of each line segment is less than or equal to its ending point elevation value; based on this, the step S104 (i.e. dividing each of the base side lines into a corresponding plurality of line segments based on the control point coordinates of each of the base side lines) may include:
(11) Traversing all control points of each base surface boundary to extract parts, located between two adjacent control points, of each base surface boundary as an original line segment respectively, obtaining a plurality of original line segments corresponding to each base surface boundary, and distributing corresponding index numbers for each original line segment according to the traversing sequence of the control points of the corresponding base surface boundary.
Continuing the previous example, referring to fig. 3, for a certain selected base side line (i.e. the solid line with an arrow in fig. 3, the direction of the arrow is the direction of the base side line), the control points of the base side line can be traversed in sequence from the start point of the base side line to the end point of the base side line, when traversing to the current control point and the next control point adjacent to the current control point, the part of the base side line between the two control points is extracted as an original line segment, and so on, until all the control points of the base side line are traversed, the base side line can be split into 26 continuous original line segments (represented by line_1, line_2, … …, line_26 in fig. 3), and line segment lists LineList < line_1, line_2, … …, line_26> are formed; and then sequentially distributing corresponding index numbers for each original line segment according to the control point traversing sequence of the base surface side line.
(12) And acquiring the direction vector of each original line segment based on the control point coordinates of each base surface boundary.
Continuing with the previous example, referring to fig. 3, after splitting the building surface edge into 26 continuous original line segments, a corresponding direction vector can be calculated according to the start point coordinate and the end point coordinate of each original line segment, so as to obtain 26 direction vectors (which can be represented by vector_1, vector_2, … … and vector_26), and form a line segment list vector list < vector_1, vector_2, … … and vector_26>.
(13) And screening target original line segments with Z coordinate values of direction vectors smaller than 0 from the original line segments, exchanging the starting point and the end point of each target original line segment, and then adjusting the index sequence number of each target original line segment according to the control point elevation of the corresponding base surface side line to obtain a plurality of line segments corresponding to each base surface side line.
Continuing the previous example, referring to fig. 3, after the direction vector of each original line segment is obtained, since the Z coordinate value of the direction vector can reflect whether the corresponding original line segment points from high to low or from low to high, original line segments (in fig. 3, line_1, line_2, … …, line_15) with continuous index numbers and Z coordinate values of the direction vector smaller than 0 can be grouped as target original line segments pointing from high to low according to the index number positive sequence, and line sub-lists lin_1 < line 1, line_2, … …, line_15> are formed, original line segments (in fig. 3, line_16, line_17, … …, line_26) with continuous index numbers and Z coordinate values of the direction vector larger than 0 are grouped as another group according to the index number positive sequence, and line sub-lists lin_16, line_17, … …, line_26> are formed; referring to FIG. 4, linSubelist_1 is traversed to swap the start and end points of all target original line segments in LinSubelist_1, thereby ensuring that all line segments in LinSubelist_1 are pointed from low to high; referring to fig. 5, according to the index numbers of all the line segments in the control point height Cheng Diaozheng linsubelist_1 of the base surface edge, it is ensured that the starting point elevation or the end point elevation of the line segments in the linsubelist_1 is increased according to the positive sequence of the index numbers, and the sequence after the linsubelist_1 adjusts the line segment index numbers is linsubelist_1< line_15, line_14, … …, line_1>.
As a possible implementation manner, the step S106 (that is, creating the slope road line corresponding to each level of the road and the slope control edge line between each level of the road based on the slope setting parameter and the total line segments) may include:
(21) And creating a slope pavement line corresponding to each level pavement based on the slope releasing parameters and all line segments.
(22) And creating slope control side lines among the various levels of the horse roads based on the control point coordinates of the various slope horse road lines.
As a possible embodiment, the above (21) may include:
(211) All the line segments are traversed to extract the starting elevation value and the ending elevation value of each line segment.
Continuing with the previous example, as shown in FIG. 5, linSubelist_1< line_15, line_14, … …, line_1> and LinSubelist_2< line_16, line_17, … …, line_26> are traversed to extract the starting and ending elevation values of each line segment, respectively.
(212) And traversing the heights of the horse roads at each level in the slope releasing parameter in sequence from small to large according to the heights so as to sequentially determine target line segments of which the starting point height value and the end point height value are correspondingly matched with the heights of the horse roads at each level, and generating corresponding space line segments for the corresponding target line segments according to the slope gradient ratio between the horse roads at each level in the slope releasing parameter.
Continuing the previous example, after the heights of all levels of the horse ways to be put down and the slope ratios of the corresponding slopes among all levels of the horse ways are obtained, an elevation list of height list < height_1, height_2, height_3, … …, height_n > and a slope ratio list of slopeList < slope_1, slope_2, slope_3, … … and slope_n > can be established, wherein the heights in the elevation list are increased according to the positive sequence of index numbers, and the heights in the elevation list are in one-to-one correspondence with the slope ratios in the slope ratio list. Based on this, a traversal of the height list < height_1, height_2, height_3, … …, height_n > may be performed: each time an elevation value is traversed, it is determined whether a line segment exists in linsubelist_1< line_15, line_14, … …, line_1> and linsubelist_2< line_16, line_17, … …, line_26>, such that the elevation value is between the starting elevation value and the ending elevation value of the line segment, if so (i.e., a line segment exists such that the elevation value is between the starting elevation value and the ending elevation value of the line segment), the corresponding slope ratio is extracted from SlopeList < slope_1, slope_2, slope_3, … …, slope_n > according to the index sequence number of the elevation value, and the corresponding spatial line segment is generated for the line segment by the slope ratio.
For a certain line segment needing to generate a corresponding space line segment, the space line segment corresponding to the line segment can be generated according to the following principle: referring to FIG. 6, for a line segment AB in an XYZ coordinate system (Z coordinate value of each point in the coordinate system is the elevation value of the point), the elevation of the point A and the elevation of the point B are respectively the starting point elevation pS and the ending point elevation pE of the line segment AB, and the point B can be projected onto the horizontal plane where the point A is located to obtain point B'point, and according to the respective coordinates of the point A, the point B and the point B', calculating the length of the line segment AB|AB|, the length of the line segment BB|BB '|, and the length of the line segment AB|AB' |; when traversing to an elevation value height_i between the elevation of the point A and the elevation of the point B, finding a point C with the elevation of the height_i on the line AB, projecting the point C onto the horizontal plane of the point A to obtain a point C ', and calculating the length |CC ' |=height_i-pS of the line CC ' according to the respective coordinates of the point C and the point C; assuming that a D ' point exists on the horizontal plane where the A point exists so that the C ' D ' is vertical to the AD ', the D ' point can be projected on the horizontal plane where the C point exists so as to obtain the D point, the angle D ' AD is the inclination angle of a side slope, the slope ratio corresponding to the elevation value height_i is slope_i, and the length |DD ' |= |CC ' |=height_i-pS of the line segment DD ' can be obtained, because of the inclination angle of the side slope From this, the length |ad ' |= |dd ' |x slope_i of the line segment AD ' can be calculated; since ΔABB 'and ΔACC' are similar triangles to each other, the length +.>In ΔAD 'C', the angle is calculatedCalculating the score of C' point on line segment ABCalculating the coordinates of the C 'point according to the transformation and the respective coordinates of the A point and the B point (for example, calculating the coordinates of the C' point through an interface provided by design software and used for calculating the coordinates of the points on the line segment by the fraction); calculating the coordinates of a midpoint p_c of a line segment AC 'according to the respective coordinates of the point A and the point B, rotating the line segment AC' clockwise by 90 degrees by taking the p_c as a base point to obtain a line segment EF, determining the point E as a slope release point of the line segment AB on the left side and the right side of the line segment AB, determining the point F as a slope release point of the line segment AB on the right side of the line segment AB, and then calculating the respective coordinates of the point E and the point F according to the respective coordinates of the point A, the point B and the p_c; according to the respective points C', E and ACoordinates create vectors respectively->And->Calculating rotation axis vectorThe line segment AC 'rotates by taking the point C' as a base point, div as a rotating shaft and angle as a rotating angle to obtain a line segment C 'G, and the coordinate of the point G can be calculated according to the coordinate of the C' and div and angle; the point G is projected onto the horizontal plane where the point C is located to obtain a point H whose elevation is height_i, from which a space line segment CH can be generated.
After traversing each elevation value in the height list < height_1, height_2, height_3, … …, height_n > and generating a corresponding space line segment, a space line segment list slopetemist < temp line_1, temp line_2, temp line_3, … …, temp line_n > may be created based on all generated space line segments, and fig. 7 shows a space line segment generation result of a certain building surface edge line.
(213) And when the first target line segment of each building base surface side line is determined, generating a side slope road line based on the target line segment, a space line segment corresponding to the target line segment, the road width, the elevation of the road corresponding to the target line segment and the side slope ratio between roads corresponding to the target line segment.
For example, when determining a first target line segment of a boundary of a certain building base, determining an offset parameter of the target line segment based on an elevation of a level roadway corresponding to the target line segment and a slope ratio between the level roadways corresponding to the target line segment; wherein the offset parameter may include a horizontal offset distance and a vertical offset distance; and then, shifting the target line segment according to the shifting parameter of the target line segment to obtain a temporary slope-releasing multi-segment line, and generating a slope-releasing horse line based on the temporary slope-releasing multi-segment line, the horse road width and the space line segment corresponding to the target line segment.
(214) And when determining a target line segment except the first target line segment of each building base surface side line each time, generating a side slope road line based on the side slope road line generated last time, the space line segment corresponding to the target line segment, the road width, the elevation of the level road corresponding to the target line segment, the side slope ratio between the level roads corresponding to the target line segment and the elevation of the level road corresponding to the target line segment determined last time.
For example, when determining a target line segment other than the first target line segment of a certain base surface side line at each time, determining an offset parameter of the last generated side slope road line based on the elevation of the level road corresponding to the target line segment, the side slope ratio between the level road corresponding to the target line segment, and the elevation of the level road corresponding to the last determined target line segment; and then, shifting the last generated side slope road line according to the shift parameter of the last generated side slope road line to obtain a temporary slope-releasing multi-section line, and generating a side slope road line based on the temporary slope-releasing multi-section line, the road width and the space line segment corresponding to the target line segment.
Based on the step (211) to the step (214), each time a target line segment is obtained, the step of generating a slope catwalk line based on the temporary slope-releasing multi-segment line, the catwalk width, and the spatial line segment corresponding to the target line segment may include: acquiring an intersection point between the temporary slope-releasing multi-section line and a space line segment corresponding to the target line segment, and connecting the intersection point, a starting point of the space line segment and a control point of the temporary slope-releasing multi-section line positioned in front of the intersection point into a transition multi-section line; and taking the width of the road as an offset distance, and generating a slope road line by means of offsetting the transition multi-section line.
For ease of understanding, the operation of (213) above (214) is described herein by way of example in the context of linesublist_1 as follows:
first, referring to fig. 8, a first element in the lineublist_1 list is added as a first control edge of a side slope to the newly created ControlLineList1 list, and the element is denoted as ControlLineList1[0].
Second, referring to fig. 8, the method of traversing the height list < height_1, height_2, height_3, … …, height_n > according to the index sequence, when traversing to the height_1 between the starting point elevation pS and the end point elevation pE of the ControlLineList1[0], the height_1 takes the height_1 as the slope elevation, takes the ControlLineList1[0] as the slope base line, takes the slope_1 as the slope base line, performs slope by shifting the slope base line, the horizontal shift distance Δh_1= (height_1-pS) ×slope_i, the vertical shift distance Δv1= (height_i-pS), firstly, shifting the slope base line horizontally by Δh_1, then shifting the horizontally shifted line by Δv1, then, finding the first slope line after the vertical shift by the height_1, taking the slope_1 as the slope base line, and taking the slope base line as the intersection point between the first slope and the slope line as the slope base line, and the intersection point between the slope base line and the slope line in the slope list, and the slope line in the first slope list is added as the slope, and the intersection point between the slope line and the slope line is the slope 1, and the intersection point is the slope 1 is added to the control line in the first slope line.
Third, referring to fig. 8, the controlled linelist1[1] is horizontally shifted with the width of the road as a horizontal shift distance, and a portion of the horizontally shifted line between its end point and one of the control points adjacent to its end point is removed, after which all of the control points of the removed line and the start point of the first element in the slopetemp temlist are connected to one multi-segment line, which is added to the controlled linelist1 as a third control edge line of the side slope (i.e., one side slope road line), and the multi-segment line is denoted as a controlled linelist1[2].
Fourth, referring to fig. 8, when the height_i (i is greater than 1) after traversing to the height_1, the slope is laid by using the height_i as a slope elevation, using the last element in the ControlLineList1 as a slope base line, using the slope_i as a slope ratio, and by shifting the slope base line, a horizontal shift distance Δh= [ height_i-height_ (i-1) ] x slope_i, a vertical shift distance Δv=height_i-height_ (i-1), and a horizontal shift of the slope base line Δh is performed first, and then a line after the horizontal shift is vertically shifted by Δv, thereby generating a temporary slope multi-segment line (denoted as a temlinetriang multi-segment line).
And fifthly, breaking up the TemLineSt multi-segment line into a plurality of line segments (which can be realized through an interface provided by design software), adding the broken line segments into a newly built TemLinesub list one by one according to the sequence from the starting point of the TemLineSt multi-segment line to the end point of the TemLineSt multi-segment line, traversing the TemLinesub list, and extracting the control point coordinates of the first element TemLinesub [0] to j-1 th element TemLinesub [ j-1] in the TemLinesub list to form a point coordinate list pointList when an intersection point (which does not contain an intersection point formed by line segment extension) exists between the element TemLinesub [ j ] in the TemLinesub list and the element TemLinesub [ j ] corresponding to the height_i in the SlepTemTemList, and sequentially adding the coordinates of the element TemLineTemesub [ j ] and the element TemLinesub [ j-1] to the starting point coordinate list. Referring to FIG. 9, the TemLinesub list contains 2 elements (i.e., temLinesub [0] and TemLinesub [1 ]), wherein an intersection point pInsert exists between TemLinesub [1] and TemLine_i, then the control point coordinates of the TemLinesub [0] line segment are extracted to form a point coordinate list pointList < pointList [0], pointList [1] >, then the coordinates of the intersection point pInsert and the starting point coordinates of TemLine_i are sequentially added to pointList, finally, pointList < pointList [0], pointList [1], pointList [2], pointList [3] >, pointList [2] is the coordinates of the intersection point pInsert, and pointList [3] is the starting point coordinates of TemLine_i.
Sixth, regenerating a multi-segment line (which can be implemented through an interface provided by design software) by using the pointList and adding the multi-segment line to the ControlLineList1 as a control edge line (i.e., a side slope horse road line) of the side slope. Referring to FIG. 10, a multi-segment line is regenerated using PointList < PointList [0], pointList [1], pointList [2], pointList [3], and the regenerated multi-segment line is added to ControlLineList1 as a fourth control edge line (i.e., a side slope horse line) of the side slope, and the multi-segment line is denoted as ControlLineList1[3], at which time the last element of ControlLineList1 is changed from the previous ControlLineList1[2] to the current ControlLineList1[3].
And seventh, horizontally shifting the last element in the ControlLineList1 list by taking the last element in the ControlLineList1 list as a base line and the width of the horse way as an offset distance, thereby obtaining a multi-section line offsetLine. Referring to FIG. 11, a multi-segment line offsetLine is formed by horizontally shifting the ControlLineList1[3] by berm_b, setting the horse-track width to berm_b, and the last element of ControlLineList1 to ControlLineList1[3].
Eighth, extracting control point coordinates of the multi-segment line offsetLine to form a point coordinate list offLinePoint List, deleting the last point coordinate in the offLinePoint List (namely the end point coordinate of the multi-segment line offsetLine), and adding the start point coordinate of the temline_i in the slopeTemList to the offLinePoint List; referring to FIG. 12, extracting control point coordinates of the offsetLine forms an offLineLineLineLiniList [0], an offLineLineLiniList [1], an offLineLineLiniList [2], an offLineLineLiniList [3], deletes the offLineLineLiniList [3] in the offLineLiniList and adds starting point coordinates of temLine_i after the offLineLiniList [2], generating a new list of offLineLineLiniList < offLineList [0], offLineLineList [1], offLineLineList [2], and offLineLineList [3], wherein the offLineLineList [3] is the starting point coordinates of temLine_i.
A ninth step of regenerating a multi-segment line (which can be realized through an interface provided by design software) by using the offLinePoint List and adding the regenerated multi-segment line to the ControlLineList1; referring to fig. 12, a multi-segment line is regenerated using offlinepoint list < offlinepoint list [0], offlinepoint list [1], offlinepoint list [2], offlinepoint list [3], and the regenerated multi-segment line is added to ControlLineList1, and the multi-segment line is denoted as ControlLineList1[4], when the last element of ControlLineList1 is changed from the previous ControlLineList1[3] to the present ControlLineList1[4].
And tenth, repeatedly iterating the fourth step to the ninth step to generate a control line list1 of all the elevations in the height list.
Similarly, the operation of the first to tenth steps can be applied to lineublist_2, so as to create a control edge list ControlLineList2 of all the elevations in the height list for lineublist_2. Fig. 13 shows the result of the slope discharge of one base side line on the upstream side of the building structure (i.e. the upstream side excavated side line, i.e. the base side line corresponds to all the slope pavement lines generated).
As a possible embodiment, the above (22) may include: traversing the control points of each side slope road line in sequence to sequentially determine target control points of two adjacent side slope road lines, and connecting the target control points of the two adjacent side slope road lines determined each time into a side slope control side line to obtain side slope control side lines among the various levels of roads; wherein, the starting point and the end point of each side slope control side line are respectively the same in index number on the corresponding side slope pavement line.
For ease of understanding, the operation of (22) above is described herein by way of example with reference to ControlLineList1 as follows:
(1) traversing the ControlLineList1, extracting all control point coordinates of the element ControlLineList1[ i ] in the ControlLineList1 to form a point coordinate list pointList1, extracting a multi-section line, and extracting all control point coordinates of the element ControlLineList1[ i+1] in the ControlLineList1 to form a point coordinate list pointList2.
(2) And using the elements pointList 1[j and pointList 2[j with the same index numbers in the pointList1 and the pointList2 as control points to generate control edges between corresponding slope horse roads.
(3) Setting the traversal step of the index sequence number to be 2, and traversing the elements ControlLineList1[ i ] and ControlLineList1[ i+1] in the multi-section line list ControlLineList1 successively in a manner of i=i+2 to obtain an index i, wherein i is smaller than the value obtained by subtracting 2 from the total number of the elements in the ControlLineList 1.
(4) And (3) repeating the steps (1) - (3) so as to generate control side lines among the side slope horse road lines in the control LineList1 list.
Similarly, the operation modes (1) to (4) described above can be applied to the ControlLineList2, thereby generating control edges between the slope lines in the ControlLineList 2. Fig. 13 shows the results of the upstream side excavation edge line addition of each level of inter-catwalk slope control edge line.
For a certain hydraulic building, by the operation modes of the steps S102 to S106, slope road lines corresponding to each level of the catwalk and slope control side lines between each level of the catwalk can be created based on the slope setting parameters of the hydraulic building and the side lines of the building base surface located on the upstream and downstream sides of the hydraulic building. Fig. 14 shows the upstream and downstream side excavation edge lines of the same hydraulic building and the slope control edge lines between the various levels of the catwalk.
For ease of understanding, the operation of step S108 (i.e., generating the original excavation surface based on all the slope road lines and all the slope control edges, and generating the three-dimensional model of the excavation slope based on the original excavation surface and the preset terrain surface) is described in detail herein by taking a specific application as an example as follows:
step 1, the original excavated Mesh surface (i.e., the original excavated surface) shown in fig. 15 is generated by designing a software self-contained tool (e.g., a "creating triangle net through contour" tool) using the upstream and downstream side excavation edge lines shown in fig. 14.
And 2, extracting an intersection line (namely an excavation opening line) between two Mesh surfaces by using the three-dimensional terrain Mesh surfaces (namely a preset terrain surface) and the original excavation Mesh surfaces generated in the step 1 through an interface provided by design software (such as an interface for calculating the intersection line between the two Mesh surfaces). Fig. 16 shows a case where a three-dimensional topographic Mesh surface intersects with an originally excavated Mesh surface, and fig. 17 shows an excavated opening line.
The step 2 can be realized by a secondary development related program mode, the input of the program is a three-dimensional terrain Mesh surface and the original excavation Mesh surface generated in the step 1, and the output of the program is the intersection line of the two Mesh surfaces.
And 3, cutting the original excavation surface by using the excavation opening line extracted in the step 2 as a boundary through a tool (such as a Fence cutting tool) provided with design software, and finally reserving a Mesh surface within the excavation opening line range to generate an accurate excavation surface (shown in fig. 18), wherein the accurate excavation surface is a three-dimensional model of the excavation slope.
In the three-dimensional modeling method for the hydraulic building to excavate and release the slope, the control side line of the excavation and release the slope can be directly generated based on the parameters of the slope release design (namely the slope release parameters) and the side line of the foundation surface to be subjected to slope release, the original excavation Mesh surface is directly generated according to the control side line of the excavation and release the slope, the excavation opening line is obtained by extracting the intersection line between the original excavation Mesh surface and the three-dimensional terrain Mesh surface, and then the original excavation Mesh surface is cut by taking the excavation opening line as a boundary, so that the three-dimensional model of the excavation and release slope is finally obtained. By utilizing the three-dimensional modeling method for excavating and releasing the slope of the hydraulic building, the excavation and releasing design of the complex building base surface of the hydraulic and hydroelectric engineering building (such as a concrete gravity dam, a face plate dam toe plate, an arch dam, a spillway and the like) can be rapidly carried out, and the efficiency of the excavation and releasing design of the engineering scheme in the selection stage is obviously improved.
The three-dimensional modeling method for the hydraulic building excavation slope can be realized through existing design software (such as Bentley Microstation software, autodesk platform software and CATIA platform software) and the like, and the method is not limited.
Based on the three-dimensional modeling method for hydraulic building excavation and slope release, the embodiment of the invention also provides a three-dimensional modeling device for hydraulic building excavation and slope release, which is shown in fig. 19, and can comprise the following modules:
an acquisition module 1902, configured to acquire a slope setting parameter and a base surface boundary of a hydraulic building respectively; the slope setting parameters comprise the width of the pavement, the elevation of each grade of pavement and the slope ratio among the grade of pavement, and the foundation surface side line comprises a first foundation surface side line positioned on the upstream side of the hydraulic building and a second foundation surface side line positioned on the downstream side of the hydraulic building.
The dividing module 1904 is configured to correspondingly divide each base side line into a plurality of corresponding line segments based on the control point coordinates of each base side line.
And a creating module 1906, configured to create a slope road line corresponding to each level of the road and a slope control line between each level of the road based on the slope setting parameters and all the line segments.
And a generating module 1908, configured to generate an original excavation surface based on all slope horse road lines and all slope control edges, and generate a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface.
The three-dimensional modeling device for excavating and releasing slopes of the hydraulic building provided by the embodiment of the invention is used for respectively acquiring the releasing parameters and the building base surface side lines of the hydraulic building; based on the control point coordinates of each base surface side line, correspondingly dividing each base surface side line into a plurality of corresponding line segments; based on the slope releasing parameters and all line segments, creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement; and generating an original excavation surface based on all the slope pavement lines and all the slope control side lines, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface. By adopting the technology, the three-dimensional model of the slope surface can be quickly built by combining the existing topographic data only by acquiring the slope releasing parameters and the base surface side lines of the hydraulic building, so that the efficiency of slope surface releasing design is improved.
The creation module 1906 described above may also be used to: creating slope catwalk lines corresponding to the catwalks at all levels based on the slope setting parameters and all line segments; and creating slope control side lines among the various levels of the horse roads based on the control point coordinates of the various slope horse road lines.
The starting point height Cheng Zhijun of each line segment is smaller than or equal to the end point elevation value; based on this, the above-described partitioning module 1904 may also be used to: traversing all control points of each base surface side line in sequence to extract parts, located between two adjacent control points, of each base surface side line as an original line segment respectively, so as to obtain a plurality of original line segments corresponding to each base surface side line, and distributing corresponding index numbers for each original line segment according to the traversing sequence of the control points of the corresponding base surface side line; based on the control point coordinates of each base surface boundary, obtaining the direction vector of each original line segment; and screening target original line segments with Z coordinate values of direction vectors smaller than 0 from the original line segments, exchanging the starting point and the end point of each target original line segment, and then adjusting the index sequence number of each target original line segment according to the control point elevation of the corresponding base surface side line to obtain a plurality of line segments corresponding to each base surface side line.
The creation module 1906 described above may also be used to: traversing all the line segments to extract the starting point elevation value and the ending point elevation value of each line segment; traversing the heights of the horse roads in each level in the slope-releasing parameter in sequence from small to large so as to sequentially determine target line segments of which the starting point height value and the end point height value are matched with the heights of the horse roads in each level, and generating corresponding space line segments for the corresponding target line segments according to the slope ratios of the horse roads in each level in the slope-releasing parameter; when a first target line segment of each building base surface side line is determined, a side slope road line is generated based on the target line segment, a space line segment corresponding to the target line segment, the road width, the elevation of a road corresponding to the target line segment and the side slope ratio between roads corresponding to the target line segment; and when determining a target line segment except the first target line segment of each building base surface side line each time, generating a side slope road line based on the side slope road line generated last time, the space line segment corresponding to the target line segment, the road width, the elevation of the level road corresponding to the target line segment, the side slope ratio between the level roads corresponding to the target line segment and the elevation of the level road corresponding to the target line segment determined last time.
The creation module 1906 described above may also be used to: determining an offset parameter of the target line segment based on the elevation of the target line segment corresponding to the level horse road and the slope ratio between the target line segment corresponding to the level horse road; wherein the offset parameters include a horizontal offset distance and a vertical offset distance; and shifting the target line segment according to the shifting parameter of the target line segment to obtain a temporary slope-releasing multi-segment line, and generating a slope pavement line based on the temporary slope-releasing multi-segment line, the pavement width and the space line segment corresponding to the target line segment.
The creation module 1906 described above may also be used to: determining the offset parameter of the slope horse road generated last time based on the elevation of the level horse road corresponding to the target line segment, the slope ratio between the level horse roads corresponding to the target line segment and the elevation of the level horse road corresponding to the target line segment determined last time; and shifting the last generated side slope pavement line according to the shift parameter of the last generated side slope pavement line to obtain a temporary slope-releasing multi-section line, and generating a side slope pavement line based on the temporary slope-releasing multi-section line, the pavement width and the space line segment corresponding to the target line segment.
The creation module 1906 described above may also be used to: acquiring an intersection point between the temporary slope-releasing multi-section line and a space line segment corresponding to the target line segment, and connecting the intersection point, a starting point of the space line segment and a control point of the temporary slope-releasing multi-section line positioned in front of the intersection point into a transition multi-section line; and generating a side slope pavement line by taking the pavement width as an offset distance and shifting the transition multi-section line.
The creation module 1906 described above may also be used to: traversing the control points of each side slope road line in sequence to sequentially determine target control points of two adjacent side slope road lines, and connecting the target control points of the two adjacent side slope road lines determined each time into a side slope control side line to obtain side slope control side lines among the various levels of roads; wherein, the starting point and the end point of each side slope control side line are respectively the same in index number on the corresponding side slope pavement line.
The three-dimensional modeling device for excavating and releasing the slope of the hydraulic building provided by the embodiment of the invention has the same implementation principle and the same technical effects as those of the three-dimensional modeling method embodiment for excavating and releasing the slope of the hydraulic building, and for the sake of brief description, the corresponding contents in the method embodiment can be referred to where the device embodiment part is not mentioned.
The embodiment of the present invention further provides an electronic device, as shown in fig. 20, which is a schematic structural diagram of the electronic device, where the electronic device 100 may include a processor 201 and a memory 200, where the memory 200 stores computer executable instructions that can be executed by the processor 201, and the processor 201 executes the computer executable instructions to implement the three-dimensional modeling method for hydraulic building excavation and slope laying.
In the embodiment shown in fig. 20, the electronic device further comprises a bus 202 and a communication interface 203, wherein the processor 201, the communication interface 203 and the memory 200 are connected by the bus 202.
The memory 200 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 203 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 202 may be an ISA (Industry Standard Architecture ) bus, PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The bus 202 may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one bi-directional arrow is shown in FIG. 20, but not only one bus or type of bus.
The processor 201 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 201 or by instructions in the form of software. The processor 201 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory, and the processor 201 reads the information in the memory, and combines the hardware of the information to complete the steps of the three-dimensional modeling method for hydraulic building excavation and slope laying in the previous embodiment.
The three-dimensional modeling method, device and computer program product of electronic equipment for hydraulic building excavation and slope releasing provided by the embodiment of the invention comprise a computer readable storage medium storing program codes, wherein the instructions included in the program codes can be used for executing the method described in the method embodiment, and specific implementation can be seen in the method embodiment and is not repeated here.
The relative steps, numerical expressions and numerical values of the components and steps set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A three-dimensional modeling method for excavating and releasing slopes of hydraulic buildings, the method comprising:
respectively acquiring slope setting parameters and base surface side lines of a hydraulic building; the slope setting parameters comprise the width of the pavement, the elevation of each grade of pavement and the slope ratio among each grade of pavement, and the foundation surface side line comprises a first foundation surface side line positioned on the upstream side of the hydraulic building and a second foundation surface side line positioned on the downstream side of the hydraulic building;
based on the control point coordinates of each base surface side line, correspondingly dividing each base surface side line into a plurality of corresponding line segments;
based on the slope setting parameters and all line segments, creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement;
and generating an original excavation surface based on all slope pavement lines and all slope control edges, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface.
2. The method of claim 1, wherein creating a slope course line corresponding to each level of course and a slope control side line between each level of course based on the slope setting parameters and all line segments comprises:
Creating slope catwalk lines corresponding to the catwalks at all levels based on the slope setting parameters and all line segments;
and creating slope control side lines among the various levels of the horse roads based on the control point coordinates of the various slope horse road lines.
3. The method of claim 1, wherein the starting point height Cheng Zhijun of each line segment is less than or equal to its ending point elevation value; based on the control point coordinates of each base surface side line, the step of correspondingly dividing each base surface side line into a plurality of corresponding line segments comprises the following steps:
traversing all control points of each base surface side line in sequence to extract parts between two adjacent control points on each base surface side line as an original line segment respectively, obtaining a plurality of original line segments corresponding to each base surface side line, and distributing corresponding index serial numbers for each original line segment according to the traversing sequence of the control points of the corresponding base surface side line;
based on the control point coordinates of each base surface boundary, obtaining the direction vector of each original line segment;
and screening target original line segments with Z coordinate values of direction vectors smaller than 0 from the original line segments, exchanging the starting point and the end point of each target original line segment, and then adjusting the index sequence number of each target original line segment according to the control point elevation of the corresponding base surface side line to obtain a plurality of line segments corresponding to each base surface side line.
4. The method of claim 2, wherein creating a side slope catwalk line corresponding to each level catwalk based on the side slope parameters and all line segments comprises:
traversing all the line segments to extract the starting point elevation value and the ending point elevation value of each line segment;
traversing the heights of the horse roads in each level in the slope-releasing parameter in sequence from small to large so as to sequentially determine target line segments of which the starting point height value and the end point height value are matched with the heights of the horse roads in each level, and generating corresponding space line segments for the corresponding target line segments according to the slope ratios of the horse roads in each level in the slope-releasing parameter;
when a first target line segment of each building base surface side line is determined, a side slope road line is generated based on the target line segment, a space line segment corresponding to the target line segment, the road width, the elevation of a road corresponding to the target line segment and the side slope ratio between roads corresponding to the target line segment;
and when determining a target line segment except the first target line segment of each building base surface side line each time, generating a side slope road line based on the side slope road line generated last time, the space line segment corresponding to the target line segment, the road width, the elevation of the level road corresponding to the target line segment, the side slope ratio between the level roads corresponding to the target line segment and the elevation of the level road corresponding to the target line segment determined last time.
5. The method of claim 4, wherein the step of generating a slope road line based on the target line segment, the spatial line segment corresponding to the target line segment, the road width, the elevation of the level road corresponding to the target line segment, and the slope ratio between the level roads corresponding to the target line segment comprises:
determining an offset parameter of the target line segment based on the elevation of the target line segment corresponding to the level horse road and the slope ratio between the target line segment corresponding to the level horse road; wherein the offset parameters include a horizontal offset distance and a vertical offset distance;
and shifting the target line segment according to the shifting parameter of the target line segment to obtain a temporary slope-releasing multi-segment line, and generating a slope pavement line based on the temporary slope-releasing multi-segment line, the pavement width and the space line segment corresponding to the target line segment.
6. The method of claim 4, wherein the step of generating a side slope road line based on the last generated side slope road line, the space line segment corresponding to the target line segment, the road width, the elevation of the target line segment corresponding to the level road, the side slope ratio between the target line segment corresponding to the level road, and the elevation of the level road corresponding to the last determined target line segment comprises:
Determining the offset parameter of the slope horse road generated last time based on the elevation of the level horse road corresponding to the target line segment, the slope ratio between the level horse roads corresponding to the target line segment and the elevation of the level horse road corresponding to the target line segment determined last time;
and shifting the last generated side slope pavement line according to the shift parameter of the last generated side slope pavement line to obtain a temporary slope-releasing multi-section line, and generating a side slope pavement line based on the temporary slope-releasing multi-section line, the pavement width and the space line segment corresponding to the target line segment.
7. The method of claim 5 or 6, wherein the step of generating a side slope catwalk line based on the temporary slope catwalk line, the catwalk width, and the spatial line segment corresponding to the target line segment comprises:
acquiring an intersection point between the temporary slope-releasing multi-section line and a space line segment corresponding to the target line segment, and connecting the intersection point, a starting point of the space line segment and a control point of the temporary slope-releasing multi-section line positioned in front of the intersection point into a transition multi-section line;
and generating a side slope pavement line by taking the pavement width as an offset distance and shifting the transition multi-section line.
8. The method of claim 4, wherein the step of creating a slope control edge between levels of the catwalk based on control point coordinates of each slope catwalk comprises:
Traversing the control points of each side slope road line in sequence to sequentially determine target control points of two adjacent side slope road lines, and connecting the target control points of the two adjacent side slope road lines determined each time into a side slope control side line to obtain side slope control side lines among the various levels of roads; wherein, the starting point and the end point of each side slope control side line are respectively the same in index number on the corresponding side slope pavement line.
9. A three-dimensional modeling apparatus for hydraulic building excavation and slope release, the apparatus comprising:
the acquisition module is used for respectively acquiring the slope setting parameters and the base surface side line of the hydraulic building; the slope setting parameters comprise the width of the pavement, the elevation of each grade of pavement and the slope ratio among each grade of pavement, and the foundation surface side line comprises a first foundation surface side line positioned on the upstream side of the hydraulic building and a second foundation surface side line positioned on the downstream side of the hydraulic building;
the dividing module is used for correspondingly dividing each building base surface boundary into a plurality of corresponding line segments based on the control point coordinates of each building base surface boundary;
the creation module is used for creating slope pavement lines corresponding to all levels of pavement and slope control side lines among all levels of pavement based on the slope releasing parameters and all line segments;
The generation module is used for generating an original excavation surface based on all slope horse road lines and all slope control side lines, and generating a three-dimensional model of the excavation slope surface based on the original excavation surface and a preset terrain surface.
10. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 8.
CN202310681244.XA 2023-06-08 2023-06-08 Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment Pending CN116664793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310681244.XA CN116664793A (en) 2023-06-08 2023-06-08 Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310681244.XA CN116664793A (en) 2023-06-08 2023-06-08 Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment

Publications (1)

Publication Number Publication Date
CN116664793A true CN116664793A (en) 2023-08-29

Family

ID=87713529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310681244.XA Pending CN116664793A (en) 2023-06-08 2023-06-08 Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment

Country Status (1)

Country Link
CN (1) CN116664793A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117556639A (en) * 2024-01-11 2024-02-13 北京理正软件股份有限公司 Three-dimensional slope construction method based on complex slope intersection automatic positioning technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117556639A (en) * 2024-01-11 2024-02-13 北京理正软件股份有限公司 Three-dimensional slope construction method based on complex slope intersection automatic positioning technology
CN117556639B (en) * 2024-01-11 2024-03-29 北京理正软件股份有限公司 Three-dimensional slope construction method based on complex slope intersection automatic positioning technology

Similar Documents

Publication Publication Date Title
EP1754196B1 (en) Resource management for rule-based procedural terrain generation
KR101235538B1 (en) Rule-based procedural terrain generation
JP4824019B2 (en) A terrain editing tool for rule-based procedural terrain generation
CN116664793A (en) Three-dimensional modeling method and device for hydraulic building excavation slope release and electronic equipment
CN112906096B (en) Highway engineering design data reconstruction and analysis method and system
CN115640634B (en) Dynamic modeling method for expressway construction scene
Laycock et al. Automatically generating large urban environments based on the footprint data of buildings
CN118133573B (en) Iterative method, device, equipment and storage medium for library basin design curved surface model
JP4619504B2 (en) 3D digital map generator
CN117521429A (en) Three-dimensional model design method and device for waste slag field and electronic equipment
CN116244802A (en) BIM-based earth-rock dam engineering integral model integration method
CN116764225B (en) Efficient path-finding processing method, device, equipment and medium
CN116109773A (en) Three-dimensional slag field modeling method, system, terminal and medium
CN112967391B (en) Topographic map determining method and device and electronic equipment
CN113128122A (en) BIM-based municipal road detection method
Gao et al. A procedural generation method of urban roads based on osm
Gorte et al. Representation and reconconstruction of triangular irregular networks with vertical walls
CN118779976A (en) Modeling method and device for waste slag field water intercepting ditch, electronic equipment and storage medium
CN117874898B (en) Road three-dimensional slope intersection design method and system based on BIM and GIS
US11163920B2 (en) Method for modeling structure in variable terrain
CN118779975A (en) Three-dimensional design method and device for waste slag field
CN117708931A (en) Spoil field design method, device, equipment and computer readable storage medium
CN113066148A (en) Map data processing method, device, equipment and storage medium
CN117171846A (en) Three-dimensional design method and system for roadbed transition section
CN117744195A (en) Roadbed engineering model construction method, device, equipment and storage medium

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