Channel dredging cross section graph generation method and device and electronic equipment
Through the projection, transformation and drawing technologies in the channel dredging cross-section diagram generation method, it is possible to generate cross-section diagrams at any position on the channel and in any direction, solving the problem of poor applicability in the existing technology and improving the drawing efficiency and applicability. .
Patent Information
- Application Number
- CN202410863814.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-29
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-29
AI Technical Summary
In the existing technology, when drawing cross-sectional drawings of channel dredging based on BIM models, only cross-sectional drawings perpendicular to the center line of the channel can be achieved, which has poor applicability and cannot generate cross-section drawings in any direction along any position on the channel.
By obtaining the cutting position and direction of the cutting line, projecting it onto the three-dimensional terrain, waterway and over-excavation model, performing vertical and horizontal transformations, constructing a local coordinate system, drawing an elevation grid, and performing slope identification and soil section line filling. , to realize the generation of cross-sectional views in any direction along the waterway.
It realizes the generation of channel dredging cross-section drawings at any position in the channel and in any direction, which improves applicability and solves the problem of poor applicability in the existing technology. It does not rely on the section template annotation interface and improves the drawing speed and efficiency.
Smart Images

Figure CN118690466A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of waterway engineering design or other related fields, and in particular to a method for generating a waterway dredging cross-sectional diagram and a device and electronic equipment thereof. Background Art
[0002] The design of waterway engineering requires the drawing of excavation cross-section diagrams. The elements in the cross-section diagram usually include the original terrain line, the waterway design section line, the over-excavation section line, the elevation grid, the slope marking, the waterway dimension marking, the design water level marking, the geological soil layer section, and the soil layer filling. The design of waterway engineering, especially inland waterway engineering, involves complex and changeable terrain and geological data, which makes the design difficult.
[0003] In the related art, there are usually two ways to draw cross-section drawings: manual drawing based on drawing software (for example, CAD) and batch drawing based on BIM models. Among them, the manual drawing method based on drawing software uses the surveyed topographic line as the original ground line, and uses the geological profile closest to the cross-section position to depict the geological conditions at the cross-section position. The remaining elements must be drawn manually, such as elevation grids, soil layer pattern filling, dimension annotation, text annotation, etc. The batch drawing method based on the BIM model requires the establishment of a waterway BIM model. Currently, some linear engineering modeling software on the market can be used for the design of waterway projects, such as Open Roads Designer and Civil3D in the highway industry. These software use templates for cross-section design, stretch along the axis to establish a three-dimensional waterway BIM model, and combine the template with reserved annotation interfaces for batch drawing.
[0004] However, both of the above two cross-section drawing methods have obvious disadvantages:
[0005] 1. Manual drawing based on CAD: The problems of low work efficiency and easy errors are very obvious. For example, 50 channel cross-section drawings need to be drawn for every kilometer (estimated at a cross-section interval of 20 meters). For a 10-kilometer-long channel, 500 channel cross-section drawings need to be drawn. Using CAD to draw one by one manually is not only inefficient, but also prone to various human errors and design quality problems.
[0006] 2. The method of batch drawing based on BIM model has the following disadvantages:
[0007] (1) Most of the commonly used design software in the highway field, such as Civil3D and Open Roads Designer, are used to establish BIM models. These software require the establishment of a cross-section template first, and then the template is stretched along the centerline of the waterway according to the pre-set stretching spacing, thereby forming a waterway BIM model composed of multiple short waterways. This modeling method is very efficient, but it is only applicable to linear waterways. For nonlinear waterways, such as the waterway plane design scheme involving high slope sections of the project, the slope of many slopes is a gradual value, and roads are also designed on the high slopes, which reflects the highly nonlinear characteristics. The cross-section template stretching method cannot restore the actual design scheme, and is relatively limited in applicability and can only be applied to linear waterways.
[0008] (2) Since the channel model is established by the template stretching method, the drawing marking is heavily dependent on the interfaces reserved in the section template. If other modeling methods are used, it will not be possible to mark.
[0009] (3) Since the channel model is established by the template stretching method, it can only be cut and mapped perpendicular to the center line of the channel, and it is impossible to cut and map in any direction.
[0010] (4) When using single-beam measurement point data to establish a three-dimensional terrain model, on the one hand, the three-dimensional terrain formed is difficult to reflect the real terrain; on the other hand, cross-sectional diagrams can only be drawn at the measurement location. If it is necessary to locally encrypt the cross-section between two measurement locations, it is impossible to cut and draw a map at any location in the waterway without waiting for new measurement data.
[0011] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0012] The embodiment of the present invention provides a method for generating a waterway dredging cross-sectional diagram and its device and electronic equipment, so as to at least solve the technical problem in the related technology that when a BIM model is used to draw a cross-sectional diagram, only the section drawing perpendicular to the center line of the waterway can be achieved, resulting in poor applicability.
[0013] According to one aspect of an embodiment of the present invention, a method for generating a channel dredging cross-sectional diagram is provided, comprising: for each target section line in a section line set, obtaining the section position and section direction of the target section line, projecting the target section line onto a three-dimensional terrain model, a three-dimensional channel model and a three-dimensional over-excavation model in the vertical direction, respectively, to obtain a terrain section line, a channel design section line and an over-excavation section line; stretching the target section line in the vertical direction to form a target section plane, determining the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model, to obtain a set of soil layer section lines corresponding to all geological soil layers; transforming the terrain section line, the channel design section line, the over-excavation section line and the soil layer section line set using a vertical and horizontal transformation matrix to obtain a terrain section line after vertical and horizontal transformation. , waterway design section line, over-excavation section line and soil section line; construct a local coordinate system based on the starting point, extension direction and vertical direction of the target section line, and obtain the maximum extension range of each section in the local coordinate system to obtain the section area, and draw an elevation grid based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, waterway design section line, over-excavation section line and soil section line after longitudinal and transverse transformation; perform slope identification on the waterway design section line after longitudinal and transverse transformation, extract all slope lines, simplify the slope lines, and mark the slope ratio and size according to the simplified slope lines; fill the section lines of each soil layer with different marking methods according to the soil properties of each geological soil layer, and obtain the waterway dredging cross-sectional diagram corresponding to the target section line.
[0014] Optionally, before obtaining the cutting position and cutting direction of the target cutting line, it also includes: generating the three-dimensional terrain model according to the terrain scatter points and terrain contour lines by using a preset grid division strategy; obtaining the channel design scheme of the target channel, and generating the three-dimensional channel model based on the channel design scheme by using a preset grid division strategy; obtaining the channel over-excavation design scheme of the target channel, and generating the three-dimensional over-excavation model based on the channel over-excavation design scheme by using a preset grid division strategy; generating the three-dimensional geological model according to the geological survey data by using a preset grid division strategy.
[0015] Optionally, the step of obtaining the cutting position and cutting direction of the target cutting line includes: arranging multiple cutting lines based on the positions of the channel centerline and the bottom line in the channel design plan; selecting any one cutting line from the arranged multiple cutting lines as the target cutting line, and obtaining the cutting position and cutting direction of the target cutting line.
[0016] Optionally, the step of transforming the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set with a longitudinal and transverse transformation matrix includes: constructing a longitudinal and transverse transformation matrix according to the longitudinal and transverse ratio of the drawn cross-sectional diagram; and performing matrix transformation on the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set with the longitudinal and transverse transformation matrix constructed with the longitudinal and transverse transformation matrix.
[0017] Optionally, based on the starting point, extension direction and vertical direction of the target section line, a local coordinate system is constructed, and the maximum extension range of each section in the local coordinate system is obtained to obtain the section area. The step of drawing the elevation grid based on the section area includes: constructing a local coordinate system x'Oy' with the starting point of the target section line as the origin O, the extension direction of the target section line as the x' axis, and the vertical direction of the target section line as the y' axis; obtaining the maximum extension range of each section in the local coordinate system to obtain the section area; drawing a minimum rectangle covering the section area, and drawing the elevation grid based on the minimum rectangle.
[0018] Optionally, after the elevation grid is annotated with slope ratios and dimensions according to the simplified slope lines, the method further includes: drawing a curve chart of water level changes along mileage according to engineering project data associated with the target waterway; obtaining the design water level according to the mileage corresponding to the target section surface, and generating annotation information associated with the design water level in the elevation grid.
[0019] Optionally, after the elevation grid is slope-ratioed and dimensioned according to the simplified slope line, the method further includes: obtaining two plane intersections corresponding to the target profile line and two channel bottom lines, and dimensioning the channel width in the elevation grid using the horizontal distance between the two plane intersections.
[0020] According to another aspect of an embodiment of the present invention, a device for generating a waterway dredging cross-sectional diagram is also provided, including: a section line projection unit, for obtaining the section position and section direction of each target section line in a section line set, and projecting the target section line onto a three-dimensional terrain model, a three-dimensional waterway model and a three-dimensional over-excavation model in a vertical direction, respectively, to obtain a terrain section line, a waterway design section line and an over-excavation section line; a section line stretching unit, for stretching the target section line in a vertical direction to form a target section plane, determining the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model, and obtaining a set of soil layer section lines corresponding to all geological soil layers; a transformation unit, for transforming the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set with a vertical and horizontal transformation matrix, to obtain the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set after vertical and horizontal transformation. The designed section line, over-excavation section line and soil section line; an elevation grid drawing unit, which is used to construct a local coordinate system based on the starting point, extension direction and vertical direction of the target section line, and obtain the maximum extension range of each section in the local coordinate system to obtain the section area, and draw the elevation grid based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, the channel design section line, the over-excavation section line and the soil section line after the longitudinal and transverse transformation; a slope line extraction unit, which is used to identify the slope of the channel design section line after the longitudinal and transverse transformation, extract all slope lines, simplify the slope lines, and mark the slope ratio and size according to the simplified slope lines; a soil section line filling unit, which is used to fill the soil section lines of each soil layer with different marking methods according to the soil layer properties of each geological soil layer, and obtain the channel dredging cross-sectional diagram corresponding to the target section line.
[0021] Optionally, the device for generating a waterway dredging cross-sectional diagram also includes: a terrain model generating unit, which is used to generate the three-dimensional terrain model according to terrain scatter points and terrain contour lines by adopting a preset grid division strategy before obtaining the cutting position and cutting direction of the target cutting line; a waterway model generating unit, which is used to obtain a waterway design scheme for the target waterway, and generate the three-dimensional waterway model based on the waterway design scheme by adopting a preset grid division strategy; an over-excavation model generating unit, which is used to obtain a waterway over-excavation design scheme for the target waterway, and generate the three-dimensional over-excavation model based on the waterway over-excavation design scheme by adopting a preset grid division strategy; a geological model generating unit, which is used to generate the three-dimensional geological model according to geological and geophysical survey data by adopting a preset grid division strategy.
[0022] Optionally, the cutting line projection unit includes: a cutting line arrangement module, which is used to arrange multiple cutting lines based on the positions of the channel centerline and the bottom line in the channel design plan; and a cutting information acquisition module, which is used to select any one cutting line from the multiple arranged cutting lines as the target cutting line, and obtain the cutting position and cutting direction of the target cutting line.
[0023] Optionally, the transformation unit includes: a matrix construction module, used to construct an aspect transformation matrix according to the aspect ratio of the drawn cross-section diagram; a matrix transformation module, used to perform matrix transformation on the terrain section line, the channel design section line, the over-excavation section line and the soil layer section line set to construct the aspect transformation matrix.
[0024] Optionally, the elevation grid drawing unit includes: a coordinate system construction module, used to construct a local coordinate system x'Oy' with the starting point of the target section line as the origin O, the extension direction of the target section line as the x' axis, and the vertical direction of the target section line as the y' axis; a section area acquisition module, used to obtain the maximum extension range of each section under the local coordinate system to obtain the section area; an elevation grid drawing module, used to draw a minimum rectangle covering the section area, and draw the elevation grid based on the minimum rectangle.
[0025] Optionally, the device for generating a waterway dredging cross-sectional diagram also includes: a curve drawing unit, which is used to draw a curve graph of water level changes along mileage according to the engineering project data of the associated target waterway after the elevation grid is marked with slope ratios and dimensions according to the simplified slope lines; a water level marking unit, which is used to retrieve the design water level according to the mileage corresponding to the target section surface, and generate marking information associated with the design water level in the elevation grid.
[0026] Optionally, the device for generating a waterway dredging cross-sectional diagram also includes: a waterway width dimensioning unit, which is used to obtain two plane intersections corresponding to the target profile line and the two waterway bottom lines after the elevation grid is slope-ratioed and dimensioned according to the simplified slope line, and to dimension the waterway width in the elevation grid using the horizontal distance between the two plane intersections.
[0027] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for generating a waterway dredging cross-sectional diagram.
[0028] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned methods for generating a waterway dredging cross-sectional diagram.
[0029] According to another aspect of an embodiment of the present invention, there is further provided a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any one of the above-mentioned methods for generating a waterway dredging cross-sectional diagram are implemented.
[0030] In the present disclosure, for each target section line in the section line set, the section position and section direction of the target section line can be obtained, and the target section line can be projected onto the three-dimensional terrain model, the three-dimensional waterway model and the three-dimensional over-excavation model respectively in the vertical direction to obtain the terrain section line, the waterway design section line and the over-excavation section line; the target section line is stretched in the vertical direction to form a target section plane, and the intersection line of the target section plane and each geological soil layer in the three-dimensional geological model is determined to obtain the soil layer section line set corresponding to all geological soil layers; the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set are transformed by the vertical and horizontal transformation matrix to obtain the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set after the vertical and horizontal transformation. and soil section lines; based on the starting point, extension direction and vertical direction of the target section line, a local coordinate system is constructed, and the maximum extension range of each section in the local coordinate system is obtained to obtain the section area, and the elevation grid is drawn based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, the channel design section line, the over-excavation section line and the soil section line after the longitudinal and transverse transformation; the slope of the channel design section line after the longitudinal and transverse transformation is identified, all the slope lines are extracted, and the slope lines are simplified, and the slope ratio and size are marked according to the simplified slope lines; according to the soil properties of each geological soil layer, different marking methods are used to fill the section lines of each soil layer to obtain the channel dredging cross-sectional diagram corresponding to the target section line.
[0031] In the present disclosure, all section lines in the channel dredging drawings are generated based on the BIM model, which can realize the generation of channel dredging cross-sectional drawings along the cutting lines at any position of the channel in any direction, which has greater applicability and solves the technical problem of poor applicability that when the BIM model is used to draw the cross-sectional drawing in the related technology, only the cutting drawing perpendicular to the center line of the channel can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0033] Figure 1 is a flow chart of an optional method for generating a waterway dredging cross-section diagram according to an embodiment of the present invention;
[0034] Figure 2 is a schematic diagram of an optional partial terrain scatter points and terrain contour lines according to an embodiment of the present invention;
[0035] Figure 3 is a schematic diagram of a three-dimensional terrain model optionally generated according to terrain scattered points and terrain contour lines according to an embodiment of the present invention;
[0036] Figure 4 is a schematic diagram of an optional three-dimensional waterway model according to an embodiment of the present invention;
[0037] Figure 5a is a schematic diagram of a three-dimensional geological model of a clay geological layer in a certain area according to an embodiment of the present invention;
[0038] Figure 5b is a schematic diagram of a three-dimensional geological model of a fully weathered rock geological layer in a certain area according to an embodiment of the present invention;
[0039] Figure 6 is a schematic diagram of arranging multiple cutting lines according to an embodiment of the present invention;
[0040] Figure 7 is a schematic diagram of projecting a cutting line onto a three-dimensional terrain model according to an embodiment of the present invention;
[0041] Figure 8 is a schematic diagram of a cut-away three-dimensional geological model according to an embodiment of the present invention;
[0042] Fig. 9 is a schematic diagram of an optional section line cutting transformation according to an embodiment of the present invention;
[0043] Fig.10 is a schematic diagram of an optional section line extension range according to an embodiment of the present invention;
[0044] Fig.11 It is a schematic diagram of an optional slope identification and simplified processing of a designed channel section line according to an embodiment of the present invention;
[0045] Fig.12 is a curve diagram of an optional design water level variation along mileage according to an embodiment of the present invention;
[0046] Fig.13 is a schematic diagram of an optional method for generating a channel dredging cross-section diagram according to an embodiment of the present invention;
[0047] Fig.14is a schematic diagram of an optional device for generating a waterway dredging cross-sectional diagram according to an embodiment of the present invention;
[0048] Fig.15 The present invention is a hardware structure block diagram of an electronic device (or mobile device) for generating a waterway dredging cross-sectional diagram according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0051] To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:
[0052] BIM model, Building Information Model, is a digital building design and construction method. BIM model is a three-dimensional model that includes the building's geometry, spatial relationships, specification information, construction and operation and maintenance information.
[0053] It should be noted that the method and device for generating a waterway dredging cross-sectional diagram in the present disclosure can be used in the field of waterway engineering design technology. When a waterway dredging cross-sectional diagram is generated based on a BIM model, it can also be used in any field other than the field of waterway engineering design technology. When a waterway dredging cross-sectional diagram is generated based on a BIM model, the present disclosure does not limit the application field of the method and device for generating a waterway dredging cross-sectional diagram.
[0054] It should be noted that the information (including but not limited to waterway engineering project information, user equipment information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) collected in this disclosure are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0055] It should be noted that in the present disclosure, when collecting and analyzing customer information, corresponding operation entrances are provided for users to choose to agree or reject the automated decision results; if the user chooses to reject, the expert decision-making process is entered.
[0056] The following embodiments of the present invention can be applied to systems / applications / devices for generating various waterway dredging cross-sectional drawings. All section lines (including terrain lines, waterway design section lines, over-excavation section lines, and geological layer section lines) in the waterway dredging drawings of the present invention are generated based on the projection or sectioning BIM model, and all BIM models used for cross-sectional drawing are generated based on free grids (such as triangular grids), including three-dimensional terrain models, three-dimensional waterway models, three-dimensional over-excavation models, and three-dimensional geological models.
[0057] At the same time, the present invention does not rely on the marking method of the section template marking interface, including a collection of marking methods for generating elevation marking based on the section line range, marking slope ratio based on section line identification and simplified slopes, marking water levels based on mileage water level curves, and marking waterway dimensions based on the intersection of section lines and bottom lines.
[0058] The present invention is described in detail below in conjunction with various embodiments.
[0059] Embodiment 1
[0060] According to an embodiment of the present invention, an embodiment of a method for generating a waterway dredging cross-sectional diagram is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0061] Figure 1 is a flow chart of an optional method for generating a waterway dredging cross-section diagram according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0062] Step S101, for each target section line in the section line set, obtain the section position and section direction of the target section line, project the target section line along the vertical direction onto the three-dimensional terrain model, the three-dimensional waterway model and the three-dimensional over-excavation model, respectively, to obtain the terrain section line, the waterway design section line and the over-excavation section line.
[0063] Step S102, stretching the target section line in the vertical direction to form a target section plane, determining the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model, and obtaining a set of soil layer section lines corresponding to all geological soil layers.
[0064] Step S103, transforming the terrain section line, channel design section line, over-excavation section line and soil section line set with the vertical and horizontal transformation matrix to obtain the terrain section line, channel design section line, over-excavation section line and soil section line after vertical and horizontal transformation.
[0065] Step S104, construct a local coordinate system based on the starting point, extension direction and vertical direction of the target section line, and obtain the maximum extension range of each section in the local coordinate system to obtain the section area, and draw the elevation grid based on the section area, wherein each section in the local coordinate system is determined by the terrain section line after longitudinal and transverse transformation, the channel design section line, the over-excavation section line and the soil layer section line.
[0066] Step S105, performing slope identification on the channel design section line after the longitudinal and transverse conversion, extracting all slope lines, simplifying the slope lines, and marking the slope ratio and dimensions according to the simplified slope lines.
[0067] Step S106, filling each soil layer section line with different marking methods according to the soil layer properties of each geological soil layer, and obtaining a channel dredging cross-section diagram corresponding to the target section line.
[0068] Through the above steps, for each target section line in the section line set, the section position and section direction of the target section line can be obtained, and the target section line can be projected onto the three-dimensional terrain model, the three-dimensional waterway model and the three-dimensional over-excavation model respectively in the vertical direction to obtain the terrain section line, the waterway design section line and the over-excavation section line; the target section line is stretched in the vertical direction to form a target section plane, and the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model is determined to obtain the soil layer section line set corresponding to all geological soil layers; the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set are transformed by the vertical and horizontal transformation matrix to obtain the terrain section line, the waterway design section line, the over-excavation section line after the vertical and horizontal transformation. and soil section lines; based on the starting point, extension direction and vertical direction of the target section line, a local coordinate system is constructed, and the maximum extension range of each section in the local coordinate system is obtained to obtain the section area, and the elevation grid is drawn based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, the channel design section line, the over-excavation section line and the soil section line after the longitudinal and transverse transformation; the slope of the channel design section line after the longitudinal and transverse transformation is identified, all the slope lines are extracted, and the slope lines are simplified, and the slope ratio and size are marked according to the simplified slope lines; according to the soil properties of each geological soil layer, different marking methods are used to fill the section lines of each soil layer to obtain the channel dredging cross-sectional diagram corresponding to the target section line. In this embodiment, all section lines in the channel dredging drawings are generated based on the BIM model, so that the channel dredging cross-sectional view can be generated along the cutting line at any position of the channel in any direction, which has greater applicability and solves the technical problem of poor applicability that when the BIM model is used in the related technology to draw the cross-sectional view, only the cutting drawing perpendicular to the center line of the channel can be achieved.
[0069] The embodiment of the present invention is described in detail below in combination with the above steps.
[0070] It should be noted that before obtaining the cutting position and cutting direction of the target cutting line, this embodiment will pre-generate multiple BIM models, and generate a three-dimensional terrain model based on the terrain scatter points and terrain contour lines using a preset grid division strategy; obtain the channel design plan of the target waterway, and based on the channel design plan, use a preset grid division strategy to generate a three-dimensional channel model; obtain the channel over-excavation design plan of the target waterway, and based on the channel over-excavation design plan, use a preset grid division strategy to generate a three-dimensional over-excavation model; and generate a three-dimensional geological model based on geological and geophysical survey data using a preset grid division strategy.
[0071] Among them, the three-dimensional terrain model, three-dimensional waterway model, three-dimensional over-excavation model and three-dimensional geological model generated in this embodiment are all BIM models. In the process of generating these four types of models, the preset mesh division strategy adopted can be a free mesh division strategy. For free mesh, it is a flexible and efficient mesh division method. There are no specific criteria, no restrictions on mesh shape, and no fixed pattern for mesh. Free mesh division is suitable for describing all models, especially for bodies and surfaces of complex shapes. The type of free mesh is not limited, for example, triangular mesh, rectangular mesh, circular mesh, etc., and triangular mesh is used for schematic illustration in this embodiment.
[0072] Figure 2 It is a schematic diagram of an optional partial terrain scatter points and terrain contour lines according to an embodiment of the present invention. Figure 3 It is a schematic diagram of a three-dimensional terrain model optionally generated according to terrain scattered points and terrain contour lines according to an embodiment of the present invention.
[0073] like Figure 3 As shown in , it generates a three-dimensional terrain model (the three-dimensional terrain model is defined as Me in this embodiment) by using terrain scattered point information and terrain contour line information and a free grid division strategy.
[0074] In this embodiment, terrain points and contour lines are used to establish a three-dimensional terrain model, and a preset grid division strategy is used to automatically establish all BIM models. Therefore, the method for generating a waterway dredging cross-sectional diagram provided by the present invention can realize the generation of a waterway cross-sectional diagram at any position and in any direction of the waterway. When the waterway cross-sectional diagram needs to be partially encrypted, it is only necessary to update the BIM model synchronously without waiting for new measurement data; or when the design plan is modified, it is only necessary to update the model and regenerate the cross-sectional drawings, without modifying the original cross-sectional drawings one by one, which is more flexible and efficient than the existing technology.
[0075] Figure 4 is a schematic diagram of an optional three-dimensional waterway model according to an embodiment of the present invention, such as Figure 4 As shown in , according to the waterway design plan (the designed axis plane, axis longitudinal section, and typical design section are obtained from the engineering design end, generally in the form of a dwg drawing file), a three-dimensional waterway model is generated using a free grid (the three-dimensional waterway model is defined as Mc in this embodiment). Similarly, according to the waterway over-excavation design plan (the over-excavation design information is obtained from the engineering design end, including the over-excavation design width and over-excavation design depth along the waterway mileage), a three-dimensional over-excavation model Ms is generated (the three-dimensional over-excavation model is defined as Ms in this embodiment).
[0076] Furthermore, in this embodiment, a three-dimensional geological model can be generated using a free grid based on geological and geophysical data. Figure 5aIt is a schematic diagram of a three-dimensional geological model of a clay geological layer in a certain area according to an embodiment of the present invention. Figure 5b Schematic diagram of a three-dimensional geological model of a fully weathered rock geological layer in a certain area according to an embodiment of the present invention. Figure 5a and Figure 5b The figure shows the models of different geological soil layers in a certain area; the models corresponding to different geological soil layers g1, g2, …, gn are recorded as Mg1, Mg2, …, Mgn respectively.
[0077] Through the above steps, the creation of various 3D BIM models is completed. It should be noted that the 3D terrain model Me, the 3D waterway model Mc, and the 3D over-excavation model Ms are surface models, while the 3D geological models Mg1, Mg2, …, Mgn are volume models. The surface model only has area attributes but no volume attributes, while the volume model has volume attributes.
[0078] In this embodiment, a free grid can be used to construct a BIM model, which can be applicable to both linear and nonlinear segments of the waterway. This overcomes the disadvantage that the applicability of the relevant patents in the prior art that use template stretching methods to construct waterway BIM models based on software such as Open Roads Designer and Civil3D is limited to linear waterways, and the applicability is significantly improved.
[0079] Step S101, for each target section line in the section line set, obtain the section position and section direction of the target section line, project the target section line along the vertical direction onto the three-dimensional terrain model, the three-dimensional waterway model and the three-dimensional over-excavation model, respectively, to obtain the terrain section line, the waterway design section line and the over-excavation section line.
[0080] Optionally, when obtaining the cutting position and cutting direction of the target cutting line, it includes: arranging multiple cutting lines based on the positions of the channel centerline and the bottom line in the channel design plan; selecting any one cutting line from the arranged multiple cutting lines as the target cutting line, and obtaining the cutting position and cutting direction of the target cutting line.
[0081] Figure 6 FIG. 1 is a schematic diagram of arranging multiple cutting lines according to an embodiment of the present invention. Figure 6 As shown in FIG. 1 , through the two channel design bottom lines and the design channel center line in the channel engineering design, multiple section lines (such as Figure 6 The cutting lines C1, C2, ..., Cn are arranged in the figure, thereby determining the cutting position and cutting direction of each cutting line).
[0082] After multiple cutting lines are determined and a cutting line set is obtained, a corresponding channel dredging cross-sectional diagram is generated for each of the cutting lines. In this embodiment, a channel dredging cross-sectional diagram corresponding to any one of the cutting lines is schematically illustrated.
[0083] For any target section line (positioned as C1 in this embodiment), the target section line is projected onto the three-dimensional terrain model Me along the vertical direction to obtain a terrain section line (defined as Le in this embodiment). Figure 7 is a schematic diagram of projecting a cutting line onto a three-dimensional terrain model according to an embodiment of the present invention, such as Figure 7 As shown, the cutting line C1 is projected along the vertical direction onto the three-dimensional terrain model Me to obtain the terrain cutting line Le.
[0084] Similarly, the target section line is projected vertically onto the three-dimensional channel model Mc to obtain the channel design section line (defined as Lc in this embodiment), and the target section line is projected vertically onto the three-dimensional over-excavation model Ms to obtain the over-excavation section line (defined as Ls in this embodiment).
[0085] In this embodiment, all the section lines in the channel dredging drawings are generated based on the BIM model. In addition, the method of cutting the three-dimensional geological model is used to supplement the expression of the geological layered excavation situation in the cross-section diagram.
[0086] Step S102, stretching the target section line in the vertical direction to form a target section plane, determining the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model, and obtaining a set of soil layer section lines corresponding to all geological soil layers.
[0087] Figure 8 is a schematic diagram of a cut-away three-dimensional geological model according to an embodiment of the present invention, such as Figure 8 As shown, the cutting line C1 is stretched in the vertical direction to form a cutting plane P1, and then the intersection line of the cutting plane P1 and the three-dimensional geological model Mg1 corresponding to the geological soil layer g1 can be obtained, and the cross-section line Lg1 of the geological soil layer g1 can be obtained. Similarly, the cross-section lines Lg2, ..., Lgn of the cutting plane P1 and all the remaining soil layers can be obtained respectively, and a set of soil layer cross-section lines corresponding to all geological soil layers can be obtained.
[0088] Step S103, transforming the terrain section line, channel design section line, over-excavation section line and soil section line set with the vertical and horizontal transformation matrix to obtain the terrain section line, channel design section line, over-excavation section line and soil section line after vertical and horizontal transformation.
[0089] Optionally, the step of transforming the terrain section lines, channel design section lines, over-excavation section lines and soil layer section line sets with a longitudinal and transverse transformation matrix includes: constructing a longitudinal and transverse transformation matrix according to the longitudinal and transverse ratio of the drawn cross-sectional diagram; and performing matrix transformation on the terrain section lines, channel design section lines, over-excavation section lines and soil layer section line sets with the constructed longitudinal and transverse transformation matrix.
[0090] Fig. 9 is a schematic diagram of an optional section line cutting transformation according to an embodiment of the present invention, such as Fig. 9 As shown, according to the aspect ratio yxScale of the cross-section drawing, the aspect transformation matrix is constructed. The terrain section line Le, the channel design section line Lc, the over-excavation section line Ls, and the soil section lines Lg1, ..., Lgn are transformed into a matrix using T1 to obtain the terrain section line Le', the channel design section line Lc', the over-excavation section line Ls', and the soil section lines Lg1', ..., Lgn' after the vertical and horizontal transformation, as shown in Fig. 9 As shown, Fig. 9 The upper middle side shows the cutting lines and section lines before the transformation, and the lower side shows the cutting lines and section lines after the transformation.
[0091] Step S104, construct a local coordinate system based on the starting point, extension direction and vertical direction of the target section line, and obtain the maximum extension range of each section in the local coordinate system to obtain the section area, and draw the elevation grid based on the section area, wherein each section in the local coordinate system is determined by the terrain section line after longitudinal and transverse transformation, the channel design section line, the over-excavation section line and the soil layer section line.
[0092] Optionally, a local coordinate system is constructed based on the starting point, extension direction and vertical direction of the target section line, and the maximum extension range of each section in the local coordinate system is obtained to obtain the section area. When drawing the elevation grid based on the section area, it includes: constructing a local coordinate system x'Oy' with the starting point of the target section line as the origin O, the extension direction of the target section line as the x' axis, and the vertical direction of the target section line as the y' axis; obtaining the maximum extension range of each section in the local coordinate system to obtain the section area; drawing a minimum rectangle covering the section area, and drawing the elevation grid based on the minimum rectangle.
[0093] Fig.10 is a schematic diagram of an optional cross-section line extension range according to an embodiment of the present invention, such as Fig.10 As shown, with the starting point of the cutting line as the origin O, the extension direction of the cutting line as the x' axis, and the vertical direction as the y' axis, a local coordinate system x'Oy' is constructed, and the maximum extension range of each section in the local coordinate system is obtained, which is denoted as R1. The lower left corner point of R1 is denoted as (xL, yL), and the upper right corner point is denoted as (xH, yH). The elevation grid is drawn based on the principle of just covering the range R1 (corresponding to the above-mentioned minimum rectangle covering the section area).
[0094] Step S105, performing slope identification on the channel design section line after the longitudinal and transverse conversion, extracting all slope lines, simplifying the slope lines, and marking the slope ratio and dimensions according to the simplified slope lines.
[0095] It should be noted that the simplification process mentioned in this embodiment may include: deleting redundant points so that each straight line only retains two endpoints, and may also include simplifying lines (adjusting line thickness).
[0096] Fig.11 is a schematic diagram of an optional slope identification and simplified processing of the designed channel section line according to an embodiment of the present invention, such as Fig.11 As shown in the figure, the channel design section line Lc' is subjected to slope identification and simplification to obtain Lc", specifically, all slope lines are first identified and extracted, and then other points on the slope line except the first and last endpoints are removed, and then the slope ratio and size can be marked according to the simplified slope line.
[0097] In this embodiment, in addition to automatically marking the slope ratio and dimensions, water level marking and channel width dimension marking can also be automatically completed.
[0098] Optionally, after the elevation grid is marked with slope ratios and dimensions according to the simplified slope lines, the method also includes: drawing a curve chart of water level changes along mileage according to the engineering project data of the associated target waterway; obtaining the design water level according to the mileage corresponding to the target section surface, and generating annotation information of the associated design water level in the elevation grid.
[0099] Fig.12 is an optional curve diagram of the design water level variation along the mileage according to an embodiment of the present invention, such as Fig.12 , according to the actual situation of the project, draw a curve chart of the design water level change along the mileage, such as Fig.12 As shown, the design water level is automatically retrieved according to the mileage corresponding to the section surface P1, thereby generating the design water level annotation.
[0100] Optionally, after the elevation grid is slope-ratioed and dimensioned according to the simplified slope line, the method further includes: obtaining two plane intersections corresponding to the target profile line and the two channel bottom lines, and dimensioning the channel width in the elevation grid using the horizontal distance between the two plane intersections.
[0101] For example, the plane intersection points Pt1 and Pt2 between the section line C1 and the two channel bottom lines are obtained, and the channel width dimension is marked according to the horizontal distance between the two intersection points.
[0102] In the embodiment of the present invention, annotation is performed without relying on the section template annotation interface, and the elevation annotation based on the section line range, the slope ratio annotation based on the section line identification and simplified slope, the water level annotation based on the mileage water level curve, and the channel dimension annotation based on the intersection of the section line and the bottom line are automatically completed, thereby improving the annotation efficiency.
[0103] Step S106, filling each soil layer section line with different marking methods according to the soil layer properties of each geological soil layer, and obtaining a channel dredging cross-section diagram corresponding to the target section line.
[0104] That is, according to the properties of the soil layer, the soil layer section lines Lg1', ..., Lgn' are filled with different patterns (such as patterns marked with different colors).
[0105] Fig.13 is a schematic diagram of an optional method for generating a channel dredging cross-section diagram according to an embodiment of the present invention, such as Fig.13 As shown, the cross-sectional view corresponding to the section line C1 is completed.
[0106] Then, you can select the next section line and repeat the section drawing operation until all cross-section views are completed.
[0107] Through the above-mentioned embodiments, all BIM models for cross-section drawing can be generated based on free grids (such as triangular grids), including three-dimensional terrain models, three-dimensional waterway models, three-dimensional over-excavation models, and three-dimensional geological models. All section lines in the waterway dredging cross-section diagram (including terrain lines, waterway design section lines, over-excavation section lines, and geological layer section lines) are generated based on the projection or sectioning BIM model. In addition, this embodiment does not rely on the section template annotation interface, and realizes the automatic completion of generating elevation annotations based on the section line range, slope ratio annotations based on section line identification and simplified slopes, water level annotations based on mileage water level curves, and waterway dimension annotations based on the intersection of section lines and bottom lines. When drawing waterway dredging cross-section diagrams, it can significantly improve the drawing speed and efficiency.
[0108] The following is a detailed description in conjunction with another embodiment.
[0109] Embodiment 2
[0110] The device for generating a waterway dredging cross-sectional diagram provided in this embodiment includes a plurality of implementation units, each of which corresponds to each implementation step in the above-mentioned embodiment 1.
[0111] Fig.14 is a schematic diagram of an optional device for generating a channel dredging cross-section diagram according to an embodiment of the present invention, such as Fig.14As shown, the device for generating the channel dredging cross-section diagram may include: a cutting line projection unit 1401, a cutting line stretching unit 1402, a transformation unit 1403, an elevation grid drawing unit 1404, a slope line extraction unit 1405, and a soil layer section line filling unit 1406.
[0112] Among them, the cutting line projection unit 1401 is used to obtain the cutting position and cutting direction of each target cutting line in the cutting line set, and project the target cutting line along the vertical direction onto the three-dimensional terrain model, the three-dimensional waterway model and the three-dimensional over-excavation model to obtain the terrain cutting line, the waterway design section line and the over-excavation section line.
[0113] The section line stretching unit 1402 is used to stretch the target section line in the vertical direction to form a target section plane, determine the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model, and obtain a set of soil layer section lines corresponding to all geological soil layers.
[0114] The transformation unit 1403 is used to transform the terrain section line, channel design section line, over-excavation section line and soil section line set with the vertical and horizontal transformation matrix to obtain the terrain section line, channel design section line, over-excavation section line and soil section line after vertical and horizontal transformation.
[0115] The elevation grid drawing unit 1404 is used to construct a local coordinate system based on the starting point, extension direction and vertical direction of the target section line, and obtain the maximum extension range of each section in the local coordinate system to obtain the section area, and draw the elevation grid based on the section area, wherein each section in the local coordinate system is determined by the terrain section line after longitudinal and transverse transformation, the channel design section line, the over-excavation section line and the soil layer section line.
[0116] The slope line extraction unit 1405 is used to identify the slope of the channel design section line after the longitudinal and transverse conversion, extract all the slope lines, simplify the slope lines, and mark the slope ratio and size according to the simplified slope lines.
[0117] The soil layer section line filling unit 1406 is used to fill the section lines of each soil layer using different marking methods according to the soil layer properties of each geological soil layer, so as to obtain a channel dredging cross-section diagram corresponding to the target section line.
[0118] The above-mentioned device for generating the cross-sectional diagram of the channel dredging can obtain the cutting position and cutting direction of each target cutting line in the cutting line set through the cutting line projection unit 1401, and project the target cutting line onto the three-dimensional terrain model, the three-dimensional channel model and the three-dimensional over-excavation model respectively in the vertical direction to obtain the terrain cutting line, the channel design section line and the over-excavation section line, and stretch the target cutting line in the vertical direction to form a target cutting surface through the cutting line stretching unit 1402, determine the intersection line between the target cutting surface and each geological soil layer in the three-dimensional geological model, and obtain the soil layer section line set corresponding to all geological soil layers, and transform the terrain cutting line, the channel design section line, the over-excavation section line and the soil layer section line set with the vertical and horizontal transformation matrix through the transformation unit 1403 to obtain the terrain cutting line, the channel design section line, the over-excavation section line and the soil layer section line set after the vertical and horizontal transformation. and soil section lines, through the elevation grid drawing unit 1404, for constructing a local coordinate system based on the starting point, extension direction and vertical direction of the target section line, and obtaining the maximum extension range of each section in the local coordinate system to obtain the section area, and drawing the elevation grid based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, the channel design section line, the over-excavation section line and the soil section line after the longitudinal and transverse transformation, and the slope line extraction unit 1405 is used to identify the slope of the channel design section line after the longitudinal and transverse transformation, extract all the slope lines, and simplify the slope lines, and mark the slope ratio and size according to the simplified slope lines, and the soil section line filling unit 1406 is used to fill the soil section lines of each soil layer according to the soil layer properties of each geological soil layer using different marking methods to obtain the channel dredging cross-sectional diagram corresponding to the target section line. In this embodiment, all section lines in the channel dredging drawings are generated based on the BIM model, so that the channel dredging cross-sectional view can be generated along the cutting line at any position of the channel in any direction, which has greater applicability and solves the technical problem of poor applicability that when the BIM model is used in the related technology to draw the cross-sectional view, only the cutting drawing perpendicular to the center line of the channel can be achieved.
[0119] It should be noted that, before obtaining the cutting position and cutting direction of the target cutting line, the present embodiment will pre-generate multiple BIM models. Optionally, the device for generating a waterway dredging cross-sectional diagram also includes: a terrain model generation unit, which is used to generate a three-dimensional terrain model according to terrain scatter points and terrain contour lines by a preset grid division strategy before obtaining the cutting position and cutting direction of the target cutting line; a waterway model generation unit, which is used to obtain the waterway design scheme of the target waterway, and generate a three-dimensional waterway model based on the waterway design scheme by a preset grid division strategy; an over-excavation model generation unit, which is used to obtain the waterway over-excavation design scheme of the target waterway, and generate a three-dimensional over-excavation model based on the waterway over-excavation design scheme by a preset grid division strategy; a geological model generation unit, which is used to generate a three-dimensional geological model according to geological and geological survey data by a preset grid division strategy.
[0120] Among them, the three-dimensional terrain model, three-dimensional waterway model, three-dimensional over-excavation model and three-dimensional geological model generated in this embodiment are all BIM models. In the process of generating these four types of models, the preset mesh division strategy adopted can be a free mesh division strategy. For free mesh, it is a flexible and efficient mesh division method. There are no specific criteria, no restrictions on mesh shape, and no fixed pattern for mesh. Free mesh division is suitable for describing all models, especially for bodies and surfaces of complex shapes. The type of free mesh is not limited, for example, triangular mesh, rectangular mesh, circular mesh, etc., and triangular mesh is used for schematic illustration in this embodiment.
[0121] In this embodiment, terrain points and contour lines are used to establish a three-dimensional terrain model, and a preset grid division strategy is used to automatically establish all BIM models. Therefore, the method for generating a waterway dredging cross-sectional diagram provided by the present invention can realize the generation of a waterway cross-sectional diagram at any position and in any direction of the waterway. When the waterway cross-sectional diagram needs to be partially encrypted, it is only necessary to update the BIM model synchronously without waiting for new measurement data; or when the design plan is modified, it is only necessary to update the model and regenerate the cross-sectional drawings, without modifying the original cross-sectional drawings one by one, which is more flexible and efficient than the existing technology.
[0122] According to the waterway design plan (the designed axis plane, axis longitudinal section, and typical design section are obtained from the engineering design end, generally in the form of dwg drawing files), a three-dimensional waterway model is generated using free mesh (the three-dimensional waterway model is defined as Mc in this embodiment). Similarly, according to the waterway overcut design plan (the overcut design information is obtained from the engineering design end, including the overcut design width and overcut design depth along the waterway mileage), a three-dimensional overcut model Ms is generated (the three-dimensional overcut model is defined as Ms in this embodiment).
[0123] Optionally, the cutting line projection unit includes: a cutting line arrangement module, which is used to arrange multiple cutting lines based on the positions of the channel centerline and the bottom line in the channel design plan; a cutting information acquisition module, which is used to select any cutting line from the multiple arranged cutting lines as the target cutting line, and obtain the cutting position and cutting direction of the target cutting line.
[0124] Optionally, the transformation unit includes: a matrix construction module, used to construct an aspect transformation matrix according to the aspect ratio of the drawn cross-section diagram; a matrix transformation module, used to perform matrix transformation on the terrain section line, channel design section line, over-excavation section line and soil layer section line set using the constructed aspect transformation matrix.
[0125] Optionally, the elevation grid drawing unit includes: a coordinate system construction module, which is used to construct a local coordinate system x'Oy' with the starting point of the target section line as the origin O, the extension direction of the target section line as the x' axis, and the vertical direction of the target section line as the y' axis; a section area acquisition module, which is used to obtain the maximum extension range of each section under the local coordinate system to obtain the section area; an elevation grid drawing module, which is used to draw the minimum rectangle covering the section area, and draw the elevation grid based on the minimum rectangle.
[0126] Optionally, the device for generating a waterway dredging cross-sectional diagram also includes: a curve drawing unit, which is used to draw a curve graph of water level changes along mileage according to the engineering project data of the associated target waterway after the elevation grid is marked with slope ratios and dimensions according to the simplified slope lines; a water level marking unit, which is used to retrieve the design water level according to the mileage corresponding to the target section surface, and generate marking information of the associated design water level in the elevation grid.
[0127] Optionally, the device for generating a channel dredging cross-sectional diagram also includes: a channel width dimension marking unit, which is used to obtain two plane intersection points corresponding to the target profile line and the two channel bottom lines after the elevation grid is slope-ratioed and dimensioned according to the simplified slope line, and to mark the channel width dimension in the elevation grid using the horizontal distance between the two plane intersection points.
[0128] The above-mentioned channel dredging cross-sectional diagram generating device may also include a processor and a memory. The above-mentioned cutting line projection unit 1401, cutting line stretching unit 1402, transformation unit 1403, elevation grid drawing unit 1404, slope line extraction unit 1405, soil layer section line filling unit 1406, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0129] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the automatic generation of the channel dredging cross-section diagram based on the BIM model can be achieved by adjusting the kernel parameters.
[0130] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (fl ash RAM), and the memory includes at least one storage chip.
[0131] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for generating a waterway dredging cross-sectional diagram of any one of the above-mentioned embodiments one.
[0132] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the method for generating a waterway dredging cross-sectional diagram of any one of the above-mentioned embodiments one.
[0133] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for generating a waterway dredging cross-sectional diagram in each embodiment of the present application, including: for each target section line in the section line set, obtaining the section position and section direction of the target section line, projecting the target section line onto a three-dimensional terrain model, a three-dimensional waterway model, and a three-dimensional over-excavation model in a vertical direction, respectively, to obtain a terrain section line, a waterway design section line, and an over-excavation section line; stretching the target section line in a vertical direction to form a target section plane, determining the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model, and obtaining a set of soil layer section lines corresponding to all geological soil layers; transforming the terrain section line, the waterway design section line, the over-excavation section line, and the soil layer section line set into a vertical and horizontal transformation matrix. Transformation is performed to obtain the terrain section line, channel design section line, over-excavation section line and soil section line after the longitudinal and transverse transformation; a local coordinate system is constructed based on the starting point, extension direction and vertical direction of the target section line, and the maximum extension range of each section in the local coordinate system is obtained to obtain the section area, and an elevation grid is drawn based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, channel design section line, over-excavation section line and soil section line after the longitudinal and transverse transformation; slope identification is performed on the channel design section line after the longitudinal and transverse transformation, all slope lines are extracted, and the slope lines are simplified, and the slope ratio and size are marked according to the simplified slope lines; according to the soil properties of each geological soil layer, different marking methods are used to fill the section lines of each soil layer to obtain the channel dredging cross-sectional diagram corresponding to the target section line.
[0134] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for generating a waterway dredging cross-sectional diagram described in each embodiment of the present application are implemented.
[0135] Fig.15 1 is a hardware structure block diagram of an electronic device (or mobile device) for generating a waterway dredging cross-sectional diagram according to an embodiment of the present invention. Fig.15 As shown, the electronic device may include one or more ( Fig.151502a, 1502b, ..., 1502n are used to illustrate) processor 1502 (processor 1502 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), and memory 1504 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. It can be understood by those skilled in the art that Fig.15 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.15 More or fewer components as shown, or with Fig.15 Different configurations shown.
[0136] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0137] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0138] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0139] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0140] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0141] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0142] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for generating a waterway dredging cross-section diagram, characterized in that: include: For each target section line in the section line set, the section position and section direction of the target section line are obtained, and the target section line is projected onto the three-dimensional terrain model, the three-dimensional waterway model and the three-dimensional over-excavation model in the vertical direction to obtain the terrain section line, the waterway design section line and the over-excavation section line; The target section line is stretched in the vertical direction to form a target section plane, and the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model is determined to obtain a set of soil layer section lines corresponding to all geological soil layers; Transforming the terrain section line, the waterway design section line, the over-excavation section line and the soil section line set by using a vertical and horizontal transformation matrix to obtain the terrain section line, the waterway design section line, the over-excavation section line and the soil section line after vertical and horizontal transformation; Based on the starting point, extension direction and vertical direction of the target section line, a local coordinate system is constructed, and the maximum extension range of each section in the local coordinate system is obtained to obtain a section area, and an elevation grid is drawn based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, the channel design section line, the over-excavation section line and the soil layer section line after the longitudinal and transverse transformation; Slope identification is performed on the channel design section line after the longitudinal and transverse conversion, all slope lines are extracted, and the slope lines are simplified, and slope ratios and dimensions are marked according to the simplified slope lines; According to the soil properties of each geological soil layer, different marking methods are used to fill the section lines of each soil layer to obtain a channel dredging cross-section diagram corresponding to the target section line.
2. The method for generating a waterway dredging cross-section diagram according to claim 1, characterized in that: Before obtaining the sectioning position and sectioning direction of the target sectioning line, the following steps are also included: Generate the three-dimensional terrain model using a preset grid division strategy according to terrain scattered points and terrain contour lines; Acquire a channel design scheme of the target channel, and generate the three-dimensional channel model based on the channel design scheme by using a preset grid division strategy; Obtaining a channel over-excavation design scheme for a target channel, and generating the three-dimensional over-excavation model based on the channel over-excavation design scheme by using a preset grid division strategy; The three-dimensional geological model is generated according to the geological survey data by using a preset grid division strategy.
3. The method for generating a waterway dredging cross-section diagram according to claim 1, characterized in that: The steps of obtaining the cutting position and cutting direction of the target cutting line include: Arranging a plurality of sectioning lines based on the positions of the channel centerline and the bottom line in the channel design scheme; Any section line is selected from the arranged multiple section lines as the target section line, and the section position and section direction of the target section line are obtained.
4. The method for generating a waterway dredging cross-section diagram according to claim 1, characterized in that: The step of transforming the terrain section line, the waterway design section line, the over-excavation section line and the soil layer section line set by using a vertical and horizontal transformation matrix comprises: According to the aspect ratio of the drawn cross-section, construct the aspect transformation matrix; The terrain section line, the channel design section line, the over-excavation section line and the soil layer section line are aggregated to perform matrix transformation using the constructed longitudinal and transverse transformation matrix.
5. The method for generating a waterway dredging cross-section diagram according to claim 1, characterized in that: Based on the starting point, extension direction and vertical direction of the target section line, a local coordinate system is constructed, and the maximum extension range of each section under the local coordinate system is obtained to obtain a section area, and the step of drawing an elevation grid based on the section area includes: A local coordinate system x'Oy' is constructed with the starting point of the target section line as the origin O, the extending direction of the target section line as the x' axis, and the vertical direction of the target section line as the y' axis; Obtaining the maximum extension range of each section in the local coordinate system to obtain the section area; A minimum rectangle covering the cross-section area is drawn, and the elevation grid is drawn based on the minimum rectangle.
6. The method for generating a waterway dredging cross-section diagram according to claim 1, characterized in that: After the elevation grid is marked with slope ratio and dimensions according to the simplified slope line, the following steps are also included: Draw a curve chart of water level changes along the mileage based on the engineering project data associated with the target waterway; The design water level is retrieved according to the mileage corresponding to the target section surface, and annotation information associated with the design water level is generated in the elevation grid.
7. The method for generating a waterway dredging cross-section diagram according to claim 1, characterized in that: After the elevation grid is marked with slope ratio and dimensions according to the simplified slope line, the following is further included: Two plane intersection points corresponding to the target profile line and the two channel bottom lines are obtained, and the channel width dimension is marked in the elevation grid according to the horizontal distance between the two plane intersection points.
8. A device for generating a waterway dredging cross-section diagram, characterized in that: include: A section line projection unit is used to obtain the section position and section direction of each target section line in the section line set, and project the target section line onto the three-dimensional terrain model, the three-dimensional waterway model and the three-dimensional over-excavation model in the vertical direction to obtain the terrain section line, the waterway design section line and the over-excavation section line; A section line stretching unit is used to stretch the target section line in the vertical direction to form a target section plane, determine the intersection line between the target section plane and each geological soil layer in the three-dimensional geological model, and obtain a set of soil layer section lines corresponding to all geological soil layers; A transformation unit, used for transforming the terrain section line, the waterway design section line, the over-excavation section line and the soil section line set with a vertical and horizontal transformation matrix to obtain the terrain section line, the waterway design section line, the over-excavation section line and the soil section line after vertical and horizontal transformation; An elevation grid drawing unit is used to construct a local coordinate system based on the starting point, extension direction and vertical direction of the target section line, and obtain the maximum extension range of each section in the local coordinate system to obtain the section area, and draw an elevation grid based on the section area, wherein each section in the local coordinate system is determined by the terrain section line, the channel design section line, the over-excavation section line and the soil layer section line after the longitudinal and transverse transformation; The slope line extraction unit is used to identify the slope of the channel design section line after the longitudinal and transverse conversion, extract all the slope lines, simplify the slope lines, and mark the slope ratio and size according to the simplified slope lines; The soil layer section line filling unit is used to fill the section lines of each soil layer in different marking methods according to the soil layer properties of each geological soil layer, so as to obtain a channel dredging cross-section diagram corresponding to the target section line.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for generating a waterway dredging cross-sectional diagram according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating a waterway dredging cross-sectional diagram as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method for establishing inland waterway dredging graph under single-beam measuring points based on BIM model
CN108875177A
Civil3D-based dredging construction drawing automatic creation method and system
CN114996798A
Online sectioning and mapping method for three-dimensional geological model
CN117409157A
High-precision waterway reconstruction method based on multi-satellite source information coupling
US20230221116A1
Complex geological immersed tube tunnel foundation trench soil-distinguished over- and under-excavation analysis method and apparatus
WO2024037121A1
