Bench modeling method and device, computer equipment and storage medium

CN116756822BActive Publication Date: 2026-09-11GLODON CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310729177.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-19
Publication Date
2026-09-11
Estimated Expiration
2043-06-19

AI Technical Summary

Technical Problem

[0004]有鉴于此,本发明提供了一种放坡体的建模方法、装置、计算机设备及存储介质,以解决放坡体建模的问题

Benefits of technology

[0051] It should be noted that the beneficial effects of the slope modeling device, computer equipment, and computer-readable storage medium provided in the embodiments of the present invention can be found in the description of the corresponding beneficial effects of the slope modeling method above, and will not be repeated here.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116756822B_ABST
    Figure CN116756822B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computer-aided design, and discloses a modeling method and device of a slope body, computer equipment and a storage medium, the method provided by the present application comprises the following steps: obtaining a building drawing of the slope body; determining the edge lines of the slope body and the distances between the edge lines based on the building drawing, wherein the edge lines comprise the top edge line and the bottom edge line; obtaining the offset distance of the edge lines based on the distances between the edge lines and the thickness of the slope body; performing first offset processing on the edge lines based on the offset distance to obtain the offset edge lines, and determining the first vertex correspondence relationship between the edge lines and the second vertex correspondence relationship between the offset edge lines; and performing lofting according to the first vertex correspondence relationship and the second vertex correspondence relationship to generate the slope body. Since the edge lines of the slope body are obtained based on the building drawing, the accuracy of the determined slope body edge lines and the distances between the edge lines is ensured, and the accuracy of the generated slope body in modeling is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer-aided design, and more specifically to a method, apparatus, computer equipment, and storage medium for modeling slope structures. Background Technology

[0002] Slope protection utilizes the inherent strength of the soil to prevent slope collapse, movement, loosening, or uneven settlement, thus achieving slope stability. It is generally suitable for foundation pits made of miscellaneous fill, cohesive soil, or silty soil, provided environmental conditions permit. Slope protection is represented by slope protection drawings. When adjacent slopes have a difference in elevation, there will be diagonally intersecting boundary lines. These intersecting lines can occur in the following scenarios: 1) the top elevation is the same, the bottom elevation is different, and the slope ratio is not significantly different; 2) the bottom elevation is the same, the top elevation is different, and the slope ratio is not significantly different; 3) the top and bottom elevations are the same, and the slope lines at the top of the pit are not the same length.

[0003] For modeling slope structures, linear components are used to manually draw the slope length. However, the lengths of the top and bottom edges of the pit are different in the slope drawings. Linear components must have the same length vertically, which cannot meet business requirements. Alternatively, surface components can be used to draw the slope. After modifying the elevation, it becomes sloping. However, because the lengths of the top and bottom edges of the pit are different, but the elevation is the same, if the elevations on a plane are not on the same plane, the elevation will be automatically reversed after the surface component is set to sloping. The model does not achieve the effect desired by the user. Summary of the Invention

[0004] In view of this, the present invention provides a method, apparatus, computer equipment and storage medium for modeling slope bodies, so as to solve the problem of slope body modeling.

[0005] In a first aspect, the present invention provides a method for modeling a slope structure, the method comprising:

[0006] Obtain the architectural drawings for the slope protection structure;

[0007] Based on the architectural drawings, the edge lines of the slope body and the distance between the edge lines are determined. The edge lines include the top edge line and the bottom edge line of the pit, and the distance between the edge lines is the distance between the top edge line and the bottom edge line of the pit.

[0008] Based on the distance between the edge lines and the thickness of the slope body, the offset distance of the edge lines is obtained, and the offset distance of the top edge line of the pit is the same as the offset distance of the bottom edge line of the pit.

[0009] Based on the offset distance, the corresponding edge line is subjected to a first offset process to obtain the offset edge line, and the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines are determined. The first vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line before the offset, and the second vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line after the offset.

[0010] The slope body is generated by laying out the first vertex correspondence and the second vertex correspondence.

[0011] The slope protection body modeling method provided by this invention ensures the accuracy of the determined slope protection body edges and the distances between them because the edges are based on architectural drawings. Simultaneously, the offset distance of the edges is obtained from the thickness of the slope protection body and the distances between the edges, making the offset related to the actual situation of the slope protection body. Based on this, the vertex correspondence of the edges before and after the offset is determined, improving the accuracy of the obtained first and second vertex correspondences. This correspondence is then used for lofting, ensuring the accuracy of the generated slope protection body.

[0012] In some optional implementations, obtaining the offset distance of the edge lines based on the distance between the edge lines and the thickness of the lofted body includes:

[0013] The slope angle of the slope body is determined based on the first directional distance and the second directional distance between the top edge line and the bottom edge line of the pit;

[0014] The offset distance is obtained based on the slope angle and the thickness of the slope body.

[0015] The modeling method for slope protection provided by this invention uses edge lines obtained from architectural drawings, which are consistent with the actual situation. Based on this, the reliability of the determined slope angle of the slope protection body can be improved, thereby improving the accuracy of the obtained offset distance.

[0016] In some optional implementations, the step of performing a first offset process on the edge lines based on the offset distance to obtain offset edge lines, and determining the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines, includes:

[0017] The correspondence of the first vertex is determined based on the distance between the vertices of the top edge of the pit and the bottom edge of the pit;

[0018] Based on the offset distance, the edge line is subjected to a first offset process to obtain the pit top edge line and the pit bottom edge line after the first offset.

[0019] The correspondence between the second vertex is determined based on the distance between the vertices of the first offset pit top edge line and the first offset pit bottom edge line.

[0020] The modeling method for slope bodies provided by this invention first determines the correspondence of the first vertex before the first offset, and then determines the correspondence of the second vertex after the offset process, so as to avoid the influence of the edge line after the first offset on the first vertex correspondence of the edge line before the first offset, thereby improving the accuracy of the obtained first vertex correspondence and second vertex correspondence.

[0021] In some optional implementations, determining the correspondence of the first vertex based on the distance between the vertices of the pit top edge and the pit bottom edge includes:

[0022] Count the number of vertices on the top edge of the pit and the number of vertices on the bottom edge of the pit, and determine the edge with the larger number of vertices as the target edge.

[0023] Starting from a preset vertex of the target edge, query the nearest vertex among the vertices of the other edge to determine the correspondence of the first vertex.

[0024] The modeling method for slope bodies provided by this invention starts from the edge with a large number of vertices and performs a query on the other edge. Since all vertices of the target vertex need to be queried in the vertices of the other edge, it can ensure that all vertices on the target edge can be queried for their corresponding vertices.

[0025] In some alternative implementations, determining the edge line of the slope body based on the architectural drawings includes:

[0026] Using the edge lines of the slope body in the architectural drawings, the initial edge lines of the slope body are determined, including the initial pit top edge line and the initial pit bottom edge line.

[0027] The validity of the initial edge line is verified to determine the edge line of the slope body.

[0028] The slope protection body modeling method provided by this invention addresses the issue that architectural drawings may contain irregularities, which could lead to illegal edge lines. Therefore, after obtaining the initial edge lines, a legality check is performed to ensure the accuracy of the obtained slope protection body edge lines.

[0029] In some optional implementations, verifying the validity of the initial edge line to determine the edge line of the slope body includes:

[0030] If the initial edge line is detected to be self-intersecting, the overhang segment of the initial edge line is obtained, and the initial edge line is trimmed based on the overhang segment to determine the edge line;

[0031] If the initial edge line is detected to include at least two discontinuous line segments, the at least two discontinuous line segments are extended and merged to determine the edge line;

[0032] If the initial pit top edge line is detected to intersect with the initial pit bottom edge line, an inspection alert is issued to determine the edge line.

[0033] The slope modeling method provided by this invention modifies the self-intersecting initial edge lines, extends and merges discontinuous line segments within the same initial edge line, and issues corresponding reminders for intersecting initial pit top and bottom edge lines. Therefore, through automatic verification and correction, the efficiency of slope modeling is improved.

[0034] In some optional implementations, the method further includes:

[0035] Obtain the width of the platform connected to the slope body, the platform including a first platform and / or a second platform, the first platform corresponding to the top edge of the pit, and the second platform corresponding to the bottom edge of the pit;

[0036] The corresponding edge lines are offset based on the width of the platform, and the edge lines after the second offset are combined with the edge lines before the second offset to form a platform polygon.

[0037] The platform polygon is stretched based on the thickness of the slope body to obtain the platform body;

[0038] The platform body and the slope body are combined to obtain the soil nailing wall body.

[0039] The modeling method for the slope body provided by this invention also obtains the first platform and / or the second platform connected to the slope body by offsetting and stretching the edge of the slope body. The offset is based on the width of the platform and the stretching is based on the thickness of the slope body. These are all related to the actual data of the slope body, which can ensure the reliability of the obtained platform body and, correspondingly, ensure the accuracy of the merged soil nailing wall body.

[0040] In some optional implementations, the method further includes:

[0041] The quantity of the slope body is calculated based on the slope body, and the calculation result of the slope body is determined.

[0042] The slope modeling method provided by this invention improves the accuracy of the calculation results by obtaining an accurate slope body and then performing quantity calculations based on it.

[0043] Secondly, the present invention provides a modeling device for slope protection, the device comprising:

[0044] The drawing acquisition module is used to acquire the architectural drawings of the slope structure.

[0045] The edge line determination module is used to determine the edge line of the slope body and the distance between the edge lines based on the architectural drawings. The edge line includes the top edge line and the bottom edge line of the pit, and the distance between the edge lines is the distance between the top edge line and the bottom edge line of the pit.

[0046] The offset distance determination module is used to obtain the offset distance of the edge line based on the distance between the edge lines and the thickness of the slope body, wherein the offset distance of the top edge line of the pit is the same as the offset distance of the bottom edge line of the pit;

[0047] The correspondence determination module is used to perform a first offset processing on the corresponding edge line based on the offset distance to obtain the offset edge line, and to determine the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines. The first vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line before the offset, and the second vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line after the offset.

[0048] The layout module is used to perform layout based on the first vertex correspondence and the second vertex correspondence to generate the slope body.

[0049] Thirdly, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the slope modeling method of the first aspect or any corresponding embodiment described above.

[0050] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the slope modeling method of the first aspect or any corresponding embodiment described above.

[0051] It should be noted that the beneficial effects of the slope modeling device, computer equipment, and computer-readable storage medium provided in the embodiments of the present invention can be found in the description of the corresponding beneficial effects of the slope modeling method above, and will not be repeated here. Attached Figure Description

[0052] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0053] Figure 1 This is a flowchart illustrating the method for modeling a slope structure according to an embodiment of the present invention;

[0054] Figure 2 This is a schematic diagram of the construction drawings of the slope structure according to an embodiment of the present invention;

[0055] Figure 3 This is a flowchart illustrating another method for modeling a slope body according to an embodiment of the present invention;

[0056] Figures 4a-4b This is a schematic diagram of the edge line of the slope body according to an embodiment of the present invention;

[0057] Figure 5 This is a schematic diagram of the vertex correspondence according to an embodiment of the present invention;

[0058] Figure 6 This is a flowchart illustrating another method for modeling a slope body according to an embodiment of the present invention;

[0059] Figures 7a-7c This is a schematic diagram illustrating the edge line legality verification according to an embodiment of the present invention;

[0060] Figure 8 This is a structural block diagram of the edge line device of the slope protection body according to an embodiment of the present invention;

[0061] Figure 9 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation

[0062] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0063] The modeling method for slope protection provided in this embodiment of the invention generates slope protection based on the architectural drawings of the slope protection, ensuring that the constructed slope protection matches the prototype of the architectural drawings.

[0064] According to an embodiment of the present invention, a method for modeling a slope body is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0065] This embodiment provides a method for modeling slope structures, which can be used with the aforementioned computer equipment, such as computers, mobile terminals, etc. Figure 1 This is a flowchart of a slope modeling method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:

[0066] Step S101: Obtain the architectural drawings of the slope structure.

[0067] Architectural drawings can be limited to just the slope section, or they can represent the entire construction project. These drawings can be pre-stored on a computer device, obtained through communication between the computer device and other third-party devices, or created by a user interacting with a first application on the computer device and then imported into a second application, where subsequent processing is performed. For example, the first application could be a modeling application, and the second application a quantity calculation application.

[0068] For example, Figure 2 Architectural drawings for a sloped structure. Figure 2 The middle section is a two-stage slope, with each stage connecting two platforms. The first-stage slope connects to the ground platform and the platform surface, while the second-stage slope connects the platform surface and the general foundation.

[0069] It should be noted that the slope protection body described in this embodiment of the invention is similar to... Figure 2 The slope shown in the diagram is constructed from the two-dimensional slope shown in the architectural drawings into a three-dimensional slope body. The following description uses a single-level slope as an example. The modeling of multi-level slope bodies is similar to that of a single-level slope body and will not be repeated here.

[0070] Step S102: Determine the edge lines of the slope body and the distances between the edge lines based on the architectural drawings.

[0071] The edge lines include the top edge line and the bottom edge line, and the distance between the edge lines is the distance between the top edge line and the bottom edge line.

[0072] In architectural drawings, slopes are represented by drawing edges, indicating the shape, boundaries, etc., of the slope. The edge line of a slope is the edge line obtained based on the drawing edges representing the slope in the architectural drawings. Methods for determining the edge line of a slope include, but are not limited to, directly picking the drawing edges, obtaining it through interactive drawing based on the drawing edges, or obtaining it through interactive drawing when the drawing edges cannot be correctly identified or are not drawn correctly.

[0073] For example, the boundary lines of a slope can be determined in the following three ways:

[0074] (1) Pick the top and bottom edges of the pit according to the edge lines on the drawing. Specifically, before picking, select the edge type to be picked, i.e., bottom edge or bottom edge. Then, pick the edge lines on the drawing according to the selected edge type to obtain the top and bottom edges of the slope structure. Different edge types can be represented in different ways, such as using different colors to distinguish the top and bottom edges, or using different line types, etc. This method is suitable for picking continuous multi-segment lines for any architectural drawing and automatically determining the edge lines of the slope structure.

[0075] (2) Draw the edge lines according to the edge lines on the drawing. Specifically, before drawing, select the type of edge line to be drawn, and then select the drawing method, including but not limited to straight line, three-point arc, two-point small arc, two-point large arc, and starting point center-end point arc. Draw the edge lines of the slope body according to the selected drawing method to obtain the edge lines of the pit top and bottom. This method is suitable for user-defined modeling scenarios.

[0076] (3) The drawing interface provides a "Pick CAD Line" command. After selecting this command, users can draw the edge lines themselves based on the drawing's edge lines. Users can switch freely between supported drawing methods such as picking CAD lines, straight lines, and three-point arcs to complete the drawing of the slope body's edge lines. This method is suitable for scenarios where architectural drawings are not very standardized, or where users want to draw part of the architectural drawings but want to customize the other part.

[0077] The edges of a slope include the bottom edge and the top edge of the pit corresponding to the slope. The distance between these edges is the same as the distance between the bottom and top edges. Viewed from different dimensions, the distance between the edges includes both the horizontal and vertical distances between the bottom and top edges.

[0078] Step S103: Based on the distance between the edge lines and the thickness of the slope body, the offset distance of the edge lines is obtained.

[0079] The offset distance of the pit top edge line is the same as the offset distance of the pit bottom edge line.

[0080] The thickness of a sloped body can be obtained through attribute parsing of architectural drawings, or through interactive input, etc. Since the sloped body is set with a specific slope angle, even with the same thickness, different angles correspond to different offset distances. The thickness of the sloped body is determined by the offset distance and the slope angle; therefore, the offset distance needs to be obtained during modeling.

[0081] The distance between the edge lines is used to determine the slope angle of the slope structure. As mentioned above, the distance between the edge lines includes both horizontal and vertical distances, and these two distances can be used to obtain the slope angle of the slope structure. Then, using the slope angle and the thickness of the slope structure, the offset distance of the edge lines can be obtained.

[0082] Step S104: Perform a first offset process on the edge lines based on the offset distance to obtain the offset edge lines, and determine the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines.

[0083] The first vertex correspondence is the vertex correspondence between the top edge of the pit before the offset and the bottom edge of the pit before the offset, and the second vertex correspondence is the vertex correspondence between the top edge of the pit after the offset and the bottom edge of the pit after the offset.

[0084] Since the offset distance is based on the thickness of the slope body, the offset processing of the edge line is to generate the slope body between the polygon formed by the offset edge line and the edge line before offset, and the polygon corresponding to the edge line of the pit top edge line. This ensures that the thickness and slope angle of the generated slope body can meet the requirements.

[0085] The first vertex correspondence represents the correspondence between the vertices of the pit top edge line and the pit bottom edge line before the offset, while the second vertex correspondence represents the correspondence between the vertices of the pit top edge line and the pit bottom edge line after the offset.

[0086] The method for determining the correspondence between the first and second vertices is similar, and the following description focuses on the method for determining the correspondence between the first and second vertices. When querying a corresponding vertex, start from a vertex on one edge and search for the corresponding vertex on the other edge. For example, start from a vertex on the top edge of the pit and search for the corresponding vertex on the bottom edge. The corresponding vertex can be determined by calculating the distance between the vertices on the top and bottom edges of the pit, and identifying the two vertices with the shortest distance as the corresponding vertices.

[0087] Once the correspondence between the first and second vertices is determined, it is equivalent to determining the correspondence between each vertex of the top and bottom polygons of the pit, so that the slope can be constructed based on these two polygons.

[0088] Step S105: Lofting is performed based on the correspondence between the first vertex and the second vertex to generate the slope body.

[0089] Based on the correspondence between the first and second vertices, a slope body is generated by laying out between the top and bottom of the pit. Specifically, the plane coordinate system of the top and bottom edges is calculated according to the set top and bottom elevations, and then the slope body is generated by laying out between the polygon corresponding to the top of the pit and the polygon corresponding to the bottom of the pit.

[0090] There are no restrictions on the specific methods for layout; the settings can be adjusted according to actual needs.

[0091] The slope protection body modeling method provided in this embodiment ensures the accuracy of the determined slope protection body edges and the distances between them because the edges are based on architectural drawings. Simultaneously, the offset distance of the edges is obtained from the thickness of the slope protection body and the distances between the edges, making the offset related to the actual situation of the slope protection body. Based on this, the vertex correspondence of the edges before and after the offset is determined, improving the accuracy of the obtained first and second vertex correspondences. This correspondence is then used for lofting, ensuring the accuracy of the generated slope protection body.

[0092] This embodiment provides a method for modeling slope structures, which can be used with the aforementioned computer equipment, such as computers, mobile terminals, etc. Figure 3 This is a flowchart of a slope modeling method according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps:

[0093] Step S301: Obtain the architectural drawings for the slope protection structure. For details, please refer to [link / reference needed]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.

[0094] Step S302: Determine the edge lines of the slope body and the distances between the edge lines based on the architectural drawings.

[0095] The edge lines include the top edge line and the bottom edge line of the pit, and the distance between the edge lines is the distance between the top edge line and the bottom edge line. For details, please refer to [link to details]. Figure 1 Step S102 of the illustrated embodiment will not be described again here.

[0096] Step S303: Based on the distance between the edge lines and the thickness of the slope body, the offset distance of the edge lines is obtained.

[0097] The offset distance of the pit top edge line is the same as the offset distance of the pit bottom edge line.

[0098] Specifically, step S303 includes:

[0099] Step S3031: Determine the slope angle of the slope body based on the first directional distance and the second directional distance between the top edge line and the bottom edge line of the pit.

[0100] The first direction is perpendicular to the second direction, for example, such as Figure 4a As shown, the distance between the top edge and bottom edge of the pit in the first direction is L1, and the distance between the top edge and bottom edge of the pit in the second direction is L2. Figure 4b As shown, the slope angle θ of the slope body can be calculated using the following formula:

[0101]

[0102] Step S3032: Based on the slope angle and the thickness of the slope body, the offset distance is obtained.

[0103] After obtaining the slope angle, and considering the thickness of the slope body, the offset distance s can be obtained using the following formula:

[0104]

[0105] Step S304: Perform a first offset process on the edge lines based on the offset distance to obtain the offset edge lines, and determine the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines.

[0106] The first vertex correspondence is the vertex correspondence between the top edge of the pit before the offset and the bottom edge of the pit before the offset, and the second vertex correspondence is the vertex correspondence between the top edge of the pit after the offset and the bottom edge of the pit after the offset.

[0107] Specifically, step S304 includes:

[0108] Step S3041: Determine the correspondence of the first vertex based on the distance between the vertices of the pit top edge line and the pit bottom edge line.

[0109] The first vertex correspondence characterizes the correspondence between the vertices of the top edge of the pit and the vertices of the bottom edge of the pit. Starting with a vertex of one edge, the distance between that vertex and the vertex of the other edge is calculated, and the two vertices with the shortest distance are determined as the vertices with a correspondence.

[0110] In some optional implementations, step S3041 above includes:

[0111] Step a1: Count the number of vertices on the top edge of the pit and the number of vertices on the bottom edge of the pit, and determine the edge with the larger number of vertices as the target edge.

[0112] Step a2: Starting from the preset vertex of the target edge, query the vertex closest to it among the vertices of the other edge to determine the correspondence of the first vertex.

[0113] Count the number of vertices on the top edge of the pit and the bottom edge of the pit, and select the edge with the more vertices as the target edge. If the two edges have the same number of vertices, either the top edge or the bottom edge of the pit can be selected as the target edge. In this case, the target edge can be the default, a pop-up prompt can be displayed for the user to choose, or other methods can be used to determine the target edge.

[0114] For example, in Figure 5 The solid lines represent the top and bottom edges of the crater, while the dashed lines represent the offset top and bottom edges. The top edge has three vertices, from vertex 00 to vertex 02; the bottom edge also has three vertices, from vertex 100 to vertex 120.

[0115] because Figure 5 The top and bottom edges of the pit have the same number of vertices, so the top edge is taken as the target edge. For example, starting from vertex 00, calculate the distances between vertex 00 and vertices 100 through 120, and determine the two vertices with the shortest distance as corresponding vertices. Figure 5 In the process, after calculating and comparing the distances, the corresponding relationships of the first vertices are determined as follows: Vertex 00-Vertex 100, Vertex 01-Vertex 1100, Vertex 02-Vertex 120.

[0116] Starting with the edge with more vertices, the query is performed on the other edge. Since all vertices in the target vertex need to be queried in the vertices of the other edge, it can be guaranteed that all vertices on the target edge can be queried.

[0117] Step S3042: Perform a first offset process on the edge line based on the offset distance to obtain the top edge line and the bottom edge line of the pit after the first offset.

[0118] After determining the correspondence between the vertices of the pit top edge and the pit bottom edge, the pit bottom edge and pit top edge are offset using the offset distance obtained in step S303, resulting in offset pit top and pit bottom edges. The offset process can automatically offset the pit top or pit bottom edge by setting the offset direction and offset distance. Specifically, when setting the offset direction, the offset directions of the pit top and pit bottom edges are the same to ensure that the distance between the offset pit top and pit bottom edges remains consistent with the distance before the offset. For example, Figure 5 The dashed lines in the diagram represent the offset top edge of the pit and the offset bottom edge of the pit, respectively.

[0119] Step S3043: Determine the correspondence of the second vertex based on the distance between the vertices of the first offset pit top edge line and the first offset pit bottom edge line.

[0120] The method for determining the correspondence of the second vertex is similar to that for determining the correspondence of the first vertex, as detailed above, and will not be repeated here.

[0121] like Figure 5 As shown, the second vertex correspondence is as follows: vertex 05-vertex 150, vertex 04-vertex 140, vertex 03-vertex 130.

[0122] Step S305: Lofting is performed based on the correspondence between the first and second vertices to generate the slope body. For details, please refer to [link to details]. Figure 1 The description of step S105 in the illustrated embodiment will not be repeated here.

[0123] The modeling method for slope protection provided in this embodiment uses edge lines obtained from architectural drawings, which are consistent with the actual situation. This improves the reliability of the determined slope angle, thereby increasing the accuracy of the obtained offset distance. Before offsetting, the first vertex correspondence is determined, and then the second vertex correspondence is determined after offsetting. This avoids the influence of the offset edge lines on the first vertex correspondence of the edge lines before offsetting, thus improving the accuracy of the obtained first and second vertex correspondences.

[0124] This embodiment provides a method for modeling slope structures, which can be used with the aforementioned computer equipment, such as computers, mobile terminals, etc. Figure 6 This is a flowchart of a slope modeling method according to an embodiment of the present invention, such as... Figure 6 As shown, the process includes the following steps:

[0125] Step S601: Obtain the architectural drawings for the slope protection structure. For details, please refer to [link / reference needed]. Figure 1The description of step S101 in the illustrated embodiment will not be repeated here.

[0126] Step S602: Determine the edge lines of the slope body and the distances between the edge lines based on the architectural drawings.

[0127] The edge lines include the top edge line and the bottom edge line, and the distance between the edge lines is the distance between the top edge line and the bottom edge line.

[0128] Specifically, step S602 includes:

[0129] Step S6021: Determine the initial edge line of the slope using the edge lines of the slope in the architectural drawings.

[0130] The initial edge lines include the initial pit top edge line and the initial pit bottom edge line.

[0131] The initial pit top edge line and initial pit bottom edge line can be picked directly from the architectural drawings, drawn based on the edge lines in the architectural drawings, or drawn custom based on the edge lines in the drawings, etc.

[0132] Step S6022: Verify the legality of the initial boundary line and determine the boundary line of the slope body.

[0133] Due to non-standard architectural drawings or custom drawings, invalid initial edges may be obtained through picking or drawing. Therefore, it is necessary to perform validity checks and verification on the initial edges. When invalidity is detected, it should be processed automatically first. If automatic processing is not possible, a reminder should be issued to prompt the user to pick or draw again.

[0134] In some optional implementations, step S6022 above includes:

[0135] Step b1: If the initial edge lines are detected to be self-intersecting, obtain the overhanging segment of the initial edge lines, and trim the initial edge lines based on the overhanging segment to determine the edge lines.

[0136] Step b2: If the initial edge line is detected to include at least two discontinuous line segments, extend and merge the at least two discontinuous line segments to determine the edge line.

[0137] Step b3: If the initial pit top edge line and the initial pit bottom edge line are detected to intersect, an inspection reminder is issued to determine the edge line.

[0138] For each initial edge line, self-intersection detection is performed. For example, traverse the points on the initial edge lines and record the position of each point. If points at the same position exist in multiple line segments, it indicates that the initial edge lines are self-intersecting. If self-intersection of the initial edge lines is detected, the cantilever segment of the initial edge line is determined. For example, ... Figure 7aAs shown, the intersection of the two line segments divides line segment 1 and line segment 2 into a solid cantilever segment and a dashed cantilever segment, respectively. By comparing the lengths of the cantilever segments within the same line segment, the shorter cantilever segment is modified to obtain the edge line. Figure 7a In the middle, the dashed parts of line segment 1 and line segment 2 are trimmed, and the line composed of solid lines is the edge line.

[0139] When trimming the cantilever section, it is also necessary to consider the connections between line segments, such as... Figure 7b As shown, line segments a, b, and c are drawn. After line segments a and b are drawn, a validity check is performed before drawing line segment c. The intersection of line segments b and c divides both line segments b and c into solid and dashed lines. Since the solid line segment of line segment b is already connected to line segment a, the dashed line segment of line segment b is trimmed directly, regardless of its length.

[0140] A valid initial boundary line should be a continuous line. If the initial boundary line is found to contain at least two discontinuous segments, then these two discontinuous segments need to be extended and merged to obtain a continuous line. This extension and merging involves extending the two lines along their tangents until they reach the same point.

[0141] The validity of the pit top and bottom edges is determined by the fact that they do not intersect. If an initial intersection of the pit top and bottom edges is detected, a warning is issued. For example, Figure 7c The warning interface is shown when the top edge of the pit intersects with the bottom edge of the pit.

[0142] Step S6023: Determine the distance between the edges.

[0143] After the above-mentioned legality verification, the top edge line and bottom edge line of the pit are obtained. Once the positions of the top and bottom edge lines are determined, the distance between them can be determined, thus yielding the distance in the first direction and the distance in the second direction.

[0144] Step S603: Based on the distance between the edge lines and the thickness of the slope body, the offset distance of the edge lines is obtained.

[0145] The offset distance of the pit top edge is the same as the offset distance of the pit bottom edge. Please refer to [link / reference] for details. Figure 3 The description of step S303 in the illustrated embodiment will not be repeated here.

[0146] Step S604: Perform a first offset process on the edge lines based on the offset distance to obtain the offset edge lines, and determine the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines.

[0147] Specifically, the first vertex correspondence refers to the vertex correspondence between the top and bottom edges of the pit before the offset, and the second vertex correspondence refers to the vertex correspondence between the top and bottom edges of the pit after the offset. For details, please refer to [link to relevant documentation]. Figure 3 The description of step S304 in the illustrated embodiment will not be repeated here.

[0148] Step S605: Lofting is performed based on the correspondence between the first and second vertices to generate the slope body. For details, please refer to [link to details]. Figure 1 The description of step S105 in the illustrated embodiment will not be repeated here.

[0149] The slope protection modeling method provided in this embodiment addresses the issue that architectural drawings may contain irregularities, which could lead to illegal edge lines. Therefore, after obtaining the initial edge lines, a legality check is performed to ensure the accuracy of the obtained slope protection edge lines.

[0150] In some optional implementations, the above embodiments describe the modeling process of a slope body, where both ends of the slope body are connected to corresponding platforms. Based on this, by modeling the platforms and merging the modeled platform bodies with the slope body, the soil nailing wall body is obtained. Specifically, the method further includes:

[0151] Step c1: Obtain the width of the platform connected to the slope body. The platform includes a first platform and / or a second platform. The first platform corresponds to the top edge of the pit, and the second platform corresponds to the bottom edge of the pit.

[0152] Step c2: Perform a second offset on the corresponding edge lines based on the width of the platform, and use the edge lines after the second offset to form a platform polygon with the edge lines before the second offset.

[0153] Step c3: Extrude the platform polygon based on the thickness of the slope body to obtain the platform body.

[0154] Step c4: Combine the platform body and the slope body to obtain the soil nailing wall body.

[0155] The first platform corresponds to the top edge of the pit, and the second platform corresponds to the bottom edge. The widths of the first and second platforms can be obtained from architectural drawings or input interactively. After determining the platform width, a second offset is performed on the corresponding edge lines based on this width, resulting in the offset edge lines. A polygon is formed using the edge lines before and after the second offset, resulting in the platform polygon. This step creates a two-dimensional platform polygon from the edge lines. The platform polygon is then extruded by a distance equal to the thickness of the slope structure, resulting in a three-dimensional platform body. Due to the constraints of the pit top and bottom elevations, the extrusion is uniformly downwards, thus forming the platform body.

[0156] The resulting platform body is combined with the slope body to form the soil nailing wall. The soil nailing wall consists of the slope body and the platform body connected to it. The soil nailing wall is formed by reinforcing natural soil in situ with soil nails and combining it with shotcrete panels to create a gravity retaining wall-like structure that resists earth pressure behind the wall, thus maintaining the stability of the excavation face. This retaining wall is called a soil nailing wall. The soil nailing wall is constructed through drilling, inserting reinforcing bars, and grouting.

[0157] The first and / or second platforms connected to the slope body are also obtained by offsetting and stretching the edge of the slope body. The offset is based on the width of the platform and the stretching is based on the thickness of the slope body. These are all related to the actual data of the slope body, which can ensure the reliability of the obtained platform body and, correspondingly, ensure the accuracy of the merged soil nailing wall body.

[0158] In some optional implementations, the method further includes: calculating quantities based on the slope body to determine the calculated quantity results. Since a model of the slope body is obtained, automatic quantity calculations can be performed on this basis, yielding accurate results. Calculating quantities based on an accurate slope body improves the accuracy of the results.

[0159] This embodiment also provides a slope modeling device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0160] This embodiment provides a modeling device for slope protection, such as... Figure 8 As shown, it includes:

[0161] The drawing acquisition module 801 is used to acquire the architectural drawings of the slope structure.

[0162] The edge line determination module 802 is used to determine the edge lines of the slope body and the distance between the edge lines based on the architectural drawings. The edge lines include the top edge line and the bottom edge line of the pit, and the distance between the edge lines is the distance between the top edge line and the bottom edge line of the pit.

[0163] The offset distance determination module 803 is used to obtain the offset distance of the edge lines based on the distance between the edge lines and the thickness of the slope body. The offset distance of the top edge line is the same as the offset distance of the bottom edge line.

[0164] The correspondence determination module 804 is used to perform a first offset process on the edge lines based on the offset distance to obtain the offset edge lines, and to determine the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines. Specifically, the first vertex correspondence is the vertex correspondence between the top edge line and the bottom edge line before the offset, and the second vertex correspondence is the vertex correspondence between the top edge line and the bottom edge line after the offset.

[0165] The layout module 805 is used to perform layout according to the first vertex correspondence and the second vertex correspondence to generate the slope body.

[0166] In some alternative implementations, the offset distance determination module 803 includes:

[0167] The slope angle determination unit is used to determine the slope angle of the slope body based on the first directional distance and the second directional distance between the top edge line and the bottom edge line of the pit.

[0168] The offset distance determination unit is used to obtain the offset distance based on the slope angle and the thickness of the slope body.

[0169] In some alternative implementations, the lofting module 805 includes:

[0170] The first vertex correspondence determination unit is used to determine the first vertex correspondence based on the distance between the vertices of the pit top edge line and the pit bottom edge line.

[0171] The first offset unit is used to perform a first offset process on the edge line based on the offset distance to obtain the pit top edge line and the pit bottom edge line after the first offset.

[0172] The second vertex correspondence determination unit is used to determine the second vertex correspondence based on the distance between the vertices of the offset pit top edge line and the offset pit bottom edge line.

[0173] In some optional implementations, the first vertex correspondence determination unit includes:

[0174] The statistics subunit is used to count the number of vertices on the top edge of the pit and the number of vertices on the bottom edge of the pit, and to determine the edge with a larger number of vertices as the target edge.

[0175] The query subunit is used to start from a preset vertex of the target edge and query the nearest vertex among the vertices of the other edge to determine the correspondence of the first vertex.

[0176] In some alternative implementations, the edge determination module 802 includes:

[0177] The initial edge line determination module is used to determine the initial edge line of the slope body using the edge line of the slope body in the architectural drawings. The initial edge line includes the initial pit top edge line and the initial pit bottom edge line.

[0178] The verification module is used to verify the legality of the initial edge line and determine the edge line of the slope body.

[0179] In some optional implementations, the verification module includes:

[0180] A trimming unit is used to, if the initial edge line is detected to be self-intersecting, obtain the overhang segment of the initial edge line, and trim the initial edge line based on the overhang segment to determine the edge line;

[0181] An extension and merging unit is used to extend and merge the at least two discontinuous line segments if the initial edge line is detected to include at least two discontinuous line segments, thereby determining the edge line.

[0182] The inspection reminder unit is used to issue an inspection reminder if the initial pit top edge line and the initial pit bottom edge line are detected to intersect, so as to determine the edge line.

[0183] In some alternative embodiments, the apparatus further includes:

[0184] A width acquisition module is used to acquire the width of the platform connected to the slope body, the platform including a first platform and / or a second platform, the first platform corresponding to the top edge of the pit and the second platform corresponding to the bottom edge of the pit;

[0185] The offset processing module is used to perform a second offset processing on the corresponding edge lines based on the width of the platform, and to form a platform polygon using the edge lines after the second offset processing and the edge lines before the second offset processing.

[0186] The stretching module is used to stretch the platform polygon based on the thickness of the slope body to obtain the platform body;

[0187] The merging module is used to merge the platform body and the slope body to obtain the soil nailing wall body.

[0188] In some alternative embodiments, the apparatus further includes:

[0189] The quantity calculation module is used to perform quantity calculation based on the slope body and determine the quantity calculation result of the slope body.

[0190] In this embodiment, the modeling device for the slope protection body is presented in the form of a functional unit. Here, a unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0191] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0192] This invention also provides a computer device having the above-described features. Figure 8 The modeling device for the slope structure shown.

[0193] Please see Figure 9 , Figure 9 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 9 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 9 Take a processor 10 as an example.

[0194] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0195] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.

[0196] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0197] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0198] The computer device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30, and output device 40 can be connected via a bus or other means. Figure 9 Taking the example of a connection between China and Israel via a bus.

[0199] Input device 30 can receive input numerical or character information, and generate key signal inputs related to user settings and function control of the computer device, such as a touchscreen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display devices, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors). The aforementioned display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, displays, and plasma displays. In some alternative embodiments, the display device may be a touchscreen.

[0200] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0201] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method of modeling a cut slope, characterized by, The method includes: Obtain the architectural drawings of the slope protection structure; Based on the architectural drawings, the edge lines of the slope body and the distance between the edge lines are determined. The edge lines include the top edge line and the bottom edge line of the pit, and the distance between the edge lines is the distance between the top edge line and the bottom edge line of the pit. Based on the distance between the edge lines and the thickness of the slope body, the offset distance of the edge lines is obtained, and the offset distance of the top edge line of the pit is the same as the offset distance of the bottom edge line of the pit. Based on the offset distance, the edge line is subjected to a first offset process to obtain the offset edge line, and the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines are determined. The first vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line before the offset, and the second vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line after the offset. The slope body is generated by laying out the first vertex correspondence and the second vertex correspondence.

2. The method of claim 1, wherein, The process of obtaining the offset distance of the edge lines based on the distance between the edge lines and the thickness of the slope body includes: The slope angle of the slope body is determined based on the first directional distance and the second directional distance between the top edge line and the bottom edge line of the pit; The offset distance is obtained based on the slope angle and the thickness of the slope body.

3. The method of claim 1, wherein, The step of performing a first offset process on the edge lines based on the offset distance to obtain offset edge lines, and determining the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines, includes: The correspondence of the first vertex is determined based on the distance between the vertices of the top edge of the pit and the bottom edge of the pit; Based on the offset distance, the edge line is subjected to a first offset process to obtain the pit top edge line and the pit bottom edge line after the first offset. The correspondence between the second vertex is determined based on the distance between the vertices of the first offset pit top edge line and the first offset pit bottom edge line.

4. The method of claim 3, wherein, Determining the correspondence of the first vertex based on the distance between the vertices of the pit top edge and the pit bottom edge includes: Count the number of vertices on the top edge of the pit and the number of vertices on the bottom edge of the pit, and determine the edge with the larger number of vertices as the target edge. Starting from a preset vertex of the target edge, query the nearest vertex among the vertices of the other edge to determine the correspondence of the first vertex.

5. The method of claim 1, wherein, Determining the edge line of the slope body based on the architectural drawings includes: Using the edge lines of the slope body in the architectural drawings, the initial edge lines of the slope body are determined, including the initial pit top edge line and the initial pit bottom edge line. The validity of the initial edge line is verified to determine the edge line of the slope body.

6. The method of claim 5, wherein, The step of verifying the legality of the initial edge line and determining the edge line of the slope body includes: If the initial edge line is detected to be self-intersecting, the overhang segment of the initial edge line is obtained, and the initial edge line is trimmed based on the overhang segment to determine the edge line; If the initial edge line is detected to include at least two discontinuous line segments, the at least two discontinuous line segments are extended and merged to determine the edge line; If the initial pit top edge line is detected to intersect with the initial pit bottom edge line, an inspection alert is issued to determine the edge line.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Obtain the width of the platform connected to the slope body, the platform including a first platform and / or a second platform, the first platform corresponding to the top edge of the pit, and the second platform corresponding to the bottom edge of the pit; The corresponding edge lines are offset based on the width of the platform, and the edge lines after the second offset are combined with the edge lines before the second offset to form a platform polygon. The platform polygon is stretched based on the thickness of the slope body to obtain the platform body; The platform body and the slope body are combined to obtain the soil nailing wall body.

8. The method of claim 1, wherein, The method further includes: The quantity of the slope body is calculated based on the slope body, and the calculation result of the slope body is determined.

9. A device for modeling a cut slope, characterized by The device includes: The drawing acquisition module is used to acquire the architectural drawings of the slope structure; The edge line determination module is used to determine the edge line of the slope body and the distance between the edge lines based on the architectural drawings. The edge line includes the top edge line and the bottom edge line of the pit, and the distance between the edge lines is the distance between the top edge line and the bottom edge line of the pit. The offset distance determination module is used to obtain the offset distance of the edge line based on the distance between the edge lines and the thickness of the slope body, wherein the offset distance of the top edge line of the pit is the same as the offset distance of the bottom edge line of the pit; The correspondence determination module is used to perform a first offset processing on the corresponding edge line based on the offset distance to obtain the offset edge line, and to determine the first vertex correspondence between the edge lines and the second vertex correspondence between the offset edge lines. The first vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line before the offset, and the second vertex correspondence is the vertex correspondence between the pit top edge line and the pit bottom edge line after the offset. The layout module is used to perform layout based on the first vertex correspondence and the second vertex correspondence to generate the slope body.

10. A computer device, comprising: include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the slope modeling method according to any one of claims 1 to 8.

11. A computer readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the slope modeling method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Parameterized slope model automatic construction method based on subdivision technology

    CN112395794A

  • Improved design modeling calculation method and system for waste slag field

    CN115292889A