CN113987666B - BIM (building information modeling) model examination method, device, equipment and storage medium - Google Patents
BIM (building information modeling) model examination method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113987666B CN113987666B CN202111626250.2A CN202111626250A CN113987666B CN 113987666 B CN113987666 B CN 113987666B CN 202111626250 A CN202111626250 A CN 202111626250A CN 113987666 B CN113987666 B CN 113987666B
- Authority
- CN
- China
- Prior art keywords
- plane
- component
- target
- projection data
- state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/003—Reconstruction from projections, e.g. tomography
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Abstract
The invention relates to the field of model examination, and discloses a BIM (building information modeling) model examination method, a BIM model examination device, BIM model examination equipment and a storage medium. The method comprises the following steps: acquiring a component set of a BIM model to be examined; according to a preset analysis algorithm, performing component collision analysis on all components in the component set to obtain a collision state of each component in the component set, wherein the collision state comprises: an overlapping state; judging whether the collision states of the members in the member set have an overlapping state or not; if the overlapping state exists, determining that the BIM model to be inspected is an unqualified BIM model; and if the overlapping state does not exist, determining that the BIM model to be inspected is a qualified BIM model.
Description
Technical Field
The invention relates to the field of model examination, in particular to a BIM (building information modeling) model examination method, a BIM model examination device, BIM model examination equipment and a storage medium.
Background
As BIM technology is applied at various stages of the construction engineering industry, model reviewers want to be able to more quickly understand the accuracy of the model throughout the life cycle of the project and reduce risk. In the traditional model examination, examiners need to compare two-dimensional models with three-dimensional models and select key samples for measurement and detection, so that the efficiency is low, and examination omission and errors are easy to occur.
In the field of model examination industry, the model examination is not integrally planned and designed, and a corresponding examination scheme is usually designed only aiming at a single examination rule. No redesign and planning of the whole is done based on the acquired component data. Since the original component data organization mode is linear, the computational complexity of search filtering is exponentially increased along with the increase of the model volume. In the algorithm for calculating the collision of the structural members, the structural members are usually directly converted into corresponding geometric bodies, and if the intersection or union calculation is directly performed among a plurality of spatial geometric bodies, the calculation performance is slow. Therefore, a technique for solving the problem of slow computation speed due to excessive resource occupation of the computer in the BIM model examination is needed.
Disclosure of Invention
The invention mainly aims to solve the technical problem of slow calculation speed caused by excessive resource occupation of a computer in BIM model examination.
The invention provides a BIM (building information modeling) model examination method in a first aspect, which comprises the following steps:
acquiring a component set of a BIM model to be examined;
according to a preset analysis algorithm, performing component collision analysis on all components in the component set to obtain a collision state of each component in the component set, wherein the collision state comprises: an overlapping state;
judging whether the collision states of the members in the member set have an overlapping state or not;
if the overlapping state exists, determining that the BIM model to be inspected is an unqualified BIM model;
if the overlapping state does not exist, determining the BIM model to be inspected as a qualified BIM model;
wherein, the performing component collision analysis on all the components in the component set according to a preset analysis algorithm to obtain a collision state of each component in the component set comprises:
sequentially reading the components in the component set, and determining the read components as target components;
determining whether the target member is a rotating body, wherein the target member includes: a quadrangular frustum pyramid;
if the target component is a rotating body, reading eight vertex coordinates of the target component, calculating the sphere center and the radius of an circumscribed sphere corresponding to the eight vertex coordinates, and performing projection analysis processing on the circumscribed sphere according to the sphere center and the radius of the circumscribed sphere to obtain the collision state of the target component;
and if the target member is not a rotating body, performing state analysis processing on the target member to obtain the collision state of the target member.
Optionally, in a first implementation manner of the first aspect of the present invention, the collision state further includes: in a non-overlapping state, the obtaining of the collision state of the target member by performing projection analysis processing on the circumscribed sphere according to the center and the radius of the circumscribed sphere includes:
constructing a universal coordinate system XYZ, and sequentially projecting all components except the target component in the component set on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain three-surface projection data sets of N non-target components, wherein N is a positive integer;
projecting the circumscribed sphere on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain a circumscribed sphere projection data set;
judging whether the external sphere projection data set has an overlapping condition on an XY plane, a YZ plane and an XZ plane relative to all the three-plane projection data sets;
if the target components exist, determining that the target components corresponding to the circumscribed balls are in an overlapped state;
and if the difference exists, determining that the target component corresponding to the circumscribed ball is in a non-overlapped state.
Optionally, in a second implementation manner of the first aspect of the present invention, the determining whether at least one overlapping condition data exists on the XY plane, the YZ plane, and the XZ plane of the circumscribed sphere projection data set relative to all the three-plane projection data sets;
judging whether the circumscribed sphere projection data set overlaps on an XY plane relative to the three-plane projection data set, judging whether the circumscribed sphere projection data set overlaps on a YZ plane relative to the three-plane projection data set, and judging whether the circumscribed sphere projection data set overlaps on an XZ plane relative to the three-plane projection data set.
Optionally, in a third implementation manner of the first aspect of the present invention, the performing state analysis processing on the target member to obtain the collision state of the target member includes:
calculating a minimum contained cuboid of the target component to obtain a target cuboid;
calculating the minimum contained cuboids corresponding to all the members of the non-target members in the member set to obtain a comparison cuboid set;
whether the target cuboid is overlapped with the comparison cuboids in the comparison cuboid set or not is determined based on Boolean calculation;
if the target components exist, the target components corresponding to the determined target cuboid are in an overlapped state;
and if the target components are not overlapped, the target components corresponding to the determined target cuboid are in a non-overlapped state.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the calculating a minimum accommodation rectangular parallelepiped of the target member to obtain the target rectangular parallelepiped includes:
constructing a universal coordinate system XYZ, and reading the X maximum value, the X minimum value, the Y maximum value, the Y minimum value, the Z maximum value and the Z minimum value of the target component under the constructed universal coordinate system XYZ;
and constructing a cuboid with the surface parallel to the universal coordinate system XYZ according to the X maximum value, the X minimum value, the Y maximum value, the Y minimum value, the Z maximum value and the Z minimum value, and determining the cuboid as a target cuboid.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the performing state analysis processing on the target member to obtain the collision state of the target member includes:
constructing a surface three-dimensional coordinate system by taking any surface of the target component as an XY surface, and projecting the target component on the XY surface, the YZ surface and the XZ surface of the surface three-dimensional coordinate system to obtain target three-surface projection data;
selecting an analysis component of a non-target component in the component set, and projecting the analysis component on an XY plane, a YZ plane and an XZ plane of the surface three-dimensional coordinate system to obtain analysis three-plane projection data;
judging whether the target three-side projection data are overlapped on XY planes, YZ planes and XZ planes relative to the analysis three-side projection data;
if the target components exist, determining that the target components are in an overlapped state;
if the non-uniformity exists, determining that the target component is in a non-overlapped state.
A second aspect of the present invention provides a BIM model checking apparatus, including:
the acquisition module is used for acquiring a component set of the BIM to be inspected;
an analysis module, configured to perform component collision analysis on all components in the component set according to a preset analysis algorithm to obtain a collision state of each component in the component set, where the collision state includes: an overlapping state;
the judging module is used for judging whether the collision state of the components in the component set has an overlapping state;
the first determination module is used for determining the BIM model to be examined as an unqualified BIM model if an overlapping state exists;
the second determination module is used for determining the BIM model to be inspected as a qualified BIM model if the overlapping state does not exist;
wherein the analysis module comprises:
a reading unit, configured to sequentially read the components in the component set, and determine the read components as target components;
a determination unit configured to determine whether the target member is a rotating body, wherein the target member includes: a quadrangular frustum pyramid;
the first collision analysis unit is used for reading eight vertex coordinates of a target component if the target component is a rotating body, calculating the sphere center and the radius of an circumscribed sphere corresponding to the eight vertex coordinates, and performing projection analysis processing on the circumscribed sphere according to the sphere center and the radius of the circumscribed sphere to obtain a collision state of the target component;
and a second collision analysis unit for performing state analysis processing on the target member to obtain a collision state of the target member if the target member is not a rotating body.
A third aspect of the present invention provides a BIM model checking apparatus, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the BIM model review device to perform the BIM model review method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the BIM model audit method described above.
In the embodiment of the invention, the BIM is disassembled and analyzed, and the spatial collision calculation is converted into Boolean calculation based on the projection on the two-dimensional surface of the same coordinate system, so that the resources occupied by the whole operation are reduced. In addition, for better projection effect, the minimum circumscribed simulation rule object is used for replacing, so that the consumed computing resource can be reduced, the processing requirement in the auditing process is met, excessive computer resource consumption cannot be generated, and the technical problem that the computing speed is slow due to excessive occupied resources of the computer in the BIM model auditing is solved.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a BIM model examination method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an embodiment of organization of data of raw components of a BIM model examination method according to the present invention;
FIG. 3 is a schematic diagram of an embodiment of an information organization method in an optimized component of a BIM model examination method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of a BIM examination apparatus according to the present invention;
FIG. 5 is a schematic diagram of another embodiment of a BIM examination apparatus according to the present invention;
fig. 6 is a schematic diagram of an embodiment of a BIM model examination device in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a BIM (building information modeling) model examination method, a BIM model examination device, BIM model examination equipment and a storage medium.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow of an embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a BIM model checking method according to an embodiment of the present invention includes:
101. acquiring a component set of a BIM model to be examined;
in the present embodiment, the components in the BIM model include instance attribute parameters and type attribute parameters. The data information amount is complicated and irregular. In order to improve the efficiency of component search, the content of the component storage is decomposed into two parts: element head and element body. We store attribute information in the element header that is more frequently searched and critical, such as: the ID of the component, the name of the component, the category to which the component belongs, the category ID to which the component belongs, the type ID to which the component belongs, and the like, and the stored information is very small; most detailed information is stored in the element body, including information that is not frequently searched, non-critical information, information with a large data size, such as attribute information of the component, aggregate information of the component, and the like. When trying to acquire information of a component, if the component information to be acquired is already contained in the element header, the content of the element body is not analyzed, so that the memory occupation is saved, and the access speed is also improved. And only when the acquired component information is absent in the element head, the content of the element body is loaded into the memory for analysis. And (4) re-analyzing the data of the component based on a large amount of examination rules, storing data information needing frequent filtering in an element head, and storing general data in an element body. When filtering the search means, only the data information of the element header needs to be retrieved. The efficiency of filtering component has very big promotion. As shown in fig. 2, the data in the original component is organized. As shown in fig. 3, in order to organize the information in the optimized component: and respectively distributing the attributes to the corresponding element heads and element bodies. When we search the filtering components based on some information, in the original filtering mode, the number of times of searching each component is m × n number levels (m is the number of components, n is the number of attributes, and n is 100 levels), after we re-analyze the attributes of the components, the filtered information is stored in the element header, fast filtering can be adopted, and the number of times of searching each component can be optimized to m number levels. When we search for filtered information stored in the element body, it is still inefficient if the information in the element body is directly filtered. We provide a feasible way to achieve the enhancement of the review efficiency through the combination of multiple rapid filters.
Therefore, when filtering, the component may filter based on the whole document model (slower), add a layer of fast filtering, filter elements in a certain view in the document (faster), and even add a layer of fast filtering, and implement fast filtering based on a certain horizontal layer or based on a certain bounding set (faster), continuous constraint, and through the intersection combination of the fast filtering.
102. According to a preset analysis algorithm, performing component collision analysis on all components in the component set to obtain a collision state of each component in the component set, wherein the collision state comprises: an overlapping state;
in the embodiment, there are many members in the member set, and whether the members have collision states with each other is specifically analyzed, where the collision states have an overlapping state, which means that actual physical rules are violated between two members, and the collision states are practically impossible to be realized in the building industry.
Further, step 102 further includes the following steps:
1021. sequentially reading the components in the component set, and determining the read components as target components;
1022. determining whether the target member is a rotating body, wherein the target member includes: a quadrangular frustum pyramid;
1023. if the target component is a rotating body, reading eight vertex coordinates of the target component, calculating the sphere center and the radius of an circumscribed sphere corresponding to the eight vertex coordinates, and performing projection analysis processing on the circumscribed sphere according to the sphere center and the radius of the circumscribed sphere to obtain the collision state of the target component;
1024. and if the target member is not a rotating body, performing state analysis processing on the target member to obtain the collision state of the target member.
In 1021-.
Firstly, a target component is judged, and when the target component is a rotating body, a surrounding ball mode is adopted for a model which can rotate. Relative to the hexahedron of the bounding box, the bounding sphere is a sphere that encloses the entire geometry. The surrounding ball does not need to be updated when the member is in rotational motion. Firstly, 8 vertexes of the component surrounding set on x, y and z coordinates are calculated, the sphere center of a surrounding sphere is determined according to the 8 vertexes, and then the radius r is determined according to the distance between the sphere center and three maximum value coordinate points. When the collision detection of the component model conforming to the surrounding ball is calculated, the radius between the two balls and the distance between the two balls and the center of the ball are mainly compared, and the surrounding ball can also be used as a projection basis to be projected into each two-dimensional plane for comparison and whether the two-dimensional planes are overlapped or not.
When the target member is not a rotating body, the target member can be judged by conventional analysis.
Further, the collision state further includes: non-overlapping state, 1023 may also perform the following steps:
10231. constructing a universal coordinate system XYZ, and sequentially projecting all components except the target component in the component set on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain three-surface projection data sets of N non-target components, wherein N is a positive integer;
10232. projecting the circumscribed sphere on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain a circumscribed sphere projection data set;
10233. judging whether the circumscribed sphere projection data set has overlapping conditions on an XY plane, a YZ plane and an XZ plane relative to all the three-plane projection data sets;
10234. if the target components exist, determining that the target components corresponding to the circumscribed balls are in an overlapped state;
10235. and if the difference exists, determining that the target component corresponding to the circumscribed ball is in a non-overlapped state.
In the 10231-10234 step, the universal coordinate system XYZ is such that all the components except the target component in the component set can be projected on the XY plane, YZ plane and XZ plane in the universal coordinate system XYZ in sequence by taking the horizontal plane as the XY plane basis, and then N three-surface projection data sets are obtained, wherein each three-surface projection data set has one projection data on the XY plane, the YZ plane and the XZ plane.
And projecting the circumscribed sphere on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain a circumscribed sphere projection data set, wherein the circumscribed sphere projection data set respectively has a projection data on the XY plane, the YZ plane and the XZ plane.
In the judging process, projection superposition conditions on the XY plane, the YZ plane and the XZ plane are sequentially compared by projection of the circumscribed sphere in the XY plane, the YZ plane and the XZ plane in the universal coordinate system XYZ and projection of the selecting member on the XY plane, the YZ plane and the XZ plane.
Further, at 10233 the following steps may be performed:
102331, determining whether the circumscribed sphere projection data set overlaps the three-plane projection data set on the XY plane, determining whether the circumscribed sphere projection data set overlaps the three-plane projection data set on the YZ plane, and determining whether the circumscribed sphere projection data set overlaps the three-plane projection data set on the XZ plane.
In the 102331 step, the XY plane, the YZ plane, and the XZ plane are compared individually, and determination processing may be performed simultaneously using different threads, and it is not necessary to perform determination by comparing the YZ plane after reading one XY plane.
Further, in step 1024, the following steps may be performed:
10241. calculating a minimum contained cuboid of the target component to obtain a target cuboid;
10242. calculating the minimum contained cuboids corresponding to all the members of the non-target members in the member set to obtain a comparison cuboid set;
10243. based on Boolean calculation, whether the target cuboid is overlapped with comparison cuboids in the comparison cuboid set or not is judged;
10244. if the target components exist, the target components corresponding to the determined target cuboid are in an overlapped state;
10245. and if the target components are not overlapped, the target components corresponding to the determined target cuboid are in a non-overlapped state.
In the 10241-10245 embodiment, if the two directional bounding boxes do not collide, then a plane on which a face of one box is located should be found, and the three-dimensional space can be divided into two parts, with the two directional bounding boxes on either side; if such a surface is not found to exist, one edge can be found on each of the two directional bounding boxes, and the plane of the two edges can divide the two directional bounding boxes into two sides. When this plane is found, one can find the coordinate axis perpendicular to this plane, and when we project the orientation bounding box on the coordinate axis, the projections are separate. When we check for collision, since each direction bounding box has 6 surfaces, wherein each two surfaces are parallel, only 3 surfaces of each direction bounding box need to be projected on the XY, XZ, YZ coordinate plane respectively, and each projection is overlapped, then it is determined as collision. For models that are inclined at a large angle relative to a horizontal or vertical plane, we use a directional bounding box. The difference between the 2 particles generated by the bounding box is based on horizontal and vertical, with particles generated by directional bounding boxes still being based on vertical, but with the horizontal direction being the direction of the longest axis of the component to determine the particles. When we calculate the collision detection conforming to the direction bounding box, only need to calculate whether there is overlap in the projection of the geometry on each coordinate plane, if there is overlap, then the component is a collision, otherwise no collision occurs. And computing a projection is converting three dimensions into two-dimensional computation.
Further, in step 10241, the following steps may be performed:
102411, constructing a universal coordinate system XYZ, and reading X maximum value, X minimum value, Y maximum value, Y minimum value, Z maximum value and Z minimum value of the target component in the universal coordinate system XYZ;
102412, constructing a cuboid with the surface parallel to the universal coordinate system XYZ according to the X maximum value, the X minimum value, the Y maximum value, the Y minimum value, the Z maximum value and the Z minimum value, and determining the cuboid as a target cuboid.
In 102411-102412, we use bounding boxes to approximately replace complex models for models that are large in size and simple in characteristics. The bounding box of the component contains 2 particles (xmin, ymin, zmin), (xmax, ymax, zmax), and any point on the surface of the component satisfies the following condition: { xmin < = x < = xmax, ymin < = y < = ymax, zmin < = z < = zmax }. When the collision detection of the component model conforming to the bounding set is calculated, the spatial calculation is converted into Boolean calculation, and the efficiency is greatly improved.
Further, in the 1024 step, the following steps may be performed:
10246. constructing a surface three-dimensional coordinate system by taking any surface of the target component as an XY surface, and projecting the target component on the XY surface, the YZ surface and the XZ surface of the surface three-dimensional coordinate system to obtain target three-surface projection data;
10247. selecting an analysis component of a non-target component in the component set, and projecting the analysis component on an XY plane, a YZ plane and an XZ plane of the surface three-dimensional coordinate system to obtain analysis three-plane projection data;
10248. judging whether the target three-side projection data are overlapped on XY planes, YZ planes and XZ planes relative to the analysis three-side projection data;
10249. if the target components exist, determining that the target components are in an overlapped state;
1024a1, if none are present, determining that the target member is in a non-overlapping state.
In the 10246-1024A1 steps, if the two directional bounding boxes do not collide, the plane of one face on one box should be found, and the three-dimensional space can be divided into two parts, with the two directional bounding boxes on two sides; if such a surface is not found to exist, one edge can be found on each of the two directional bounding boxes, and the plane of the two edges can divide the two directional bounding boxes into two sides. When this plane is found, one can find the coordinate axis perpendicular to this plane, and when we project the orientation bounding box on the coordinate axis, the projections are separate.
103. Judging whether the collision states of the members in the member set have an overlapping state or not;
104. if the overlapping state exists, determining that the BIM model to be inspected is an unqualified BIM model;
105. and if the overlapping state does not exist, determining that the BIM model to be inspected is a qualified BIM model.
In the step 103-105, if the collision state is determined to have the overlapping state, it indicates that the content of the BIM model that cannot be realized in the physical reality state exists in the BIM model. And the collision state is not in an overlapping state, and the data of the BIM model can be realized in a physical reality state, so that the BIM model to be inspected is determined to be a qualified BIM model.
In the embodiment of the invention, the BIM is disassembled and analyzed, and the spatial collision calculation is converted into Boolean calculation based on the projection on the two-dimensional surface of the same coordinate system, so that the resources occupied by the whole operation are reduced. In addition, for better projection effect, the minimum circumscribed simulation rule object is used for replacing, so that the consumed computing resource can be reduced, the processing requirement in the auditing process is met, excessive computer resource consumption cannot be generated, and the technical problem that the computing speed is slow due to excessive occupied resources of the computer in the BIM model auditing is solved.
The above describes the BIM model examination method in the embodiment of the present invention, and the following describes the BIM model examination apparatus in the embodiment of the present invention, referring to fig. 4, an embodiment of the BIM model examination apparatus in the embodiment of the present invention includes:
an obtaining module 401, configured to obtain a component set of a to-be-examined BIM model;
an analysis module 402, configured to perform a component collision analysis on all components in the component set according to a preset analysis algorithm, to obtain a collision status of each component in the component set, where the collision status includes: an overlapping state;
a judging module 403, configured to judge whether there is an overlapping state in the collision states of the members in the member set;
a first determining module 404, configured to determine, if an overlapping state exists, that the BIM model to be inspected is an unqualified BIM model;
a second determining module 405, configured to determine that the BIM model to be inspected is a qualified BIM model if there is no overlapping state;
wherein the analysis module 402 comprises:
a reading unit 4021, configured to sequentially read components in the component set, and determine the read components as target components;
a determination unit 4022 configured to determine whether the target member is a rotating body, wherein the target member includes: a quadrangular frustum pyramid;
the first collision analysis unit 4023 is configured to, if the target component is a rotating body, read eight vertex coordinates of the target component, calculate a center and a radius of an inscribed sphere corresponding to the eight vertex coordinates, and perform projection analysis processing on the inscribed sphere according to the center and the radius of the inscribed sphere to obtain a collision state of the target component;
the second collision analysis unit 4024 is configured to perform a state analysis process on the target member to obtain a collision state of the target member if the target member is not a rotating body.
In the embodiment of the invention, the BIM is disassembled and analyzed, and the spatial collision calculation is converted into Boolean calculation based on the projection on the two-dimensional surface of the same coordinate system, so that the resources occupied by the whole operation are reduced. In addition, for better projection effect, the minimum circumscribed simulation rule object is used for replacing, so that the consumed computing resource can be reduced, the processing requirement in the auditing process is met, excessive computer resource consumption cannot be generated, and the technical problem that the computing speed is slow due to excessive occupied resources of the computer in the BIM model auditing is solved.
Referring to fig. 5, another embodiment of the BIM model checking apparatus according to the embodiment of the present invention includes:
an obtaining module 401, configured to obtain a component set of a to-be-examined BIM model;
an analysis module 402, configured to perform a component collision analysis on all components in the component set according to a preset analysis algorithm, to obtain a collision status of each component in the component set, where the collision status includes: an overlapping state;
a judging module 403, configured to judge whether there is an overlapping state in the collision states of the members in the member set;
a first determining module 404, configured to determine, if an overlapping state exists, that the BIM model to be inspected is an unqualified BIM model;
a second determining module 405, configured to determine that the BIM model to be inspected is a qualified BIM model if there is no overlapping state.
Wherein the analysis module 402 comprises:
a reading unit 4021, configured to sequentially read components in the component set, and determine the read components as target components;
a determination unit 4022 configured to determine whether the target member is a rotating body, wherein the target member includes: a quadrangular frustum pyramid;
the first collision analysis unit 4023 is configured to, if the target component is a rotating body, read eight vertex coordinates of the target component, calculate a center and a radius of an inscribed sphere corresponding to the eight vertex coordinates, and perform projection analysis processing on the inscribed sphere according to the center and the radius of the inscribed sphere to obtain a collision state of the target component;
the second collision analysis unit 4024 is configured to perform a state analysis process on the target member to obtain a collision state of the target member if the target member is not a rotating body.
The first collision analysis unit 4023 is specifically configured to:
constructing a universal coordinate system XYZ, and sequentially projecting all components except the target component in the component set on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain three-surface projection data sets of N non-target components, wherein N is a positive integer;
projecting the circumscribed sphere on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain a circumscribed sphere projection data set;
judging whether the circumscribed sphere projection data set has overlapping conditions on an XY plane, a YZ plane and an XZ plane relative to all the three-plane projection data sets;
if the target components exist, determining that the target components corresponding to the circumscribed balls are in an overlapped state;
and if the difference exists, determining that the target component corresponding to the circumscribed ball is in a non-overlapped state.
The first collision analysis unit 4023 is further specifically configured to:
judging whether the circumscribed sphere projection data set overlaps on an XY plane relative to the three-plane projection data set, judging whether the circumscribed sphere projection data set overlaps on a YZ plane relative to the three-plane projection data set, and judging whether the circumscribed sphere projection data set overlaps on an XZ plane relative to the three-plane projection data set.
The second collision analysis unit 4024 is specifically configured to:
calculating a minimum contained cuboid of the target component to obtain a target cuboid;
calculating the minimum contained cuboids corresponding to all the members of the non-target members in the member set to obtain a comparison cuboid set;
based on Boolean calculation, whether the target cuboid is overlapped with comparison cuboids in the comparison cuboid set or not is judged;
if the target components exist, the target components corresponding to the determined target cuboid are in an overlapped state;
and if the target components are not overlapped, the target components corresponding to the determined target cuboid are in a non-overlapped state.
Wherein the second collision analysis unit 4024 includes:
a coordinate system constructing subunit 40241, configured to construct a universal coordinate system XYZ, and read the X maximum value, the X minimum value, the Y maximum value, the Y minimum value, the Z maximum value, and the Z minimum value of the target component in the constructed universal coordinate system XYZ;
a cuboid construction subunit 40242, configured to construct a cuboid whose surface is parallel to the universal coordinate system XYZ based on the X maximum value, the X minimum value, the Y maximum value, the Y minimum value, the Z maximum value, and the Z minimum value, and determine the cuboid as a target cuboid.
The second collision analysis unit 4024 is further specifically configured to:
constructing a surface three-dimensional coordinate system by taking any surface of the target component as an XY surface, and projecting the target component on the XY surface, the YZ surface and the XZ surface of the surface three-dimensional coordinate system to obtain target three-surface projection data;
selecting an analysis component of a non-target component in the component set, and projecting the analysis component on an XY plane, a YZ plane and an XZ plane of the surface three-dimensional coordinate system to obtain analysis three-plane projection data;
judging whether the target three-side projection data are overlapped on XY planes, YZ planes and XZ planes relative to the analysis three-side projection data;
if the target components exist, determining that the target components are in an overlapped state;
and if the two components are not overlapped, determining that the target components are in a non-overlapped state.
In the embodiment of the invention, the BIM is disassembled and analyzed, and the spatial collision calculation is converted into Boolean calculation based on the projection on the two-dimensional surface of the same coordinate system, so that the resources occupied by the whole operation are reduced. In addition, for better projection effect, the minimum circumscribed simulation rule object is used for replacing, so that the consumed computing resource can be reduced, the processing requirement in the auditing process is met, excessive computer resource consumption cannot be generated, and the technical problem that the computing speed is slow due to excessive occupied resources of the computer in the BIM model auditing is solved.
Fig. 4 and 5 describe the BIM model examination device in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the BIM model examination device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 6 is a schematic structural diagram of a BIM model checking apparatus 600 according to an embodiment of the present invention, which may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 610 (e.g., one or more processors) and a memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) for storing applications 633 or data 632. Memory 620 and storage medium 630 may be, among other things, transitory or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations in the BIM model screening apparatus 600. Still further, the processor 610 may be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the BIM model review device 600.
The BIM-model-based review device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input-output interfaces 660, and/or one or more operating systems 631, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. It will be appreciated by those skilled in the art that the BIM model review device configuration shown in fig. 6 does not constitute a limitation of a BIM model-based review device, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the steps of the BIM model audit method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (4)
1. A BIM model examination method is characterized by comprising the following steps:
acquiring a component set of a BIM model to be examined;
according to a preset analysis algorithm, performing component collision analysis on all components in the component set to obtain a collision state of each component in the component set, wherein the collision state comprises: an overlapping state;
judging whether the collision states of the members in the member set have an overlapping state or not;
if the overlapping state exists, determining that the BIM model to be inspected is an unqualified BIM model;
if the overlapping state does not exist, determining the BIM model to be inspected as a qualified BIM model;
wherein, the performing component collision analysis on all the components in the component set according to a preset analysis algorithm to obtain a collision state of each component in the component set comprises:
sequentially reading the components in the component set, and determining the read components as target components;
determining whether the target member is a rotating body, wherein the target member includes: a quadrangular frustum pyramid;
if the target component is a rotating body, reading eight vertex coordinates of the target component, calculating the sphere center and the radius of an circumscribed sphere corresponding to the eight vertex coordinates, and performing projection analysis processing on the circumscribed sphere according to the sphere center and the radius of the circumscribed sphere to obtain the collision state of the target component;
if the target component is not a rotating body, performing state analysis processing on the target component to obtain a collision state of the target component;
wherein the collision status further comprises: in a non-overlapping state, the obtaining of the collision state of the target member by performing projection analysis processing on the circumscribed sphere according to the center and the radius of the circumscribed sphere includes:
constructing a universal coordinate system XYZ, and sequentially projecting all components except the target component in the component set on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain three-surface projection data sets of N non-target components, wherein N is a positive integer;
projecting the circumscribed sphere on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain a circumscribed sphere projection data set;
judging whether the circumscribed sphere projection data set has overlapping conditions on an XY plane, a YZ plane and an XZ plane relative to all the three-plane projection data sets;
if the target components exist, determining that the target components corresponding to the circumscribed balls are in an overlapped state;
if the difference exists, determining that the target component corresponding to the circumscribed ball is in a non-overlapped state;
wherein the determining whether the epi-sphere projection data set overlaps with respect to all of the three-plane projection data sets on XY planes, YZ planes, and XZ planes includes:
judging whether the external sphere projection data set is overlapped on an XY plane relative to the three-plane projection data set or not, judging whether the external sphere projection data set is overlapped on a YZ plane relative to the three-plane projection data set or not, and judging whether the external sphere projection data set is overlapped on an XZ plane relative to the three-plane projection data set or not;
wherein the performing of the state analysis processing on the target member to obtain the collision state of the target member includes:
constructing a surface three-dimensional coordinate system by taking any surface of the target component as an XY surface, and projecting the target component on the XY surface, the YZ surface and the XZ surface of the surface three-dimensional coordinate system to obtain target three-surface projection data;
selecting an analysis component of a non-target component in the component set, and projecting the analysis component on an XY plane, a YZ plane and an XZ plane of the surface three-dimensional coordinate system to obtain analysis three-plane projection data;
judging whether the target three-side projection data are overlapped on XY planes, YZ planes and XZ planes relative to the analysis three-side projection data;
if the target components exist, determining that the target components are in an overlapped state;
and if the two components are not overlapped, determining that the target components are in a non-overlapped state.
2. A BIM model checking apparatus, comprising:
the acquisition module is used for acquiring a component set of the BIM model to be inspected;
an analysis module, configured to perform component collision analysis on all components in the component set according to a preset analysis algorithm to obtain a collision state of each component in the component set, where the collision state includes: an overlapping state;
the judging module is used for judging whether the collision state of the components in the component set has an overlapping state;
the first determination module is used for determining the BIM model to be examined as an unqualified BIM model if an overlapping state exists;
the second determination module is used for determining the BIM model to be inspected as a qualified BIM model if the overlapping state does not exist;
wherein the analysis module comprises:
a reading unit, configured to sequentially read the components in the component set, and determine the read components as target components;
a determination unit configured to determine whether the target member is a rotating body, wherein the target member includes: a quadrangular frustum pyramid;
the first collision analysis unit is used for reading eight vertex coordinates of a target component if the target component is a rotating body, calculating the sphere center and the radius of an circumscribed sphere corresponding to the eight vertex coordinates, and performing projection analysis processing on the circumscribed sphere according to the sphere center and the radius of the circumscribed sphere to obtain a collision state of the target component;
the second collision analysis unit is used for performing state analysis processing on the target component to obtain the collision state of the target component if the target component is not a rotating body;
wherein the first collision analysis unit is specifically configured to:
constructing a universal coordinate system XYZ, and sequentially projecting all components except the target component in the component set on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain three-surface projection data sets of N non-target components, wherein N is a positive integer;
projecting the circumscribed sphere on an XY plane, a YZ plane and an XZ plane in the universal coordinate system XYZ to obtain a circumscribed sphere projection data set;
judging whether the circumscribed sphere projection data set has overlapping conditions on an XY plane, a YZ plane and an XZ plane relative to all the three-plane projection data sets;
if the target components exist, determining that the target components corresponding to the circumscribed balls are in an overlapped state;
if the difference exists, determining that the target component corresponding to the circumscribed ball is in a non-overlapped state;
wherein the first collision analysis unit is further specifically configured to:
judging whether the circumscribed sphere projection data set overlaps on an XY plane relative to the three-plane projection data set, judging whether the circumscribed sphere projection data set overlaps on a YZ plane relative to the three-plane projection data set, and judging whether the circumscribed sphere projection data set overlaps on an XZ plane relative to the three-plane projection data set;
wherein the second collision analysis unit is further specifically configured to:
constructing a surface three-dimensional coordinate system by taking any surface of the target component as an XY surface, and projecting the target component on the XY surface, the YZ surface and the XZ surface of the surface three-dimensional coordinate system to obtain target three-surface projection data;
selecting an analysis component of a non-target component in the component set, and projecting the analysis component on an XY plane, a YZ plane and an XZ plane of the surface three-dimensional coordinate system to obtain analysis three-plane projection data;
judging whether the target three-side projection data are overlapped on XY planes, YZ planes and XZ planes relative to the analysis three-side projection data;
if the target components exist, determining that the target components are in an overlapped state;
and if the two components are not overlapped, determining that the target components are in a non-overlapped state.
3. A BIM model examination apparatus, comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the BIM model audit device to perform the BIM model audit method of claim 1.
4. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the BIM model review method as set forth in claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111626250.2A CN113987666B (en) | 2021-12-29 | 2021-12-29 | BIM (building information modeling) model examination method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111626250.2A CN113987666B (en) | 2021-12-29 | 2021-12-29 | BIM (building information modeling) model examination method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113987666A CN113987666A (en) | 2022-01-28 |
CN113987666B true CN113987666B (en) | 2022-08-12 |
Family
ID=79734748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111626250.2A Active CN113987666B (en) | 2021-12-29 | 2021-12-29 | BIM (building information modeling) model examination method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113987666B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114332441B (en) * | 2022-03-09 | 2022-05-31 | 四川新迎顺信息技术股份有限公司 | BIM-based drawing deepening method, device, equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112549043A (en) * | 2020-11-26 | 2021-03-26 | 广东博智林机器人有限公司 | Collision prediction method and device for construction operation equipment and construction operation equipment |
CN113211495A (en) * | 2021-04-12 | 2021-08-06 | 北京航天飞行控制中心 | Mechanical arm collision detection method and system, storage medium and mechanical arm |
CN113244622A (en) * | 2021-06-22 | 2021-08-13 | 腾讯科技(深圳)有限公司 | Collision data processing method and device, storage medium and electronic equipment |
CN113656858A (en) * | 2021-07-02 | 2021-11-16 | 中建七局安装工程有限公司 | Double-sphere nested structure digital-analog comparison method based on laser scanning point cloud and BIM model |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1760216A3 (en) * | 2005-09-01 | 2007-05-30 | Dr. Mirtsch GmbH | Structured material web made from a web material and method of making |
CN103722565B (en) * | 2014-01-23 | 2015-09-16 | 哈尔滨工业大学 | Anthropomorphic robot self collision monitoring system and method for supervising |
CN104240290B (en) * | 2014-07-23 | 2017-02-15 | 浙江工业大学 | Three-dimensional cable intersection detecting method based on bounding sphere models |
EP3062066A1 (en) * | 2015-02-26 | 2016-08-31 | Hexagon Technology Center GmbH | Determination of object data by template-based UAV control |
CN107116540B (en) * | 2016-02-24 | 2019-07-02 | 中国科学院沈阳计算技术研究所有限公司 | A kind of robot collision checking method surrounding structure based on SCS |
CN106682257B (en) * | 2016-11-16 | 2023-08-25 | 上海建工集团股份有限公司 | Construction facility BIM component library construction method |
CN108694191A (en) * | 2017-04-08 | 2018-10-23 | 大连万达集团股份有限公司 | The method of quick-searching component information in BIM models |
CN107341598B (en) * | 2017-06-23 | 2020-07-31 | 清华大学 | Semantic and geometric calculation combined complex building specification conformance detection device and method |
CN110992460B (en) * | 2019-11-26 | 2023-05-16 | 深圳市毕美科技有限公司 | Model fluency display method, system, device and storage medium for mobile equipment |
CN112372631B (en) * | 2020-10-05 | 2022-03-15 | 华中科技大学 | Rapid collision detection method and device for robot machining of large complex component |
-
2021
- 2021-12-29 CN CN202111626250.2A patent/CN113987666B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112549043A (en) * | 2020-11-26 | 2021-03-26 | 广东博智林机器人有限公司 | Collision prediction method and device for construction operation equipment and construction operation equipment |
CN113211495A (en) * | 2021-04-12 | 2021-08-06 | 北京航天飞行控制中心 | Mechanical arm collision detection method and system, storage medium and mechanical arm |
CN113244622A (en) * | 2021-06-22 | 2021-08-13 | 腾讯科技(深圳)有限公司 | Collision data processing method and device, storage medium and electronic equipment |
CN113656858A (en) * | 2021-07-02 | 2021-11-16 | 中建七局安装工程有限公司 | Double-sphere nested structure digital-analog comparison method based on laser scanning point cloud and BIM model |
Non-Patent Citations (1)
Title |
---|
基于BIM的图纸审查信息提取方法研究;程嗣睿;《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》;20200315(第3期);C038-249 * |
Also Published As
Publication number | Publication date |
---|---|
CN113987666A (en) | 2022-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10438407B2 (en) | Solid modeler that provides spatial gradients of 3D CAD models of solid objects | |
US8217938B2 (en) | Method and apparatus for determining item orientation | |
Capizzano | Automatic generation of locally refined Cartesian meshes: Data management and algorithms | |
CN113987666B (en) | BIM (building information modeling) model examination method, device, equipment and storage medium | |
CN113724401A (en) | Three-dimensional model cutting method and device, computer equipment and storage medium | |
CN114722745A (en) | Turbulent flow wall surface distance calculation method and device, computer equipment and storage medium | |
Shostko et al. | Surface triangulation over intersecting geometries | |
Sorgente et al. | Polyhedron kernel computation using a geometric approach | |
Schifko et al. | Industrial application of exact boolean operations for meshes | |
Bergs et al. | Development of a voxelization tool for the calculation of vector-based workpiece representations | |
CN111310349A (en) | Data processing and analyzing method suitable for discrete element calculation information continuous display | |
Inoue et al. | Solid model reconstruction of wireframe CAD models based on topological embeddings of planar graphs | |
US20070233432A1 (en) | Method and Its Program for Cell Labeling of Volume Data | |
Shewchuk | Lecture notes on geometric robustness | |
Myers et al. | Point distance and orthogonal range problems with dependent geometric uncertainties | |
Inui et al. | Shrinking sphere: A parallel algorithm for computing the thickness of 3D objects | |
CN110929435B (en) | Spatially aware detection of trap support areas in 3D printing | |
Cui et al. | Point-in-polyhedra test with direct handling of degeneracies | |
JP3792584B2 (en) | Tool path surface calculation method, tool path surface calculation program, and recording medium recording tool path surface calculation program | |
US20080189084A1 (en) | Computer aided modeling | |
Shellshear et al. | A multi-threaded algorithm for computing the largest non-colliding moving geometry | |
Gao et al. | Flip to regular triangulation and convex hull | |
Inui et al. | Contour-type cutter path computation using ultra-high-resolution dexel model | |
CN113744404B (en) | Comparison processing method and system of three-dimensional model | |
Strip et al. | Solid modeling on a massively parallel processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |