A method for rapid construction of dam filling compartment models based on a web interface
By using web-based 3D terrain models and Boolean operations, the problems of unintuitive planning and inflexible adjustment of dam filling compartment models were solved, enabling rapid batch modeling and lightweight model creation, thus meeting the refined requirements of on-site dam filling.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2026-03-17
AI Technical Summary
Traditional dam filling compartmentalized model planning suffers from problems such as insufficient intuitiveness in model display, inflexible adjustment, and complex operation of desktop BIM software, resulting in large model generation volume, limited application scenarios, and low reuse rate.
Using a web-based approach, a 3D terrain model is established, Boolean operations are used to obtain the left and right bank boundary lines of the dam, and compartmentalized models are created online, enabling rapid batch modeling and flexible adjustments.
It enables rapid batch creation and flexible adjustment of dam filling compartment models. The model is lightweight, reducing data space usage and improving model reusability, thus meeting the requirements for refined management and control of on-site compartment models.
Smart Images

Figure CN115374512B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of model creation, and in particular to a method for rapidly constructing a dam filling compartment model based on a web interface. Background Technology
[0002] Earth-rock dams are one of the most widely used dam types in current water conservancy and hydropower projects, and the quality control of their construction is often crucial to the overall success or failure of the project. Earth-rock dam filling construction is characterized by complex material area planning, a large range of characteristics among various filling materials, and difficulties in controlling compaction quality. Considering the requirements of dam filling construction technology and the actual on-site construction resource allocation capabilities, it is essential to carry out dam face compartment planning. Traditional dam face compartment planning mostly relies on two-dimensional design software simulation or direct on-site division of compartments according to partitioning rules. On the one hand, the resulting planning scheme is not intuitive enough; on the other hand, it is difficult to respond flexibly and adjust quickly when adjustments to the planning scheme are needed.
[0003] With the rapid development of Internet technology and the widespread application of BIM technology, the integration of BIM technology and Internet technology has gradually deepened, prompting BIM technology related to dam construction to mature from its inception and be gradually put into practice in the dam construction process.
[0004] Existing desktop BIM software suffers from numerous pain points in localization and professional applications due to limitations of its native platform. It lacks sufficient support for specific industry sectors, generally requiring secondary development to achieve the rapid creation of compartmentalized models for applications such as dam filling. Furthermore, most 3D design software is complex to operate, difficult to learn, and demands high user skills. On the other hand, the modeling principles of desktop BIM design software limit the size of the generated models, severely restricting their application scenarios and resulting in low model reuse rates.
[0005] Considering the above, if the overall project's compartmentalized filling model were to be modeled one by one, the economic and time costs would be enormous, and the returns would be minimal. Summary of the Invention
[0006] This invention proposes a method for rapidly constructing dam filling compartment models based on a web interface, which changes the previous method of dam compartment planning. By creating dam filling compartment models online, it enables rapid and flexible adjustments to the compartment planning. At the same time, the direct batch creation of dam filling compartment models allows for the online acquisition of relevant attributes of the compartment unit models.
[0007] This invention provides a method for rapidly constructing a dam filling compartment model based on a web interface, the method comprising the following steps:
[0008] 101. Based on the design data of the dam and its foundation excavation, establish a three-dimensional terrain foundation model and create a three-dimensional reference coordinate system online;
[0009] 102. After assigning the planned elevation value of the dam to the three-dimensional reference coordinate system, obtain plane β1. This plane β1 corresponds to the left bank geometric plane γ1 and the right bank geometric plane γ2 of the three-dimensional terrain base model. 1 Perform Boolean operations to obtain the left bank boundary line L1 and the right bank boundary line L2 of the 3D terrain model;
[0010] 103. Based on the web interface, select at least two different coordinate points Q within the range of the three-dimensional terrain basic model on the left bank boundary line L1. L1-1 Q L1-n Passing through at least two distinct coordinate points Q L1-1 Q L1-n Draw at least two straight lines L parallel to the dam axis on plane β1. y-1 L y-n To obtain at least one closed region β 1-n Based on the web interface, on a straight line L parallel to the dam axis y-n Select at least one coordinate point Q within the riverbed area. y-n-m By selecting at least one coordinate point Q within the riverbed area y-n-m Draw at least one straight line L perpendicular to the dam axis on plane β1. X-n Obtain at least one β of the planned closed area for the left bank filling of the dam. 1-n A plane, where n is greater than or equal to 1 and m is greater than or equal to 1;
[0011] 104. The planned closed area for the left bank filling of the dam has at least one β. 1-n The plane is divided by n straight lines L X-n Divide into n+1 regions, and obtain n+1 β values after partitioning. 1-n The region, the n+1 β 1-n The area is a planar planning area for the filling of n+1 dams; select the n+1 β dams in sequence. 1-n For the plane, input the model thicknesses {Z1, Z2, ... Z} respectively. n}, n+1 β 1-n The plane is arranged according to the input thickness {Z1, Z2, ... Z... n} Perform stretching modeling upwards along the Z-axis to obtain n compartment models of the left bank filling of the dam {V1, V2, ... V n Similarly, n sub-marketing models {V1} are obtained on the right bank. 1 V2 1 ...V n 1}
[0012] Specifically, performing Boolean operations to obtain the left bank boundary line L1 and right bank boundary line L2 of the 3D terrain model involves extracting plane β1 and the left bank geometric surface γ1 triangular mesh model and the right bank geometric surface γ1 of the 3D terrain model. 1 The triangular mesh model.
[0013] Preferably, the triangular mesh model of the left bank geometric surface γ1 is obtained by traversing all triangular faces on the left bank geometric surface γ1 and plane β1, and extracting n triangular faces {γ1} on the left bank geometric surface γ1. 1-1 γ 1-2 γ 1-3 ...γ 1-n}, n triangular facets {β} on plane β1 1-1 β 1-2 β 1-3 ...β 1-n}, calculate the left bank triangular facet γ 1-n With triangular facet β 1-n The intersection line l n Similarly, n-1 intersection lines are obtained, and the n intersection lines {l1, l2, l3, ... l... n Connect them sequentially from left to right to obtain the left bank boundary line L1; similarly, the algorithm obtains the right bank boundary line L2.
[0014] Preferably, the left bank triangular facet γ is calculated. 1-n With triangular facet β 1-n The intersection line l n Previously, it was also necessary to calculate the left bank triangular facet γ. 1-n The distance from the vertex to β1; on the left bank triangular facet γ 1-n With triangular facet β 1-n The planes they lie in are the γ2 plane and the β1 plane, respectively. The general equation for the β1 plane is expressed as:
[0015] N1·X1+K1=0 (1)
[0016] Where N1 is the normal vector of the β1 plane, X1 is any point on β1, and K1 is a constant;
[0017] γ2 can be expressed in the general form of a plane equation as: N2·X2+K2=0 (2)
[0018] Where N2 is the normal vector of the γ2 plane, X2 is any point on γ2, and K2 is a constant;
[0019] The equation expressing the intersection line L of the equations for the β1 plane and the γ2 plane is:
[0020] L=D·t+O (3)
[0021] Where D = N1 × N2, D is the direction vector of the intersection line L, t is the parameter of the equation, O is any point on L, N1 is the normal vector of plane β1, and N2 is the normal vector of plane γ2.
[0022] Triangular facet γ 1-n The distance from vertex to β1 is expressed as:
[0023] d Vi1 =(N1·V i 1 +K1) / |N1|, (4)
[0024] Where i = 0, 1, 2; V i 1 For triangular facet γ 1-n The vertex of β1, and N1 is the normal vector of plane β1;
[0025] triangular facet γ 1-n Vertex V i 1 Substituting equation (1) into equation (4) yields the triangular facet r. 1-n The distance d from the vertex to β1 Vi1 .
[0026] Preferably, the left bank triangular facet γ 1-n The distance from the vertex to β1 is used to obtain γ. 1-n With β 1-n The intersection line l n It is based on the left bank triangular facet γ 1-n Vertex V i 1 Distance d to β1 Vi1 The calculation results indicate the existence of an intersection line; the left bank triangular facet γ... 1-n Vertex V i 1 Distance d to plane β1 Vi1 After judging against the preset conditions, the intersection line l is calculated. n The preset condition is judged as follows:
[0027] When dVi1≠0, and the result of the operation has opposite signs, and γ is determined... 1-n The triangular facet γ intersects with line L. 1-n It intersects with plane β1;
[0028] When dVi1 ≠ 0 (i = 0, 1, 2) and the operation results have the same sign, the left bank triangular facet γ 1-n Located on one side of plane β1, the left bank triangular facet γ 1-n It will not intersect with line L;
[0029] When dVi1=0 (i=0,1,2), the left bank triangular patch γ 1-n On plane β1, the left bank triangular facet γ 1-n There is no intersection with plane β1.
[0030] Preferably, based on determining γ 1-n Based on the result of the judgment of intersection with line L, the left bank triangular facet γ is then calculated. 1-n The intersecting scalar intervals on the intersection line L are projected onto the line through the vertices of the triangle:
[0031] P Vi1 =D·(V i1 -O), i = 0, 1, 2 (5)
[0032] D is the direction vector of line L; O is any point on L; V i 1 Given a point in the β1 plane, its projection onto β1, according to the principle of similar triangles,
[0033] (t1-P V01 ) / (t1-P V11 )=d v01 / d v1 The equation parameter t1 is derived as follows:
[0034] t1 = P V01 +(P V11 -P V01 )·d v01 / (d v01 -d v11 (6)
[0035] Similarly, using the same reasoning, the equation parameter t2 is derived from (t2-PV21) / (t2-PV11)=dv21 / dv11:
[0036] t2=P V21 +(P V11 -P V21 )·d v21 / (d v21 -d v11 (7)
[0037] Preferably, the equation parameters t1 and t2 are substituted into the linear equation L = D·t + O in equation (3) to obtain the left bank triangular facet γ. 1-n With triangular facet β 1-n The intersection line l n The two endpoints:
[0038] l n-1 =D·t1+O,
[0039] l n-2=D·t2+O,
[0040] Similarly, we can obtain {l1, l2, ... l} n-1 The intersection line will connect {l1, l2, l3, ... l... n The intersection lines are connected in sequence to obtain the left bank boundary line L1 of plane β1 on the three-dimensional terrain model r1;
[0041] Similarly, calculate plane β1 and the right bank geometry γ1 of the three-dimensional terrain base model. 1 The Boolean intersection line is used to obtain the right bank boundary line L2 of the three-dimensional terrain model.
[0042] This invention provides a method for rapidly constructing dam filling compartment models based on a web-based platform, solving the problem of rapid batch creation of dam filling compartment models. By establishing a 3D terrain model of the dam and using Boolean algorithms to obtain the left and right bank boundary lines of the dam model, the method creates compartment models for dam filling on a web-based platform, laying the foundation for these models. This changes the previous method of dam compartment planning, enabling rapid and flexible adjustments to compartment planning through online creation of dam filling compartment models. Furthermore, the direct batch creation of dam filling compartment models allows for online acquisition of relevant attributes of the compartment unit models.
[0043] Preferably, based on the web interface, at least one β of the dam filling planning closed area is obtained. 1-n Planes, extract at least one β from closed regions respectively 1-n The boundary line of the plane forms n polylines {Pl1,Pl2,Pl3...Pl...} n}, and form n polylines {Pl1,Pl2,Pl3...Pl n}Stretch.
[0044] Preferably, the n polylines {Pl1,Pl2,Pl3...Pl1} are formed. n The principle and steps of stretching are as follows:
[0045] 201. In the continuous n polylines P1 n Find the minimum straight line segment S in the middle. L1 , put S L1 Along the Z-axis, according to the input thickness Z n The stretching process forms a lateral quadrilateral π.
[0046] 202. Repeat step 201 to form n lateral quadrilaterals π;
[0047] 203. Based on the continuity of n polylines Pl, connect the adjacent boundaries of the n lateral quadrilaterals π to form n columnar structures; cover the bottom and top surfaces of the n columnar structures to form n closed bodies, thus obtaining n compartmentalized models of dam filling {V1, V2, ..., V...} n}
[0048] Among them, polyline P1 n It consists of curves, broken lines, and straight lines.
[0049] This invention presents a rapid construction method for dam filling compartment models based on a web-based platform. It addresses the limitations of desktop BIM software, which restricts the application scenarios and reduces model reusability due to the large data footprint of the generated models. This web-based method eliminates the reliance on desktop BIM applications, allowing for the generation of models with both design and construction attributes through simple rule-based processes. Furthermore, the lightweight underlying engine for rapid online batch modeling on the web platform results in highly lightweight models with minimal data footprint, and allows for more flexible and rapid adjustments to the planning scheme. This method satisfies the requirements for refined control of compartment model planning during on-site dam filling and achieves rapid batch modeling under the high-intensity, fast-paced conditions of on-site dam filling construction.
[0050] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0051] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0052] Figure 1 This is a flowchart of a method for rapidly constructing a dam filling compartment model based on a web interface, provided by an embodiment of the present invention.
[0053] Figure 2 This is a schematic diagram of the left and right bank boundary lines of a method for rapidly constructing a dam filling compartment model based on a web interface, provided by an embodiment of the present invention.
[0054] Figure 3 This invention provides a method for rapidly constructing a dam filling compartment model based on a web interface, including the geometric relationship diagrams of γ2 and β1.
[0055] Figure 4This invention provides a method for rapidly constructing a dam filling compartment model based on a web interface, and includes a geometric diagram showing the projection of triangle vertices to lines.
[0056] Figure 5 This invention provides a method for rapidly constructing a dam filling compartment model based on a web interface. The schematic diagram shows the planar planning of n closed regions for dam filling.
[0057] Figure 6 This is a method for rapidly constructing a dam filling compartment model based on a web interface, forming a schematic diagram of n closed compartment models. Detailed Implementation
[0058] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention.
[0059] Example 1
[0060] This invention provides a method for rapidly constructing a dam filling compartment model based on a web interface. The method is as follows: Figure 1 As shown, the method includes the following steps:
[0061] 101. Based on the design data of the dam and its foundation excavation, establish a three-dimensional terrain foundation model and create a three-dimensional reference coordinate system online;
[0062] 102. After assigning the planned elevation value of the dam to the three-dimensional reference coordinate system, obtain plane β1. Plane β1 is then compared with the left bank geometric plane γ1 and the right bank geometric plane γ2 of the three-dimensional terrain basic model. 1 Perform Boolean operations to obtain the left bank boundary line L1 and the right bank boundary line L2 of the 3D terrain model;
[0063] 103. Based on the web interface, select at least two different coordinate points Q within the range of the three-dimensional terrain basic model on the left bank boundary line L1. L1-1 Q L1-n Through at least two different coordinate points Q L1-1 Q L1-n Draw at least two straight lines L parallel to the dam axis on plane β1. y-1 L y-n To obtain at least one closed region β 1-n Based on the web interface, on a straight line L parallel to the dam axis y-n Select at least one coordinate point Q within the riverbed area. y-n-m By selecting at least one coordinate point Q within the riverbed areay-n-m Draw at least one straight line L perpendicular to the dam axis on plane β1. X-n Obtain at least one β of the planned closed area for the left bank filling of the dam. 1-n A plane, where n is greater than or equal to 1 and m is greater than or equal to 1;
[0064] 104. The planned closed area for the left bank filling of the dam has at least one β. 1-n The plane is divided by n straight lines L X-n Divide into n+1 regions, and obtain n+1 β values after partitioning. 1-n The region, the n+1 β 1-n The area is a planar planning area for the filling of n+1 dams; select the n+1 β dams in sequence. 1-n For the plane, input the model thicknesses {Z1, Z2, ... Z} respectively. n}, the n+1 β 1-n The plane is arranged according to the input thickness {Z1, Z2, ... Z... n} Perform stretching modeling upwards along the Z-axis to obtain n compartment models of the left bank filling of the dam {V1, V2, ... V n Similarly, n sub-marketing models {V1} are obtained on the right bank. 1 V2 1 ...V n 1}
[0065] In one embodiment, such as Figure 2 As shown, in step 102, Boolean operations are performed to obtain the left bank boundary line L1 and the right bank boundary line L2 of the 3D terrain model. This involves extracting the plane β1 and the left bank geometric surface γ1 triangular mesh model and the right bank geometric surface γ1 of the 3D terrain model. 1 The triangular mesh model;
[0066] In one embodiment, such as Figure 3 As shown, taking the left bank boundary line as an example, the triangular mesh model of the left bank geometric surface γ1 is to traverse all triangular faces on the left bank geometric surface γ1 and plane β1, and extract n triangular faces {γ1} on the left bank geometric surface γ1. 1-1 γ 1-2 γ 1-3 ...γ 1-n}, n triangular facets {β} on plane β1 1-1 β 1-2 β 1-3 ...β 1-n}, calculate the triangular facet γ 1-n With triangular facet β 1-n The intersection line l n Similarly, we obtain n intersection lines, and then we divide the n intersection lines {l1, l2, l3, ... l... nConnect them sequentially from left to right to obtain the left bank boundary line L1; similarly, the algorithm obtains the right bank boundary line L2.
[0067] After calculating the triangular facet γ 1-n With triangular facet β 1-n The intersection line l n Previously, it was also necessary to calculate the γ of the triangular facet. 1-n The distance from the vertex to β1, such as Figure 4 As shown;
[0068] The triangular facet γ 1-n With triangular facet β 1-n The planes they lie in are the γ2 plane and the β1 plane, respectively.
[0069] The general equation for the β1 plane is expressed as: N1·X1+K1=0 (1)
[0070] Where N1 is the normal vector of the β1 plane, X1 is any point on β1, and K1 is a constant;
[0071] γ2 can be expressed in the general form of a plane equation as: N2·X2+K2=0 (2)
[0072] Where N2 is the normal vector of the γ2 plane, X2 is any point on γ2, and K2 is a constant;
[0073] The equation expressing the intersection line L of the equations for the β1 plane and the γ2 plane is:
[0074] L=D·t+O (3)
[0075] Where D = N1 × N2, D is the direction vector of the intersection line L, t is the parameter of the equation, O is any point on L, N1 is the normal vector of plane β1, and N2 is the normal vector of plane γ2.
[0076] Triangular facet γ 1-n The distance from vertex to β1 is expressed as:
[0077] d Vi1 =(N1·V i 1 +K1) / |N1|, (4)
[0078] Where i = 0, 1, 2; V i 1 For triangular facet γ 1-n The vertex of β1, and N1 is the normal vector of plane β1;
[0079] triangular facet γ 1-n Vertex V i 1 Substituting equation (1) into equation (4) yields the triangular facet γ. 1-nThe distance d from the vertex to β1 Vi1 .
[0080] The triangular facet γ 1-n The distance from the vertex to β1 is used to obtain γ. 1-n With β 1-n The intersection line l n It is based on the triangular facet γ 1-n Vertex V i 1 Distance d to β1 Vi1 The calculation results indicate the existence of an intersection line, and this γ 1-n Vertex V i 1 Distance d to plane β1 Vi1 After judging against the preset conditions, the intersection line l is calculated. n The preset condition is used for judgment.
[0081] When dVi1≠0, and the result of the operation has opposite signs, and γ is determined... 1-n The triangular facet γ intersects with line L. 1-n It intersects with plane β1;
[0082] When dVi1 ≠ 0 (i = 0, 1, 2) and the operation results have the same sign, the triangular facet γ 1-n If it is located on one side of plane β1, then the triangular facet γ 1-n It will not intersect with line L;
[0083] When dVi1=0 (i=0,1,2), the triangular patch γ 1-n On plane β1, the triangular facet γ1-n has no intersection with plane β1.
[0084] Based on the determination of γ 1-n Intersect with L, then calculate γ. 1-n The projection of the intersecting scalar interval on the intersection line L, through the vertex of the triangle, onto the line is: The equation is...
[0085] P Vi1 =D·(V i1 -O), (5)
[0086] i = 0, 1, 2; D is the direction vector of the intersection line L; O is any point on the intersection line L; V i 1 Given a point in the β1 plane, its projection onto β1, according to the principle of similar triangles,
[0087] (t1-P V01 ) / (t1-P V11 )=d v01 / d v1The equation parameter t1 is derived as follows:
[0088] t1 = P V01 +(P V11 -P V01 )·d v01 / (d v01 -d v11 (6)
[0089] Similarly, using the same reasoning, the equation parameter t2 is derived from (t2-PV21) / (t2-PV11)=dv21 / dv11:
[0090] t2=P V21 +(P V11 -P V21 )·d v21 / (d v21 -d v11 (7)
[0091] Substituting parameters t1 and t2 into equation (3), the linear equation L = D·t + O, yields the left bank triangular facet γ. 1-n With triangular facet β 1-n The intersection line l n The two endpoints:
[0092] l n-1 =D·t1+O,
[0093] l n-2 =D·t2+O,
[0094] Similarly, we can obtain {l1, l2, ... l} n-1}, and {l1, l2, l3, ... l n Connecting these lines sequentially yields the left bank boundary line L1 of plane β1 on the 3D terrain model γ1; similarly, the right bank geometric surface γ1 of plane β1 and the 3D terrain base model is calculated. 1 The Boolean intersection line is used to obtain the right bank boundary line L2 of the three-dimensional terrain model.
[0095] In one embodiment, such as Figure 2 As shown, similarly, the plane β1 and the right bank geometry γ1 of the three-dimensional terrain base model are calculated. 1 The Boolean intersection line is used to obtain the right bank boundary line L2 of the three-dimensional terrain model.
[0096] This invention provides a method for rapidly constructing dam filling compartment models based on a web-based platform, solving the problem of rapid batch creation of dam filling compartment models. By establishing a 3D terrain model of the dam and using Boolean algorithms to obtain the left and right bank boundary lines of the dam model, the method creates compartment models for dam filling on a web-based platform, laying the foundation for these models. This changes the previous method of dam compartment planning, enabling rapid and flexible adjustments to compartment planning through online creation of dam filling compartment models. Furthermore, the direct batch creation of dam filling compartment models allows for online acquisition of relevant attributes of the compartment unit models.
[0097] In one embodiment, such as Figure 5 As shown, based on the web interface, at least one β is obtained from the dam filling planning closed area. 1-n Planes, extract at least one β from closed regions respectively 1-n The boundary line of the plane forms n polylines {Pl1,Pl2,Pl3...Pl...} n}, and form n polylines {Pl1,Pl2,Pl3...Pl n} is stretched; the n polylines {Pl1,Pl2,Pl3...Pl1} are formed. n The stretching process is performed, and the principle and steps of stretching are as follows:
[0098] 201. In n consecutive polylines P1 n Find the minimum straight line segment S in the middle. L1 , put S L1 Along the Z-axis, according to the input thickness Z n The stretching process forms a lateral quadrilateral π.
[0099] 202. Repeat step 201 to form n lateral quadrilaterals π;
[0100] 203. Based on the continuity of n polylines Pl, connect the adjacent boundaries of the n lateral quadrilaterals π to form n columnar structures; cover the bottom and top surfaces of the n columnar structures to form n closed bodies, and finally obtain n stretched models to obtain n compartmentalized models {V1, V2, ... V} for dam filling. n}
[0101] In one embodiment, the polyline P1 n It consists of curves, broken lines, and straight lines.
[0102] This invention presents a rapid construction method for dam filling compartment models based on a web-based platform. It addresses the limitations of desktop BIM software, which restricts the application scenarios and reduces model reusability due to the large data footprint of the generated models. This web-based method eliminates the reliance on desktop BIM applications, allowing for the generation of models with both design and construction attributes through simple rule-based processes. Furthermore, the lightweight underlying engine for rapid online batch modeling on the web platform results in highly lightweight models with minimal data footprint, and allows for more flexible and rapid adjustments to the planning scheme. This method satisfies the requirements for refined control of compartment model planning during on-site dam filling and achieves rapid batch modeling under the high-intensity, fast-paced conditions of on-site dam filling construction.
[0103] Based on the above Figure 1 The corresponding embodiment describes a method for rapidly constructing a dam filling compartment model based on a web interface. The following is an embodiment of the present invention, which can be used to execute the method embodiment of the present invention.
[0104] Example 2
[0105] This invention provides a method for rapidly constructing a dam filling compartment model based on a web-based interface, such as... Figure 2 As shown,
[0106] Step 1: Preparation of planning reference elements; Using CATIA in conjunction with construction drawings, establish a terrain model of the dam foundation after excavation is completed, and create an online XYZ three-dimensional reference coordinate system consistent with the construction drawings.
[0107] Step 2: Select the planned elevation; Input the planned starting elevation value Z1 of the dam's fill, and use the Z1 value to select a point Q1 with coordinates (0, 0, Z1) on the Z-axis of the 3D coordinate system from Step 1. Draw a plane β1 perpendicular to the Z-axis through point Q1. Let the left bank geometry of the terrain model be γ1 and the right bank geometry be γ2. 1 The left and right bank geometric surfaces γ1 and γ1' of the terrain model are obtained through plane β1 and the topography model. 1 Perform Boolean operations to obtain the left bank boundary line L1 and the right bank boundary line L2 of the terrain model.
[0108] In one embodiment, the Boolean operation process, taking the operation of the left bank boundary line L1 as an example, involves extracting the triangular mesh models of plane β1 and the left bank geometric surface γ1 of the terrain model, respectively. For example... Figure 3 As shown, traverse all triangular faces on γ1 and β1 respectively, and extract the triangular face {γ1} on γ1. 1-1 γ 1-2 γ 1-3 、…γ1-n}, the triangular facet {β} on β1 1-1 β 1-2 β 1-3 ...β 1-n}, using γ 1-1 β 1-1 Find the intersection line l1, and similarly find {l2, l3 ...l n}, let {l1, l2, l3, ... l n Connect them sequentially from left to right to form a Boolean intersection line L1.
[0109] Among them, such as Figure 3 As shown, γ 1-1 β 1-1 The algorithm for finding the intersection line l1 is as follows:
[0110] Let triangle γ 1-1 β 1-1 The vertices are as follows:
[0111] V0 1 (x0 1 y0 1 z0 1 V1 1 (x1 1 y1 1 z1 1 V2 1 (x2 1 y2 1 z2 1 )
[0112] V0 2 (x0 2 y0 2 z0 2 V1 2 (x1 2 y1 2 z1 2 V2 2 (x2 2 y2 2 z2 2 ),
[0113] triangle γ 1-1 β 1-1 The planes in question are γ2 and β1, respectively; the resulting geometric relationships are as follows: Figure 4 As shown.
[0114] β1 can be expressed using the general form of a plane equation as follows:
[0115] N1·X1+K1=0 (1)
[0116] N1 is the normal vector of the β1 plane:
[0117]
[0118]
[0119] X1 is any point on β1.
[0120]
[0121] γ2 can be expressed in general form as a plane equation as follows:
[0122] N2·X2+K2=0 (2)
[0123] N2 is the normal vector of the γ2 plane:
[0124]
[0125]
[0126] X2 is any point on γ2.
[0127]
[0128] The equation of the line containing the intersection of β1 and γ2 can be derived from the equations of the β1 plane and the γ2 plane. The parameterized expression of the intersection line L is as follows:
[0129] L=D·t+O (3)
[0130] Where D = N1 × N2, D is the direction vector of the intersection line L, N2 is the normal vector of plane γ2, N1 is the normal vector of plane β1, O is any point on L; t is the parameter of the equation.
[0131] Then γ 1-1 The distance from the vertex to β1 is:
[0132] d Vi1 =(N2·V i1 +K1) / |N2|, i=0,1,2; (4)
[0133] judge:
[0134] 1 when d Vi1 If γ ≠ 0 (i = 0, 1, 2) and the results of the operations have the same sign, then γ 1-1 If they are located on one side of β1, they will not intersect.
[0135] 2 when d Vi1 =0 (i=0,1,2), then the left bank triangular facet γ 1-1 On plane β1, the left bank triangular patch γ 1-nThere is no intersection with plane β1.
[0136] 3 when d Vi1 When the result of the operation is ≠0 (i=0,1,2) and the sign of the result is opposite, the left bank triangular facet γ 1-n It intersects with plane β1 and determines the left bank triangular facet γ. 1-n Intersects with line L;
[0137] Excluding the first two cases mentioned above, the left bank triangular patch γ 1-1 It intersects with β1 and determines the left bank triangular facet γ. 1-1 It intersects with line L.
[0138] In one embodiment, it would be necessary to calculate the left bank triangular facet γ for this situation. 1-1 In the intersecting scalar interval on the intersection line L, we can assume V0 1 V2 1 On the same side, V1 1 On the other side of β1 (other cases ① and ② have been excluded).
[0139] The equation for the projection of a triangle vertex onto a line is:
[0140] P Vi1 =D·(V i1 -O), (5)
[0141] i = 0, 1, 2; D is the direction vector of the intersection line L; O is any point on the intersection line L, and the geometric relationship is as follows: Figure 4 As shown;
[0142] Use K i1 V represents i1 Based on the principle of similar triangles, we find a similar triangle △V by projecting it onto β1. 01 BK 01 and △V 11 BK 11 Therefore, (t1-PV) 01 ) / (t1-PV 11 )=dv 01 / dv 11 It is derived that
[0143] t1 = P V01 +(P V11 -P V01 )·dv 01 / (d v01 -d v11 (6)
[0144] For the same reason (t2-P) V21) / (t2-P V11 )=dv21 / dv 11 It is derived that
[0145] t2=P V21 +(P V11 -P V21 )·dv 21 / (d v21 -d v11) (7)
[0146] Substituting the parameters t1 and t2 obtained above into equation (4), the linear equation L = D·t + O, we can obtain γ. 1-1 With β 1-1 Intersection l n The two endpoints:
[0147] l n-1 =D·t1+O,
[0148] l n-2 =D·t2+O.
[0149] like Figure 2 As shown, similarly, {l2, l3, ... l} can be obtained. n The intersection lines {l1, l2, l3, ..., ln} are connected sequentially to obtain the left bank boundary line L1 of plane β1 on the terrain model γ1.
[0150] Similarly, calculate plane β1 and the right bank geometry γ1 of the 3D terrain model. 1 The Boolean intersection line, i.e., the right bank boundary line L2 of the terrain model, is obtained.
[0151] Step 3: Divide the parallel dam axis, such as... Figure 5 As shown: Based on the web interface, n different coordinate points {Q} within the range of the three-dimensional terrain basic model are selected on the left bank boundary line L1. L1-1 Q L1-2 ...Q L1-n}, through the above {Q L1-1 Q L1-2 ...Q L1-n Draw a straight line {L} parallel to the dam axis on plane β1, based on the coordinates of the points}. y-1 L y-2 L y-3 ...L y-n}, by L1, L2 and the line {L y-1 L y-2 L y-3 ...L y-n} Form n closed regions {β 1-1 β 1-2 β 1-3 ...β 1-n};
[0152] In one embodiment, two coordinate points Q are selected on the left bank boundary line L1. L1-1 Q L1-2 Passing through coordinate point Q L1-1 Q L1-2 Draw a straight line L parallel to the dam axis on plane β1. y-1 L y-2 The left bank boundary line L1, the right bank boundary line L2, and the straight line L y-1 L y-2 Forming n closed regions β 1-1 β 1-2 .
[0153] Step 4: Vertical division of dam axis, such as... Figure 5 As shown; on the line {L y-1 L y-2 L y-3 ...L y-n Points {Q} within the range of the three-dimensional terrain base model are selected on at least one straight line. y-n-1 Qy-n-2, Q y-n-3 ...Q y-n-m At least one point in the above-selected points, and at least one straight line {L} perpendicular to the dam axis (Y-axis) is drawn on plane β1. X-1 L X-2 L X-3 ...L X-n}, the closed region {β} in step 3 1-1 β 1-2 β 1-3 ...β 1-n At least one of them, respectively, is bounded by n straight lines {L} X-1 L X-2 L X-3 ...L X-n The area is divided into "n+1" regions, and each region after division is the plan area for dam filling.
[0154] In one embodiment, on line L y-n Point Q within the range of the three-dimensional terrain base model is selected above. y-n-1 The Q selected above y-n-1 Draw a straight line L on plane β1 that is perpendicular to the dam axis (Y-axis). X-n Closed region β 1-n L, a single straight line X-n Divide into 2 regions (n+1), and the resulting region β 1-n This refers to the area planned for dam filling.
[0155] Step 5: Input model thickness for modeling; sequentially select each segmented region and input the model thickness values {Z1, Z2, ..., Zn} for each region. Each segmented region will then be modeled according to the input thickness {Z1, Z2, ..., Zn}. n} Perform stretching modeling along the Z-axis upwards to obtain the stretching models {V1, V2, ... V}. n}
[0156] In one embodiment, β is used below. 1-1 β 1-2 β 1-3 Taking the process of creating stretch models V1, V2, and V3 for each closed region as an example, as follows: Figure 6 As shown:
[0157] Based on the web interface, in the β1 plane, the upstream boundary line of the dam body and L... Y-1 Intersect points A and H on line L1, and points D and E on line L2.
[0158] L X-1 L X-2 The upstream boundary line of the dam body and L are respectively connected. Y-1 Points B, G, C, and F form a closed region β. 1-1 like Figure 5 As shown, the three small closed regions are ABGH, BCFG, and CDEF. Figure 6 As shown. The boundary lines of each closed region are extracted to form polylines Pl1, Pl2, and Pl3 (where Pl1 is a polyline composed of curve segments such as ABGH, and Pl2 and Pl3 are similarly constructed). The polylines Pl1, Pl2, and Pl3 are then stretched, with the stretching principle using Pl1 as an example:
[0159] 201. Find the smallest straight line segment S in a continuous polyline Pl1. L1 , put S L1 Stretching along the Z-axis according to the input thickness Z1 forms a quadrilateral π on the side, for example, ABB`A`.
[0160] 202. Repeat step a) to form n lateral quadrilaterals π.
[0161] 203. Due to the continuity of the polyline Pl, the adjacent boundaries of π are connected to form a columnar structure. The lower and upper surfaces of the columnar structure are then sealed to form a closed body, which is the dam filling compartment model V1. Similarly, compartment models V2 and V3 are obtained. Figure 6 As shown.
[0162] By repeating steps 201 to 203 to obtain the stretching models {V1, V2, V3} respectively, we can obtain n compartmentalized models {V1, V2, ..., V3} for the dam filling. n}
[0163] This invention presents a rapid construction method for dam filling compartment models based on a web-based platform. It addresses the limitations of desktop BIM software, which restricts the application scenarios and reduces model reusability due to the large data footprint of the generated models. This web-based method eliminates the reliance on desktop BIM applications, allowing for the generation of models with both design and construction attributes through simple rule-based processes. Furthermore, the lightweight underlying engine for rapid online batch modeling on the web platform results in highly lightweight models with minimal data footprint, and allows for more flexible and rapid adjustments to the planning scheme. This method satisfies the requirements for refined control of compartment model planning during on-site dam filling and achieves rapid batch modeling under the high-intensity, fast-paced conditions of on-site dam filling construction.
Claims
1. A web-based method for quickly constructing a dam filling compartment model, characterized in that, The method comprises the following steps: Step 101. Establishing a three-dimensional terrain base model according to dam and dam foundation excavation construction design data information, and establishing a three-dimensional reference coordinate system online; Step 102. Obtain a plane β1 after assigning the dam planning elevation value to the three-dimensional reference coordinate system, the plane β1 is parallel to the left bank geometric surface γ1 and the right bank geometric surface γ1 of the three-dimensional terrain base model 1 respectively, and then perform Boolean operation to obtain the left bank boundary line L1 and the right bank boundary line L2 of the three-dimensional terrain model. Step 103. Based on the web interface, select at least two different coordinate points Q within the range of the three-dimensional terrain base model on the left bank boundary line L1. L1-1 Q L1-n Through at least two different coordinate points Q L1-1 Q L1-n Draw at least two straight lines L parallel to the dam axis on plane β1. y-1 L y-n To obtain at least one closed region β 1-n Based on the web interface, on the straight line L parallel to the dam axis y-n Select at least one coordinate point Q within the riverbed area. y-n-m Through at least one coordinate point Q within the selected riverbed area y-n-m Draw at least one straight line L perpendicular to the dam axis on the plane β1. X-n Obtain at least one β of the planned closed area for the left bank filling of the dam. 1-n A plane, where n is greater than or equal to 1 and m is greater than or equal to 1; Step 104, the left bank of the dam filling planning closed area at least one beta 1-n The plane is divided into n straight lines L X-n n+1 area, after segmentation, n+1 beta 1-n Area, the n+1 beta 1-n Area is n+1 dam filling plane planning area; in turn point selection beta 1-n Area plane, respectively, input model thickness {Z1, Z2, … Z n}, the beta 1-n Area plane according to the input thickness {Z1, Z2, … Z n} along the Z axis to the upper part of the stretch modeling, get the dam left bank filling warehouse model n warehouse model {V1, V2, … V n}, similarly, get the right bank warehouse model n warehouse model {V1 1 , V2 1 , … V n 1}.
2. The method for quickly constructing a web-based dam filling compartment model according to claim 1, characterized in that, The Boolean operation obtains the left bank boundary line L1 and the right bank boundary line L2 of the three-dimensional terrain model, which is to extract the left bank geometric face γ1 triangular mesh model and the right bank geometric face γ1 triangular mesh model of the plane β1 and the three-dimensional terrain model. 1 The Boolean operation obtains the left bank boundary line L1 and the right bank boundary line L2 of the three-dimensional terrain model, which is to extract the left bank geometric face γ1 triangular mesh model and the right bank geometric face γ1 triangular mesh model of the plane β1 and the three-dimensional terrain model.
3. The method for quickly constructing a web-based dam filling compartment model according to claim 2, characterized in that, The left bank geometry face γ1 triangular mesh model is traversing all triangular facets on the left bank geometry face γ1 and the plane β1, extracting n triangular facets {γ 1-1 , γ 1-2 , γ 1-3 , ……γ 1-n} on the left bank geometry face γ1, n triangular facets {β 1-1 , β 1-2 , β 1-3 , ……β 1-n} on the plane β1, calculating the intersection line l 1-n of the left bank triangular facet γ 1-n and the triangular facet β n ; similarly, n intersection lines are obtained, and the n intersection lines {l1, l2, l3, ……l n} are sequentially connected from left to right to obtain the left bank boundary line L1; similarly, the right bank boundary line L2 is obtained by the algorithm.
4. The method for quickly constructing a web-based dam filling compartment model according to claim 3, characterized in that, The left bank triangle γ is calculated 1-n The intersection line l of the triangles on the area plane β 1-n The intersection line l of the triangles on the area plane β n The distance from the vertex of the left bank triangle γ to β1 is calculated 1-n The distance from the vertex of the left bank triangle γ to β1 is calculated The left bank triangle γ 1-n The plane where the triangle β 1-n The general equation of the β1 plane is: N1· X1+ K1= 0(1) Wherein, N1 is the normal vector of the β1 plane, X1 is an arbitrary point on the β1, and K1 is a constant; The γ1 plane is expressed by a general equation of a plane as: N2· X2+ K2= 0 (2) Wherein, N2 is the normal vector of the γ1 plane, X2 is an arbitrary point on the γ1, and K2 is a constant; The intersection line L equation of the β1 plane equation and the γ1 plane is: L = D· t+O (3) Wherein, D = N1× N2, D is the direction vector of the intersection line L, t is the parameter of the equation, O is an arbitrary point of L, N1 is the normal vector of the plane β1, and N2 is the normal vector of the plane γ1; the left bank triangle γ 1-n The expression of the distance of the vertex of the left bank triangle γ to β1 is: d Vi 1 = (N1· V i 1 + K1) / | N1|, (4) where i = 0, 1, 2; V i 1 is the vertex of the left bank triangle facet γ 1-n is the normal vector of the plane β1; The vertices V 1-n of the left triangle patch γ i 1 Substitute formula (1) into formula (4) to obtain the distance d 1-n of the vertices of the left triangle patch γ Vi1 to β1.
5. The method for quick construction of a web-based dam filling compartment model according to claim 4, characterized in that, The left bank triangular facet γ 1-n vertex to β 1 The distance to obtain γ 1-n With β 1-n The intersection line l n It is based on the left bank triangular facet γ 1-n Vertex V i 1 to β 1 distance d Vi1 The calculation results indicate the presence of an intersection line, and the left bank triangular facet γ... 1-n Vertex V i 1 Distance d to plane β1 Vi 1 After judging against the preset conditions, the intersection line l is calculated. n The preset conditions are judged as follows: When d Vi 1 ≠ 0, and the operation result sign is opposite, and it is determined that the left bank triangular facet γ 1-n intersects the intersection line L, then the left bank triangular facet γ 1-n has an intersection line with the plane β1. When d Vi 1 ≠0 (i=0, 1, 2), and the operation result signs are same, the left bank triangular facet γ 1-n located on one side of the plane β1, then the left bank triangular facet γ 1-n will not intersect with the intersection line L; When d Vi 1 = 0 (i = 0, 1, 2), the left bank triangle γ 1-n On the plane β1, the left bank triangle γ 1-n does not have an intersection line with the plane β1.
6. The method for quick construction of a web-based dam filling compartment model according to claim 5, characterized in that, According to the determination of the left bank triangle facet γ 1-n With the intersection line L, and then calculate the left bank triangle facet γ 1-n In the intersection scalar interval on the intersection line L, through the projection of the triangle vertex to the straight line: P Vi 1 = D · (V i 1 - O), (5) i=0,1,2; D is the direction vector of the straight line L; O is an arbitrary point on L, O is a point V on the projection of β1 plane i 1 , according to the principle of similar triangles, (t1- P V01 ) / ( t1- P V11 )=d V01 / d V11 The equation parameter t1 is derived as follows: t1= P V01 + (P V11 - P V01 ) ·d V01 / ( d V01 - d V11 ), (6) For the same reason (t2- P) V21 ) / ( t2- P V11 )=d V21 / d V11 The equation parameter t2 is derived as follows: t2= P V21 + (P V11 - P V21 ) ·d V21 / ( d V21 - d V11 ) (7) Substituting the parameters t1, t2 into the straight line equation L = D · t + O of equation (3) yields the left bank triangle γ 1-n with β 1-n the intersection line l of the triangle patches on the area plane n the two end points: l n-1 = D· t1+O, l n-2 = D· t2+O, Similarly, the intersection lines of {l1, l2, l3, …} and {m1, m2, m3, …} are sequentially connected to obtain the right bank boundary line L2 of the plane β2 on the right bank γ2 of the three-dimensional terrain base model. n Similarly, the intersection lines of {l1, l2, l3, …} and {m1, m2, m3, …} are sequentially connected to obtain the right bank boundary line L2 of the plane β2 on the right bank γ2 of the three-dimensional terrain base model. n Similarly, the intersection lines of {l1, l2, l3, …} and {m1, m The right bank boundary line L2 of the three-dimensional terrain base model is obtained by calculating the Boolean intersection line of the plane β1 and the right bank geometric face γ1 of the three-dimensional terrain base model. 1 of the plane β1 and the right bank geometric face γ1 of the three-dimensional terrain base model.
7. The method for quick construction of a web-based dam filling compartment model according to claim 1, characterized in that, obtaining at least one β of a closed region of the dam filling plan based on a web end 1-n extracting at least one β of the closed region respectively based on a plane 1-n forming n polyline {Pl1, Pl2, Pl3, …, Pl n} based on a boundary line of the plane, and stretching the n polyline {Pl1, Pl2, Pl3, …, Pl n}.
8. The method for quickly constructing a web-based dam filling compartment model according to claim 7, characterized in that, The step of stretching the n multi-segment lines {Pl1, Pl2, Pl3... Pl n} formed as described above is as follows: Step 201. In the continuous line Pl n acquire the minimum straight line segment S L1 , S L1 , the thickness Z n along the Z-axis direction, respectively, input; stretch, forming side quadrilateral π; Step 202. Repeating step 201 to form n side quadrilaterals π; Step 203. Based on n polylines P1 n To maintain continuity, the adjacent boundaries of the n lateral quadrilaterals π are connected to form n columnar structures; the bottom and top surfaces of the n columnar structures are then sealed to form n closed bodies, thus obtaining n compartmentalized models of the dam filling {V1, V2, ... V...}. n } 9. The method for quickly constructing a web-based dam filling compartment model according to any one of claims 7 to 8, characterized in that, said polyline Pl n consists of a curve, a polygonal line, a straight line.
Citation Information
Patent Citations
Method for BIM assisted dam cabin surface designing
CN106326588A
Dynamic visualization gravity dam arrangement method based on three-dimensional BIM model
CN112528381A