Dam parting and warehouse dividing method, system and device and medium

Through Boolean operations, combining the physical components of the dam and combining the information of the joints and warehousing, the shortcomings of existing BIM tools in the generation of dam warehousing models are solved, efficient and accurate modeling of joints and warehousing and warehousing and attribute extraction are achieved, and dam construction management is supported.

CN120408776APending Publication Date: 2025-08-01WUHAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510431410.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The existing BIM tools lack the special function of dam warehousing, which makes the generation of warehousing and warehousing models in dam construction unrealistic, making it difficult to achieve automation and intelligence, and lacks the ability to calculate attribute data for complex shapes, which affects construction efficiency and accuracy.

Method used

Through Boolean difference set and union operations, the physical components of the dam main body and the annex building are merged, and the joint division and joint division information are combined to model the joint division and joint division information, and the attribute parameters are automatically extracted to build a visual joint division model.

Benefits of technology

The synchronous joint and warehousing modeling of the main body of the dam and the annexes has been realized, the modeling efficiency and accuracy have been improved, the precise construction data support is provided, and construction planning and management are guided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120408776A_ABST
    Figure CN120408776A_ABST
Patent Text Reader

Abstract

The invention discloses a dam parting and warehouse dividing method, system and device and a medium, and the method comprises the steps: obtaining entity components of a dam main body and a dam auxiliary building, and combining the entity components needing synchronous warehouse dividing construction to obtain a target entity; parting information is obtained, the target entity is subjected to parting according to the parting information, and a plurality of dam section entities are obtained; bin dividing information is obtained, bin dividing is conducted on the dam section entity according to the bin dividing information, and a plurality of bin dividing entities are obtained; and combining the internal entities of the warehouse dividing entities to obtain a target warehouse body, extracting attribute parameters of the target warehouse body, and constructing a visual warehouse dividing model according to the attribute parameters. The method can support dynamic generation of the dam parting and warehouse dividing model and automatic extraction of the attribute information, is convenient for designers and constructors to use, reduces the repeated labor of modeling personnel, improves the modeling efficiency and precision, and can be widely applied to the technical field of building modeling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building modeling, and particularly to a method, system, device and medium for dam jointing and binning. Background Art

[0002] In dam projects, the design of dam jointing and binning according to dam construction units is the basis for construction planning, concrete pouring production arrangement and engineering quantity calculation. Extracting bin attribute information according to the results of binning design can provide accurate data for lean construction of dams and improve the work efficiency of dam construction management.

[0003] With the wide application of BIM (Building Information Modeling) technology in the field of water conservancy projects, its modeling, collaboration and management capabilities in the whole process of dam design and construction have been widely recognized. The shape of dams is often complex, and the modeling and calculation of the complex shape combination formed by the main dam body and auxiliary buildings that need to be constructed synchronously are relatively complex. Traditional methods rely on manual division of bin blocks, which have the disadvantages of time-consuming, laborious, low efficiency, insufficient accuracy, difficulty in dynamically adjusting the model during design changes, and lack of dynamic linkage capabilities.

[0004] Existing BIM tools lack dedicated functions for dam binning and need to be realized through secondary development to achieve automation and intelligence. There are applications in relevant literatures about using BIM technology to joint and bin a single entity of the main dam body, but during actual construction, the main dam body and auxiliary buildings are binned and constructed synchronously, and the model generated by only dividing a single entity does not conform to the actual production.

[0005] Existing BIM tools and research are difficult to realize the function of folding joint binning. When the dam construction uses folding joints to divide dam sections, a model that can actually guide production cannot be obtained.

[0006] The volume data of each bin in dam construction provides an accurate basis for construction production arrangement, and data such as the side area, bottom area, and bin height of each bin are important bases for formwork area estimation. Existing research lacks the function of automatically calculating attribute data for the complex shape formed after the jointing and binning design of the main dam body and auxiliary buildings. Summary of the Invention

[0007] An object of the present invention is to solve at least to some extent one of the technical problems existing in the prior art.

[0008] To this end, an object of an embodiment of the present invention is to provide a method for dam jointing and binning, which can support the dynamic generation of dam jointing and binning models and the automatic extraction of attribute information, is convenient for designers and constructors to use, reduces the repetitive labor of modelers, and improves the modeling efficiency and accuracy at the same time.

[0009] Another object of an embodiment of the present invention is to provide a system for dam jointing and binning.

[0010] To achieve the above technical objectives, the technical solutions adopted in the embodiments of the present invention include:

[0011] In a first aspect, an embodiment of the present invention provides a method for dam jointing and binning, including:

[0012] Obtain the physical components of the main dam body and the dam auxiliary buildings, and merge the physical components that need to be synchronously binned and constructed to obtain a target entity;

[0013] Obtain jointing information, and joint the target entity according to the jointing information to obtain a number of dam section entities;

[0014] Obtain binning information, and bin the dam section entities according to the binning information to obtain a number of binned entities;

[0015] Merge the internal entities of the binned entities to obtain a target bin body, extract the attribute parameters of the target bin body, and construct a visual binning model according to the attribute parameters.

[0016] Further, the merging of the physical components that need to be synchronously binned and constructed to obtain a target entity includes:

[0017] According to the target requirements of synchronous binning construction, select a number of corresponding physical components as the physical components to be processed;

[0018] Eliminate the overlapping parts between any two of the physical components to be processed through Boolean difference set operation to obtain a number of non-overlapping physical components;

[0019] Merge the non-overlapping physical components through Boolean union operation to obtain the target entity.

[0020] Further, the jointing information includes a number of joint numbers and a number of joint points corresponding to the joint numbers. The joint points include a point name field, point coordinates, and a reserved direction. The jointing of the target entity according to the jointing information to obtain a number of dam section entities includes:

[0021] Construct a jointing queue according to the arrangement order of the joint numbers, select the first joint number in the jointing queue as the current joint number, and use the target entity as the remaining entity;

[0022] Determine the jointing type of the current joint number according to the point name field of the joint point;

[0023] Joint the remaining entity according to the jointing type to obtain the dam section entity and the remaining entity, and use the next joint number in the jointing queue as the current joint number;

[0024] Return the type of jointing corresponding to the current jointing number determined according to the point name field of the jointing points until the current jointing number is the last jointing number in the jointing queue, and use the remaining entities as the dam section entities.

[0025] Further, the type of jointing is any one of transverse jointing and folded jointing, the point name field is any one of transverse joints and folded joints, and the splitting of the current jointing entity according to the type of jointing to obtain the dam section entity and the remaining entity includes:

[0026] Judge whether the type of jointing is the transverse jointing according to the point name field;

[0027] When the type of jointing is the transverse jointing, select at least three non-collinear jointing points with the point name field being the transverse joint to construct a first cutting plane, perform a Boolean cutting operation on the remaining entity according to the first cutting plane to obtain a first entity and a second entity, and determine the first entity and the second entity as the dam section entity and the remaining entity respectively according to the first cutting plane and the retention direction;

[0028] When the type of jointing is not the transverse jointing, select at least three non-collinear jointing points with the point name field being the transverse joint to construct a second cutting plane, select at least three non-collinear jointing points with the point name field being the folded joint to construct a third cutting plane, perform a Boolean cutting operation on the remaining entity according to the second cutting plane and the third cutting plane to obtain a third entity and a fourth entity, and determine the third entity and the fourth entity as the dam section entity and the remaining entity respectively according to the second cutting plane, the third cutting plane and the retention direction.

[0029] Further, the binning information includes the binning dam section number and the binning height information, and the binning of the dam section entity according to the binning information to obtain a number of binned entities includes:

[0030] Determine the dam section entity to be binned according to the binning dam section number;

[0031] Construct a number of binning cutting planes according to the binning height information;

[0032] Perform a Boolean cutting operation on the dam section entity to be binned according to the binning cutting plane to obtain a number of binned entities.

[0033] Further, the attribute parameters include the dam section number, the bin number, and the geometric attribute parameters, and the extraction of the attribute parameters of the target binned model includes:

[0034] Determine the dam section number of the target bin according to the joint information;

[0035] Determine the bin number of the target bin according to the bin division information;

[0036] Determine the geometric attribute parameters of the target bin according to the geometric structure of the target bin and the bin division height information.

[0037] Furthermore, the geometric attribute parameters include bin volume, bin bottom area, bin side area, and bin height. The determining the geometric attribute parameters of the target bin according to the geometric structure of the target bin and the bin division height information includes:

[0038] Determine the bin surface area and the bin volume according to the geometric structure of the target bin;

[0039] Determine the bottom and top surfaces of the target bin according to the bin division height information, and then determine the bin bottom area, bin top area, and the bin height according to the geometric structure of the target bin;

[0040] Determine the bin side area according to the bin surface area, the bin top area, and the bin bottom area.

[0041] In a second aspect, an embodiment of the present invention provides a dam joint and bin division system, including:

[0042] An entity merging module, configured to obtain the entity components of the dam main body and the dam auxiliary buildings, merge the entity components that need to be synchronously bin-divided to obtain a target entity;

[0043] A joint modeling module, configured to obtain joint information, and perform joint division on the target entity according to the joint information to obtain a plurality of dam section entities;

[0044] A bin division modeling module, configured to obtain bin division information, and perform bin division on the dam section entities according to the bin division information to obtain a plurality of bin division entities;

[0045] An attribute extraction module, configured to merge the internal entities of the bin division entities to obtain a target bin, extract the attribute parameters of the target bin, and construct a visual bin division model according to the attribute parameters.

[0046] In a third aspect, an embodiment of the present invention provides a device, including:

[0047] At least one processor;

[0048] At least one memory, configured to store at least one program;

[0049] When the at least one program is executed by the at least one processor, the at least one processor implements a dam jointing and binning method as described above.

[0050] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which there is a program executable by a processor, and the program executable by the processor is used to execute a dam jointing and binning method as described above when executed by the processor.

[0051] The advantages and beneficial effects of the present invention will be partially given in the following description, partially will become obvious from the following description, or will be understood through the practice of the present invention:

[0052] In the embodiment of the present invention, by performing Boolean difference set and union processing to merge multiple entity components that need to be constructed synchronously, the problem of overlap or discontinuity existing between multiple entities is effectively solved, which is convenient for subsequent synchronous jointing and binning, and a binning model that conforms to the actual construction production is generated; by designing a jointing method that is compatible with transverse joints and folded joints, automatically identifying the joint type according to the point name field included in the jointing information, and respectively constructing one or two cutting surfaces for Boolean cutting, the simultaneous jointing and binning modeling of the main dam body and affiliated buildings under synchronous construction is realized; by constructing a binning method based on the binning height information and performing a merging process on the entity components inside the bins after binning, the high-precision binning modeling of the dam section is realized; by constructing a set of methods for attribute extraction and parameter binding, automatically obtaining parameters such as the volume, bottom area, side area, and height of each bin, and attaching them together with the dam section number and bin number to the visualization model, it provides good data support for the construction planning, production, and digital management of the dam, and can effectively guide the construction. Description of the Drawings

[0053] Figure 1 It is a schematic diagram of the steps of a dam jointing and binning method provided by an embodiment of the present invention;

[0054] Figure 2 It is a working flow chart of the implementation scenario provided by an embodiment of the present invention;

[0055] Figure 3 It is a schematic diagram of the implementation scenario provided by an embodiment of the present invention;

[0056] Figure 4 It is a schematic diagram of using a folded joint for dam jointing modeling provided by an embodiment of the present invention;

[0057] Figure 5 It is a schematic diagram of using a transverse joint for dam jointing modeling provided by an embodiment of the present invention;

[0058] Figure 6 It is a schematic diagram of the visualization binning model provided by an embodiment of the present invention;

[0059] Figure 7 It is a schematic structural diagram of a single target bin body provided by an embodiment of the present invention;

[0060] Figure 8 It is a schematic diagram of a dam joint and bin division system provided by an embodiment of the present invention;

[0061] Figure 9 It is a schematic structural diagram of a device provided by an embodiment of the present invention. Detailed implementation manners

[0062] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present invention and should not be construed as a limitation of the present invention. For the step numbers in the following embodiments, they are only set for the convenience of explanation and illustration, and no limitation is imposed on the order between the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.

[0063] In the description of the present invention, the meaning of "a plurality" is two or more. If the first and second are described, it is only for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence of the indicated technical features. In addition, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention.

[0064] The English abbreviations used in the present invention include:

[0065] BIM: Building Information Modeling, Building Information Model.

[0066] Figure 1 It is a schematic diagram of the steps of a dam joint and bin division method provided by an embodiment of the present invention. Referring to Figure 1 , an embodiment of the present invention provides a dam joint and bin division method, including:

[0067] S101. Obtain the entity components of the dam main body and the dam auxiliary buildings, and merge the entity components that need to be synchronously divided and constructed to obtain a target entity;

[0068] Specifically, in this embodiment, first, the three-dimensional model data of the main dam body and the auxiliary buildings need to be obtained, which can be achieved by loading the BIM three-dimensional model containing the corresponding entity components on the Revit platform. Since there may be overlapping situations among these entity components during the modeling process, if the joint and bin division are directly performed on them, it may lead to problems such as cutting errors or subsequent attribute extraction errors. Therefore, before performing the joint and bin division operations, it is necessary to perform a merging process on the entity components to be processed.

[0069] In some alternative embodiments, merging the entity components that need to be constructed with synchronous bin division to obtain the target entity includes:

[0070] A1. According to the target requirements of synchronous bin division construction, select several corresponding entity components as the entity components to be processed;

[0071] A2. Eliminate the overlapping parts between any two entity components to be processed through the Boolean difference operation to obtain several non-overlapping entity components;

[0072] A3. Merge each non-overlapping entity component through the Boolean union operation to obtain the target entity.

[0073] Specifically, in this embodiment, according to the actual construction requirements of synchronous bin division, several entity components that need to be uniformly modeled in the main dam body and the auxiliary buildings can be manually selected as the objects to be processed, and then the method of Boolean difference operation is used to process any two entity components to eliminate their overlapping parts. The overlapping part between these two entities can be calculated by calling the Boolean operation method Intersect of the Revit platform, and then one of the entities is subtracted from the overlapping part through the Boolean operation method Difference of the Revit platform, and then it is merged with the other entity through the Boolean operation method Union of the Revit platform. After traversing all the entities to be merged, the influence of the overlapping part volume between any two entities can be eliminated, and all the entities in the set are merged into one entity.

[0074] S102. Obtain the joint information, and perform joint division on the target entity according to the joint information to obtain several dam section entities;

[0075] Specifically, in this embodiment, first, the joint information needs to be obtained, which can be achieved by reading in the csv file containing the dam section joint information.

[0076] In some alternative embodiments, the joint information includes several joint numbers and several joint points corresponding to the joint numbers. The joint points include a point name field, point coordinates, and a reserved direction. Performing joint division on the target entity according to the joint information to obtain several dam section entities includes:

[0077] B1. Construct a joint queue according to the arrangement order of joint numbers, select the first joint number in the joint queue as the current joint number, and use the target entity as the remaining entity;

[0078] B2. Determine the joint type of the current joint number according to the point name field of the joint point;

[0079] B3. Perform jointing on the remaining entity according to the joint type to obtain dam section entities and remaining entities, and use the next joint number in the joint queue as the current joint number;

[0080] B4. Return the joint type determined by the point name field of the joint point for the current joint number until the current joint number is the last joint number in the joint queue, and use the remaining entity as the dam section entity.

[0081] Specifically, in this embodiment, the csv file containing dam section joint information has six fields, including joint number, point name, point X-axis coordinate x, point Y-axis coordinate y, point Z-axis coordinate z, and retention direction. Among them, the joint number is represented by #+number, and the serial number of the joint determines the execution order of joint processing. The joint number and the retention direction jointly determine the number of the dam section after jointing. The point name contains two keywords, "transverse joint" or "fold joint". If the dam section is jointed with a transverse joint, the joint number only contains the points forming the transverse joint plane. If the dam section is jointed with a fold joint, the joint number contains the points forming the transverse joint plane and the points forming the fold joint plane. x, y, and z are the coordinate values of the X-axis, Y-axis, and Z-axis of the joint point respectively.

[0082] In this embodiment, after determining the jointing order by the number of the joint number and constructing the joint queue, it is necessary to traverse each joint point corresponding to the joint number, and judge which jointing method to use for this joint according to the point name field of the joint point. The entity cutting method CutSolidVithPlanes() can be called in the arrangement order of each dam section joint number in the CSV to divide the dam into dam section entities with corresponding numbers and remaining entities for subsequent cutting until all the joints corresponding to all joint labels are processed.

[0083] In some alternative embodiments, the joint type is any one of transverse jointing and fold jointing, and the point name field is any one of transverse joint and fold joint. Performing jointing on the current joint entity according to the joint type to obtain dam section entities and remaining entities includes:

[0084] C1. Judge whether the joint type is transverse jointing according to the point name field;

[0085] C2. When the joint type is transverse jointing, select at least three non - collinear joint points with the point name field being "transverse joint" to construct the first cutting plane. Perform a Boolean cutting operation on the remaining solid according to the first cutting plane to obtain a first solid and a second solid. Determine the dam section solid and the remaining solid as the first solid and the second solid respectively according to the first cutting plane and the retention direction.

[0086] C3. When the joint type is not transverse jointing, select at least three non - collinear joint points with the point name field being "transverse joint" to construct the second cutting plane, and select at least three non - collinear joint points with the point name field being "fold joint" to construct the third cutting plane. Perform a Boolean cutting operation on the remaining solid according to the second cutting plane and the third cutting plane to obtain a third solid and a fourth solid. Determine the dam section solid and the remaining solid as the third solid and the fourth solid respectively according to the second cutting plane, the third cutting plane and the retention direction.

[0087] Specifically, in this embodiment, after reading all the joint points under the current joint label, detect their point name fields. If there are only joint points with the "transverse joint" field, the transverse jointing method should be adopted to process this joint. First, read the coordinates of at least three non - collinear joint points under this joint number, construct a transverse joint plane through these joint points, and determine the normal vector of the transverse joint plane in combination with the retention direction. If the retention direction of this joint number is opposite to the direction of the normal vector of the cutting plane, the direction of the cutting plane needs to be adjusted to its opposite direction. Use the Boolean operation CutWithHalfSpace to cut along the normal vector direction of the cutting plane to obtain the entity to be retained, and use the Boolean operation CutWithHalfSpace to cut along the opposite direction of the normal vector of the cutting plane to obtain the remaining entity after cutting. The remaining entity will be used in the subsequent dam body jointing.

[0088] If there are joint points with the "fold joint" field under this joint number, the fold jointing method should be adopted to process this joint. It is necessary to read the coordinates of at least three non - collinear transverse joint points and at least three non - collinear fold joint points respectively to construct an intersecting transverse joint plane and fold joint plane. At the same time, the included - angle direction of the two planes needs to be defined. For example, if the two cutting planes are in an L - shape and the retention direction is to the right, the entity on the right after the dam body jointing cutting is the dam section of this joint number. At this time, the value of the retention direction field is - 1. When the value of the retention direction field is 1, the retention direction is to the left, and the entity on the left after the dam body jointing cutting is the dam section of this joint number. Then, perform jointing through these two planes. First, use the first cutting plane to perform a cutting operation with the Boolean operation CutWithHalfSpace, and then use the second cutting plane to cut the entity obtained by the cutting. The remaining entity after the two - time cutting is used for the subsequent dam section jointing cutting.

[0089] S103. Obtain the binning information, and bin the dam section solid according to the binning information to obtain a number of binned solids.

[0090] Specifically, in this embodiment, a csv file containing binning information can be read in to perform binning operations on the dam segment entities that have completed the jointing process.

[0091] In some alternative embodiments, the binning information includes the binning dam segment number and the binning height information. The dam segment entities are binned according to the binning information to obtain a number of binned entities, including:

[0092] D1. Determine the dam segment entities that need to be binned according to the binning dam segment number;

[0093] D2. Construct a number of binning cutting planes according to the binning height information;

[0094] D3. Perform Boolean cutting operations on the dam segment entities that need to be binned according to the binning cutting planes to obtain a number of binned entities.

[0095] Specifically, in this embodiment, the binning dam segment number is used to identify the dam segments that need to be binned. The number of each bin in each dam segment is numbered starting from 1 from bottom to top. The number of each bin is composed of the dam segment number + "dam segment -" + the bin number inside the dam segment + "-layer". By reading in the binning height information, the height value of binning each dam segment from top to bottom is obtained. Subtract the accumulated binning heights of each bin inside the same dam segment from top to bottom from the elevation of the dam crest to obtain the bottom elevation of each bin. Each column in the binning information table is a dam segment. The first row is the dam segment number, and the second row and below are the height values of each bin from the dam crest to the dam bottom from top to bottom. Subtracting the accumulated binning heights of each bin inside the same dam segment from top to bottom from the dam top height, the bottom elevation of each bin inside the dam segment can be calculated. Based on the bottom elevation of each bin, a plane with an upward normal vector is generated to cut each dam segment for binning. The entity cutting Boolean operation method CutWithHalfSpace is used to divide each dam segment entity into multiple bin entities from top to bottom. Each time it is divided, the entity obtained after the plane with an upward normal vector divides is the bin entity. A plane with a downward normal vector is generated based on the bottom elevation of each bin. The remaining entity obtained after dividing by the method CutWithHalfSpace is used for the next bin body division.

[0096] S104. Merge the internal entities of the binned entities to obtain the target bin body, extract the attribute parameters of the target bin body, and construct a visual binning model according to the attribute parameters.

[0097] Specifically, in this embodiment, it is necessary to traverse each entity in each bin, check whether there is an entity in each bin. If there is no entity in a certain bin, the extraction of the attribute information of that bin is ignored. If there are multiple entities, the same entity merging method as in step S101 needs to be adopted to merge them. For the merged bin body, the attribute parameters of the target bin body are extracted, and then these are bound to the shared parameter attributes of the corresponding bin body, so as to obtain a visual bin body model with the core parameter information required for construction, and further provide good data support for the construction planning, production, and digital management of the dam.

[0098] In some alternative embodiments, the attribute parameters include the dam section number, the bin number, and the geometric attribute parameters. The extraction of the attribute parameters of the target binning model includes:

[0099] E1. Determine the dam section number of the target bin body according to the joint information;

[0100] E2. Determine the bin number of the target bin body according to the binning information;

[0101] E3. Determine the geometric attribute parameters of the target bin body according to the geometric structure and the binning height information of the target bin body.

[0102] Specifically, in this embodiment, it is necessary to determine the dam section number of the current bin body from the mapping relationship between the joint number and the dam section number recorded in the previously executed joint operation, then determine the bin number of this bin body through the bin layer sequence number and arrangement order inside each dam section recorded in the binning information, and finally the system reads the geometric structure model of the target bin body and combines relevant functions to obtain the geometric parameter information of the target bin body.

[0103] In some alternative embodiments, the geometric attribute parameters include the bin volume, the bin bottom area, the bin side area, and the bin height. The determination of the geometric attribute parameters of the target bin body according to the geometric structure and the binning height information of the target bin body includes:

[0104] F1. Determine the bin surface area and the bin volume according to the geometric structure of the target bin body;

[0105] F2. Determine the bottom and top surfaces of the target bin body according to the binning height information, and then determine the bin bottom area, the bin top area, and the bin height according to the geometric structure of the target bin body;

[0106] F3. Determine the bin side area according to the bin surface area, the bin top area, and the bin bottom area.

[0107] Specifically, in this embodiment, after reading the geometric structure model of the silo body, the volume of the silo body can be directly obtained by calling the Volume function of the Revit platform, the surface area of the silo body can be obtained by reading the SurfaceArea property of the silo body, and the surface with the highest elevation among the surfaces with vertical normal vectors in the silo body is determined as the top surface of the silo by the bin height information, and its elevation is the elevation of the top surface of the silo. The surface with the lowest elevation among the surfaces with vertical normal vectors in the silo body is the bottom surface of the silo, and its elevation is the elevation of the bottom surface of the silo. The silo height can be obtained by subtracting the elevation of the bottom surface of the silo from the elevation of the top surface of the silo. Further, the areas of the top surface and the surface of the silo are read, and the side area of the silo is calculated by the formula: the side area of the silo = the surface area of the silo entity - the bottom area of the silo entity - the top area of the silo entity, so as to obtain the geometric attribute parameters required for establishing a visualization model to guide the construction process.

[0108] The following describes a dam jointing and binning method provided by the present invention in conjunction with a specific embodiment:

[0109] This embodiment is based on the Revit secondary development platform, and realizes the functions of dam jointing and binning modeling and attribute information extraction through a plug-in method. On the Visual Studio 2017 platform, RevitAPI.dll and RevitAPIUI.dll are referenced, and the plug-in development is implemented using the C# language. After loading the Revit.addin file to complete registration, it is used and called through the ExternalCommand mechanism. The implementation scenario interface is as Figure 3 shown. The implementation of the plug-in function is mainly divided into three parts: merging, jointing, and binning. First, the entity set that needs to be jointed and binned is merged into one entity, then the dam is jointed according to the information provided by the user, and finally, binning and attribute information extraction are performed according to the parameter information provided by the user.

[0110] Refer to Figure 2 , the work process of this embodiment includes: first, load the BIM three-dimensional model containing the entity components of the dam in the Revit platform, manually select the entity components of the main body and auxiliary buildings of the dam that need to be synchronously binned for construction, call the jointing and binning plug-in through the secondary development interface, select MergeElement, click Run to run, call the GetSolidInElement() method to obtain the set of entities that need to be jointed and binned manually selected in the current view, call the SolidByUnion() method to merge all the entities in the set into one entity, and display the entities that cannot be merged with a wireframe model; then select CutColumns, click Run to run, read the csv file of the dam section jointing information, and cut the dam into each dam section entity in turn according to the arrangement order of the joint numbers. Here, the arrangement order of the joint numbers needs to be reasonably set by comprehensively considering the dam jointing order and the retention direction after the dam is cut by the folded joint or transverse joint.

[0111] Table 1 is a partial joint information table provided by the embodiments of the present invention. In this embodiment, the form of the joint information is as shown in Table 1:

[0112] Table 1

[0113]

[0114]

[0115] In this embodiment, the arrangement order of the dam section joint numbers is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18. The retention direction represents the direction of the remaining entity after the dam body is cut by transverse joints or folded joints. In this embodiment, the retention direction values of the joints of Dam Sections 1-17 are 1, and the retention direction values of the joints of Dam Sections 34-18 are -1. According to the arrangement order of each dam section joint number in the dam section joint information table, the dam is segmented into dam section entities with corresponding numbers by using the entity cutting method CutSolidVithPlanes(). When the dam body is segmented by a single transverse joint plane, the vertices and normal vectors of the transverse joint cutting plane are calculated from three non-collinear points on the transverse joint plane. If the retention direction of the joint number is opposite to the direction of the normal vector of the cutting plane, the direction of the cutting plane needs to be adjusted to its opposite direction. Cutting along the normal vector direction of the cutting plane with the Boolean operation CutWithHalfSpace can obtain the entity to be retained, and cutting along the opposite direction of the normal vector of the cutting plane with the Boolean operation CutWithHalfSpace can obtain the remaining entity after cutting, and the remaining entity will be used in the subsequent dam body jointing. When the dam body is segmented by two intersecting planes for folded joints, first cut with the first cutting plane using the Boolean operation CutWithHalfSpace, and then cut the entity obtained by the cutting with the second cutting plane. The remaining entity after the two cuts is used for the subsequent dam section jointing cutting.

[0116] In this embodiment, the results after the dam joint modeling are as Figure 4 and Figure 5 shown, where Figure 4 the highlighted parts in are the dam sections where the present invention uses folded joints for dam joint modeling, and the highlighted parts in the figure are the dam sections where the present invention uses transverse joints for dam joint modeling. In this embodiment, there are two joint forms, transverse joints and folded joints. The joint form can be reflected in the naming of the point information in the joint information table, and the program will make a judgment based on the naming. Table 2 is a partial joint information table provided by the embodiments of the present invention when using transverse joints for jointing. As shown in Table 2, there are no folded joint points in the joint information points of Dam Sections 19 and 20. Therefore, these dam sections use transverse joints for jointing.

[0117] Table 2

[0118] Seam number Point name Point coordinate x Point coordinate y Point coordinate z Retention direction #19 Upstream point of the transverse seam at the dam crest -39.9109 4.686826 240 -1 #19 Downstream point of the transverse seam at the dam crest -37.5537 -9.16278 240 -1 #19 Upstream point of the transverse seam at the dam bottom -39.9109 4.686826 0 -1 #19 Downstream point of the transverse seam at the dam bottom -37.5537 -9.16278 0 -1 #18 Upstream point of the transverse seam at the dam crest -18.9903 6.474199 240 -1 #18 Downstream point of the transverse seam at the dam crest -17.8731 -7.49049 240 -1 #18 Upstream point of the transverse seam at the dam bottom -18.9903 6.474199 0 -1 #18 Downstream point of the transverse seam at the dam bottom -17.8731 -7.49049 0 -1

[0119] After completing the jointing, add the shared parameters of the bin number, the volume of the bin, the bottom area, the side area, and the bin height to the model after jointing. Select CutCells and click Run. Manually select the dam sections to be binned. In this embodiment, all dam sections are selected for binning. Read in the csv file containing the binning height information of each dam section, and read in the height of each dam section binned from top to bottom.

[0120] Table 3 is a partial binning height information table provided by the embodiment of the present invention. In this embodiment, the partial binning height information is shown in Table 3:

[0121] Table 3

[0122]

[0123]

[0124] After reading in the binning height information, generate a plane based on the bottom elevation of each bin to cut the dam section for binning, generate an independent construction bin entity, and number each bin. The number of the bin in each dam section starts from 1 from bottom to top, and each bin number is composed of the dam section number + "dam section -" + the bin number in the dam section + "-layer". Generate a plane with an upward normal vector based on the bottom elevation of each bin to cut each dam section for binning. Use the entity cutting Boolean operation method CutWithHalfSpace to divide each dam section entity from top to bottom into multiple bin entities. Each time, the entity obtained after the division by the plane with an upward normal vector is the bin entity. The remaining entity obtained after the division by the plane with a downward normal vector generated based on the bottom elevation of each bin using the method CutWithHalfSpace is used for the next bin entity division.

[0125] For each bin, automatically close and merge all the entity components therein, and calculate the geometric property parameters of each bin body, including the volume of the bin, the bottom area, the side area, and the bin height. Refer to Figure 6 , finally, a visual binning model with attribute parameters can be obtained. Refer to Figure 7 , any bin body can be selected, and the attribute information table on the left shows the attribute information of the bin, and the geometric information of a single bin body is isolated and displayed.

[0126] It can be recognized that in the embodiments of the present invention, by processing the Boolean difference set and union, the merging of multiple entity components that need to be constructed synchronously is carried out, effectively solving the problems of overlap or discontinuity existing between multiple entities, facilitating subsequent synchronous joint and bin division, and generating a bin division model that conforms to the actual construction production; by designing a joint division method that is compatible with transverse joints and folding joints, automatically identifying the joint type according to the point name field included in the joint division information, and respectively constructing one or two cutting surfaces for Boolean cutting, realizing the simultaneous joint and bin division modeling of the main dam body and auxiliary buildings under synchronous construction; by constructing a bin division method based on the bin division height information and merging the entity components inside the bins after bin division, realizing the high-precision bin division modeling of the dam section; by constructing a set of methods for attribute extraction and parameter binding, automatically obtaining parameters such as the volume, bottom area, side area, and height of each bin, and attaching them together with the dam section number and bin number to the visualization model, providing good data support for the construction planning, production, and digital management of the dam, and effectively guiding the construction.

[0127] Referring to Figure 8 , the embodiments of the present invention provide a dam joint and bin division system, including:

[0128] An entity merging module, configured to obtain the entity components of the main dam body and the auxiliary dam buildings, merge the entity components that need to be synchronously bin-divided for construction, and obtain a target entity;

[0129] A joint division modeling module, configured to obtain joint division information, and perform joint division on the target entity according to the joint division information to obtain a number of dam section entities;

[0130] A bin division modeling module, configured to obtain bin division information, and perform bin division on the dam section entities according to the bin division information to obtain a number of bin division entities;

[0131] An attribute extraction module, configured to merge the internal entities of the bin division entities to obtain a target bin body, extract the attribute parameters of the target bin body, and construct a visualized bin division model according to the attribute parameters.

[0132] The content in the above method embodiments is applicable to the system embodiments of the present invention. The functions specifically implemented by the system embodiments of the present invention are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0133] Referring to Figure 9 , the embodiments of the present invention provide a device, including:

[0134] At least one processor;

[0135] At least one memory, configured to store at least one program;

[0136] When at least one of the above-mentioned programs is executed by at least one of the above-mentioned processors, the at least one processor implements the above-mentioned method for dam jointing and binning.

[0137] An embodiment of the present invention also provides a computer-readable storage medium, which stores a program executable by a processor. The program executable by the processor is used to execute the above-mentioned method for dam jointing and binning when executed by the processor.

[0138] A computer-readable storage medium according to an embodiment of the present invention can execute the method for dam jointing and binning provided by the method embodiment of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.

[0139] An embodiment of the present invention also discloses a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the device executes Figure 1 the shown method for dam jointing and binning.

[0140] In some alternative embodiments, the functions / operations mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the functions / operations involved, two consecutive blocks shown may actually be executed substantially simultaneously or the above-mentioned blocks can sometimes be executed in the reverse order. In addition, the embodiments presented and described in the flowcharts of the present invention are provided by way of example for the purpose of providing a more comprehensive understanding of the technology. The disclosed method is not limited to the operations and logical flows presented herein. Alternative embodiments are contemplated, in which the order of various operations is changed and the sub-operations described as part of a larger operation are executed independently.

[0141] In addition, although the present invention has been described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the above-described functions and / or features may be integrated in a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It should also be understood that a detailed discussion of the actual implementation of each module is not necessary for understanding the present invention. Rather, given the attributes, functions, and internal relationships of the various functional modules in the devices disclosed herein, the actual implementation of the modules will be understood within the ordinary skills of an engineer. Thus, those skilled in the art can implement the present invention as set forth in the claims without undue experimentation. It should also be understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0142] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above methods in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0143] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in conjunction with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0144] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection (electronic device) having one or more wirings, a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable media can even be paper or other suitable media on which the above programs can be printed, because the above programs can be obtained electronically, for example, by optically scanning the paper or other media, then editing, interpreting or otherwise processing as appropriate, and then storing them in a computer memory.

[0145] It should be understood that various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0146] In the above description of this specification, the descriptions referring to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples", etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0147] Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present invention, and the scope of the present invention is defined by the claims and their equivalents.

[0148] The above has specifically described the preferred embodiments of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art can also make various equivalent deformations or substitutions without departing from the spirit of the present invention, and these equivalent deformations or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A method for dividing joints and compartments of a dam, characterized in that, Including: Obtain the physical components of the main dam body and the auxiliary dam buildings, and merge the physical components that need to be synchronously constructed in separate compartments to obtain a target physical entity; Obtain the joint information, and perform jointing on the target physical entity according to the joint information to obtain a number of dam section entities; Obtain the compartment information, and perform compartmentalization on the dam section entities according to the compartment information to obtain a number of compartment entities; Merge the internal entities of the compartment entities to obtain a target compartment body, extract the attribute parameters of the target compartment body, and construct a visual compartment model according to the attribute parameters.

2. The method for dividing joints and bins of a dam according to claim 1, wherein, The merging of the physical components that need to be synchronously constructed in separate compartments to obtain a target physical entity includes: According to the target requirements of synchronous construction in separate compartments, select a number of corresponding physical components as the physical components to be processed; Eliminate the overlapping parts between any two of the physical components to be processed through Boolean difference set operation to obtain a number of non-overlapping physical components; Merge the non-overlapping physical components through Boolean union operation to obtain the target physical entity.

3. The method for dam jointing and binning according to claim 1, characterized in that, The joint information includes a number of joint numbers and a number of joint points corresponding to the joint numbers. The joint points include a point name field, point coordinates, and a reserved direction. The performing jointing on the target physical entity according to the joint information to obtain a number of dam section entities includes: Construct a joint queue according to the arrangement order of the joint numbers, select the first joint number in the joint queue as the current joint number, and use the target physical entity as the remaining physical entity; Determine the joint type of the current joint number according to the point name field of the joint point; Perform jointing on the remaining physical entity according to the joint type to obtain the dam section entity and the remaining physical entity, and use the next joint number in the joint queue as the current joint number; Return the joint type determined according to the point name field of the joint point of the current joint number until the current joint number is the last joint number in the joint queue, and use the remaining physical entity as the dam section entity.

4. A method for dam jointing and batching according to claim 3, characterized in that The joint type is any one of transverse jointing and folded jointing, and the point name field is any one of transverse joint and folded joint. The performing jointing on the current jointed physical entity according to the joint type to obtain the dam section entity and the remaining physical entity includes: Judge whether the joint type is the transverse jointing according to the point name field; When the joint type is the transverse jointing, select at least three non-collinear joint points with the point name field being the transverse joint to construct a first cutting plane, perform Boolean cutting operation on the remaining physical entity according to the first cutting plane to obtain a first physical entity and a second physical entity, and determine the first physical entity and the second physical entity as the dam section entity and the remaining physical entity respectively according to the first cutting plane and the reserved direction; When the type of the slit is not the transverse slit, select at least three non - collinear slit points whose point name field is the transverse slit to construct a second cutting plane, select at least three non - collinear slit points whose point name field is the fold slit to construct a third cutting plane, perform a Boolean cutting operation on the remaining solid according to the second cutting plane and the third cutting plane to obtain a third solid and a fourth solid, and determine the third solid and the fourth solid as the dam section solid and the remaining solid respectively according to the second cutting plane, the third cutting plane and the reserved direction.

5. A method for dividing joints and bays of a dam according to claim 1, characterized in that, The binning information includes the binning dam section number and the binning height information. Binning the dam section solid according to the binning information to obtain a number of binned solids, including: Determine the dam section solid that needs to be binned according to the binning dam section number; Construct a number of binning cutting planes according to the binning height information; Perform a Boolean cutting operation on the dam section solid that needs to be binned according to the binning cutting planes to obtain a number of the binned solids.

6. The method for dam jointing and binning according to claim 5, characterized in that, The attribute parameters include the dam section number, the bin number and the geometric attribute parameters. Extracting the attribute parameters of the target binned model includes: Determine the dam section number of the target bin according to the slit information; Determine the bin number of the target bin according to the binning information; Determine the geometric attribute parameters of the target bin according to the geometric structure of the target bin and the binning height information.

7. A dam jointing and binning method according to claim 6, characterized in that The geometric attribute parameters include the bin volume, the bin bottom area, the bin side area and the bin height. Determining the geometric attribute parameters of the target bin according to the geometric structure of the target bin and the binning height information includes: Determine the surface area and the volume of the bin according to the geometric structure of the target bin; Determine the bottom and the top surface of the target bin according to the binning height information, and then determine the bin bottom area, the bin top area and the bin height according to the geometric structure of the target bin; Determine the bin side area according to the surface area of the bin, the bin top area and the bin bottom area.

8. A dam jointing and bin-dividing system, characterized in that, Including: An entity merging module, configured to obtain the entity components of the main dam body and the auxiliary dam buildings, merge the entity components that need to be synchronously binned to obtain a target entity; A slit modeling module, configured to obtain slit information, and perform slitting on the target entity according to the slit information to obtain a number of dam section solids; A binning modeling module, configured to obtain binning information, and perform binning on the dam section solids according to the binning information to obtain a number of binned solids; An attribute extraction module, configured to merge the internal entities of the binned solids to obtain a target bin, extract the attribute parameters of the target bin, and construct a visual binning model according to the attribute parameters.

9. A device, characterized in that, Including: At least one processor; At least one memory, configured to store at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a dam slitting and binning method according to any one of claims 1 - 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that, The program executable by the processor, when executed by the processor, is used to execute a dam joint and compartment method as described in any one of claims 1-7.