A retaining wall modeling method and system based on dimensioning
By obtaining and processing the drawing information and design data of the retaining wall, determining the coordinates and cross-sections of the marking point, and building a retaining wall model, the problem that traditional methods cannot use users to mark the dimension information is solved, and modeling accuracy and calculation efficiency are improved.
Patent Information
- Application Number
- CN202010968487.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-15
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-09-15
AI Technical Summary
The traditional method of building a retaining wall three-dimensional model cannot use user labeling of dimension information, making it difficult to ensure the accuracy of modeling.
By obtaining the drawing information and design data of retaining wall components, the coordinate expressions of each marking point are determined, and the pile segment paths are divided according to the design path, the starting and ending sections are determined, and the retaining wall model is constructed using the stake-making method.
It improves the accuracy and user experience of modeling, provides a model basis for subsequent earthwork quantity calculations, and simplifies the calculation process.
Smart Images

Figure CN112150610B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of computer information processing, and in particular to a retaining wall modeling method and system based on dimensioning. Background Art
[0002] The traditional method of calculating engineering quantities is to calculate them manually according to the design drawings. Manual calculation of engineering quantities not only requires too high professional ability of the calculator, but also the calculation process is complicated, resulting in low calculation efficiency. With the development of information technology, more and more engineering cost personnel have begun to use 3D model quantity calculation software. In order to solve the trouble of users manually calculating the earthwork quantity of retaining walls, it is necessary to restore the 3D model of the retaining wall and then calculate the engineering quantity through the model. However, the traditional method of constructing a 3D model of a retaining wall cannot use the user's marked dimension information to restore the retaining wall, which makes it difficult to ensure the accuracy of the modeling. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a retaining wall modeling method and system based on dimensioning, which solves the problem in the prior art that the retaining wall cannot be restored using the dimensioning information marked by the user, thereby making it difficult to ensure the accuracy of modeling.
[0004] According to a first aspect, an embodiment of the present invention provides a retaining wall modeling method based on dimensioning, including: obtaining drawing information, design data and design path of retaining wall components; determining coordinate expressions of each marked point of the retaining wall components according to the drawing information and a preset index sequence; dividing the design path according to the pile numbers on the design path, and determining the pile number segment path, wherein the pile number segment path is determined by adjacent first and second pile numbers; determining the dimensioning data and height data corresponding to the first and second pile numbers according to the design data and the pile number segment path; determining the starting section and the ending section corresponding to the first and second pile numbers according to the height data, the dimensioning data and the coordinate expression; determining the retaining wall model according to the starting section and the ending section corresponding to the pile number segment path.
[0005] Optionally, determining the coordinate expressions of the marked points of the retaining wall component according to the drawing information and a preset index sequence includes: determining the vertices of the cross-sectional polygon corresponding to the retaining wall component according to each marked point; determining the horizontal marking, vertical marking, hypotenuse marking and slope marking of the cross-sectional polygon according to the drawing information; determining the horizontal length and vertical height corresponding to each side of the cross-sectional polygon according to the horizontal marking, vertical marking, hypotenuse marking and slope marking; determining the coordinate expressions of the marked points of the retaining wall component according to the preset index sequence, the vertices of the cross-sectional polygon, and the horizontal length and vertical height corresponding to each side.
[0006] Optionally, the coordinate expression of each marking point of the retaining wall component is determined according to the preset index order, the vertices of the cross-sectional polygon, and the horizontal lengths and vertical heights corresponding to each side, including: judging whether the horizontal lengths and vertical heights of all sides of the cross-sectional polygon exist; in response to the horizontal lengths and vertical heights of all sides of the cross-sectional polygon existing, determining the coordinate expression of each marking point according to a preset starting marking point and a preset index order.
[0007] Optionally, an embodiment of the present invention provides a retaining wall modeling method based on dimensioning, further comprising: in response to the non-existence of the horizontal length or vertical height of any side of the cross-sectional polygon, obtaining, based on the drawing information, an implicit annotation corresponding to the current side that does not have the horizontal length and / or vertical height, wherein the implicit annotation is used to determine the horizontal length and / or vertical height of the current side; determining the horizontal length and vertical height corresponding to each side of the cross-sectional polygon based on the implicit annotation, horizontal annotation, vertical annotation, hypotenuse annotation and slope annotation.
[0008] Optionally, an embodiment of the present invention provides a retaining wall modeling method based on dimensioning, further comprising: determining abnormal information in response to the horizontal length or vertical height of any side of the cross-sectional polygon not existing.
[0009] Optionally, dividing the designed path according to the pile numbers on the designed path and determining the pile number segment path includes: judging whether there is a pile number at the starting point and / or the ending point of the designed path; in response to the fact that there is no pile number at the starting point and / or the ending point of the designed path, determining the starting point pile number and / or the ending point pile number according to the pile number adjacent to the starting point and / or the pile number adjacent to the ending point.
[0010] Optionally, determining the retaining wall model according to the starting section and the ending section corresponding to the pile segment path includes: determining the retaining wall model according to the starting section and the ending section by a lofting method.
[0011] According to the second aspect, an embodiment of the present invention provides a retaining wall modeling system based on dimensioning, including: an acquisition module, used to acquire drawing information, design data and design path of the retaining wall component; a first processing module, used to determine the coordinate expression of each marked point of the retaining wall component according to the drawing information and a preset index sequence; a second processing module, used to divide the design path according to the pile numbers on the design path, and determine the pile number segment path, wherein the pile number segment path is determined by the adjacent first pile number and second pile number; a third processing module, used to determine the dimensioning data and height data corresponding to the first pile number and the second pile number according to the design data and the pile number segment path; a fourth processing module, used to determine the starting section and the ending section corresponding to the first pile number and the second pile number according to the height data, the dimensioning data and the coordinate expression; a fifth processing module, used to determine the retaining wall model according to the starting section and the ending section corresponding to the pile number segment path.
[0012] An embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, they implement the retaining wall modeling method based on dimensioning described in the first aspect of the present invention and any optional method.
[0013] An embodiment of the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the dimension-based retaining wall modeling method described in the first aspect of the present invention and any optional method by executing the computer instructions.
[0014] The technical solution of the present invention has the following advantages:
[0015] The embodiment of the present invention provides a retaining wall modeling method and system based on dimensioning, which determines the coordinate expression of each marked point of the retaining wall component through drawing information and design data, and divides the pile number in the design path into segments. After the starting section and the ending section of the pile number segment are determined, the retaining wall model is determined according to the starting section and the ending section corresponding to the pile number segment path; by restoring the retaining wall based on the user's dimensioning information, the accuracy of modeling is ensured while the user experience is improved, and a model basis is provided for the subsequent calculation of the earthwork volume of the retaining wall, which is convenient for simplifying the calculation process and improving calculation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 is a specific flow chart of a retaining wall modeling method based on dimensioning in an embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of a dimension data table in an embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of a height data table in an embodiment of the present invention;
[0020] Figure 4 A schematic diagram of the segment path division in an embodiment of the present invention;
[0021] Figure 5 A schematic diagram of marking dimensions of a retaining wall in an embodiment of the present invention;
[0022] Figure 6 It is a module composition diagram of a retaining wall modeling system based on dimensioning in an embodiment of the present invention;
[0023] Figure 7 Schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0026] The embodiment of the present invention provides a retaining wall modeling method based on dimensioning, such as Figure 1 As shown, the method specifically includes:
[0027] Step S1: Obtain drawing information, design data and design path of retaining wall components.
[0028] In the embodiment of the present invention, the retaining wall refers to a structure that supports the roadbed fill or hillside soil and prevents the fill or soil from deforming and becoming unstable. When the retaining wall is constructed, it is generally necessary to construct according to the design drawings. Before construction, the engineering quantity needs to be calculated. The steps required for the manual calculation of the engineering quantity are as follows: first calculate the volume engineering quantity of each pile number, and then add up the engineering quantities of all pile numbers; and the volume engineering quantity of each pile number is calculated based on the average value of the cross-sectional area of the starting pile number and the cross-sectional area of the ending pile number, and then multiplied by the distance between the pile numbers; and the cross-sectional area engineering quantity is based on the wall height of the current pile number, matching the retaining wall size table to find each variable, and then substituting the variable value into the retaining wall elevation drawing to calculate the cross-sectional area of the current pile number. Among them, the pile number is a unified numbering of the designed foundation piles before construction to facilitate construction, and the number is not repeated, for example: K1+530, K is kilometers, if this is converted into a numerical value, it is 1000+530, and the result is 1530.
[0029] In practical applications, before the retaining wall model is established, the drawing information, design data and design path of the retaining wall components are obtained first. The drawing information of the retaining wall includes the elevation, plan, and cross-sectional design drawings of the retaining wall CAD drawing, which is convenient for obtaining various data information required for modeling in the drawings; the design data includes: the structural data, dimension data table and height data table of the retaining wall. Among them, the structural data determines the overall shape of the retaining wall, and the value of its structural data is also set according to the engineering standards. The design path is determined according to the plan of the retaining wall, and can be a design path composed of one or more straight lines and arcs.
[0030] like Figure 2 The dimensioning data table shown is a data table generated based on drawing information or user input. Incorrect data can be deleted and new data can be added. For example, when no dimensioning data is obtained, the table is empty and has no columns. When defining the retaining wall dimensioning, each time a new variable is generated, a new column is added to the end of the table. The column name is equal to the variable name. The default value of the new column uses the value of the current section dimensioning. A horizontal dimension is defined with the variable name b1. The distance of the current horizontal dimensioning (the value of the end position X left dimension minus the value of the start position X coordinate) is 500, so the default value of the new column b1 is 500. When a variable is deleted by deleting the dimension, the corresponding column of the table is also deleted. The preset recognition algorithm can also be used to identify table data from drawing information.
[0031] like Figure 3In the height data table shown, the first pile number is the starting pile number, and the distance between two pile numbers, for example, the distance between K0+550 and K0+540 is 10m. The foundation bottom elevation is the value of the foundation bottom elevation of the retaining wall, the foundation top elevation is the value of the foundation top elevation of the retaining wall, and the wall top elevation is the value of the top elevation of the retaining wall. The wall height is calculated based on the wall height expression. For example, if the wall height expression is set to: "Wall top elevation - foundation bottom elevation", a height value is calculated based on the wall top elevation minus the foundation bottom elevation.
[0032] It should be noted that the attributes and values in the dimension data table and the height data table can be adjusted according to actual engineering requirements. The present invention only takes this as an example and is not limited to this.
[0033] Step S2: Determine the coordinate expression of each marked point of the retaining wall component according to the drawing information and the preset index sequence.
[0034] In the embodiment of the present invention, due to the actual situation of the retaining wall, it is determined that all sides of the cross section of the retaining wall are straight sides; each marking point and the standard size are first determined according to the drawing information, and a preset index sequence is predefined to label each marking point of the retaining wall component, thereby determining the coordinate expression of each marking point of the retaining wall component.
[0035] Step S3: Divide the designed path according to the pile numbers on the designed path to determine the pile number segment path, where the pile number segment path is determined by the adjacent first pile number and the second pile number.
[0036] In the embodiment of the present invention, the designed path is divided according to the pile numbers on the designed path to determine the pile number segment path, wherein the pile number segment path is determined by the adjacent first pile number and the second pile number, such as Figure 4 As shown, two stake numbers are taken out from the height data table, the length between the two stake numbers is calculated, and then the designed path is cut according to the current length based on the length, for example: K0+520 to K0+530, and the data with the starting stake number of K0+520 and the ending stake number of K0+530 are obtained after cutting. It should be noted that the process of dividing the designed path and determining the stake segment path mentioned in the embodiment of the present invention can be to determine one stake segment path by dividing once, or to determine multiple stake segment paths by dividing multiple times, and the present invention is not limited thereto.
[0037] Step S4: Determine the dimension data and height data corresponding to the first pile number and the second pile number according to the design data and the pile number segment path.
[0038] In the embodiment of the present invention, the first pile number and the second pile number in the current pile number segment path are determined according to the design data and the pile number segment path, and then the height data corresponding to each pile number is matched in the height data table according to the pile number, and the dimension data corresponding to the height data is matched in the dimension data table according to the obtained height data. For example, if the wall height determined according to the pile number is equal to the value of H in the dimension data table of 2m, then the following is returned: Figure 2 The value of the first record shown; if the height data obtained is not in the dimension data table, for example, the wall height is 2.2m, the linear difference of other variables is calculated through the two records of H=2m and H=2.5m.
[0039] Assume i = (2.2m-2m) / (2.5m-2m), then b1 = 500+(500-500)*i, b2 = 300+(300-300)*I, h1 = 800+(1000-800)*I, and finally the dimension data can be calculated; if the wall height is less than the value of H in the table, it is necessary to use the linear difference method based on the first two records to calculate the dimension data under the current wall height; if the wall height is greater than the value of H in the table, it is necessary to use the linear interpolation method based on the last two records to calculate the dimension data under the current wall height.
[0040] It should be noted that since the pile numbers are uniformly numbered according to the designed foundation piles, the data are one-to-one corresponding and exist in the dimension data table. The height data may not exist in the height data table, so it is necessary to perform linear interpolation based on the existing height data and the corresponding dimension data. In actual applications, other methods can also be used to fit the data that does not exist in the height data table, but the present invention is not limited to this.
[0041] Step S5: Determine the starting section and the ending section corresponding to the first pile number and the second pile number according to the height data, the dimension data and the coordinate expression.
[0042] In the embodiment of the present invention, according to the coordinate data of each marked point, the variable values of all the marked dimension data under the current wall height are substituted into the calculation to obtain the real cross-section coordinate data under the current wall height. Assuming that the first marked point is determined as (0,0) through the coordinate expression, by substituting the value of each variable into the (x,y) coordinate data, and then according to the vertex coordinate order, two points directly generate a straight line, and finally connect all the line segments to generate a polygon, which is the cross section corresponding to the pile number. The starting cross section corresponding to the first pile number and the ending cross section corresponding to the second pile number can be determined.
[0043] Step S6: Determine the retaining wall model according to the starting section and the ending section corresponding to the pile segment path.
[0044] In the embodiment of the present invention, the model of each pile segment is constructed in sequence, and the model is constructed by lofting and body building through the design path of each pile segment and the starting section and ending section of each pile segment. It should be noted that the embodiment of the present invention only illustrates the construction of the model by lofting and body building method, and in actual applications, it can also be constructed by other neural network algorithms, and the present invention is not limited to this.
[0045] The embodiment of the present invention provides a retaining wall modeling method based on dimensioning, which determines the coordinate expressions of each marked point of the retaining wall component through drawing information and design data, and divides the pile number in the design path into segments. After the starting section and the ending section of the pile number segment are determined, the retaining wall model is determined according to the starting section and the ending section corresponding to the pile number segment path; by restoring the retaining wall based on the user's dimensioning information, the accuracy of modeling is ensured while the user experience is improved, and a model basis is provided for the subsequent calculation of the earthwork volume of the retaining wall, which is convenient for simplifying the calculation process and improving calculation efficiency.
[0046] Specifically, in one embodiment, the above step S2 specifically includes the following steps:
[0047] Step S21: Determine the vertices of the cross-section polygon corresponding to the retaining wall component according to each marked point.
[0048] In the embodiment of the present invention, the highest point among the marked points of the retaining wall is determined as the insertion point of the model, and each marked point is determined as the vertex of the cross-section polygon corresponding to the retaining wall component. It should be noted that the embodiment of the present invention uses an example to illustrate that the highest point among the marked points is determined as the insertion point of the model. In actual applications, the position of the insertion point can also be determined according to the user's settings. The present invention only takes this as an example and is not limited to this.
[0049] Step S22: Determine the horizontal marking, vertical marking, hypotenuse marking and slope marking of the cross-section polygon according to the drawing information.
[0050] In the embodiment of the present invention, each annotation can be directly identified according to the drawing information, and the user can also perform dimension annotation in the drawing area. Among them, the process of horizontal annotation is to define the annotation variable in the horizontal direction (length direction). After the command is triggered, the operation steps are as follows: press the left mouse button to specify the first point, press the left button to continue, press the right button to terminate or ESC to cancel; press the left mouse button to specify the second point, press the left button to continue, press the right button to terminate or ESC to cancel; press the left mouse button to specify the annotation position, press the left button to continue, press the right button to terminate or ESC to cancel; the points selected above are only allowed to select vertices on the section. The generated annotation variable uses b as the prefix, followed by a sequence number, and the variable name that has been defined will be skipped; the generated annotation data contains information such as the variable name, section ID, starting position section index, and ending position section index.
[0051] The process of vertical dimensioning is to define the dimensioning variables in the vertical (height direction). After triggering the command, the operation steps are as follows: press the left mouse button to specify the first point, press the left button to continue, press the right button to terminate or ESC to cancel; press the left mouse button to specify the second point, press the left button to continue, press the right button to terminate or ESC to cancel; press the left mouse button to specify the dimensioning position, press the left button to continue, press the right button to terminate or ESC to cancel; the points selected above are only allowed to select vertices on the section. The generated dimensioning variables use h as the prefix, followed by a serial number, and the variable names that have been defined will be skipped. The generated dimensioning data includes the variable name, section ID, starting position section index, ending position section index, etc.
[0052] The process of bevel annotation is to define the annotation variables of the bevel direction. After triggering the command, the operation steps are as follows: press the left mouse button to select an edge, press the left button to continue, press the right button to terminate or ESC to cancel; press the left mouse button to specify the annotation position, press the left button to continue, press the right button to terminate or ESC to cancel; the generated annotation variable uses b as the prefix, followed by a sequence number, and the variable name that has been defined will be skipped. The generated annotation data includes the variable name, section ID, starting position section index, ending position section index, etc.
[0053] The slope annotation process is to define the slope annotation of the vertical ratio to the horizontal. After the command is triggered, the operation steps are as follows: press the left mouse button to select an edge, press the left button to continue, press the right button to terminate or ESC to cancel; press the left mouse button to specify the annotation position, press the left button to continue, press the right button to terminate or ESC to cancel; the default generated annotation data is 1:i1, which can be adjusted to i1:1, or i1:0.5, or 0.5:i1, but only one variable name can appear. The generated annotation variable uses i as the prefix, followed by a sequence number, and the variable name that has been defined will be skipped. The generated annotation data includes the variable name, section ID, starting position section index, end position section index, etc. After the above annotations, the corresponding section shape and the corresponding annotation size data of each section shape can be obtained.
[0054] Step S23: Determine the horizontal length and vertical height corresponding to each side of the cross-section polygon according to the horizontal marking, vertical marking, hypotenuse marking and slope marking.
[0055] In the embodiment of the present invention, each of the horizontal annotations, vertical annotations, hypotenuse annotations, and slope annotations does not necessarily correspond to a certain side. There may be cross-side annotations, so not every annotation corresponds to a side. It is necessary to calculate the length and height of a side by adding and subtracting with other annotations. After analysis, it is found that each annotation corresponds to an equation. If a variable is given to each side length and height, then an equation such as a+b+c=H, b=h1, etc. can be listed. Then, by solving such a set of equations, the horizontal length and vertical height of each side can be calculated.
[0056] Step S24: Determine the coordinate expression of each marked point of the retaining wall component according to the preset index sequence, the vertices of the cross-section polygon, and the horizontal length and vertical height corresponding to each side.
[0057] Specifically, in one embodiment, the above step S24 specifically includes the following steps:
[0058] Step S241: Determine whether the horizontal lengths and vertical heights of all sides of the cross-section polygon exist.
[0059] In the embodiment of the present invention, it is determined whether the horizontal lengths and vertical heights of all sides of the cross-section polygon exist. If both exist, the specific coordinates of the marked point can be solved.
[0060] Step S242: In response to the existence of horizontal lengths and vertical heights of all sides of the cross-section polygon, a coordinate expression of each marking point is determined according to a preset starting marking point and a preset index sequence.
[0061] Specifically, in one embodiment, the above step S24 further includes the following steps:
[0062] Step S243: In response to the non-existence of the horizontal length or vertical height of any side of the cross-section polygon, obtain the implicit annotation corresponding to the current side without horizontal length and / or vertical height according to the drawing information, and the implicit annotation is used to determine the horizontal length and / or vertical height of the current side.
[0063] Step S244: Determine the horizontal length and vertical height corresponding to each side of the cross-section polygon according to the implicit annotation, horizontal annotation, vertical annotation, hypotenuse annotation and slope annotation.
[0064] In the embodiment of the present invention, the horizontal lengths and vertical heights corresponding to all the sides of the cross-section polygon are determined by the acquired implicit annotations, and then the coordinate data of all the annotation points are determined.
[0065] Step S245: In response to the horizontal length or vertical height of any side of the cross-section polygon not existing, abnormal information is determined.
[0066] In the embodiment of the present invention, when the horizontal length or vertical height of any side of the cross-section polygon does not exist, it is determined that the dimension data information is incomplete, and the dimension data needs to be re-acquired or the user needs to be prompted to input the dimension data.
[0067] In practical applications, horizontal annotations, vertical annotations, hypotenuse annotations, and slope annotations are classified and grouped together. Then, based on the annotation grouping and insertion point, an equation is constructed for the annotations in each group. Since annotations are not directional, but equations need to consider direction, it is stipulated that the annotations of the schematic diagram are from the smaller index number to the larger index number. If the direction is from right to left, it is considered to be negative, otherwise it is considered to be positive. Figure 5 As shown, the annotation b3 spans across the two edges 11 and 12, and is from right to left. Then the linear equation corresponding to the annotation can be determined, and all horizontal annotations can form a linear equation system matrix. The linear equation system for the above horizontal edges is as follows:
[0068] 1 0 0 0 0 0 0 0 0 0 0 0 0-B
[0069] 0 0 1 0 0 0 0 0 0 0 0 0 0-b1
[0070] 0 0 0 0 1 0 0 0 0 0 0 0 0b4
[0071] 0 0 0 0 0 0 1 0 0 0 0 0 0b5
[0072] 0 0 0 0 0 0 0 0 0 0 0 1 1-b3
[0073] By using Gaussian elimination to solve the linear equations, we can get the solution of the horizontal length of each side, or the solution of the horizontal length of only part of the sides, and correspond each solution to the horizontal length of the corresponding side; find out whether the side has a slant length or slope annotation from the horizontal length, if so, infer the vertical height solution based on the horizontal length. Find out whether the current side has a slope and slant length annotation based on the current side. Since the slope and slant length annotation can only be performed on one side, it can be queried based on this. Assuming that the horizontal length of the current side has been calculated and the slant length annotation of the current side has been found, the vertical height can be calculated using the Pythagorean theorem. If the slope annotation is found, the vertical height can be calculated by the ratio; the same principle is used to infer the horizontal length from the vertical height and the slope and slant length annotation. If the horizontal length and / or vertical height of all sides are not obtained, a second round of linear equations for the vertical height of each side needs to be constructed based on the vertical height annotation, and Gaussian elimination is also used to solve it to get the solution of the vertical height of each side, or the solution of the vertical height of only part of the sides to get the vertical height of each side.
[0074] If the horizontal length or vertical height of any side of the cross-sectional polygon does not exist, substitute the existing horizontal length and vertical height solutions into the linear equations, and solve the linear equations again until there is no new solution in the current solution process. Otherwise, as long as a new solution can be obtained each time the linear equations are solved, the cycle will be repeated. If there are still polygon sides that have not been solved after the preset number of cycles, it may be because the linear equations only explicitly use the user's annotation information, but some annotation information is implicit in the retaining wall schematic diagram. For example, the first side has only one horizontal annotation B, but from the schematic diagram, this side is a horizontal side, and its actual business is indeed a horizontal side, because the top of the wall is horizontal, so it can be known that the vertical height of this side is 0. Therefore, in the linear equations for solving the vertical height, the following equation can be added: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[0076] Supplement all the implicitly annotated linear equations in the schematic diagram, substitute them into the linear equation system again and continue solving until no new solution is found. According to the solution results, the horizontal length and vertical height of each edge are solved. If not all edges are solved, it means that the user's annotation information is incomplete, and a prompt message is output to give the unsolved edges.
[0077] If all sides of the polygon have been solved, then the X coordinates of each point can be obtained by sequentially adding up the horizontal lengths of each side (the lengths obtained are directional), and the Y coordinates can be obtained similarly. For example, the horizontal length of the first side is -B, and the vertical height is 0; the horizontal length of the second side is -b1, and the vertical height is -h1. The coordinate expressions are sequentially added up to get the first point (0,0), the second point (-B, 0), the third point (-B-b1, -h1), and so on. At this point, the coordinate expressions of each marked point of the wall polygon can be determined, and the coordinates of each marked point can be determined by the marked dimension data.
[0078] Specifically, in one embodiment, the above step S3, dividing the designed path according to the pile numbers on the designed path to determine the pile number segment path, specifically includes the following steps:
[0079] Step S31: Determine whether there is a stake number at the starting point and / or the ending point of the designed path.
[0080] In the embodiment of the present invention, since the pile numbers are uniformly numbered for the foundation piles, there may be a situation where the pile number is not at the starting point and the ending point of the designed path. First, it is determined whether there is a pile number at the starting point and / or the ending point of the designed path.
[0081] Step S32: In response to the start point and / or the end point of the designed path not having a stake number, determine the start point stake number and / or the end point stake number according to the stake number adjacent to the start point and / or the stake number adjacent to the end point.
[0082] In the embodiment of the present invention, when there is no stake number at the starting point and / or the ending point of the designed path, there are two situations. The first is that there is no stake number at the end point of the designed path, and the other is that the end point of the designed path is between stake numbers. In the first situation, when the remaining designed route exceeds the stake number (that is, there is no stake number at the end point of the designed path length), the elevation data of the remaining line segment takes the elevation data of the last stake number. For example, if the stake number is only given to K0+540, but there is still a 5m designed path line segment left, then K0+545 (virtual stake number data) is used. The elevation data needs to be taken from K0+540; in the second case, when the length between the two pile numbers exceeds the range of the remaining design path (that is, the end point of the design path is between the pile numbers), the linear interpolation method is used to calculate the pile number at the end point of the path segment, such as: from K0+530 to K0+540 pile numbers, the length between the pile numbers is 10m, and the current remaining design path segment is only 5m. It is necessary to use the linear interpolation method to calculate the elevation data of K0+535 based on the elevation data of K0+530 and K0+540.
[0083] The embodiment of the present invention provides a retaining wall modeling method based on dimensioning, which determines the coordinate expression of each marked point of the retaining wall component through drawing information and design data, and segments the pile number in the design path. After the starting section and the ending section of the pile number segment are determined, the retaining wall model is determined according to the starting section and the ending section corresponding to the pile number segment path; the model of the pile number data segment is established through each section, and then the retaining wall is constructed according to the design path and the model of each pile number data segment; the retaining wall is restored based on the user's dimensioning information, and the accuracy of the establishment of each segment model is guaranteed by segmenting the design path, while improving the accuracy of the entire retaining wall modeling, and also improving the user experience, and providing a model basis for the subsequent calculation of the earthwork volume of the retaining wall, which is convenient for simplifying the calculation process and providing calculation efficiency.
[0084] The embodiment of the present invention also provides a retaining wall modeling system based on dimensioning, such as Figure 6 As shown, including:
[0085] The acquisition module 01 is used to acquire the drawing information, design data and design path of the retaining wall component. For details, please refer to the relevant description of step S1 in the above method embodiment, which will not be repeated here.
[0086] The first processing module 02 is used to determine the coordinate expression of each marked point of the retaining wall component according to the drawing information and the preset index sequence. For details, please refer to the relevant description of step S2 in the above method embodiment, which will not be repeated here.
[0087] The second processing module 03 is used to divide the designed path according to the pile numbers on the designed path, and determine the pile number segment path, where the pile number segment path is determined by the adjacent first pile number and second pile number. For details, please refer to the relevant description of step S3 in the above method embodiment, which will not be repeated here.
[0088] The third processing module 04 is used to determine the dimension data and height data corresponding to the first pile number and the second pile number according to the design data and the pile number segment path. For details, please refer to the relevant description of step S4 in the above method embodiment, which will not be repeated here.
[0089] The fourth processing module 05 is used to determine the starting section and the ending section corresponding to the first pile number and the second pile number according to the height data, the dimension data and the coordinate expression. For details, please refer to the relevant description of step S5 in the above method embodiment, which will not be repeated here.
[0090] The fifth processing module 06 is used to determine the retaining wall model according to the starting section and the ending section corresponding to the pile segment path. For details, please refer to the relevant description of step S6 in the above method embodiment, which will not be repeated here.
[0091] Through the collaborative cooperation of the above-mentioned components, an embodiment of the present invention provides a retaining wall modeling system based on dimensioning, which determines the coordinate expression of each marked point of the retaining wall component through drawing information and design data, and segments the pile numbers in the design path. After the starting section and the ending section of the pile number segment are determined, the retaining wall model is determined according to the starting section and the ending section corresponding to the pile number segment path; the model of the pile number data segment is established through each section, and then the retaining wall is constructed according to the design path and the model of each pile number data segment; the retaining wall is restored based on the user's dimensioning information, and the accuracy of the model establishment of each segment is guaranteed by segmenting the design path, thereby improving the accuracy of the entire retaining wall modeling, improving the user experience, and providing a model basis for the subsequent calculation of the earthwork volume of the retaining wall, which is convenient for simplifying the calculation process and providing calculation efficiency.
[0092] The embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, the electronic device may include a processor 901 and a memory 902, wherein the processor 901 and the memory 902 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0093] The processor 901 may be a central processing unit (CPU). The processor 901 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0094] The memory 902 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the method in the embodiment of the present invention. The processor 901 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 902, that is, implementing the above method.
[0095] The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 901, etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 902 may optionally include a memory remotely arranged relative to the processor 901, and these remote memories may be connected to the processor 901 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0096] One or more modules are stored in the memory 902, and when executed by the processor 901, the above method is performed.
[0097] The specific details of the above electronic device can be understood by referring to the corresponding descriptions and effects in the above method embodiments, and will not be repeated here.
[0098] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.
[0099] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A retaining wall modeling method based on dimensioning, It is characterized in that include: Obtain drawing information, design data and design path of retaining wall components; According to the drawing information and the preset index sequence, the coordinate expression of each marked point of the retaining wall component is determined, wherein the coordinate expression of each marked point of the retaining wall component is determined according to the drawing information and the preset index sequence, including: Determine the vertices of the cross-section polygon corresponding to the retaining wall component according to each marked point; Determine the horizontal marking, vertical marking, hypotenuse marking and slope marking of the cross-section polygon according to the drawing information; Determine the horizontal length and vertical height corresponding to each side of the cross-section polygon according to the horizontal marking, vertical marking, hypotenuse marking and slope marking; Determine the coordinate expression of each marked point of the retaining wall component according to the preset index sequence, the vertices of the cross-section polygon, and the horizontal length and vertical height corresponding to each side; Divide the designed path according to the pile numbers on the designed path to determine a pile number segment path, wherein the pile number segment path is determined by adjacent first pile numbers and second pile numbers; Determine the dimension data and height data corresponding to the first pile number and the second pile number according to the design data and the pile number segment path; Determine the starting section and the ending section corresponding to the first pile number and the second pile number according to the height data, the dimension data and the coordinate expression; The retaining wall model is determined according to the starting section and the ending section corresponding to the pile segment path.
2. The retaining wall modeling method based on dimensioning according to claim 1, It is characterized in that The step of determining the coordinate expressions of the marked points of the retaining wall component according to the preset index sequence, the vertices of the cross-section polygon, and the horizontal lengths and vertical heights corresponding to the edges includes: Determine whether the horizontal lengths and vertical heights of all sides of the cross-section polygon exist; In response to the existence of horizontal lengths and vertical heights of all sides of the cross-section polygon, a coordinate expression of each marking point is determined according to a preset starting marking point and a preset index sequence.
3. The retaining wall modeling method based on dimensioning according to claim 2, It is characterized in that Also includes: In response to the horizontal length or vertical height of any side of the cross-section polygon not existing, obtaining, according to the drawing information, an implicit annotation corresponding to the current side that does not have the horizontal length and / or vertical height, wherein the implicit annotation is used to determine the horizontal length and / or vertical height of the current side; The horizontal length and vertical height corresponding to each side of the cross-section polygon are determined according to the implicit marking, horizontal marking, vertical marking, hypotenuse marking and slope marking.
4. The retaining wall modeling method based on dimensioning according to claim 2, It is characterized in that Also includes: In response to the horizontal length or vertical height of any side of the cross-sectional polygon not existing, abnormal information is determined.
5. The retaining wall modeling method based on dimensioning according to claim 1, It is characterized in that The step of dividing the designed path according to the stake numbers on the designed path to determine the stake number segment path comprises: Determine whether there is a stake number at the starting point and / or the ending point of the designed path; In response to the fact that the starting point and / or the ending point of the designed path do not have a stake number, the starting point stake number and / or the ending point stake number are determined according to the stake number adjacent to the starting point and / or the stake number adjacent to the ending point.
6. The retaining wall modeling method based on dimensioning according to claim 1, It is characterized in that Determining the retaining wall model according to the starting section and the ending section corresponding to the pile number segment path includes: determining the retaining wall model according to the starting section and the ending section by a lofting method.
7. A retaining wall modeling system based on dimensioning, It is characterized in that include: An acquisition module is used to acquire drawing information, design data and design path of retaining wall components; A first processing module is used to determine the coordinate expression of each marked point of the retaining wall component according to the drawing information and a preset index sequence, wherein the determination of the coordinate expression of each marked point of the retaining wall component according to the drawing information and a preset index sequence includes: determining the vertex of the cross-sectional polygon corresponding to the retaining wall component according to each marked point; determining the horizontal annotation, vertical annotation, hypotenuse annotation and slope annotation of the cross-sectional polygon according to the drawing information; determining the horizontal length and vertical height corresponding to each side of the cross-sectional polygon according to the horizontal annotation, vertical annotation, hypotenuse annotation and slope annotation; determining the coordinate expression of each marked point of the retaining wall component according to the preset index sequence, the vertex of the cross-sectional polygon, and the horizontal length and vertical height corresponding to each side; A second processing module is used to divide the designed path according to the pile numbers on the designed path to determine a pile number segment path, wherein the pile number segment path is determined by adjacent first pile numbers and second pile numbers; A third processing module is used to determine the dimension data and height data corresponding to the first pile number and the second pile number according to the design data and the pile number segment path; A fourth processing module, for determining a starting section and an ending section corresponding to the first pile number and the second pile number according to the height data, the dimension data and the coordinate expression; The fifth processing module is used to determine the retaining wall model according to the starting section and the ending section corresponding to the pile segment path.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the retaining wall modeling method based on dimensioning as described in any one of claims 1 to 6 is implemented.
9. An electronic device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the retaining wall modeling method based on dimensioning as described in any one of claims 1 to 6 by executing the computer instructions.
