A calculation method, device and equipment for the attribution of templates of intersecting components

By setting the deduction relationship between components and the ownership relationship of overlapping parts in building construction, the problem of being unable to flexibly adapt to engineering specifications in different regions in the prior art is solved, and the accuracy and adaptability of the calculation of the formwork project volume is achieved.

CN119227196BActive Publication Date: 2025-04-29国泰新点软件股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411365402.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-04-29
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

When handling the formwork belonging to overlapping parts of components in building construction, the prior art cannot flexibly adapt to engineering specifications in different regions, resulting in inaccurate calculation of formwork engineering volume.

Method used

By setting the deduction relationship between components and the ownership relationship of overlapping parts, users can flexibly adjust priorities according to actual engineering needs and local standards to achieve accurate calculation of template project volume.

Benefits of technology

It improves the accuracy and adaptability of template project volume calculation, can meet the requirements of different engineering specifications, and improves the precision of template project volume.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119227196B_ABST
    Figure CN119227196B_ABST
Patent Text Reader

Abstract

The present application discloses a calculation method, device and equipment for the attribution of templates of intersecting components, and relates to the field of computer-aided design. The method is applied to intersecting components in buildings, and includes: setting calculation rules for component templates; selecting component primitives whose template area needs to be calculated, and creating a template geometric model corresponding to the construction primitive according to the geometric information of the component primitives; screening the intersecting component primitives that need to be deducted according to the calculation rules of the component template; creating a deduction model for template deduction according to the geometric information of the intersecting component primitives; distinguishing internal templates, external templates and templates overlapping with the surface of the deduction model according to the deduction model, and performing a deduction operation of the template geometric model; calculating the template area engineering quantity according to the template geometric model after the deduction operation. The scheme can meet the requirements of different engineering specifications and improve the accuracy of template engineering quantity calculation by flexibly setting the deduction relationship between components and the attribution relationship of overlapping parts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer-aided design, and in particular to a calculation method, device and equipment for attribution of templates of intersecting components. Background Art

[0002] In the construction process, the formwork is the supporting structure for pouring concrete components, and the accurate calculation of its engineering quantity has an important impact on project budget and resource management. Especially in complex building designs, the geometric models between different components (such as walls, beams, columns, slabs, etc.) often intersect and overlap. The formwork engineering quantity of these overlapping parts needs to be reasonably deducted according to different building list quota specifications to ensure the accuracy of the final formwork engineering quantity calculation.

[0003] When dealing with the template ownership of overlapping parts of components, existing quantity calculation software usually uses fixed priorities or preset built-in rules based on component types. For example, when a wall overlaps a beam, in most cases the software defaults to giving priority to the beam in the template quantity of the overlapping part. However, in the engineering specifications of some regions, when the wall is parallel to the beam and the wall thickness is greater than the beam width, the template quantity should be given priority to the wall. For this specific intersection scenario, existing software often cannot flexibly adapt to the calculation rules of different regions, which in turn affects the accuracy of the template output. In addition, most current calculation methods are limited to automatically determining the ownership of overlapping parts according to component types, and do not provide users with interactive settings that allow them to flexibly adjust priorities based on actual engineering needs or local specifications. This method may lead to inaccurate calculation results when the geometric relationship of components is complex or there are differences in local specifications, and cannot meet the refined management needs in actual engineering.

[0004] Therefore, there is an urgent need for a method that can flexibly set the template ownership of overlapping parts between components to solve the problem in the prior art that the template priority cannot be flexibly adjusted according to different list quota specifications. Summary of the invention

[0005] The purpose of the present invention is to provide a method, device and equipment for calculating the attribution of templates of intersecting components, which can meet the requirements of different engineering specifications and improve the accuracy and adaptability of template engineering quantity calculation by flexibly setting the deduction relationship and overlapping attribution relationship between components.

[0006] To achieve the above object, the present invention discloses the following technical solution:

[0007] A first aspect of the present invention provides a method for calculating the attribution of templates of intersecting components, which is applied to intersecting components in a building, and the method comprises the following steps:

[0008] Set the calculation rules of the component template, including setting the deduction relationship between components and the ownership relationship of the overlapping parts of components;

[0009] Selecting a component graphic element for which the template area needs to be calculated, and creating a template geometric model corresponding to the construction graphic element according to the geometric information of the component graphic element;

[0010] According to the calculation rules of the component template, the intersecting component elements that need to be deducted are screened;

[0011] Creating a deduction model for template deduction according to the geometric information of the intersecting component primitives;

[0012] Distinguishing an internal template, an external template, and a template overlapping with a surface of the subtracted model according to the subtracted model, and performing a subtracting operation on the template geometric model;

[0013] The template area quantity is calculated based on the template geometry model after performing the deduction operation.

[0014] Optionally, in the above calculation method, the setting of the subtraction relationship between components and the attribution relationship of the overlapping parts of the components includes:

[0015] Determine whether the template area needs to be deducted when each component intersects, and set the deduction relationship between components based on the component geometry and intersection conditions;

[0016] Determine the template priority of different components when they intersect, and set the template ownership relationship of the overlapping parts of the components.

[0017] Optionally, in the above-mentioned calculation method, creating a template geometric model corresponding to the construction primitive according to the geometric information of the component primitive includes:

[0018] Extracting geometric information of the component primitive, including vertices, edges and faces, to form the geometric shape and size of the component primitive;

[0019] Generating a template geometric model corresponding to the construction primitive according to the geometric shape and size of the component primitive;

[0020] The template geometric model is data-associated with the geometric information of the component primitive.

[0021] Optionally, in the above calculation method, the step of screening the intersecting component elements to be deducted according to the calculation rule of the component template includes:

[0022] Detect intersecting component elements through geometric collision;

[0023] Determining whether the detected intersecting component elements satisfy preset geometric parameters, including parallel relationship, thickness and / or cross-sectional dimensions of the component elements;

[0024] Based on the intersecting component entities that meet the preset geometric parameters, a list of intersecting component entities that meet the deduction conditions is generated.

[0025] Optionally, in the above calculation method, creating a deduction model for template deduction according to the geometric information of the intersecting component primitives includes:

[0026] Extracting geometric information of the intersecting component primitives from the intersecting component primitive list to form an initial shape of the subtraction model;

[0027] According to the geometric information of the intersecting component primitives, the geometric shape and size of the subtraction model are adjusted to make the subtraction model match the template geometric model;

[0028] Generates a final deduction model for template deduction based on the adjusted deduction model.

[0029] Preferably, in the above-mentioned calculation method, the template geometric model uses Boolean operations of spatial grids to perform subtraction operations.

[0030] Optionally, in the above calculation method, the template geometric model uses Boolean operations of the space grid to perform a subtraction operation, including:

[0031] Intersection judgment is performed on the triangular faces in the template geometric model and the triangular faces in the subtraction model. If they intersect, the triangular faces of the template geometric model are cut with the subtraction model to generate a template triangular face model;

[0032] Looping through the template triangular surface model, determining the spatial relationship between each template triangular surface in the template triangular surface model and the subtracted model, including an internal relationship, an external relationship or an overlapping relationship;

[0033] Based on the spatial relationship between each template triangular face and the subtraction model, the corresponding template triangular face is subtracted according to the calculation rule of the component template to generate a template geometric model after subtraction operation.

[0034] Optionally, in the above calculation method, the step of determining the spatial relationship between each template triangular face in the template triangular face model and the subtracted model includes:

[0035] S10, judging whether each template triangular face in the template triangular face model is parallel to the triangular face of the subtracted model according to the plane normal vector, if so, executing step S11; otherwise, executing step S20;

[0036] S11, using the center point of the template triangular surface and the plane normal vector as a ray, and finding the intersection point with the triangular surface of the subtracted model, if they intersect and the parallel distance is within a preset range, executing step S12; otherwise, executing step S20;

[0037] S12, determining that the template triangular surface overlaps with the subtraction model;

[0038] S20, taking the center point of the template triangular surface as the origin, draw rays in six directions, upward, downward, left, right, front and back, respectively, and find the intersection points with the triangular surface of the subtracted model. If the number of intersection points in one direction is 0, execute step S21; otherwise, execute step S22;

[0039] S21, determining that the template triangular surface is outside the subtraction model;

[0040] S22. When the number of intersection points is an odd number, determine that the template triangular face is inside the subtracted model; when the number of intersection points is an even number, determine that the template triangular face is outside the subtracted model.

[0041] A second aspect of the present invention provides a device for calculating the attribution of templates of intersecting components, which is applied to intersecting components in a building, and the device comprises:

[0042] A calculation rule setting unit, used to set the calculation rules of the component template, including setting the deduction relationship between components and the attribution relationship of the overlapping parts of components;

[0043] The engineering quantity model creation unit is used to select the component graphics element whose template area needs to be calculated, and create a template geometric model corresponding to the construction graphics element according to the geometric information of the component graphics element;

[0044] A component element screening unit, used for screening the intersecting component elements that need to be deducted according to the calculation rules of the component template;

[0045] A subtraction model creation unit, used to create a subtraction model for template subtraction according to the geometric information of the intersecting component primitives;

[0046] A subtraction operation execution unit, used for distinguishing an internal template, an external template and a template overlapping with a surface of the subtraction model according to the subtraction model, and executing a subtraction operation of the template geometric model;

[0047] The quantity calculation unit is used to calculate the template area quantity according to the template geometric model after performing the deduction operation.

[0048] A third aspect of the present invention provides a computing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a method for calculating the attribution of intersecting component templates as described in the first aspect is implemented.

[0049] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:

[0050] The present application provides a calculation method, device and equipment for the attribution of intersecting component templates. By setting the calculation rules of the component templates, users can define the deduction relationship between components and the attribution relationship of overlapping parts according to actual engineering requirements, thereby improving the flexibility and adaptability of the calculation. At the same time, this solution significantly improves the accuracy of template engineering quantity calculation by creating a template geometric model corresponding to the construction element, screening the intersecting components that need to be deducted, generating a deduction model for template deduction, and performing the deduction operation of the template geometric model to calculate the template area. It can meet the requirements of different engineering specifications and improve the precision of the template engineering quantity. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0052] Figure 1 A schematic diagram of a flow chart of a method for calculating the attribution of templates of intersecting components according to an embodiment of the present application;

[0053] Figure 2 A schematic diagram of a calculation rule interface of a component template according to an embodiment of the present application;

[0054] Figure 3 for Figure 1 A flowchart of a method for implementing step S150;

[0055] Figure 4 for Figure 3 A flowchart of a method for implementing step S152;

[0056] Figure 5 A schematic diagram of an intersection scene of a concrete wall and parallel beams in an embodiment of the present application;

[0057] Figure 6 For Figure 5 Schematic diagram of the template geometric model after the subtraction operation is performed;

[0058] Figure 7 A schematic diagram of the structure of a computing device for attributing intersecting component templates according to an embodiment of the present application;

[0059] Figure 8 A schematic diagram of the structure of a computing device according to an embodiment of the present application;

[0060] Reference numerals:

[0061] 110-calculation rule setting unit, 120-engineering quantity model creation unit, 130-component element screening unit, 140-deduction model creation unit, 150-deduction operation execution unit, 160-engineering quantity calculation unit;

[0062] 210 - input unit, 220 - memory, 230 - processor, 240 - output unit. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0064] It should be noted that references to "one embodiment", "embodiment", "example embodiment", etc. in this specification refer to the embodiment being described which may include specific features, structures or characteristics, but not every embodiment must include these specific features, structures or characteristics. In addition, such expressions do not refer to the same embodiment. Furthermore, when describing specific features, structures or characteristics in conjunction with an embodiment, whether or not there is an explicit description, it is indicated that incorporating such features, structures or characteristics into other embodiments is within the knowledge of those skilled in the art.

[0065] In architectural design, accurate calculation of templates is very important for project budgeting and resource management, especially in complex designs, where the overlap between intersecting components makes it particularly necessary to reasonably deduct the template quantity. However, the existing technology usually relies on fixed priorities or preset built-in rules of components, and cannot flexibly adapt to local specifications, which affects the accuracy of the calculation. In addition, the existing methods cannot flexibly adjust the priority of components, resulting in inaccurate calculation results under complex geometric relationships, and cannot meet the needs of refined management. Based on this, the present application proposes a calculation method, device and equipment for the attribution of templates of intersecting components, which can flexibly set the deduction relationship and overlapping attribution relationship between components to adapt to different engineering scenarios and improve the accuracy and flexibility of template quantity calculation.

[0066] refer to Figure 1 , Figure 1 A schematic flow chart of a method for calculating the attribution of templates of intersecting components according to an embodiment of the present application is shown, and the method comprises the following steps:

[0067] S110, setting calculation rules for the component template, including setting the deduction relationship between components and the ownership relationship of the overlapping parts of the components;

[0068] S120, selecting a component graphic element for which the template area needs to be calculated, and creating a template geometric model corresponding to the construction graphic element according to the geometric information of the component graphic element;

[0069] S130, screening the intersecting component graphics elements that need to be deducted according to the calculation rules of the component template;

[0070] S140, creating a deduction model for template deduction according to geometric information of the intersecting component primitives;

[0071] S150, distinguishing the internal template, the external template, and the template overlapping with the surface of the subtracted model according to the subtracted model, and performing a subtracting operation on the template geometric model;

[0072] S160, calculating the template area engineering quantity according to the template geometric model after performing the deduction operation.

[0073] In the scheme of this embodiment, users can customize the deduction relationship between components and the ownership relationship of overlapping parts according to actual engineering needs, which improves the flexibility and adaptability of calculation and can meet the requirements of different engineering specifications. At the same time, by creating an accurate template geometry model, screening the intersecting components that need to be deducted and generating the corresponding deduction model, and finally performing the deduction operation to calculate the template area, the accuracy of the template engineering quantity calculation is improved, which can better meet the needs of refined management in architectural design.

[0074] In some embodiments, in the above step S110, setting the subtraction relationship between components and the ownership relationship of the overlapping parts of the components includes:

[0075] On the one hand, determine whether the template area needs to be deducted when each component intersects, and set the deduction relationship between components based on the geometric shape and intersection of the components. First, analyze whether the template area needs to be deducted when each component intersects. By evaluating the geometric shape, position and intersection of each component, determine whether there is an overlapping area that needs to be processed, so as to ensure that only the actual intersecting parts are deducted. Then, based on the geometric shape and intersection of the components, establish the deduction relationship between the components, and determine which parts need to be deducted when overlapping by identifying the characteristics of different components (such as thickness, shape, relative position, etc.) and formulating corresponding rules.

[0076] On the other hand, determine the template priority of different components when they intersect, and set the template ownership relationship of the overlapping parts of the components. First, analyze the functions and roles of each component. For example, structural components (such as beams and columns) are generally considered to have higher priorities than non-structural components (such as walls or decorative panels), so as to determine which component's template area should be reserved first in the case of intersection. Then, based on the priority analysis, formulate specific ownership rules for each overlapping area. For example, if the beam has a higher priority than the wall, the template area of ​​the overlapping area will be preferentially attributed to the beam.

[0077] In this step, users can customize priorities and attribution relationships based on actual engineering needs and specific project conditions. For example, the priorities of different components can be adjusted according to specific construction requirements or design intent to ensure that the calculation of the template area is accurate and in compliance with engineering specifications when they intersect. This flexible design of priority settings and attribution rules can meet the needs of various complex construction scenarios and improve the accuracy and reliability of engineering quantity calculations. Figure 2 As shown, in one embodiment, the template deduction and overlapping attribution can be set in one rule, and a column is added to control the attribution of the overlapping part, so that the user can clearly see the deduction of the component and the attribution of the overlapping part, which improves the intuitiveness and ease of use of the operation. At the same time, this setting makes the attribution of the overlapping part no longer dependent on the component type, but associated with the template deduction rule, and the user can easily adjust the rule in time as needed. This setting is not only applicable to the calculation of the template area, but can also be extended to the overlapping attribution of the decorative area and the waterproof area, enhancing the versatility of the system.

[0078] In some embodiments, in the above step S120, creating a template geometric model corresponding to the construction primitive according to the geometric information of the component primitive includes:

[0079] First, the geometric information of the component primitives, including vertices, edges and faces, is extracted to form the geometric shape and size of the component primitives. This process ensures a comprehensive understanding of the component geometry and size to form an accurate geometric representation.

[0080] Then, based on the geometric shape and size of the component element, a template geometry model corresponding to the construction element is generated. This geometry model can accurately reflect the geometric characteristics of the component and provide a basis for subsequent calculations. For example, the template geometry model of a wall may be a cuboid, while the template of a beam may be a long strip.

[0081] Next, the template geometry model is associated with the geometry information of the component primitives. This association process not only connects the template model with its corresponding component primitives, but also provides necessary data support for subsequent calculations, so that the system can quickly access and apply relevant geometry information in subsequent calculations and analyses.

[0082] In some embodiments, in the above step S130, according to the calculation rule of the component template, the intersecting component primitives to be deducted are screened, including:

[0083] First, the geometric collision detection algorithm is used to identify intersecting component primitives. When two or more components intersect or overlap in space, the system marks them as intersecting component primitives.

[0084] Then, it is determined whether the detected intersecting component primitives satisfy preset geometric parameters, where the geometric parameters include the parallel relationship, thickness and / or cross-sectional size of the component primitives.

[0085] Next, based on the intersecting component entities that meet the preset geometric parameters, a list of intersecting component entities that meet the deduction conditions is generated.

[0086] This step can effectively screen out intersecting components that meet the deduction conditions, ensuring that all relevant component relationships can be accurately processed when calculating the template area, thereby improving the reliability of the calculation results.

[0087] In some embodiments, in the above step S140, creating a deduction model for template deduction according to geometric information of the intersecting component primitives includes:

[0088] Firstly, the geometric information of the intersecting component primitives is extracted from the intersecting component primitive list, including the vertex coordinates of the components, the connection relationship of the edges and the information of the faces, so as to form the initial shape of the subtraction model.

[0089] Then, according to the geometric information of the intersecting component primitives, the geometric shape and size of the subtracted model are adjusted to make the subtracted model match the template geometric model. Specifically, according to the shape characteristics of the intersecting component primitives, the boundaries of the subtracted model can be modified to match the contours of the template geometric model, and according to the size of the intersecting component primitives, the size of the subtracted model can be modified to ensure that the size of the subtracted model is consistent with the template geometric model.

[0090] Next, the final deduction model for template deduction is generated based on the adjusted deduction model. The final deduction model not only accurately reflects the geometric relationship of the intersecting components, but also takes into account the actual structure of the template, so that subsequent deduction operations can be performed on an accurate and reliable basis.

[0091] In step S150 of this embodiment, the template geometric model uses Boolean operations of the spatial grid to perform subtraction operations. Figure 3 As shown, the template geometry model uses Boolean operations of the spatial grid to perform subtraction operations, including:

[0092] S151. Determine the intersection of the triangular faces in the template geometric model and the triangular faces in the subtraction model. If they intersect, use the subtraction model to cut the triangular faces of the template geometric model to generate a template triangular face model.

[0093] The subtracted model can be split into multiple new triangular faces after cutting the triangular faces of the template geometric model. These new triangular faces generate a template triangular face model, which contains all the unsubtracted parts.

[0094] S152, looping through the template triangular surface model to determine the spatial relationship between each template triangular surface in the template triangular surface model and the subtraction model, including internal relationship, external relationship or overlapping relationship.

[0095] Among them, the internal relationship indicates whether the template triangle face is completely inside the subtraction model; the external relationship indicates whether the template triangle face is completely outside the subtraction model; the overlapping relationship indicates whether the template triangle face has overlapping parts with the subtraction model.

[0096] S153. Based on the spatial relationship between each template triangular face and the subtraction model, the corresponding template triangular face is subtracted according to the calculation rules of the component template to generate a template geometric model after the subtraction operation.

[0097] For example, if a template triangle overlaps with the subtraction model and needs to be subtracted according to the rules, it will be marked as "subtracted", and if the template triangle is outside the subtraction model, it will be retained.

[0098] Through the above steps, the template geometry model after deduction operation can be finally generated, which accurately reflects the template area after deduction processing and meets the needs of engineering calculation. This process ensures the accuracy and adaptability of the template, and effectively improves the efficiency and accuracy of the calculation.

[0099] In some embodiments, Figure 4 As shown, in step S152, determining the spatial relationship between each template triangular face in the template triangular face model and the subtracted model includes the following steps:

[0100] S10, judging whether each template triangle in the template triangle model is parallel to the triangle of the subtracted model according to the plane normal vector, if so, executing step S11; otherwise, executing step S20;

[0101] S11, using the center point of the template triangle and the plane normal vector as a ray, and finding the intersection point with the triangle surface of the subtracted model, if they intersect and the parallel distance is within a preset range, execute step S12; otherwise, execute step S20;

[0102] S12, determining that the template triangle surface overlaps with the subtracted model;

[0103] S20, taking the center point of the template triangular surface as the origin, draw rays in six directions, upward, downward, left, right, front and back, respectively, and find the intersection points with the triangular surface of the subtracted model. If the number of intersection points in one direction is 0, execute step S21; otherwise, execute step S22;

[0104] S21, determining that the template triangular surface is outside the subtraction model;

[0105] S22. When the number of intersection points is an odd number, it is determined that the template triangular surface is inside the subtracted model; when the number of intersection points is an even number, it is determined that the template triangular surface is outside the subtracted model.

[0106] Through this step, the system can accurately determine the spatial relationship between each template triangle and the subtraction model, provide necessary information for the subtraction operation, and ensure the accuracy and rationality of the final template geometric model.

[0107] refer to Figure 5 , Figure 5 This is a schematic diagram of a scene where a concrete wall and parallel beams intersect in an embodiment of the present application. Figures 1 to 5 , the calculation method of the intersection component template belonging in the above embodiment is further described. In this scenario, the concrete wall template and the parallel beam template overlap, so it is required to reasonably handle the intersection part when calculating the template area.

[0108] First, in the calculation rules of the component formwork, set the rules for the concrete wall formwork and the beam to "deduct parallel beams and not deduct non-parallel beams", and check the "deduct overlap" option to ensure that the system only deducts the overlapping parts of parallel beams during calculation.

[0109] Then, select the component element of the concrete wall, extract its geometric information and copy it as a template model to create the original template geometry model of the concrete wall.

[0110] Next, all intersecting beam components are checked to determine whether the center line of the beam is parallel to the center line of the concrete wall. For non-parallel beams, the system will skip them; for parallel beams, the system obtains their geometric information and creates a deduction model for template deduction.

[0111] Next, the concrete wall formwork model and the beam deduction model are subjected to Boolean operations, and the overlapping formwork is automatically discarded according to preset rules, thereby effectively achieving formwork deduction.

[0112] Finally, based on the concrete wall formwork geometry model after deduction, the actual formwork area is calculated to generate the final engineering quantity data.

[0113] refer to Figure 6 , Figure 6 For Figure 5Schematic diagram of the template geometry model after the deduction operation is performed. Through the above method steps, the template attribution of the concrete wall and the parallel beam can be accurately calculated when the components intersect, ensuring the accuracy and rationality of the engineering quantity.

[0114] In summary, the calculation method of the attribution of templates of intersecting components in this embodiment can meet the requirements of different engineering specifications by flexibly setting the deduction relationship between components and the attribution relationship of overlapping parts. At the same time, it also includes selecting component primitives and creating corresponding template geometric models, screening intersecting components to be deducted, generating deduction models for deduction, and performing template deduction through Boolean operations, and finally calculating the template area after deduction. This method can meet the requirements of different engineering specifications, has high flexibility and adaptability, and improves the accuracy of template engineering quantity calculation, and is particularly suitable for scenarios with complex building design and refined management requirements.

[0115] refer to Figure 7 , Figure 7 The schematic diagram of the structure of a calculation device for the attribution of templates of intersecting components in an embodiment of the present application is shown. The calculation device can be used to accurately calculate the template area of ​​intersecting components. The calculation device described below can be referred to in correspondence with the calculation method described above. Specifically, the calculation device is applied to intersecting components in a building, including:

[0116] A calculation rule setting unit 110, used to set the calculation rules of the component template, including setting the deduction relationship between components and the attribution relationship of the overlapping parts of components;

[0117] The engineering quantity model creation unit 120 is used to select the component primitives for which the template area needs to be calculated, and create a template geometric model corresponding to the construction primitives according to the geometric information of the component primitives;

[0118] A component element screening unit 130 is used to screen the intersecting component elements that need to be deducted according to the calculation rules of the component template;

[0119] A subtraction model creation unit 140, for creating a subtraction model for template subtraction according to geometric information of intersecting component primitives;

[0120] A subtraction operation execution unit 150, used to distinguish the internal template, the external template and the template overlapping with the surface of the subtraction model according to the subtraction model, and perform a subtraction operation on the template geometric model;

[0121] The engineering quantity calculation unit 160 is used to calculate the template area engineering quantity according to the template geometric model after performing the deduction operation.

[0122] Regarding the processes not described in detail in the calculation device for the attribution of intersecting component templates in this embodiment, reference may be made to the relevant parts in the above-mentioned embodiment of the calculation method for the attribution of intersecting component templates, which will not be repeated here.

[0123] In addition, the present application also provides a computing device, referring to Figure 8 , the computing device includes an input unit 210, a memory 220, a processor 230 and an output unit 240. Among them, the memory 220 stores program instructions that can be run on the processor 230, and the processor 230 calls the program instructions to execute the method and / or technical solution based on the above-mentioned embodiment. The computing device can be a mobile terminal device such as a mobile phone or a computer. For the process of the computing device not described in detail in this embodiment, refer to the relevant part of the above-mentioned computing method embodiment, which will not be repeated here.

[0124] The above description is only a preferred embodiment of the present invention and does not limit the present invention in other forms. Any technician familiar with the profession may use the technical content disclosed above to change or modify it into an equivalent embodiment with equivalent changes and apply it to other fields. However, any simple modification, equivalent change and modification made to the above embodiment based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A method for calculating the attribution of templates of intersecting components, characterized in that: Applied to intersecting components in a building, the method comprises the following steps: Set the calculation rules of the component template, including setting the deduction relationship between components and the ownership relationship of the overlapping parts of components; Selecting a component graphic element for which the template area needs to be calculated, and creating a template geometric model corresponding to the component graphic element according to geometric information of the component graphic element; According to the calculation rules of the component template, the intersecting component elements that need to be deducted are screened; Creating a deduction model for template deduction according to the geometric information of the intersecting component primitives; Distinguishing an internal template, an external template, and a template overlapping with a surface of the subtracted model according to the subtracted model, and performing a subtracting operation on the template geometric model; Calculate the template area engineering quantity based on the template geometric model after performing the deduction operation; The template geometric model uses Boolean operations of spatial grids to perform subtraction operations, including: judging the intersection of triangular faces in the template geometric model with triangular faces in the subtraction model, and if they intersect, using the subtraction model to cut the triangular faces of the template geometric model to generate a template triangular face model; looping through the template triangular face model to determine the spatial relationship between each template triangular face in the template triangular face model and the subtraction model, including an internal relationship, an external relationship or an overlapping relationship; based on the spatial relationship between each template triangular face and the subtraction model, subtracting the corresponding template triangular face according to the calculation rules of the component template to generate a template geometric model after the subtraction operation.

2. The calculation method according to claim 1, characterized in that: The setting of the subtraction relationship between components and the ownership relationship of the overlapping parts of the components includes: Determine whether the template area needs to be deducted when each component intersects, and set the deduction relationship between components based on the component geometry and intersection conditions; Determine the template priority of different components when they intersect, and set the template ownership relationship of the overlapping parts of the components.

3. The calculation method according to claim 2, characterized in that: The step of creating a template geometric model corresponding to the construction primitive according to the geometric information of the component primitive comprises: Extracting geometric information of the component primitive, including vertices, edges and faces, to form the geometric shape and size of the component primitive; Generating a template geometric model corresponding to the construction element according to the geometric shape and size of the component element; The template geometric model is data-associated with the geometric information of the component primitive.

4. The calculation method according to claim 3, characterized in that: The step of screening the intersecting component elements to be deducted according to the calculation rule of the component template includes: Detect intersecting component elements through geometric collision; Determining whether the detected intersecting component elements satisfy preset geometric parameters, including parallel relationship, thickness and / or cross-sectional dimensions of the component elements; Based on the intersecting component entities that meet the preset geometric parameters, a list of intersecting component entities that meet the deduction conditions is generated.

5. The calculation method according to claim 4, characterized in that: The step of creating a deduction model for template deduction according to the geometric information of the intersecting component primitives includes: Extracting geometric information of the intersecting component primitives from the intersecting component primitive list to form an initial shape of the subtraction model; According to the geometric information of the intersecting component primitives, the geometric shape and size of the subtraction model are adjusted to make the subtraction model match the template geometric model; Generates a final deduction model for template deduction based on the adjusted deduction model.

6. The calculation method according to claim 1, characterized in that: The determining of the spatial relationship between each template triangular face in the template triangular face model and the subtraction model includes: S10, judging whether each template triangular face in the template triangular face model is parallel to the triangular face of the subtracted model according to the plane normal vector, if so, executing step S11; otherwise, executing step S20; S11, using the center point of the template triangular surface and the plane normal vector as a ray, and finding the intersection point with the triangular surface of the subtracted model, if they intersect and the parallel distance is within a preset range, executing step S12; otherwise, executing step S20; S12, determining that the template triangular surface overlaps with the subtraction model; S20, taking the center point of the template triangular surface as the origin, draw rays in six directions, upward, downward, left, right, front and back, respectively, and find the intersection points with the triangular surface of the subtracted model. If the number of intersection points in one direction is 0, execute step S21; otherwise, execute step S22; S21, determining that the template triangular surface is outside the subtraction model; S22. When the number of intersection points is an odd number, determine that the template triangular face is inside the subtracted model; when the number of intersection points is an even number, determine that the template triangular face is outside the subtracted model.

7. A calculation device for the attribution of intersecting component templates, characterized in that: Applied to intersecting components in buildings, the device comprises: A calculation rule setting unit, used to set the calculation rules of the component template, including setting the deduction relationship between components and the attribution relationship of the overlapping parts of components; The engineering quantity model creation unit is used to select the component graphics element whose template area needs to be calculated, and create a template geometric model corresponding to the component graphics element according to the geometric information of the component graphics element; A component element screening unit, used for screening the intersecting component elements that need to be deducted according to the calculation rules of the component template; A subtraction model creation unit, used to create a subtraction model for template subtraction according to the geometric information of the intersecting component primitives; A subtraction operation execution unit, used for distinguishing an internal template, an external template and a template overlapping with a surface of the subtraction model according to the subtraction model, and executing a subtraction operation of the template geometric model; The template geometric model uses Boolean operations of spatial grids to perform subtraction operations, including: determining whether a triangular face in the template geometric model intersects with a triangular face in the subtraction model, and if so, using the subtraction model to cut the triangular face of the template geometric model to generate a template triangular face model; looping through the template triangular face model to determine a spatial relationship between each template triangular face in the template triangular face model and the subtraction model, including an internal relationship, an external relationship, or an overlapping relationship; based on the spatial relationship between each template triangular face and the subtraction model, subtracting the corresponding template triangular face according to the calculation rules of the component template to generate a template geometric model after subtraction operations; The quantity calculation unit is used to calculate the template area quantity according to the template geometric model after performing the deduction operation.

8. A computing device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the calculation method for the intersection component template attribution according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method and device for checking component deduction in BIM model in engineering

    CN108664674A

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

    CN110990925A