A method and device for determining quantities of a BIM model and a storage medium

By obtaining the collision relationship between the current component and colliding components in the BIM model, and deducting them one by one based on a preset order and rules, the problem of complex and inaccurate engineering quantity calculation in the existing technology is solved, and accurate calculation of engineering quantity is achieved.

CN115033948BActive Publication Date: 2025-12-23SHENZHEN CAPOL INT & ASSOC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210240576.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-10
Publication Date
2025-12-23
Estimated Expiration
2042-03-10

AI Technical Summary

Technical Problem

Existing methods for calculating quantities based on BIM models are complex and difficult to ensure accuracy, especially in complex or new model scenarios where they cannot accurately handle issues such as continuous deduction of multiple components and duplicate deduction between components.

Method used

By obtaining the collision relationship between the current component and colliding components, and based on the preset deduction order and rules, collision deduction is performed one by one to determine the engineering quantity of the BIM model, including volume and area.

Benefits of technology

This reduces the complexity of collision deduction and ensures the accuracy of engineering quantity calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115033948B_ABST
    Figure CN115033948B_ABST
Patent Text Reader

Abstract

The application discloses a kind of BIM model's engineering quantity determination method, device and storage medium, method includes: obtaining current component, determine the collision component that exists collision with current component, and obtain the collision relationship between current component and collision component;Determine the arrangement order of collision component based on the pre-set deduction sequence;Get the deduction rule corresponding to collision relationship, and based on arrangement order and deduction rule, use collision component to carry out collision deduction to current component, obtain the engineering quantity of BIM model, wherein, engineering quantity includes volume and area.The application can sort the collision component that exists collision with current component according to rule, then according to arrangement order and deduction rule, based on collision component, it is carried out collision deduction to current component one by one, instead of using the way of overall calculation, greatly reduce the scene complexity when collision deduction, ensure the accuracy of collision deduction, finally ensure the accuracy of engineering quantity calculation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of building technology, and in particular to a method and device for determining the quantity of a BIM model and a storage medium. BACKGROUND

[0002] In the prior art, the quantity calculation method based on the BIM model generally adopts a relatively primitive method, that is, by switching the connection relationship between components in Revit, the coincidence between components in the model is realized, and thus the quantity calculation is realized. However, the current method requires the modeler to be familiar with the quantity calculation rules, and the adjustment workload is large, and the rules cannot be quickly and flexibly adjusted according to the actual needs of the project to recalculate the quantity, which is basically a semi-automatic quantity calculation. Alternatively, in another way, without adjusting the connection relationship between components, the deduction between components in the model is realized, and thus the automatic calculation of the quantity is realized. However, such a method cannot accurately handle complex or new model scenarios, multiple component continuous deduction, and mutual repeated deduction between components, thereby affecting the accurate calculation of the quantity. As can be seen, the existing determination method of the quantity based on the BIM model is relatively complex, and is based on a whole calculation method, which is difficult to ensure the accuracy of the quantity calculation.

[0003] Therefore, the prior art still needs to be improved and enhanced. SUMMARY

[0004] The technical problem to be solved by the present application is to provide a method and device for determining the quantity of a BIM model and a storage medium, aiming at solving the problem that the existing determination method of the quantity based on the BIM model is relatively complex and is based on a whole calculation method, which is difficult to ensure the accuracy of the quantity calculation.

[0005] To solve the above technical problems, the technical solutions adopted by the present application are as follows:

[0006] In a first aspect, the present application provides a method for determining the quantity of a BIM model, wherein the method comprises:

[0007] obtaining a current component, determining a collision component that collides with the current component, and obtaining a collision relationship between the current component and the collision component;

[0008] determining the arrangement order of the collision component based on a preset deduction order;

[0009] obtaining a deduction rule corresponding to the collision relationship, and based on the arrangement order and the deduction rule, using the collision component to perform collision deduction on the current component one by one, to obtain the quantity of the BIM model, wherein the quantity includes volume and area.

[0010] In an implementation manner, the obtaining the current component and determining the collision component in collision with the current component comprises:

[0011] obtaining the current component and determining the component category of the current component;

[0012] obtaining the preset deduction rule according to the component category, and determining the collision component in collision with the current component based on the deduction rule.

[0013] In an implementation manner, when the engineering quantity is volume, the obtaining the deduction rule corresponding to the collision relationship and performing collision deduction on the current component one by one using the collision component based on the arrangement sequence and the deduction rule to obtain the engineering quantity of the BIM model comprises:

[0014] if the collision relationship is coincidence, determining a coincidence body coinciding between the collision component and the current component;

[0015] performing collision deduction on the original volume of the current component based on the volume of the coincidence body to obtain a remaining volume, and taking the remaining volume as the engineering quantity of the BIM model;

[0016] if the collision relationship is no coincidence, no volume collision deduction is performed.

[0017] In an implementation manner, when the engineering quantity is volume, the obtaining the deduction rule corresponding to the collision relationship and performing collision deduction on the current component one by one using the collision component based on the arrangement sequence and the deduction rule to obtain the engineering quantity of the BIM model comprises:

[0018] after completing the volume collision deduction of the current component by the collision component, it is judged whether all the collision components have completed the volume collision deduction on the current component;

[0019] if the volume collision deduction is not completed, the volume collision deduction is continued to be performed on the current component using the collision component which has not completed the volume collision deduction, until all the collision components complete the volume collision deduction.

[0020] In an implementation manner, when the engineering quantity is area, the obtaining the deduction rule corresponding to the collision relationship and performing collision deduction on the current component one by one using the collision component based on the arrangement sequence and the deduction rule to obtain the engineering quantity of the BIM model comprises:

[0021] if the collision relationship is coincidence with contact, determining a coincidence body coinciding between the collision component and the current component;

[0022] determining, based on the coincident body, that a first outer surface of the coincident body exists on an outer surface of the current component and that a second outer surface of the coincident body exists on the outer surface of the current component;

[0023] determining whether the deduction order of the current component is higher than the deduction order of the collision component;

[0024] if the deduction order of the current component is higher than the deduction order of the collision component, performing area collision deduction on the original area of the current component based on the second outer surface and removing the first outer surface therefrom to obtain the engineering quantity of the BIM model;

[0025] if the deduction order of the current component is lower than the deduction order of the collision component, performing area collision deduction on the original area of the current component based on the second outer surface to obtain the engineering quantity of the BIM model.

[0026] In an implementation manner, when the engineering quantity is an area, the obtaining of the deduction rule corresponding to the collision relationship and the performing of collision deduction on the current components one by one using the collision components based on the arrangement order and the deduction rule to obtain the engineering quantity of the BIM model, comprises:

[0027] if the collision relationship is coincident without contact, determining a coincident body between the collision component and the current component;

[0028] determining, based on the coincident body, that a second outer surface of the coincident body exists on an outer surface of the current component and that a second outer surface of the coincident body exists on the outer surface of the current component;

[0029] performing area collision deduction on the original area of the current component based on the second outer surface to obtain the engineering quantity of the BIM model.

[0030] In an implementation manner, when the engineering quantity is an area, the obtaining of the deduction rule corresponding to the collision relationship and the performing of collision deduction on the current components one by one using the collision components based on the arrangement order and the deduction rule to obtain the engineering quantity of the BIM model, comprises:

[0031] if the collision relationship is contact, determining a contact surface between the collision component and the current component;

[0032] performing area collision deduction on the original area of the current component based on the contact surface to obtain the engineering quantity of the BIM model.

[0033] In a second aspect, an embodiment of the present application further provides a device for determining an engineering quantity of a BIM model, wherein the device comprises:

[0034] a collision member determination module configured to acquire a current component, determine a collision component that collides with the current component, and obtain a collision relationship between the current component and the collision component;

[0035] an arrangement order determination module configured to determine an arrangement order of the collision component based on a preset deduction order;

[0036] an engineering quantity determination module configured to acquire a deduction rule corresponding to the collision relationship, and perform collision deduction on the current component using the collision component based on the arrangement order and the deduction rule, to obtain an engineering quantity of the BIM model, wherein the engineering quantity includes volume and area.

[0037] In a third aspect, an embodiment of the present application further provides a terminal device, wherein the terminal device comprises a memory, a processor, and a BIM model engineering quantity determination program stored in the memory and executable on the processor, and the processor implements the steps of the BIM model engineering quantity determination method according to any one of the above solutions when executing the BIM model engineering quantity determination program.

[0038] In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, wherein the computer readable storage medium stores a BIM model engineering quantity determination program, and the processor implements the steps of the BIM model engineering quantity determination method according to any one of the above solutions when executing the BIM model engineering quantity determination program.

[0039] Advantages: Compared with the prior art, the present application provides a BIM model engineering quantity determination method, which comprises the following steps: acquiring a current component, determining a collision component that collides with the current component, and obtaining a collision relationship between the current component and the collision component; determining an arrangement order of the collision component based on a preset deduction order; acquiring a deduction rule corresponding to the collision relationship, and performing collision deduction on the current component using the collision component based on the arrangement order and the deduction rule, to obtain an engineering quantity of the BIM model, wherein the engineering quantity includes volume and area. The present application can sort the collision components that collide with the current component according to rules, and then perform collision deduction on the current component based on the collision components according to the arrangement order and the deduction rule, instead of using an overall calculation method, which greatly reduces the scene complexity during collision deduction, ensures the accuracy of collision deduction, and finally ensures the accuracy of engineering quantity calculation. BRIEF DESCRIPTION OF DRAWINGS

[0040] Figure 1 The BIM model engineering quantity determination method provided by the embodiment of the present application is shown in the flowchart of the specific implementation manner.

[0041] Figure 2is the principle block diagram of the BIM model engineering quantity determination device provided by the embodiment of the present application.

[0042] Figure 3 is the internal structure principle block diagram of the terminal device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical scheme and effect of the present application more clear and definite, the present application will be further described in detail below with reference to the drawings and examples. It should be understood that the specific examples described herein are only used to explain the present application and not to limit the present application.

[0044] In the prior art, the BIM model-based engineering quantity calculation method generally adopts a relatively primitive method, that is, the connection relationship between the components is switched within Revit to realize that there is no overlap between the components in the model, thereby realizing the calculation of the engineering quantity. However, the current method requires the modeler to be familiar with the engineering quantity calculation rules, and the adjustment workload is large, and the rules cannot be quickly and flexibly adjusted according to the actual needs of the project to recalculate the engineering quantity, which basically belongs to semi-automatic engineering quantity calculation. Alternatively, in another way, without adjusting the connection relationship between the components, the deduction between the components in the model is realized, thereby realizing the automatic calculation of the engineering quantity. However, such a method cannot accurately handle complex or new model scenarios, multiple component continuous deduction, and repeated deduction between components, thereby affecting the accuracy of the engineering quantity calculation. As can be seen, the existing BIM model-based engineering quantity determination method is relatively complex and is based on the overall calculation method, which is difficult to ensure the accuracy of the engineering quantity calculation.

[0045] In order to solve the above technical problems, the present embodiment provides a BIM model engineering quantity determination method, which comprises: acquiring a current component, determining a collision component that exists collision with the current component, and obtaining a collision relationship between the current component and the collision component; determining the arrangement order of the collision component based on a preset deduction order; acquiring a deduction rule corresponding to the collision relationship, and based on the arrangement order and the deduction rule, using the collision component to perform collision deduction on the current component to obtain the engineering quantity of the BIM model, wherein the engineering quantity includes volume and area. The present application can sort the collision components that exist collision with the current component according to the rules, and then perform collision deduction on the current component one by one based on the collision components according to the arrangement order and the deduction rules, instead of using the overall calculation method, which greatly reduces the complexity of the scene during collision deduction, ensures the accuracy of the collision deduction, and finally ensures the accuracy of the engineering quantity calculation.

[0046] Exemplary method

[0047] The BIM model engineering quantity determination method of the present embodiment can be applied to a terminal device, which is a smart terminal product such as a mobile phone, a smart television, a computer, etc. Specifically, as shown inFigure 1 The method for determining the engineering quantity of the BIM model in the embodiment includes the following steps:

[0048] In step S100, a current component is acquired, a collision component in collision with the current component is determined, and a collision relationship between the current component and the collision component is obtained.

[0049] In the embodiment, when the terminal device performs engineering quantity calculation based on the BIM model, the terminal device first acquires a current component. Since the current component overlaps with other components in a BIM model, in order to accurately calculate the engineering quantity of each current component, the terminal device acquires all collision components in collision with the current component after acquiring the current component. The collision component is a component in collision with the current component. When the collision component is determined, the terminal device can also determine the collision relationship between the current component and each collision component.

[0050] In an implementation manner, when the collision component is determined in the embodiment, the following steps are included:

[0051] In step S101, the current component is acquired, and a component category of the current component is determined.

[0052] In step S102, a preset deduction rule is acquired according to the component category, and a collision component in collision with the current component is determined based on the deduction rule.

[0053] In implementation, when the collision component is determined in the embodiment, the deduction rule of the component is established according to various component categories in advance. The deduction rule can be used to determine which components are in collision with the current component when the engineering quantity of the current component is calculated, and the current component can be collided according to the deduction rule. Specifically, the engineering quantity in the embodiment includes volume, formwork area, projection area, and wall area. In summary, the calculated engineering quantity includes two categories, volume and area. Therefore, the deduction rule includes volume deduction rule and area deduction rule. For example, when the volume of the current component is calculated, whether the volume of the current component is deducted is determined according to the volume deduction rule after the current component collides with other components. Alternatively, when the area of the current component is calculated, whether the area of the current component is deducted is determined according to the area deduction rule after the current component collides with other components.

[0054] In an implementation manner, the embodiment pre-establishes deduction sequences of all components, and the deduction sequences are used to determine the order of deduction according to the deduction sequences when the quantities of the current component are calculated after the current component collides with other components. The embodiment opens the BIM model by using Revit, and when the current component is obtained from the BIM model, the embodiment first determines the component category to which the current component belongs. Since each component category has a corresponding deduction rule, the embodiment obtains the preset deduction rule according to the component category, and then determines the collision components that collide with the current component based on the deduction rule. In the embodiment, the collision components are the components that overlap with the current component. After the collision components are determined, the embodiment can further determine the collision relationship between each collision component and the current component. The collision relationship can be overlapping or non-overlapping.

[0055] In step S200, the arrangement order of the collision components is determined based on the preset deduction sequence.

[0056] In the embodiment, after the collision components are determined, the embodiment sorts the collision components based on the preset deduction sequence to obtain the arrangement order of the collision components. Specifically, since the deduction sequence corresponds to the collision components, and each collision component corresponds to a component category, the embodiment can sort the collision components based on the deduction sequence to obtain the arrangement order of the collision components. The arrangement order refers to the order of using the collision components to deduct the current component.

[0057] In step S300, the deduction rule corresponding to the collision relationship is obtained, and the current component is deducted by the collision components one by one based on the arrangement order and the deduction rule, to obtain the quantities of the BIM model. The quantities include volume and area.

[0058] In the embodiment, the engineering quantity includes volume and area, so when the engineering quantity of the current component is deducted by collision, the volume deduction rule or the area deduction rule is used respectively. Specifically, when the engineering quantity is volume, it means that the volume of the current component needs to be calculated, and the collision relationship between the current component and the collision component is obtained. If the collision relationship is coincidence, the coincidence body between the collision component and the current component is determined; then the original volume of the current component is deducted by collision based on the volume of the coincidence body, that is, the original volume of the current component is reduced by the volume of the coincidence body to obtain the remaining volume, and the remaining volume is taken as the engineering quantity of the BIM model. If the collision relationship is non-coincidence, no volume deduction by collision is performed. In addition, after the volume deduction by collision of the current component by the collision component is completed, it is judged whether all the collision components have completed the volume deduction by collision of the current component; if the volume deduction by collision is not completed, the current component is subjected to volume deduction by collision using the collision component (i.e. the next collision component) which has not completed the volume deduction by collision, until all the collision components complete the volume deduction by collision.

[0059] When the engineering quantity is area, it means that the area of the current component needs to be calculated, and the collision relationship between the current component and the collision component is obtained. The collision relationship in the embodiment includes coincidence with contact (i.e. body coincidence but with surface contact), coincidence without contact (i.e. body coincidence but without surface contact), and only contact (i.e. no body coincidence but with surface contact). If the collision relationship is coincidence with contact, the coincidence body between the collision component and the current component is determined; based on the coincidence body, the first outer surface of the collision component and the current component which simultaneously exists in the coincidence body is determined, that is, the surface of the collision component which contacts the outer surface of the current component is determined, and the second outer surface of the current component which exists in the coincidence body is determined, that is, the surface of the current component inside the collision component (including the contact surface) is determined. Then, it is determined whether the deduction order of the current component is higher than that of the collision component; if the deduction order of the current component is higher than that of the collision component, the current component is preferentially deducted, and the first outer surface in the second outer surface is removed to perform area deduction by collision on the original area of the current component, that is, the original area of the current component is reduced by the area of the first outer surface to obtain the engineering quantity of the BIM model; if the deduction order of the current component is lower than that of the collision component, the original area of the current component is deducted by collision based on the second outer surface to obtain the engineering quantity of the BIM model.

[0060] If the collision relationship is coincident and non-contact, a coincident body between the collision component and the current component is determined. Based on the coincident body, a second outer surface of the coincident body existing on the outer surface of the current component is determined. At this time, the second outer surface only exists on the current component, and thus the current component is coincident and non-contact with the collision component. Then, based on the second outer surface, the original area of the current component is subjected to area collision deduction, that is, the original area of the current component is reduced by the area of the second outer surface to obtain the engineering quantity of the BIM model. If the collision relationship is contact, a contact surface between the collision component and the current component is determined. At this time, the current component is only in contact with the collision component. Based on the contact surface, the original area of the current component is subjected to area collision deduction, that is, the original area of the current component is reduced by the area of the contact surface to obtain the engineering quantity of the BIM model. Similarly, after the collision component completes the deduction of the current component, it is judged whether all the collision components have completed the area collision deduction of the current component. If the area collision deduction is not completed, the collision component (that is, the next collision component) which has not completed the area collision deduction is used to continue the area collision deduction of the current component until all the collision components complete the area collision deduction. After all the collision components complete the area collision deduction of the current component, the area of the current component after the deduction is the correct area of the current component, that is, the engineering quantity is obtained.

[0061] In summary, the embodiment obtains a current component, determines a collision component in collision with the current component, and obtains a collision relationship between the current component and the collision component. Based on a preset deduction order, the arrangement order of the collision components is determined. The deduction rule corresponding to the collision relationship is obtained, and based on the arrangement order and the deduction rule, the current component is subjected to collision deduction by using the collision components to obtain the engineering quantity of the BIM model, wherein the engineering quantity includes volume and area. The embodiment can sort the collision components in collision with the current component according to the rules, classify all the collision relationships, and the classified categories are simple and easy to understand. Then, the current component is subjected to collision deduction by the collision components one by one according to the arrangement order and the deduction rule, instead of using the overall calculation mode, which greatly reduces the scene complexity during collision deduction, ensures the accuracy of collision deduction, and finally ensures the accuracy of engineering quantity calculation.

[0062] Exemplary apparatus

[0063] Based on the above embodiment, the embodiment further provides a BIM model engineering quantity determination device, which comprises Figure 2As shown in the figure, the device comprises a collision component determination module 10, an arrangement order determination module 20, and an engineering quantity determination module 30. Specifically, the collision component determination module 10 is configured to obtain a current component, determine a collision component that collides with the current component, and obtain a collision relationship between the current component and the collision component. The arrangement order determination module 20 is configured to determine an arrangement order of the collision component based on a preset deduction order. The engineering quantity determination module 30 is configured to obtain a deduction rule corresponding to the collision relationship, and perform collision deduction on the current component using the collision component based on the arrangement order and the deduction rule, to obtain an engineering quantity of the BIM model, wherein the engineering quantity comprises a volume and an area.

[0064] In an implementation manner, the collision component determination module 10 comprises:

[0065] a category determination unit configured to obtain the current component and determine a component category of the current component;

[0066] a component determination unit configured to obtain a preset deduction rule according to the component category, and determine a collision component that collides with the current component based on the deduction rule.

[0067] In an implementation manner, the engineering quantity determination module 30 comprises:

[0068] a first coincidence body determination unit configured to, if the collision relationship is coincidence, determine a coincidence body between the collision component and the current component;

[0069] a volume deduction unit configured to deduct a volume of the current component based on a volume of the coincidence body, to obtain a remaining volume, and take the remaining volume as the engineering quantity of the BIM model;

[0070] a no-coincidence unit configured to, if the collision relationship is no-coincidence, not perform volume collision deduction.

[0071] In an implementation manner, the engineering quantity determination module 30 comprises:

[0072] a judgment unit configured to, after completing the deduction of the current component by the collision component, judge whether all collision components have completed volume collision deduction on the current component;

[0073] a continuous deduction unit configured to, if the volume collision deduction is not completed, continue to perform volume collision deduction on the current component using the collision component that has not completed volume collision deduction, until all collision components complete the volume collision deduction.

[0074] In an implementation manner, the engineering quantity determination module 30 comprises:

[0075] a second overlap determining unit configured to determine an overlap between the collision component and the current component if the collision relationship is overlap with contact;

[0076] a first outer surface determining unit configured to determine a first outer surface of the collision component and the current component on which the overlap exists simultaneously based on the overlap;

[0077] a second outer surface determining unit configured to determine a second outer surface of the current component on which the overlap exists based on the overlap;

[0078] a deduction order determining unit configured to determine whether a deduction order of the current component is higher than a deduction order of the collision component;

[0079] a first area deduction unit configured to, if the deduction order of the current component is higher than the deduction order of the collision component, perform area collision deduction on an original area of the current component based on the second outer surface and removing the first outer surface therefrom to obtain the quantities of the BIM model; and if the deduction order of the current component is lower than the deduction order of the collision component, perform area collision deduction on the original area of the current component based on the second outer surface to obtain the quantities of the BIM model.

[0080] In an implementation manner, the quantities determining module 30 comprises:

[0081] a third overlap determining unit configured to determine an overlap between the collision component and the current component if the collision relationship is overlap without contact;

[0082] a second outer surface determining unit configured to determine a second outer surface of the current component on which the overlap exists based on the overlap;

[0083] a second area deduction unit configured to perform area collision deduction on an original area of the current component based on the second outer surface to obtain the quantities of the BIM model.

[0084] In an implementation manner, the quantities determining module 30 comprises:

[0085] a contact surface determining unit configured to determine a contact surface between the collision component and the current component if the collision relationship is contact;

[0086] a third area deduction unit configured to perform area collision deduction on an original area of the current component based on the contact surface to obtain the quantities of the BIM model.

[0087] The working principle of the quantity determination device of the BIM model in the embodiment is the same as the content described in the above method embodiment, and details are not repeated here.

[0088] Based on the above embodiments, the application further provides a terminal device, the principle block diagram of which can be shown in the figure. Figure 3 The terminal device includes a processor, a memory connected through a system bus. The processor of the terminal device is used to provide computing and control capabilities. The memory of the terminal device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The network interface of the terminal device is used to communicate with external terminals through network connection. The computer program is executed by the processor to implement a BIM model quantity determination method.

[0089] Those skilled in the art can understand that, Figure 3 The principle block diagram shown in the figure is only a block diagram of part of the structure related to the application scheme, and does not constitute a limitation on the terminal device to which the application scheme is applied. The specific terminal device includes more or fewer components than those shown in the figure, or combines certain components, or has a different component arrangement.

[0090] In one embodiment, a terminal device is provided, which includes a memory, a processor, and a BIM model quantity determination program stored in the memory and executable on the processor. When the processor executes the BIM model quantity determination program, the following operation instructions are implemented:

[0091] Obtain a current component, determine a collision component that collides with the current component, and obtain a collision relationship between the current component and the collision component;

[0092] Determine an arrangement order of the collision component based on a preset deduction order;

[0093] Obtain a deduction rule corresponding to the collision relationship, and based on the arrangement order and the deduction rule, use the collision component to perform collision deduction on the current component one by one to obtain the quantity of the BIM model, wherein the quantity includes volume and area.

[0094] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, storage, operating database or other medium used in the embodiments provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0095] In summary, the present application discloses a method and device for determining the quantity of a BIM model and a storage medium. The method comprises: obtaining a current component, determining a collision component that collides with the current component, and obtaining a collision relationship between the current component and the collision component; determining the arrangement order of the collision component based on a preset deduction order; obtaining a deduction rule corresponding to the collision relationship, and using the collision component to deduct the current component based on the arrangement order and the deduction rule, to obtain the quantity of the BIM model, wherein the quantity comprises volume and area. The present application can sort the collision components that collide with the current component according to rules, and then deduct the current component based on the collision components one by one according to the arrangement order and the deduction rule, instead of using an overall calculation method, which greatly reduces the complexity of the scene during collision deduction, ensures the accuracy of collision deduction, and ultimately ensures the accuracy of quantity calculation.

[0096] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method of determining quantities of a BIM model, characterized by, The method comprises: acquiring a current component, determining a collision component in collision with the current component, and obtaining a collision relationship between the current component and the collision component; determining an arrangement order of the collision component based on a preset deduction order; acquiring a deduction rule corresponding to the collision relationship, and using the collision component to perform collision deduction on the current component one by one based on the arrangement order and the deduction rule, to obtain an engineering quantity of the BIM model, wherein the engineering quantity comprises volume and area; the acquiring of the current component and the determination of the collision component in collision with the current component comprise: acquiring the current component and determining a component category of the current component; acquiring a preset deduction rule according to the component category, and determining the collision component in collision with the current component based on the deduction rule; when the engineering quantity is volume, the acquiring of the deduction rule corresponding to the collision relationship and the performing of the collision deduction on the current component one by one based on the arrangement order and the deduction rule using the collision component to obtain the engineering quantity of the BIM model comprise: if the collision relationship is coincidence, a coincidence body between the collision component and the current component is determined; the original volume of the current component is subjected to collision deduction based on the volume of the coincidence body, to obtain a remaining volume, and the remaining volume is taken as the engineering quantity of the BIM model; if the collision relationship is no coincidence, no volume collision deduction is performed; after the volume collision deduction of the current component by the collision component is completed, it is judged whether all collision components have completed the volume collision deduction on the current component; if the volume collision deduction is not completed, the current component is subjected to volume collision deduction using the collision component which has not completed the volume collision deduction, until all collision components complete the volume collision deduction; when the engineering quantity is area, the acquiring of the deduction rule corresponding to the collision relationship and the performing of the collision deduction on the current component one by one based on the arrangement order and the deduction rule using the collision component to obtain the engineering quantity of the BIM model comprise: if the collision relationship is coincidence with contact, a coincidence body between the collision component and the current component is determined; based on the coincidence body, a first outer surface of the collision component and the current component on which the coincidence body exists simultaneously is determined, and a second outer surface of the current component on which the coincidence body exists is determined; it is determined whether the deduction order of the current component is higher than that of the collision component; if the deduction order of the current component is higher than that of the collision component, the original area of the current component is subjected to area collision deduction based on the second outer surface from which the first outer surface is removed, to obtain the engineering quantity of the BIM model; if the deduction order of the current component is lower than that of the collision component, the original area of the current component is subjected to area collision deduction based on the second outer surface, to obtain the engineering quantity of the BIM model. If the collision relationship is coincidence without contact, a coincidence body of coincidence between the collision component and the current component is determined; Based on the coincidence body, a second outer surface of the coincidence body existing on an outer surface of the current component is determined; Based on the second outer surface, an original area of the current component is subjected to area collision deduction to obtain the engineering quantity of the BIM model; If the collision relationship is contact, a contact surface between the collision component and the current component is determined; Based on the contact surface, the original area of the current component is subjected to area collision deduction to obtain the engineering quantity of the BIM model; After the area collision deduction of the current component by the collision component is completed, it is judged whether all the collision components have completed the area collision deduction of the current component; If the area collision deduction is not completed, the current component is subjected to area collision deduction by the collision component which has not completed the area collision deduction, until all the collision components complete the area collision deduction; After all the collision components complete the area collision deduction of the current component, the original area of the current component after the remaining area after deduction is the correct area of the current component.

2. A quantity determination apparatus of a BIM model, characterized by, The device is used to implement the steps of the method for determining the engineering quantity of the BIM model according to claim 1, and the device comprises: a collision component determination module configured to acquire a current component, determine a collision component having collision with the current component, and obtain a collision relationship between the current component and the collision component; an arrangement order determination module configured to determine an arrangement order of the collision component based on a preset deduction order; an engineering quantity determination module configured to acquire a deduction rule corresponding to the collision relationship, and based on the arrangement order and the deduction rule, use the collision component to sequentially perform collision deduction on the current component to obtain the engineering quantity of the BIM model, wherein the engineering quantity comprises volume and area.

3. A terminal device, characterized by, The terminal device comprises a memory, a processor, and a program for determining the engineering quantity of the BIM model stored in the memory and executable on the processor, and the processor implements the steps of the method for determining the engineering quantity of the BIM model according to claim 1 when executing the program.

4. A computer-readable storage medium, characterized in that, The computer readable storage medium stores the program for determining the engineering quantity of the BIM model, and the program is executed by the processor to implement the steps of the method for determining the engineering quantity of the BIM model according to claim 1.

Citation Information

Patent Citations

  • Template area calculation method and device based on geometric model processing and electronic equipment

    CN110990925A