A reserved opening generation method and system based on BIM model

Through the opening generation method based on the BIM model, the reserved openings are automatically generated and merged, which solves the problems of chaotic opening layout and irregular-shaped openings and improves construction efficiency and material utilization.

CN118627172BActive Publication Date: 2025-09-23BEIJING URBAN CONSTR GROUP +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410819977.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2025-09-23
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

In the existing technology of electromechanical installation and secondary structure construction, the layout of openings is chaotic, there are many special-shaped openings, and they cannot be uniformly determined, resulting in low construction efficiency, material waste and safety hazards.

Method used

Based on the BIM model, the existing opening and pipeline data are obtained by traversing the model, the locations intersecting with the pipelines are screened, attributes are assigned, and openings with a distance less than a threshold are merged to generate reserved openings to ensure a unified and beautiful opening style.

Benefits of technology

It realizes the automatic generation of reserved openings, avoids secondary construction damage, improves construction efficiency, saves materials, avoids irregular-shaped openings, and ensures uniform and beautiful openings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627172B_ABST
    Figure CN118627172B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of BIM engineering and discloses a method and system for generating reserved openings based on a BIM model, comprising: obtaining existing openings in a BIM model to obtain an original opening set, filtering wall or floor slab data that matches the elevation according to the elevation to obtain a first filtered set, obtaining preset openings based on the first filtered set and three-dimensional position information of pipelines, determining whether the distance between two preset openings is less than a preset threshold, and if so, merging the preset openings, storing the preset openings in the original opening set, and again determining whether merging is required, and obtaining the final opening position after merging. The present invention can not only automatically generate reserved openings, but also merge openings, thereby streamlining the number of reserved openings, ensuring that the styles of the openings are uniform and beautiful, avoiding the generation of irregular-shaped openings, and saving resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of BIM engineering, and in particular to a method and system for generating reserved openings based on a BIM model. Background Art

[0002] BIM (Building Information Modeling) technology is a digital tool used in engineering design, construction, and management. By integrating digital and information-based models of buildings, and sharing and transmitting them throughout the entire life cycle of project planning, operation, and maintenance, it enables engineering and technical personnel to correctly understand and efficiently respond to various building information, providing a basis for collaborative work for design teams and all construction entities including construction and operation units, and playing an important role in improving production efficiency, saving costs, and shortening construction periods.

[0003] The intersection problem between electromechanical installation and secondary structure construction is very common. In many cases, in order to set up neater and more beautiful pipelines, the pipelines need to be designed first. In the second construction, the wall is demolished according to the pipeline. This practice will extend the construction period and generate a large amount of construction waste. The setting of the opening is not beautiful, which destroys the integrity of the building. Secondly, the destruction of the wall will also cause corresponding safety hazards. Therefore, it is necessary to standardize the wall openings at the beginning of the design. A Chinese literature provides a method for arranging pipeline reserved holes. A method for automatically opening holes is provided. By compiling the process of reserving mechanical and electrical equipment installation holes in the civil engineering model, the compiled program is directly called to automatically open the reserved holes when the reserved holes are opened again, which improves work efficiency and reduces the error rate. However, the hole layout is relatively chaotic, the hole standard cannot be uniformly determined, and there are often problems with special-shaped holes. Therefore, there is an urgent need for a method to automatically generate reserved holes and prevent the generation of special-shaped holes. Summary of the Invention

[0004] The purpose of the present invention is to overcome one or more of the above-mentioned existing technical problems and provide a method and system for generating reserved openings based on a BIM model.

[0005] To achieve the above-mentioned purpose, the present invention provides a method for generating a reserved opening based on a BIM model, comprising:

[0006] Traverse the BIM model to obtain existing wall openings and slab openings, and obtain the original wall opening set and the original slab opening set;

[0007] Traverse the documents linked to the BIM model, obtain all pipeline data, and obtain the pipeline data set;

[0008] Based on the elevation of any pipeline data in the pipeline data set, traverse the documents linked to the BIM model, filter the wall or floor data that matches the elevation, and obtain a first filtered set;

[0009] Obtain the opening family in the BIM model, and filter out the opening family elements used in the BIM model according to the name of the opening family;

[0010] Get the 3D position information of a pipeline in the pipeline data set, traverse the first filter set to see if it intersects with the pipeline, and if so, set this position as the preset opening;

[0011] Based on the comparison of the preset opening with the original wall opening set and the original plate opening set, if the opening does not exist, the preset opening attribute is assigned to obtain the preset opening set;

[0012] The preset hole set is filtered based on the hole attribute assignment to obtain a second filtered set, and whether the distance between two preset holes in the second filtered set is less than a preset threshold is determined. If so, the preset holes are merged to obtain a reserved hole set.

[0013] The reserved opening set is merged with the original wall opening set or the original plate opening set, and it is determined whether the distance between the two openings in the merged set is less than a preset threshold. If so, the preset openings are merged to obtain a BIM opening set.

[0014] According to one aspect of the present invention, the method for obtaining the preset hole set is:

[0015] Get the size of the pipeline. If the pipeline is a circular pipeline, get the diameter; if the pipeline is a rectangular pipeline, get the height and width;

[0016] Get the center point of the intersection between the pipeline and the wall or floor based on the size of the pipeline, and create a preset opening at this center point;

[0017] Compare the preset opening with the original wall opening set and the original slab opening set. If the opening does not exist, assign the preset opening attributes, including the length, width, height, CAT Code, and specialty of the preset opening.

[0018] The assigned preset openings are saved in the preset opening collection.

[0019] According to one aspect of the present invention, storing the assigned preset holes into the preset hole set further includes:

[0020] Determine whether the preset opening is parallel to the wall;

[0021] If they are parallel, they are directly stored in the preset hole set;

[0022] If they are not parallel, obtain the normal of the wall, determine the angle between the normal and the north direction, rotate the preset opening according to the angle between the wall and the north direction until it is parallel to the wall, assign the rotation angle and store it in the preset opening set.

[0023] According to one aspect of the present invention, the preset opening set is traversed, and the openings are filtered based on the CATCode in the preset opening attribute assignment, so that the second filtered set only contains one of the wall openings or the floor openings.

[0024] According to one aspect of the present invention, if the second filtered set contains floor openings, then the i-th and i+1-th floor openings are obtained from the second filtered set;

[0025] Get the property value of the floor opening, construct a vector between the two points based on the center points of the two floor openings, and calculate the projection length of the vector in the other two normal directions. The formula is:

[0026]

[0027] Where L represents the projection length of vector a in the direction of vector b;

[0028] represents vector a;

[0029] represents vector b;

[0030] Take the difference between the projected length and half of the length of the two floor openings in the two normal directions, where the formula is,

[0031]

[0032] Where Δx represents the clear distance between the two openings along the x direction;

[0033] K represents the distance between the center points of the two holes in the x direction;

[0034] L1 represents the length of the first hole;

[0035] L2 represents the length of the first hole;

[0036]

[0037] Δy represents the net distance between two openings along the y direction;

[0038] J represents the distance between the center points of the two holes in the y direction;

[0039] B1 represents the width of the first hole;

[0040] B2 represents the width of the second opening;

[0041] Determine whether the difference is greater than a preset threshold.

[0042] According to one aspect of the present invention, if the second screening set contains wall openings, the i-th and i+1-th wall openings are taken from the second screening set;

[0043] Obtain the attribute values ​​of the wall openings, obtain a surface parallel to the wall based on the attribute values ​​and the normals of each surface of the two wall openings, and obtain the projection of the center points of the two wall openings based on this surface;

[0044] Construct the vector between the two points based on the center point projection and calculate the projection length of the vector in the other two normal directions. The formula is:

[0045]

[0046] Take the difference between the projected length and half the length of the two wall openings in the two normal directions, where the formula is,

[0047]

[0048]

[0049] Determine whether the difference is greater than a preset threshold.

[0050] According to one aspect of the present invention, the method for merging preset openings is:

[0051] The length, width and height of the reserved opening are calculated based on the distance between the two preset openings and the length, width and height of the preset openings. The formula is:

[0052]

[0053] Where Q represents the length of the new opening after the two openings are merged;

[0054]

[0055] Among them, H represents the width of the new opening after the two openings are merged;

[0056] Based on the center points of the two preset openings, the center point of the reserved opening is obtained;

[0057] Rotate the reserved opening according to the preset opening rotation angle until the reserved opening is parallel to the wall;

[0058] Assign values ​​to the properties of the reserved openings, obtain the properties of the reserved openings based on the properties of the two preset openings, and merge the professions of the preset openings.

[0059] To achieve the above-mentioned purpose, the present invention provides a reserved opening generation system based on a BIM model, comprising:

[0060] Original opening acquisition module: traverses the BIM model to obtain existing wall openings and slab openings, and obtains the original wall opening set and the original slab opening set;

[0061] Pipeline data set acquisition module: traverses the documents linked to the BIM model, obtains all pipeline data, and obtains the pipeline data set;

[0062] Elevation matching module: Based on the elevation of any pipeline data in the pipeline data set, traverse the documents linked to the BIM model, filter the wall or floor data that matches this elevation, and obtain the first filtered set;

[0063] Opening family determination module: obtains the opening family in the BIM model and filters out the opening family elements used in the BIM model based on the name of the opening family;

[0064] Preset hole determination module: obtains the three-dimensional position information of a pipeline in the pipeline data set, traverses the first filter set to see if it intersects with the pipeline, and if so, sets this position as the preset hole;

[0065] Preset opening set acquisition module: compares the preset opening with the original wall opening set and the original plate opening set. If the opening does not exist, assign a value to the preset opening attribute to obtain the preset opening set.

[0066] Reserved hole set acquisition module: based on the hole attribute assignment, the preset hole set is filtered to obtain a second filtered set, and whether the distance between two preset holes in the second filtered set is less than a preset threshold is determined. If so, the preset holes are merged to obtain a reserved hole set;

[0067] Opening set acquisition module: merges the reserved opening set with the original wall opening set or the original slab opening set, and determines whether the distance between the two openings in the merged set is less than the preset threshold. If so, merge the preset openings to obtain the BIM opening set.

[0068] To achieve the above-mentioned purpose, the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the above-mentioned method for generating a reserved opening based on a BIM model is implemented.

[0069] To achieve the above-mentioned purpose, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for generating a reserved opening based on a BIM model is implemented.

[0070] Based on this, the beneficial effects of the present invention are: it can automatically generate reserved openings in walls and floor slabs, avoiding damage to the walls and floor slabs caused by secondary construction, improving the work efficiency of construction workers, saving building materials and avoiding waste;

[0071] By filtering the opening family elements used in the BIM model based on elevation and opening family name, construction personnel can quickly generate reserved openings for the project, avoiding confusion caused by different levels of openings.

[0072] This application can not only automatically generate reserved openings, but also merge the openings, thereby streamlining the number of reserved openings, ensuring that the styles of the openings are unified and beautiful, avoiding the generation of irregular-shaped openings, and saving resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 This is a flow chart of a method for generating a reserved opening based on a BIM model according to an exemplary embodiment;

[0074] Figure 2 1 is a schematic diagram of opening merging according to a method for generating reserved openings based on a BIM model, according to an exemplary embodiment;

[0075] Figure 3 The present invention is a flowchart of a reserved opening generation system based on a BIM model according to an exemplary embodiment. DETAILED DESCRIPTION

[0076] The present invention will now be discussed with reference to exemplary embodiments. It should be understood that the embodiments discussed are only for enabling those skilled in the art to better understand and thereby implement the present invention, rather than implying any limitation on the scope of the present invention.

[0077] As used herein, the term “including” and variations thereof are to be interpreted as open-ended terms meaning “including, but not limited to.” The term “based on” is to be interpreted as “based, at least in part, on,” and the terms “one embodiment” and “an embodiment” are to be interpreted as “at least one embodiment.”

[0078] According to one embodiment of the present invention, Figure 1 is a flow chart of a method for generating a reserved opening based on a BIM model according to an exemplary embodiment. Figure 1 To achieve the above-mentioned purpose, the present invention provides a method for generating a reserved opening based on a BIM model, comprising:

[0079] Traverse the BIM model to obtain existing wall openings and slab openings, and obtain the original wall opening set and the original slab opening set;

[0080] Traverse the documents linked to the BIM model to obtain all pipeline data and obtain a pipeline data set, which includes data on air ducts, water pipes, and bridges;

[0081] Based on the elevation of any pipeline data in the pipeline data set, traverse the documents linked to the BIM model, filter the wall or floor data that matches the elevation, and obtain a first filtered set;

[0082] Obtain the opening family in the BIM model and filter out the opening family elements used in the BIM model based on the opening family name. This ensures that the values ​​in the openings are unique, ensuring that all openings are in this project and avoid confusion with other projects.

[0083] Get the 3D position information of a pipeline in the pipeline data set, traverse the first filter set to see if it intersects with the pipeline, and if so, set this position as the preset opening;

[0084] Based on the comparison of the preset opening with the original wall opening set and the original plate opening set, if the opening does not exist, the preset opening attribute is assigned to obtain the preset opening set;

[0085] The preset hole set is filtered based on the hole attribute assignment to obtain a second filtered set, and whether the distance between two preset holes in the second filtered set is less than a preset threshold is determined. If so, the preset holes are merged to obtain a reserved hole set.

[0086] The reserved opening set is merged with the original wall opening set or the original plate opening set, and it is determined whether the distance between the two openings in the merged set is less than a preset threshold. If so, the preset openings are merged to obtain a BIM opening set.

[0087] According to one embodiment of the present invention, a method for obtaining a preset hole set is:

[0088] Get the size of the pipeline. If the pipeline is a circular pipeline, get the diameter; if the pipeline is a rectangular pipeline, get the height and width;

[0089] Get the center point of the intersection between the pipeline and the wall or floor based on the size of the pipeline, and create a preset opening at this center point;

[0090] Compare the preset opening with the original wall opening set and the original slab opening set. If the opening does not exist, assign the preset opening attributes, including the length, width, height, CAT Code, and specialty of the preset opening.

[0091] The assigned preset openings are saved in the preset opening collection.

[0092] According to one embodiment of the present invention, storing the assigned preset hole into the preset hole set further includes:

[0093] Determine whether the preset opening is parallel to the wall;

[0094] If they are parallel, they are directly stored in the preset hole set;

[0095] If they are not parallel, obtain the normal of the wall, determine the angle between the normal and the north direction, rotate the preset opening according to the angle between the wall and the north direction until it is parallel to the wall, assign the rotation angle and store it in the preset opening set.

[0096] According to one embodiment of the present invention, the preset opening set is traversed, and the openings are filtered based on the CATCode in the preset opening attribute assignment, so that the second filtered set only includes one of the wall openings or the floor openings.

[0097] According to one embodiment of the present invention, if the second screening set contains floor openings, the i-th and i+1-th floor openings are obtained from the second screening set;

[0098] Get the property value of the floor opening, construct a vector between the two points based on the center points of the two floor openings, and calculate the projection length of the vector in the other two normal directions. The formula is:

[0099]

[0100] Where L represents the projection length of vector a in the direction of vector b;

[0101] represents vector a;

[0102] represents vector b;

[0103] Take the difference between the projected length and half of the length of the two floor openings in the two normal directions, where the formula is,

[0104]

[0105] Where Δx represents the clear distance between the two openings along the x direction;

[0106] K represents the distance between the center points of the two holes in the x direction;

[0107] L1 represents the length of the first hole;

[0108] L2 represents the length of the first hole;

[0109]

[0110] Δy represents the net distance between two openings along the y direction;

[0111] J represents the distance between the center points of the two holes in the y direction;

[0112] B1 represents the width of the first hole;

[0113] B2 represents the width of the second opening;

[0114] Determine whether the difference is greater than a preset threshold.

[0115] According to one embodiment of the present invention, if the second screening set contains wall openings, the i-th and i+1-th wall openings are taken from the second screening set;

[0116] Obtain the attribute values ​​of the wall openings, obtain a surface parallel to the wall based on the attribute values ​​and the normals of each surface of the two wall openings, and obtain the projection of the center points of the two wall openings based on this surface;

[0117] Construct the vector between the two points based on the center point projection and calculate the projection length of the vector in the other two normal directions. The formula is:

[0118]

[0119] Take the difference between the projected length and half the length of the two wall openings in the two normal directions, where the formula is,

[0120]

[0121]

[0122] Determine whether the difference is greater than a preset threshold.

[0123] According to one embodiment of the present invention, Figure 2 FIG. 1 is a schematic diagram of hole merging according to a method for generating a reserved hole based on a BIM model according to an exemplary embodiment. Figure 2 As shown in the figure, the method for merging preset openings is:

[0124] The length, width and height of the reserved opening are calculated based on the distance between the two preset openings and the length, width and height of the preset openings. The formula is:

[0125]

[0126] Where Q represents the length of the new opening after the two openings are merged;

[0127]

[0128] Among them, H represents the width of the new opening after the two openings are merged;

[0129] Based on the center points of the two preset openings, the center point of the reserved opening is obtained;

[0130] Rotate the reserved opening according to the preset opening rotation angle until the reserved opening is parallel to the wall;

[0131] Assign values ​​to the properties of the reserved openings, obtain the properties of the reserved openings based on the properties of the two preset openings, and merge the professions of the preset openings.

[0132] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a reserved opening generation system based on the BIM model. Figure 3 is a flowchart of a reserved opening generation system based on a BIM model according to an exemplary embodiment. Figure 3 As shown, a reserved opening generation system based on a BIM model in the present invention includes:

[0133] Original opening acquisition module: traverses the BIM model to obtain existing wall openings and slab openings, and obtains the original wall opening set and the original slab opening set;

[0134] Pipeline data set acquisition module: traverses the documents linked to the BIM model, obtains all pipeline data, and obtains the pipeline data set;

[0135] Elevation matching module: Based on the elevation of any pipeline data in the pipeline data set, traverse the documents linked to the BIM model, filter the wall or floor data that matches this elevation, and obtain the first filtered set;

[0136] Opening family determination module: obtains the opening family in the BIM model and filters out the opening family elements used in the BIM model based on the name of the opening family;

[0137] Preset hole determination module: obtains the three-dimensional position information of a pipeline in the pipeline data set, traverses the first filter set to see if it intersects with the pipeline, and if so, sets this position as the preset hole;

[0138] Preset opening set acquisition module: compares the preset opening with the original wall opening set and the original plate opening set. If the opening does not exist, assign a value to the preset opening attribute to obtain the preset opening set.

[0139] Reserved hole set acquisition module: based on the hole attribute assignment, the preset hole set is filtered to obtain a second filtered set, and whether the distance between two preset holes in the second filtered set is less than a preset threshold is determined. If so, the preset holes are merged to obtain a reserved hole set;

[0140] Opening set acquisition module: merges the reserved opening set with the original wall opening set or the original slab opening set, and determines whether the distance between the two openings in the merged set is less than the preset threshold. If so, merge the preset openings to obtain the BIM opening set.

[0141] According to one embodiment of the present invention, a method for obtaining a preset hole set is:

[0142] Get the size of the pipeline. If the pipeline is a circular pipeline, get the diameter; if the pipeline is a rectangular pipeline, get the height and width;

[0143] Get the center point of the intersection between the pipeline and the wall or floor based on the size of the pipeline, and create a preset opening at this center point;

[0144] Compare the preset opening with the original wall opening set and the original slab opening set. If the opening does not exist, assign the preset opening attributes, including the length, width, height, CAT Code, and specialty of the preset opening.

[0145] The assigned preset openings are saved in the preset opening collection.

[0146] According to one embodiment of the present invention, storing the assigned preset hole into the preset hole set further includes:

[0147] Determine whether the preset opening is parallel to the wall;

[0148] If they are parallel, they are directly stored in the preset hole set;

[0149] If they are not parallel, obtain the normal of the wall, determine the angle between the normal and the north direction, rotate the preset opening according to the angle between the wall and the north direction until it is parallel to the wall, assign the rotation angle and store it in the preset opening set.

[0150] According to one embodiment of the present invention, the preset opening set is traversed, and the openings are filtered based on the CATCode in the preset opening attribute assignment, so that the second filtered set only includes one of the wall openings or the floor openings.

[0151] According to one embodiment of the present invention, if the second screening set contains floor openings, the i-th and i+1-th floor openings are obtained from the second screening set;

[0152] Get the property value of the floor opening, construct a vector between the two points based on the center points of the two floor openings, and calculate the projection length of the vector in the other two normal directions. The formula is:

[0153]

[0154] Where L represents the projection length of vector a in the direction of vector b;

[0155] represents vector a;

[0156] represents vector b;

[0157] Take the difference between the projected length and half of the length of the two floor openings in the two normal directions, where the formula is,

[0158]

[0159] Where Δx represents the clear distance between the two openings along the x direction;

[0160] K represents the distance between the center points of the two holes in the x direction;

[0161] L1 represents the length of the first hole;

[0162] L2 represents the length of the first hole;

[0163]

[0164] Δy represents the net distance between two openings along the y direction;

[0165] J represents the distance between the center points of the two holes in the y direction;

[0166] B1 represents the width of the first hole;

[0167] B2 represents the width of the second opening;

[0168] Determine whether the difference is greater than a preset threshold.

[0169] According to one embodiment of the present invention, if the second screening set contains wall openings, the i-th and i+1-th wall openings are taken from the second screening set;

[0170] Obtain the attribute values ​​of the wall openings, obtain a surface parallel to the wall based on the attribute values ​​and the normals of each surface of the two wall openings, and obtain the projection of the center points of the two wall openings based on this surface;

[0171] Construct the vector between the two points based on the center point projection and calculate the projection length of the vector in the other two normal directions. The formula is:

[0172]

[0173] Take the difference between the projected length and half the length of the two wall openings in the two normal directions, where the formula is,

[0174]

[0175]

[0176] Determine whether the difference is greater than a preset threshold.

[0177] According to one embodiment of the present invention, Figure 2 FIG. 1 is a schematic diagram of hole merging according to a method for generating a reserved hole based on a BIM model according to an exemplary embodiment. Figure 2 As shown in the figure, the method for merging preset openings is:

[0178] The length, width and height of the reserved opening are calculated based on the distance between the two preset openings and the length, width and height of the preset openings. The formula is:

[0179]

[0180] Where Q represents the length of the new opening after the two openings are merged;

[0181]

[0182] Among them, H represents the width of the new opening after the two openings are merged;

[0183] Based on the center points of the two preset openings, the center point of the reserved opening is obtained;

[0184] Rotate the reserved opening according to the preset opening rotation angle until the reserved opening is parallel to the wall;

[0185] Assign values ​​to the properties of the reserved openings, obtain the properties of the reserved openings based on the properties of the two preset openings, and merge the professions of the preset openings.

[0186] In order to achieve the above-mentioned purpose of the invention, the present invention also provides an electronic device, which includes: a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the above-mentioned method for generating reserved openings based on the BIM model is implemented.

[0187] In order to achieve the above-mentioned purpose of the invention, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for generating reserved openings based on a BIM model is implemented.

[0188] Based on this, the beneficial effect of the present invention is that it can automatically generate reserved openings in walls and floor slabs, avoiding damage to walls and floor slabs caused by secondary construction, improving the work efficiency of construction personnel, saving building materials, and avoiding waste. By filtering out the opening family elements used in the BIM model according to the elevation and the name of the opening family, construction personnel can quickly generate reserved openings for this project, avoiding confusion of openings caused by different levels. This application can not only automatically generate reserved openings, but also merge openings, streamlining the number of reserved openings, and ensuring that the style of the openings is unified and beautiful, avoiding the generation of special-shaped openings, and saving resources.

[0189] Those skilled in the art will appreciate that the modules and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0190] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and equipment can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0191] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components 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 interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0192] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of these modules may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.

[0193] In addition, each functional module in the embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0194] If the functions are implemented as software modules and sold or used as standalone products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or the portion of the technical solution itself, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the energy-saving signal transmission / reception method according to various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, ROM, RAM, a magnetic disk, or an optical disk.

[0195] The above description is merely a preferred embodiment of the present application and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the invention herein is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also encompasses other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the inventive concept. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features having similar functions disclosed in this application.

[0196] It should be understood that the size of the serial numbers of each step in the content of the invention and the embodiments of the present invention does not absolutely mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

Claims

1. A method for generating reserved openings based on a BIM model, characterized in that: include: Traverse the BIM model to obtain existing wall openings and slab openings, and obtain the original wall opening set and the original slab opening set; Traverse the documents linked to the BIM model, obtain all pipeline data, and obtain the pipeline data set; Based on the elevation of any pipeline data in the pipeline data set, traverse the documents linked to the BIM model, filter the wall or floor data that matches the elevation, and obtain a first filtered set; Obtain the opening family in the BIM model, and filter out the opening family elements used in the BIM model according to the name of the opening family; Get the 3D position information of a pipeline in the pipeline data set, traverse the first filter set to see if it intersects with the pipeline, and if so, set this position as the preset opening; Based on the comparison between the preset opening and the original wall opening set and the original slab opening set, if the opening does not exist, the preset opening attributes are assigned, where the attributes are the length, width, height, CAT Code and major of the preset opening, and the preset opening set is obtained; Filtering the preset hole set based on the hole attribute assignment to obtain a second filtered set, and determining whether the distance between two preset holes in the second filtered set is less than a preset threshold; If the second filtered set contains floor openings, then obtain the i-th and i+1-th floor openings from the second filtered set; Get the property value of the floor opening, construct a vector between the two points based on the center points of the two floor openings, and calculate the projection length of the vector in the other two normal directions. The formula is: Where L represents the projection length of vector a in the direction of vector b; represents vector a; represents vector b; Take the difference between the projected length and half of the length of the two floor openings in the two normal directions, where the formula is, Where Δx represents the clear distance between the two openings along the x direction; K represents the distance between the center points of the two holes in the x direction; L1 represents the length of the first hole; L2 represents the length of the first hole; Δy represents the net distance between two openings along the y direction; J represents the distance between the center points of the two holes in the y direction; B1 represents the width of the first hole; B2 represents the width of the second opening; Determine whether the difference is greater than a preset threshold; If it is less than, the preset openings are merged to obtain a set of reserved openings; The method for filtering the preset opening set based on the opening attribute values ​​to obtain the second filtered set is to traverse the preset opening set and filter the openings based on the CAT Code in the preset opening attribute values, so that the second filtered set contains only one of the wall openings and the floor openings. The reserved opening set is merged with the original wall opening set or the original plate opening set, and it is determined whether the distance between the two openings in the merged set is less than a preset threshold. If so, the preset openings are merged to obtain a BIM opening set.

2. The method for generating a reserved opening based on a BIM model according to claim 1, wherein: The method for obtaining the preset opening set is: Get the size of the pipeline. If the pipeline is a circular pipeline, get the diameter; if the pipeline is a rectangular pipeline, get the height and width; Get the center point of the intersection between the pipeline and the wall or floor based on the size of the pipeline, and create a preset opening at this center point; Based on the comparison between the preset opening and the original wall opening set and the original plate opening set, if the opening does not exist, the preset opening attribute is assigned a value, and the assigned preset opening is stored in the preset opening set.

3. The method for generating a reserved opening based on a BIM model according to claim 2, wherein: The step of storing the assigned preset holes into the preset hole set further includes: Determine whether the preset opening is parallel to the wall; If they are parallel, they are directly stored in the preset hole set; If they are not parallel, obtain the normal of the wall, determine the angle between the normal and the north direction, rotate the preset opening according to the angle between the wall and the north direction until it is parallel to the wall, assign the rotation angle and store it in the preset opening set.

4. The method for generating a reserved opening based on a BIM model according to claim 3, wherein: If the second screening set contains wall openings, then the i-th and i+1-th wall openings are taken from the second screening set; Obtain the attribute values ​​of the wall openings, obtain a surface parallel to the wall based on the attribute values ​​and the normals of each surface of the two wall openings, and obtain the projection of the center points of the two wall openings based on this surface; Construct the vector between the two points based on the center point projection and calculate the projection length of the vector in the other two normal directions. The formula is: Take the difference between the projected length and half the length of the two wall openings in the two normal directions, where the formula is, Determine whether the difference is greater than a preset threshold.

5. The method for generating a reserved opening based on a BIM model according to claim 4, characterized in that: The method for merging the preset openings is as follows: The length, width and height of the reserved opening are calculated based on the distance between the two preset openings and the length, width and height of the preset openings. The formula is: Where Q represents the length of the new opening after the two openings are merged; Among them, H represents the width of the new opening after the two openings are merged; Based on the center points of the two preset openings, the center point of the reserved opening is obtained; Rotate the reserved opening according to the preset opening rotation angle until the reserved opening is parallel to the wall; Assign values ​​to the properties of the reserved openings, obtain the properties of the reserved openings based on the properties of the two preset openings, and merge the professions of the preset openings.

6. A system for generating a reserved opening based on a BIM model according to any one of claims 1 to 5, characterized in that: include: Original opening acquisition module: traverses the BIM model to obtain existing wall openings and slab openings, and obtains the original wall opening set and the original slab opening set; Pipeline data set acquisition module: traverses the documents linked to the BIM model, obtains all pipeline data, and obtains the pipeline data set; Elevation matching module: Based on the elevation of any pipeline data in the pipeline data set, traverse the documents linked to the BIM model, filter the wall or floor data that matches this elevation, and obtain the first filtered set; Opening family determination module: obtains the opening family in the BIM model and filters out the opening family elements used in the BIM model based on the name of the opening family; Preset hole determination module: obtains the three-dimensional position information of a pipeline in the pipeline data set, traverses the first filter set to see if it intersects with the pipeline, and if so, sets this position as the preset hole; Preset opening set acquisition module: compares the preset opening with the original wall opening set and the original plate opening set. If the opening does not exist, assign a value to the preset opening attribute to obtain the preset opening set. A reserved opening set acquisition module filters the preset opening set based on the opening attribute assignment to obtain a second filtered set, so that the second filtered set contains only one of the wall openings or floor openings. It is determined whether the distance between two preset openings in the second filtered set is less than a preset threshold. If so, the preset openings are merged to obtain the reserved opening set. Opening set acquisition module: merges the reserved opening set with the original wall opening set or the original slab opening set, and determines whether the distance between the two openings in the merged set is less than the preset threshold. If so, merge the preset openings to obtain the BIM opening set.

7. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, a method for generating a reserved opening based on a BIM model as claimed in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements a method for generating a reserved opening based on a BIM model as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for arranging pipeline reserved holes

    CN117633941A