Construction three-dimensional model data marking method and device based on BIM and storage medium

By adding component numbers and user single-time data markings to the BIM construction three-dimensional model, combining image recognition and size information matching, the automation and intelligence of construction model data marking is achieved, solving the problem of excessive reliance on manual marking in the existing technology, and improving the accuracy and comprehensiveness of data markings.

CN119810393APending Publication Date: 2025-04-11CCCC THIRD HARBOR ENGINEERING CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510023433.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing construction model data marking technology relies too much on manual marking, which leads to data marking being prone to errors or omissions, and cannot intelligently mark the materials and subdivided types of building components.

Method used

By constructing a construction three-dimensional model based on BIM, adding component numbers, and using the user to single-time data marking of different types of building components, the dimension information of all building components is automatically marked using dimension information. Then, through image recognition and dimensional information matching, the component type of the building component is determined and the complete data mark is performed.

Benefits of technology

The automation and intelligence of construction model data marking is realized, the errors and omissions of manual marking are reduced, and the accuracy and comprehensiveness of data marking are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810393A_ABST
    Figure CN119810393A_ABST
Patent Text Reader

Abstract

The invention discloses a BIM-based construction three-dimensional model data marking method and device and a storage medium, and relates to the technical field of construction model data marking, and the method comprises the following steps: constructing a construction three-dimensional model based on BIM; the user carries out single data marking on different types of building components; automatically marking size information for all the building components; building components marked by a user are named as marked components, three-dimensional models of the building components and the marked components are extracted, and the building components and the marked components are matched through image recognition and size information; the component type of the building component is determined through matching, and then complete data marking is conducted on the building component; the method is used for solving the problems that an existing construction model data marking technology excessively depends on manual marking, and errors and omission are prone to occurring in data marking of the construction model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of construction model data marking, and specifically to a construction three-dimensional model data marking method, device and storage medium based on BIM. Background Art

[0002] Construction model data labeling technology refers to the technology of marking and annotating specific objects or features in construction models created using computer-aided design and modeling software in the architecture and construction industry. This technology can be used to add detailed information and attributes to various elements in construction projects to help construction personnel better understand and implement design intent. The marked information can include dimensions, materials, construction methods, safety requirements, and maintenance instructions.

[0003] Existing construction model data marking technologies usually use manual marking to mark construction model data, and lack intelligent marking methods. When performing intelligent marking, existing construction model data marking technologies can usually only automatically mark the size of building components. Detailed information such as materials and subdivided types cannot be intelligently marked and can only be performed through manual marking. In addition, there are a large number of building components, and the manual marking process is very complicated and prone to errors or omissions. For example, in a patent application with publication number CN113297652A, a method, device and equipment for generating construction drawings are disclosed. The scheme does not limit the specific method for obtaining construction data, and the existing construction model data marking technology lacks intelligent marking technology. Therefore, by default, construction data is obtained by manual marking. The manual marking process is very complicated and prone to errors or omissions. The existing construction model data marking technology also has the problem of over-reliance on manual marking, which leads to errors and omissions in the data marking of the construction model. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the prior art to a certain extent, by constructing a three-dimensional construction model based on BIM. During the construction process, component numbers are added to different building components. Different types of building components are then marked with single data by the user. Then, based on the size information in the single data mark, the size information of all building components is automatically marked. The building components marked by the user are named as marked components, and the three-dimensional models of the building components and the marked components are extracted. The building components and the marked components are matched through image recognition and size information. Finally, the component type of the building components is determined through matching, and the building components are completely marked with data, so as to solve the problem that the existing construction model data marking technology still relies too much on manual marking, resulting in errors and omissions in the data marking of the construction model.

[0005] To achieve the above objectives, in a first aspect, the present application provides a method for marking construction 3D model data based on BIM, comprising the following steps:

[0006] Build a 3D construction model based on BIM, and add component numbers to different building components during the construction process;

[0007] Users perform single data tagging for different types of building components;

[0008] Automatically mark the size information of all building components based on the size information in a single data mark;

[0009] The building components marked by the user are named as marked components, the three-dimensional models of the building components and the marked components are extracted, and the building components and the marked components are matched through image recognition and size information;

[0010] The component type of the building component is determined through matching, and then the building component is fully marked with data.

[0011] Furthermore, the construction 3D model is constructed based on BIM. During the construction process, adding component numbers to different building components includes the following sub-steps:

[0012] Building a three-dimensional construction model based on BIM, wherein the three-dimensional construction model is composed of a number of building components;

[0013] The three-dimensional model of the building component is named the component model, and the component model is numbered and named the component number. n Represents, where n is a non-zero natural number and n is the sequence number of the CM.

[0014] Furthermore, the user performs single data marking on different types of building components, including the following sub-steps:

[0015] The building components exist in different component types;

[0016] The user randomly selects a component model in each component type for data tagging, and names the information marked by the data tag as tag information;

[0017] The marking information includes size information, component type, component material and construction process;

[0018] The size information includes component length, component width, component thickness, component diameter, and component height.

[0019] Furthermore, based on the size information in the single data marking, automatically marking the size information of all building components includes the following sub-steps:

[0020] Name the dimension information in the marking information marked by the user as known information, obtain the component model corresponding to the known information, and mark it as a known model;

[0021] Obtain the length of the component in the known information, mark it as the known length, obtain the length of the known model corresponding to the known length in the construction three-dimensional model, and mark it as the modeling length;

[0022] The ratio of the known length to the modeling length is calculated to obtain the scale of the construction 3D model, which is named model scale;

[0023] For any CM n , judge CM n Is it a cylinder or a cuboid? If it is a cylinder, a cylinder size mark signal is output; if it is a cuboid, a cuboid size mark signal is output;

[0024] If the cylindrical size mark signal is output, CM is obtained. n The length, thickness and diameter of the component are marked as cylindrical information to be marked; if the rectangular dimension marking signal is output, the CM n The length, width, thickness and height of the component are marked as rectangular information to be marked;

[0025] Judging CM n Whether it is a straight-line component, if so, a straight-line model signal is output; if not, a non-straight-line model signal is output; the straight-line component means that the appearance of the building component is straight and there is no bending;

[0026] If the linear model signal is output, then directly use CM n The top and side views are standard for obtaining CM n Rectangular or cylindrical information to be marked;

[0027] If the output is a non-linear model signal, then the CM n Disassemble and obtain the rectangular or cylindrical information to be marked.

[0028] Furthermore, if the output is a non-linear model signal, then the CM n Disassembling and obtaining the rectangular or cylindrical information to be marked includes the following sub-steps:

[0029] Get CM n The top view of the disassembly reference diagram is marked as a disassembly reference diagram. A plane rectangular coordinate system is established with the modeling length as the X-axis and the Y-axis, named the disassembly coordinate system, and the longest side of the disassembly reference diagram coincides with the X-axis and is entered into the disassembly coordinate system.

[0030] Make a rectangular selection on the disassembly reference image in the disassembly coordinate system, select the rectangular area where the disassembly reference image is located, and name it the model area;

[0031] The boundaries of the model region are named as region boundaries, wherein the region boundaries include an upper boundary, a left boundary, a lower boundary and a right boundary;

[0032] The degree of overlap between the region boundary and the outline of the disassembly reference image is named as the boundary overlap, and the region boundaries are named as the first boundary, the second boundary, the third boundary and the fourth boundary in descending order of the boundary overlap, which are expressed as the Mth boundary;

[0033] Marking the region boundary opposite to the first boundary as a first moving boundary, marking the region boundary opposite to the second boundary as a second moving boundary, marking the region boundary opposite to the third boundary as a third moving boundary, and marking the region boundary opposite to the fourth boundary as a fourth moving boundary, which are expressed as Mth moving boundaries;

[0034] Move the Mth moving boundary to the Mth boundary, keep the model area constant as a rectangle during the movement, name the line of the outline of the disassembled reference image as the outline line, and judge in real time whether the Mth moving boundary coincides with the outline line. If not, continue to move. If yes, output a line coincidence signal;

[0035] If the line overlap signal is output, the movement is stopped, and it is determined whether there is still a corner in the model area. If so, the Mth moving boundary is moved again and the determination is repeated. If not, a model disassembly signal is output;

[0036] If the model disassembly signal is output, the component model in the model area is marked as a component sub-model, and the rectangular or cylindrical information to be marked of the component sub-model is obtained; after the M-th moving boundary and the M-th boundary movement analysis are completed, it is determined whether there is a part that has not been disassembled into a component sub-model in the disassembly reference diagram. If so, a rectangular box is drawn on it and marked as a component sub-model. If not, the size information of the building component is marked;

[0037] The rectangular information to be marked and the cylindrical information to be marked are both length data. The size information corresponding to the building component can be obtained by multiplying the length data with the model scale.

[0038] Further, naming the building components marked by the user as marked components, extracting the three-dimensional models of the building components and the marked components, and matching the building components and the marked components through image recognition and size information includes the following sub-steps:

[0039] For any building component, take the direction of the first boundary in the disassembly coordinate system as the front, obtain the three views of the largest component sub-model obtained by disassembly, and mark them as component three views, wherein the component three views include a component left view, a component top view and a component front view, and mark the component three views of the marked component as marked three views;

[0040] The component three views of the building component and the marked three views of the marked component are grouped based on the cylindrical size marking signal and the rectangular size marking signal, and the component three views and the marked three views outputting the cylindrical size marking signal are divided into cylindrical groups, and the component three views and the marked three views outputting the rectangular size marking signal are divided into rectangular groups;

[0041] For any component three views, a rectangular box is made for the component sub-model therein, and the boxed area is named the boxed area, and the boxed area of ​​the marked three views is named the marked area;

[0042] For the cylinder grouping, overlap the selected area of ​​the three views of any component with the marked area of ​​the marked three views of the same viewing angle, requiring that the lower boundary of the selected area overlaps with the lower boundary of the marked area, and the left boundary of the selected area overlaps with the left boundary of the marked area;

[0043] Compare the sizes of the selected area and the marked area, mark the larger one as a larger area, and the smaller one as a smaller area;

[0044] Increase the width of the smaller area to make it the same as the width of the larger area, mark the increase ratio as the enlargement ratio, and then increase the length of the smaller area to make it equal to the length of the larger area to obtain an overlapping image. The enlargement process is to enlarge the component sub-model instead of just increasing the width of the boundary;

[0045] The number of non-blank pixels in the overlapping image is obtained, which is marked as the total number of pixels. The number of overlaps between the pixels of the component sub-model in the selected area in the overlapping image and the pixels of the known model in the marked area is obtained, which is marked as the total number of overlaps.

[0046] By formula Calculate the similarity between the three views of the component and the marked three views, where S is the similarity, EL is the magnification ratio of the left view of the component, EC is the magnification ratio of the front view, EF is the magnification ratio of the top view, TOL is the total overlap of the left view, TOC is the total overlap of the front view, TOF is the total overlap of the top view, TPL is the total number of pixels of the left view, TPC is the total number of pixels of the front view, and TPF is the total number of pixels of the top view;

[0047] For any building component, obtain the maximum value of the similarity between the three-view component of the building component and the marked three-view component, mark it as the maximum similarity, and mark the component type of the marked component corresponding to the maximum similarity as the target type;

[0048] The component material and the construction process of the building component are matched with the component material and the construction process of the marked component based on the size information of the target type.

[0049] Furthermore, matching the component material and construction process of the building component with the component material and construction process of the marked component based on the size information of the target type includes the following sub-steps:

[0050] Mark the marked components belonging to the target type as components to be compared;

[0051] Marking the size information of the component to be compared as the size to be compared;

[0052] Marking the size information of the building components as target sizes;

[0053] Find the size to be compared that is exactly the same as the target size, and mark the corresponding component to be compared as the target component.

[0054] Furthermore, determining the component type of the building component by matching and then marking the complete data of the building component includes the following sub-steps:

[0055] The target type is the component type of the building component;

[0056] The component material and construction technology of the target component are used as the component material and construction technology of the building component.

[0057] In a second aspect, the present application provides an electronic device, including a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are performed.

[0058] In a third aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are performed.

[0059] Beneficial effects of the present invention: The present invention constructs a three-dimensional construction model based on BIM. During the construction process, component numbers are added to different building components. Then, the user performs a single data tag on different types of building components. Then, based on the size information in the single data tag, the size information of all building components is automatically marked. The advantage is that the user only needs to perform a single data tag on each type of building component to automatically calculate the scale of the three-dimensional construction model, and then calculate the size information of each building component based on the scale. At the same time, the nonlinear building components can be automatically disassembled and divided into different component sub-models, so as to automatically and finely mark the size information of the building components, thereby improving the intelligence and practicality of the construction model data tagging.

[0060] The present invention names the building components marked by the user as marked components, extracts the three-dimensional models of the building components and the marked components, matches the building components and the marked components through image recognition and size information, finally determines the component type of the building components through matching, and then completely marks the data of the building components. The advantage is that the component type, component material and construction process of the building components are automatically marked by combining image recognition with size information comparison, which perfectly solves the problem of over-reliance on manual marking when marking the construction model. At the same time, the component type of the building components is determined by image recognition, and the same component type also has different specifications. The building components can be completely marked by matching through specific size information matching, which improves the intelligence and comprehensiveness of the construction model data marking. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 is a flow chart of the steps of the method of the present invention;

[0062] Figure 2 A schematic diagram of a component model marked by a user of the present invention;

[0063] Figure 3 is a schematic diagram of CM1 of the present invention;

[0064] Figure 4 is a schematic diagram of a disassembled reference diagram of the present invention;

[0065] Figure 5 is a schematic diagram of a disassembled coordinate system of the present invention;

[0066] Figure 6 is a schematic diagram of a model region of the present invention;

[0067] Figure 7 It is a schematic diagram of the Mth moving boundary moving toward the Mth boundary of the present invention;

[0068] Figure 8 is a schematic diagram of a component sub-model of the present invention;

[0069] Fig. 9 It is a schematic diagram of three views of a component of the present invention;

[0070] Fig.10 It is a schematic diagram of the three labeled views of the present invention;

[0071] Fig.11 A schematic diagram of the framed area and the marked area of ​​the present invention;

[0072] Fig.12 A schematic diagram of the overlap between the framed area and the marked area of ​​the present invention;

[0073] Fig.13It is a schematic structural diagram of the electronic device of the present invention. DETAILED DESCRIPTION

[0074] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0075] Example 1, please refer to Figure 1 As shown, the present application provides a construction 3D model data marking method based on BIM, comprising the following steps:

[0076] Step S1, constructing a three-dimensional construction model based on BIM, and adding component numbers to different building components during the construction process; Step S1 includes the following sub-steps:

[0077] Step S101, constructing a three-dimensional construction model based on BIM, where the three-dimensional construction model is composed of a number of building components;

[0078] Step S102, the three-dimensional model of the building component is named as a component model, and the component model is numbered and named as a component number, and the symbol CM is used to represent the component model. n It represents, where n is a non-zero natural number and n is the serial number of CM;

[0079] In practical applications, building components include but are not limited to walls, steel bars, steel pipes, water pipes and floors. The construction 3D model is obtained by combining and connecting a large number of building components. Therefore, any building component can be directly extracted. Different building components also have different models. Therefore, they need to be identified for accurate data marking. In this embodiment, the data marking method of the construction model is used. The construction model is assumed to be an accurate model, and the length and proportion inside the model are correct. There is no specific requirement for the numbering of the component models. In this embodiment, there are 2382 component models, so the component numbers CM1 to CM 2382 .

[0080] Step S2, the user performs single data marking for different types of building components; Step S2 includes the following sub-steps:

[0081] Step S201, there are different types of building components;

[0082] See also Figure 2 As shown, in step S202, the user randomly selects a component model from each component type for data tagging, and names the information marked by the data tag as tag information;

[0083] Step S203, the marking information includes size information, component type, component material and construction process;

[0084] Step S204, the size information includes component length, component width, component thickness, component diameter and component height;

[0085] In practical applications, it is assumed that the building components in this embodiment include five types of building components, namely HRB335 threaded steel, HRB400 threaded steel, main pipes, branch pipes, and walls. Among them, HRB335 threaded steel and HRB400 threaded steel belong to the same component type, but the component materials and construction processes are different, and the same is true for the main pipes and branch pipes. Therefore, when marking, the user needs to select a component model from the five types of building components, namely HRB335 threaded steel, HRB400 threaded steel, main pipes, branch pipes, and walls, respectively, for marking. This embodiment takes the branch pipe as an example to illustrate the marking information marked by the user. The component model marked by the user is as follows: Figure 2 As shown, the component length is 3m, the component diameter is 0.3m, the component thickness is 5cm, the component type is a pipe, and the component material is a PPR pipe branch pipe. Due to the complex construction process, it will not be specifically described in this embodiment.

[0086] Step S3, based on the size information in the single data mark, automatically mark the size information of all building components; Step S3 includes the following sub-steps:

[0087] Step S301, naming the dimension information in the marking information marked by the user as known information, obtaining the component model corresponding to the known information, and marking it as a known model;

[0088] Step S302, obtaining the length of the component in the known information, marking it as the known length, obtaining the length of the known model corresponding to the known length in the construction three-dimensional model, marking it as the modeling length;

[0089] Step S303, calculating the ratio of the known length to the modeling length, and obtaining the scale of the construction three-dimensional model, which is named as the model scale;

[0090] In practical applications, when the construction 3D model is an accurate model and the length and proportion inside the model are correct, the model scales calculated from different known lengths are the same. Therefore, it is only necessary to randomly extract the size information of a known model and calculate it once. Figure 2 The length of the component is based on Figure 2 The modeling length of the component model in the construction 3D model is also 3m, so the model scale is calculated to be 3m:3m=1:1;

[0091] See also Figure 3As shown, step S304, for any CM n , judge CM n Is it a cylinder or a cuboid? If it is a cylinder, a cylinder size mark signal is output; if it is a cuboid, a cuboid size mark signal is output;

[0092] Step S305: If the cylindrical size mark signal is output, obtain CM n The length, thickness and diameter of the component are marked as cylindrical information to be marked; if the rectangular dimension marking signal is output, the CM n The length, width, thickness and height of the component are marked as rectangular information to be marked;

[0093] Step S306, determine CM n Is it a straight-line component? If so, a straight-line model signal is output; if not, a non-straight-line model signal is output; a straight-line component means that the shape of the building component is straight and there is no bending;

[0094] Step S307: If the linear model signal is output, directly use CM n The top and side views are standard for obtaining CM n Rectangular or cylindrical information to be marked;

[0095] In practical applications, it is determined that the cylinder and the cuboid can be directly obtained from the construction 3D model, because when constructing the construction 3D model, the model is built using the modeling tools of the cylinder and the cuboid; taking CM1 as an example, CM1 Figure 3 As shown, its main structure is a cylinder, that is, the cylinder size marking signal is output, and the cylinder to be marked information needs to be marked on CM1; at the same time, CM1 is bent in the middle and is a non-linear component, so a non-linear model signal is output, and Figure 2 That is, it is a linear component. If it is a linear component, there is no need to disassemble it. The length and other data of its model can be directly extracted for marking. However, if it is a non-linear component, it needs to be disassembled into linear components for marking;

[0096] Step S308: If a non-linear model signal is output, CM n Disassemble and obtain the rectangular or cylindrical information to be marked;

[0097] Step S308 includes the following sub-steps:

[0098] See also Figures 4 to 5 As shown, step S308.1, obtain CM nThe top view of the disassembly reference diagram is marked as a disassembly reference diagram. A plane rectangular coordinate system is established with the modeling length as the X-axis and the Y-axis, named the disassembly coordinate system, and the longest side of the disassembly reference diagram coincides with the X-axis and is entered into the disassembly coordinate system.

[0099] See also Figure 6 As shown, in step S308.2, a rectangular frame is selected for the disassembly reference image in the disassembly coordinate system, and a rectangular area where the disassembly reference image is located is selected and named as a model area;

[0100] Step S308.3, naming the boundary of the model region as region boundary, the region boundary includes an upper boundary, a left boundary, a lower boundary and a right boundary;

[0101] In actual application, when obtaining the top view, the component model is placed flat by default to maximize the contact area between the component model and the bottom plane. The disassembly reference diagram of CM1 is obtained as follows: Figure 4 As shown, put it into the disassembly coordinate system as Figure 5 As shown in the figure, the disassembly reference image is placed in the disassembly coordinate system to limit the posture of the component model. The disassembly reference image in the disassembly coordinate system is rectangularly selected to obtain the model area as shown in the figure. Figure 6 As shown, the rectangular frame selection adopts the existing image frame selection technology;

[0102] Step S308.4, naming the degree of overlap between the region boundary and the outline of the disassembly reference image as boundary overlap, and naming the region boundaries as the first boundary, the second boundary, the third boundary, and the fourth boundary in descending order of the boundary overlap, denoted as the Mth boundary;

[0103] Step S308.5, marking the region boundary opposite to the first boundary as the first moving boundary, marking the region boundary opposite to the second boundary as the second moving boundary, marking the region boundary opposite to the third boundary as the third moving boundary, marking the region boundary opposite to the fourth boundary as the fourth moving boundary, and indicating them as the Mth moving boundary;

[0104] In practical applications, Figure 6 Taking the lower boundary in the figure as an example, the ratio of the length of the overlap between the straight line in the reference figure and the dashed line of the lower boundary to the length of the dashed line of the lower boundary is the boundary overlap. Figure 6 In the order of boundary overlap from large to small, the first boundary is the lower boundary, the second boundary is the left boundary, the third boundary is the right boundary, and the fourth boundary is the upper boundary. Therefore, the first moving boundary is the upper boundary, the second moving boundary is the right boundary, the third moving boundary is the left boundary, and the fourth moving boundary is the lower boundary.

[0105] See also Figure 7As shown, step S308.6, move the Mth moving boundary to the Mth boundary, keep the model area constant as a rectangle during the movement, name the outline of the disassembled reference image as the outline line, and determine in real time whether the Mth moving boundary coincides with the outline line. If not, continue to move, and if so, output a line coincidence signal;

[0106] Step S308.7, if the line overlap signal is output, the movement is stopped, and it is determined whether there is still a corner in the model area. If so, the Mth moving boundary is moved again and the determination is repeated. If not, a model disassembly signal is output;

[0107] In practical applications, taking the first boundary as an example, the contour line is the straight line segment in the disassembly reference image. Figure 7 When the upper boundary and the contour line are at the position shown, the line coincides, so the line coincidence signal is output. Figure 7 Whether there is still a corner in the model area surrounded by the dotted line in , although there is still an arc, the arc is not connected to the straight line, which can be regarded as no corner, so the model disassembly signal is output;

[0108] See also Figure 8 As shown, in step S308.8, if the model disassembly signal is output, the component model in the model area is marked as a component sub-model, and the rectangular or cylindrical information to be marked of the component sub-model is obtained; after the M-th moving boundary and the M-th boundary movement analysis are completed, it is determined whether there is a part in the disassembly reference diagram that has not been disassembled into a component sub-model. If so, a rectangular box is drawn for it and marked as a component sub-model. If not, the size information of the building component is marked;

[0109] Step S308.9: The rectangular information to be marked and the cylindrical information to be marked are both length data. The length data is multiplied by the model scale to obtain the size information corresponding to the building component;

[0110] In practical applications, Figure 7 The model area surrounded by the dotted line is a component sub-model. By analyzing the first boundary and the second boundary, the two component sub-models of CM1 are obtained as follows: Figure 8 As shown, it is determined whether there is a part in the disassembly reference diagram that has not been disassembled into a component sub-model. If so, a rectangular box is selected for it and marked as a component sub-model. This step is to prevent the component model from being disassembled incompletely. Figure 8 The length of the dotted line multiplied by the model scale is the component length of the component sub-model, and the width of the dotted line multiplied by the model scale is the sum of the component diameter and the component thickness of the component sub-model. Only their sum can be obtained here, and their sum will also be used for subsequent comparison of component diameters and component thicknesses.

[0111] Step S4, naming the building component marked by the user as a marked component, extracting the three-dimensional model of the building component and the marked component, and matching the building component and the marked component through image recognition and size information; Step S4 includes the following sub-steps:

[0112] See also Figures 9 and 10 As shown, step S401, for any building component, with the direction of the first boundary in the disassembly coordinate system as the front, obtain the three views of the largest component sub-model obtained by disassembly, mark it as the component three views, the component three views include the component left view, the component top view and the component front view, and mark the component three views of the marked component as the marked three views;

[0113] In practical applications, in this embodiment Figure 5 The first boundary is the lower boundary, so the direction of the lower boundary is the positive direction to obtain the three views, where Figure 4 That is, the top view of the component, and CM1 is a cylinder, and its inner diameter and outer diameter need to be identified. The largest component submodel in CM1 only has a ring in the component right view, and the component right view corresponds to the component left view. Therefore, the component left view is replaced with the component right view, and the same three views need to correspond to each other later. Therefore, the naming is not changed, only the image is replaced, and the component three views are obtained as follows Fig. 9 As shown; Figure 2 That is, the marked component, and the marked three views are obtained as follows Fig.10 As shown, the three marked views are similar. When it is a cylinder, a ring must exist in at least one view;

[0114] Step S402, grouping the component three views of the building component and the marked three views of the marked component based on the cylindrical size marking signal and the rectangular size marking signal, dividing the component three views and the marked three views outputting the cylindrical size marking signal into a cylindrical group, and dividing the component three views and the marked three views outputting the rectangular size marking signal into a rectangular group;

[0115] See also Fig.11 As shown, in step S403, for any component three views, a component sub-model therein is selected by rectangular box, the selected area is named as the boxed area, and the boxed area of ​​the marked three views is named as the marked area;

[0116] See also Fig.12 As shown, step S404, for the cylinder grouping, overlap the framed area of ​​the three views of any component with the marked area of ​​the marked three views of the same viewing angle, requiring that the lower boundary of the framed area overlaps with the lower boundary of the marked area, and the left boundary of the framed area overlaps with the left boundary of the marked area;

[0117] Step S405, comparing the sizes of the framed area and the marked area, marking the larger one as a relatively large area, and marking the smaller one as a relatively small area;

[0118] Step S406, increasing the width of the smaller area to make it the same as the width of the larger area, marking the increase ratio as the enlargement ratio, and then increasing the length of the smaller area to make it equal to the length of the larger area, and obtaining an overlapping image. The enlargement process is to enlarge the component sub-model instead of just increasing the width of the boundary;

[0119] In practical applications, Fig. 9 as well as Fig.10 All of them belong to the cylindrical group. In this embodiment, the left view of the component is taken as an example. The selected area and the marked area are obtained by box selection. Fig.11 As shown, overlap the boxed area with the marked area to obtain Fig.12 ,Depend on Fig.11 It can be seen that the larger area is the framed area, the smaller area is the marked area, the width defaults to the length of the left and right side boundaries, and the length defaults to the length of the upper and lower side boundaries. The width of the smaller area is increased to make it the same as the width of the larger area, and the magnification ratio is 1.32. The magnification ratio retains two decimal places. Since the same building component may have different lengths based on the usage scenario, but the width usually involves the specification information of the building component, which is generally fixed, only the magnification ratio under the width dimension is recorded; after the length and width of the smaller area are processed, the overlapping image is obtained;

[0120] Step S407, obtaining the number of non-blank pixels in the overlapping image, marked as the total number of pixels, obtaining the number of overlaps between the pixels of the component sub-model in the framed area in the overlapping image and the pixels of the known model in the marked area, marked as the total number of overlaps;

[0121] Step S408, by formula Calculate the similarity between the three views of the component and the marked three views, where S is the similarity, EL is the magnification ratio of the left view of the component, EC is the magnification ratio of the front view, EF is the magnification ratio of the top view, TOL is the total overlap of the left view, TOC is the total overlap of the front view, TOF is the total overlap of the top view, TPL is the total number of pixels of the left view, TPC is the total number of pixels of the front view, and TPF is the total number of pixels of the top view;

[0122] Step S409, for any building component, obtain the maximum value of the similarity between the component three views of the building component and the marked three views, mark it as the maximum similarity, and mark the component type of the marked component corresponding to the maximum similarity as the target type;

[0123] In actual application, the total number of pixels in the overlapped image of the left view is 1750, the total overlap is 360, and the magnification ratio is 1.32. The total number of pixels in the overlapped image of the front view is 2560, the total overlap is 1220, and the magnification ratio is 1.45. The total number of pixels in the overlapped image of the top view is 3750, the total overlap is 1845, and the magnification ratio is 1.16. Substituting into the calculation, we can get CM1 and Figure 2 The similarity S of the marked components shown is 0.91. The calculation result is rounded to two decimal places. The maximum similarity of CM1 is 0.91. Figure 2 The build type of the marked component shown is marked as the target type, resulting in the target type being pipeline;

[0124] Step S410, matching the component material and construction process of the building component with the component material and construction process of the marked component based on the size information of the target type;

[0125] Step S410 includes the following sub-steps:

[0126] Step S410.1, marking the marked components belonging to the target type as components to be compared;

[0127] Step S410.2, marking the size information of the component to be compared as the size to be compared;

[0128] Step S410.3, marking the size information of the building component as the target size;

[0129] Step S410.4, searching for a size to be compared that is exactly the same as the target size, and marking the corresponding component to be compared as the target component;

[0130] In practical applications, the marked components belonging to the pipeline are marked as components to be compared, and the size information of the components to be compared is marked as the dimensions to be compared. Since the size information marked by CM1 only includes the length of the component and the sum of the thickness and diameter of the component, only the length of the component and the sum of the thickness and diameter of the component are taken from the dimensions to be compared with the target dimensions, and the target component is found through comparison.

[0131] Step S5, determining the component type of the building component by matching, and then marking the complete data of the building component; Step S5 includes the following sub-steps:

[0132] Step S501, taking the target type as the component type of the building component;

[0133] Step S502, using the component material and construction process of the target component as the component material and construction process of the building component;

[0134] In actual applications, the component type of CM1 is pipe, the component material of the target component is PPR main pipe, and in the size information of the target component, the component thickness and component diameter are 8cm and 0.35m respectively. Therefore, the component thickness of CM1 is marked as 8cm, the component diameter is marked as 0.35m, and the component material is marked as PPR main pipe. The construction process is the same as that of the target component. If there are special building components, the user can manually change the data marked by the automatic marking.

[0135] Example 2, please refer to Fig.13 As shown, Fig.13 The structural schematic diagram of an electronic device is illustrated, and the electronic device may include: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor may call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in the BIM-based construction three-dimensional model data marking method are executed to achieve the following functions: constructing a construction three-dimensional model based on BIM; the user performs a single data marking on different types of building components; automatically marking the size information of all building components; naming the building components marked by the user as marked components, extracting the three-dimensional models of the building components and the marked components, matching the building components and the marked components through image recognition and size information; determining the component type of the building components through matching, and then marking the building components with complete data.

[0136] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0137] Embodiment 3, the present application also provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer, the computer can execute the BIM-based construction three-dimensional model data marking method provided by the above methods, the method includes: building a construction three-dimensional model based on BIM; the user performs a single data marking on different types of building components; automatically marks the size information of all building components; names the building components marked by the user as marked components, extracts the three-dimensional models of the building components and the marked components, matches the building components and the marked components through image recognition and size information; determines the component type of the building components through matching, and then performs complete data marking on the building components.

[0138] Embodiment 4, the present application also provides a computer-readable storage medium, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned BIM-based construction three-dimensional model data marking method are executed to achieve the following functions: construct a construction three-dimensional model based on BIM; the user performs a single data marking on different types of building components; automatically marks the size information of all building components; names the building components marked by the user as marked components, extracts the three-dimensional models of the building components and the marked components, and matches the building components and the marked components through image recognition and size information; determines the component type of the building components through matching, and then performs complete data marking on the building components.

[0139] Through the description of the above implementation methods, the embodiments of the present invention can be provided as methods, systems or computer program products. Based on such an understanding, the above technical solutions can be essentially or partly contributed to the prior art in the form of software products, which can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and include several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0140] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of systems, modules and units can be electrical, mechanical or other forms.

[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for marking construction 3D model data based on BIM, characterized in that: The steps include: Build a 3D construction model based on BIM, and add component numbers to different building components during the construction process; Users perform single data tagging for different types of building components; Automatically mark the size information of all building components based on the size information in a single data mark; The building components marked by the user are named as marked components, the three-dimensional models of the building components and the marked components are extracted, and the building components and the marked components are matched through image recognition and size information; The component type of the building component is determined through matching, and then the building component is fully marked with data.

2. The method for marking construction 3D model data based on BIM according to claim 1, characterized in that: Building a 3D construction model based on BIM, during the construction process, adding component numbers to different building components includes the following sub-steps: Building a three-dimensional construction model based on BIM, wherein the three-dimensional construction model is composed of a number of building components; The three-dimensional model of the building component is named the component model, and the component model is numbered and named the component number. n Represents, where n is a non-zero natural number and n is the sequence number of the CM.

3. The method for marking construction 3D model data based on BIM according to claim 2, characterized in that: The user's single data labeling of different types of building components includes the following sub-steps: The building components exist in different component types; The user randomly selects a component model in each component type for data tagging, and names the information marked by the data tag as tag information; The marking information includes size information, component type, component material and construction process; The size information includes component length, component width, component thickness, component diameter, and component height.

4. The method for marking construction 3D model data based on BIM according to claim 3, characterized in that: Based on the size information in a single data mark, automatically marking the size information of all building components includes the following sub-steps: Name the dimension information in the marking information marked by the user as known information, obtain the component model corresponding to the known information, and mark it as a known model; Obtain the length of the component in the known information, mark it as the known length, obtain the length of the known model corresponding to the known length in the construction three-dimensional model, and mark it as the modeling length; The ratio of the known length to the modeling length is calculated to obtain the scale of the construction 3D model, which is named model scale; For any CM n , judge CM n Is it a cylinder or a cuboid? If it is a cylinder, a cylinder size mark signal is output; if it is a cuboid, a cuboid size mark signal is output; If the cylindrical size mark signal is output, CM is obtained. n The length, thickness and diameter of the component are marked as the information to be marked on the cylinder; If the rectangular size mark signal is output, CM is obtained n The length, width, thickness and height of the component are marked as rectangular information to be marked; Judging CM n Whether it is a straight-line component, if so, a straight-line model signal is output; if not, a non-straight-line model signal is output; the straight-line component means that the appearance of the building component is straight and there is no bending; If the linear model signal is output, then directly use CM n The top and side views are standard for obtaining CM n Rectangular or cylindrical information to be marked; If the output is a non-linear model signal, then the CM n Disassemble and obtain the rectangular or cylindrical information to be marked.

5. The method for marking construction 3D model data based on BIM according to claim 4, characterized in that: If the output is a non-linear model signal, then the CM n Disassembling and obtaining the rectangular or cylindrical information to be marked includes the following sub-steps: Get CM n The top view of the disassembly reference diagram is marked as a disassembly reference diagram. A plane rectangular coordinate system is established with the modeling length as the X-axis and the Y-axis, named the disassembly coordinate system, and the longest side of the disassembly reference diagram coincides with the X-axis and is entered into the disassembly coordinate system. Make a rectangular selection on the disassembly reference image in the disassembly coordinate system, select the rectangular area where the disassembly reference image is located, and name it the model area; The boundaries of the model region are named as region boundaries, wherein the region boundaries include an upper boundary, a left boundary, a lower boundary, and a right boundary; The degree of overlap between the region boundary and the outline of the disassembly reference image is named as boundary overlap, and the region boundaries are named as the first boundary, the second boundary, the third boundary, and the fourth boundary in descending order of boundary overlap, which are expressed as the Mth boundary; Marking the region boundary opposite to the first boundary as a first moving boundary, marking the region boundary opposite to the second boundary as a second moving boundary, marking the region boundary opposite to the third boundary as a third moving boundary, and marking the region boundary opposite to the fourth boundary as a fourth moving boundary, which are expressed as Mth moving boundaries; Move the Mth moving boundary to the Mth boundary, keep the model area constant as a rectangle during the movement, name the line of the outline of the disassembled reference image as the outline line, and judge in real time whether the Mth moving boundary coincides with the outline line. If not, continue to move, and if so, output a line coincidence signal; If the line overlap signal is output, the movement is stopped, and it is determined whether there is still a corner in the model area. If so, the Mth moving boundary is moved again and the determination is repeated. If not, a model disassembly signal is output; If a model disassembly signal is output, the component model in the model area is marked as a component sub-model, and the rectangular or cylindrical information to be marked of the component sub-model is obtained; After the Mth moving boundary and the Mth boundary movement analysis are completed, it is determined whether there is a part in the disassembly reference diagram that has not been disassembled into a component sub-model. If so, a rectangular box is drawn on it and marked as a component sub-model. If not, the size information of the building component is marked. The rectangular information to be marked and the cylindrical information to be marked are all length data. The size information corresponding to the building component can be obtained by multiplying the length data with the model scale.

6. The method for marking construction 3D model data based on BIM according to claim 5, characterized in that: The building components marked by the user are named as marked components, the three-dimensional models of the building components and the marked components are extracted, and the building components and the marked components are matched through image recognition and size information, including the following sub-steps: For any building component, take the direction of the first boundary in the disassembly coordinate system as the front, obtain the three views of the largest component sub-model obtained by disassembly, and mark them as component three views, wherein the component three views include a component left view, a component top view and a component front view, and mark the component three views of the marked component as marked three views; The component three views of the building component and the marked three views of the marked component are grouped based on the cylindrical size marking signal and the rectangular size marking signal, and the component three views and the marked three views outputting the cylindrical size marking signal are divided into cylindrical groups, and the component three views and the marked three views outputting the rectangular size marking signal are divided into rectangular groups; For any component three views, a rectangular box is made for the component sub-model therein, and the boxed area is named the boxed area, and the boxed area of ​​the marked three views is named the marked area; For the cylinder grouping, overlap the selected area of ​​the three views of any component with the marked area of ​​the marked three views of the same viewing angle, requiring that the lower boundary of the selected area overlaps with the lower boundary of the marked area, and the left boundary of the selected area overlaps with the left boundary of the marked area; Compare the sizes of the selected area and the marked area, mark the larger one as a larger area, and the smaller one as a smaller area; Increase the width of the smaller area to make it the same as the width of the larger area, mark the increase ratio as the enlargement ratio, and then increase the length of the smaller area to make it equal to the length of the larger area to obtain an overlapping image. The enlargement process is to enlarge the component sub-model instead of just increasing the width of the boundary; The number of non-blank pixels in the overlapping image is obtained, which is marked as the total number of pixels. The number of overlaps between the pixels of the component sub-model in the selected area in the overlapping image and the pixels of the known model in the marked area is obtained, which is marked as the total number of overlaps. By formula Calculate the similarity between the three views of the component and the marked three views, where S is the similarity, EL is the magnification ratio of the left view of the component, EC is the magnification ratio of the front view, EF is the magnification ratio of the top view, TOL is the total overlap of the left view, TOC is the total overlap of the front view, TOF is the total overlap of the top view, TPL is the total number of pixels of the left view, TPC is the total number of pixels of the front view, and TPF is the total number of pixels of the top view; For any building component, obtain the maximum value of the similarity between the three-view component of the building component and the marked three-view component, mark it as the maximum similarity, and mark the component type of the marked component corresponding to the maximum similarity as the target type; The component material and the construction process of the building component are matched with the component material and the construction process of the marked component based on the size information of the target type.

7. The method for marking construction 3D model data based on BIM according to claim 6, characterized in that: Matching the component material and construction process of the building component with the component material and construction process of the marked component based on the size information of the target type includes the following sub-steps: Mark the marked components belonging to the target type as components to be compared; Marking the size information of the component to be compared as the size to be compared; Marking the size information of the building components as target sizes; Find the size to be compared that is exactly the same as the target size, and mark the corresponding component to be compared as the target component.

8. The method for marking construction 3D model data based on BIM according to claim 7, characterized in that: Determining the component type of the building component by matching and then marking the complete data of the building component includes the following sub-steps: The target type is the component type of the building component; The component material and construction technology of the target component are used as the component material and construction technology of the building component.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 8 are executed.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are executed.

Citation Information

Patent Citations

  • Construction drawing generation method, device and equipment

    CN113297652A