Exterior facade quantity calculation method, device and medium based on sketchup model
By using a plug-in solution and employing hierarchical grouping algorithms and dynamic sectioning technology, the project can automatically calculate the quantity and cost of the facade of a SketchUp model. This solves the problems of large workload and low accuracy caused by manual statistics, and achieves efficient and accurate control of project quantity and cost.
Patent Information
- Application Number
- CN202511278104.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-09
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-09-09
AI Technical Summary
SketchUp models cannot directly output engineering quantity data, so designers need to manually calculate the material area, which leads to a large workload, is prone to errors, and makes it difficult to guarantee the accuracy of complex curved surfaces. Cost control is disconnected from design, resulting in low efficiency.
Through a plug-in solution, using hierarchical grouping algorithms and dynamic sectioning technology, the quantity and cost of facade works are automatically calculated, including creating a material price library, grouping components, sectioning lines, and calculating area and cost.
It enables automatic calculation of facade engineering quantities and costs, improves design efficiency and accuracy, reduces the workload of manual statistics, ensures that the calculation error of complex facades is within 5%, and synchronizes cost data in real time.
Smart Images

Figure CN120764048B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of building information model processing, and particularly relates to a facade quantity calculation method, device and medium based on a Sketchup model. BACKGROUND
[0002] In the scheme design stage, designers often tend to use Sketchup to quickly build the facade modeling and contour of the building in order to facilitate effective communication with all parties of the project and establish the final architectural design. However, in the facade design process, the designer must consider the index requirements of the engineering cost. The complex and variable facade modeling and the selection of different materials often lead to cost increase, which may exceed the predetermined budget. In order to ensure that the facade design is both beautiful and meets the engineering cost index, after completing the facade modeling, the designer needs to calculate the quantity of various materials in detail, and then obtain the total cost of the facade. If it is found that the cost exceeds the index, the design scheme must be adjusted and the cost must be recalculated. However, this process becomes particularly tedious in Sketchup because the model of the software is based on a triangular patch, and the existing technology often requires the designer to estimate by manually calculating a table, which undoubtedly increases a large amount of workload.
[0003] In summary, in the architectural scheme design stage, designers often use Sketchup to quickly build a facade model for scheme communication and confirmation. However, the existing technology has significant defects:
[0004] The Sketchup model is based on a triangular patch structure and cannot directly output the quantity data, the designer needs to manually count the area corresponding to different materials, which is a large amount of work and prone to errors; when facing complex curved surfaces or special-shaped facades, the precision of manual measurement is difficult to guarantee, leading to cost accounting deviation; cost control is disconnected from design, and each scheme adjustment needs to be manually recalculated, which is inefficient. SUMMARY
[0005] Therefore, the present application provides a facade quantity calculation method, device and medium based on a Sketchup model, which directly starts from the designed Sketchup model, increases the corresponding plug-in, analyzes the Sketchup model, and based on the relevant data design algorithm, can realize the automatic calculation of the facade quantity.
[0006] To achieve the above purpose, the technical scheme of the present application is as follows:
[0007] A facade quantity calculation method based on a Sketchup model, comprising the following steps: creating a built-in material price library in the plug-in;
[0008] The Sketchup model is parsed, the components are automatically grouped according to the floor height and bottom elevation, the hierarchical structure of the floor, the facade and the calculation area is formed, and the number of component groups is consistent with the total number of floors.
[0009] The specific floor corresponding to the grouping name which needs to calculate the facade quantity is identified and selected from the Sketchup model;
[0010] For the grouping name corresponding to the selected target floor, the facade sub-group under the grouping is extracted; based on the built-in material price library, all the faces in the facade sub-group that match the material price library are screened to generate an effective face set;
[0011] The effective face is converted into a calculation memory data structure, and is classified as a face parallel to the X-axis or Y-axis according to the normal vector; taking the lower left corner of all faces as the reference, a vertical section plane cluster is generated according to the preset sectioning interval, and the sectioning operation is performed on the classified face to form the original section line;
[0012] The original section line is subjected to a de-duplication operation, intersection breakpoint processing, and filtering of short lines with a length less than 50% of the floor height;
[0013] The processed and filtered line is divided into two groups of internal section lines and external section lines;
[0014] The external lines of the same material are merged and the length is accumulated;
[0015] The area corresponding to each external line is calculated, and the total area of the facade is obtained.
[0016] The area corresponding to each external line is calculated, and the total area of the facade is obtained.
[0017] The engineering cost calculation step includes: calling the built-in material price library, multiplying the area of each material by the corresponding unit price, and summarizing the total cost of the facade;
[0018] According to the total area of the building, the unit area cost index is automatically generated.
[0019] The application also provides another facade quantity calculation method based on the Sketchup model, comprising the following steps: creating a built-in material price library in the plug-in; creating a Sketchup model project floor information table, including project area, floor height and floor bottom elevation;
[0020] Obtain the floor data information input by the user, automatically group the floors according to the floor height and floor bottom elevation, parse the Sketchup model using the floor grouping result, and obtain the face information of the components corresponding to each floor one by one;
[0021] Identify and select the specific floor that needs to calculate the external facade quantity from the Sketchup model, filter all the faces of the corresponding components of the floor according to the built-in material price library, and generate a face set;
[0022] Convert all the obtained faces into memory structure data for calculation, and classify them into faces parallel to the X and Y axes according to the normal vectors of the faces; generate a vertical section plane cluster according to a preset section interval with the lower left corner of all the faces as the reference, and perform a section operation on the classified faces to form original section lines;
[0023] Perform a de-duplication operation, intersection breakpoint processing on the original section lines, and filter short lines with a length less than 50% of the floor height;
[0024] Divide the processed and filtered lines into two groups of internal section lines and external section lines;
[0025] Merge the external lines of the same material and accumulate the length;
[0026] Calculate the area corresponding to each external line, and obtain the total area of the external facade by summarizing.
[0027] Wherein, when automatically grouping floors according to floor height and floor bottom elevation, components in the same elevation range are grouped, and the total number of component groups is consistent with the total number of floors.
[0028] Wherein, the area corresponding to each external line is calculated according to the formula: line length x section interval; the section interval is a configurable parameter, and the value range is 10mm to 100m.
[0029] Wherein, the engineering cost calculation step further comprises: calling the built-in material price library, multiplying the area of each material by the corresponding unit price, and summarizing to obtain the total cost of the external facade;
[0030] According to the total area of the building, automatically generate the unit area cost index.
[0031] The application also provides an electronic device, comprising: a processor; a memory storing a computer program; when the processor executes the computer program, the method for calculating the external facade quantity based on the Sketchup model is realized.
[0032] Wherein, it further comprises: a material price library management module configured to maintain the mapping relationship between material name and unit price; a dynamic section engine module configured to generate a section plane cluster according to the normal vector classification result and the section interval parameter; a cost calculation module configured to generate real-time cost data based on line length, section interval and material unit price.
[0033] The application further provides a computer readable storage medium, which has computer instructions stored thereon, and the instructions are executed to realize the facade engineering quantity calculation method based on a Sketchup model.
[0034] Advantages:
[0035] 1. The method is a plug-in solution integrated in Sketchup, and the facade engineering quantity and cost are automatically calculated through a hierarchical grouping algorithm and a dynamic sectioning technology. A designer only needs to set the unit price of the facade material, and the system can automatically calculate the engineering cost of the facade, and further obtain the engineering cost index per unit building area as a design basis. This method not only saves time and effort, but also greatly improves the efficiency and accuracy of engineering design.
[0036] 2. In the method, the Sketchup model hierarchical structure is automatically parsed by the plug-in, the facade subset is quickly positioned according to floor grouping, and the effective calculation surface is selected based on the material price library. Replacing the traditional manual face-by-face statistical method, the manual table calculation originally taking several hours is shortened to the minute-level operation of the plug-in automatic execution. The designer only needs to set the sectioning interval and the material unit price to trigger the whole process.
[0037] 3. The application adopts a dynamic sectioning algorithm to deal with curved surfaces and special-shaped structures: based on normal vector classification to ensure the accuracy of vertical surface identification, a vertical sectioning plane cluster is generated with a configurable sectioning interval (10mm-100m); through intersection breakpoint processing and length filtering (such as filtering out lines less than 50% of the floor height), the area calculation error rate of complex components such as special-shaped curtain walls and arc decorative strips is controlled within 5%.
[0038] 4. The method adopts a built-in material price library to directly bind the model material name. When the designer modifies the facade material or adjusts the modeling, the plug-in automatically re-executes the sectioning calculation to generate new cost indicators in real time. This avoids the lag of re-exporting data and manual accounting in the traditional process when the design changes, and ensures real-time synchronization of cost data in the scheme iteration process.
[0039] 5. The hierarchical grouping rule (floor→ facade→ calculation area) of the application forces the uniform data collection logic. For example, when the "3F facade stone" line is merged for calculation, its original data is always associated with the corresponding material Face surface in the "3F" grouping in the model, which eliminates the floor attribution errors or material confusion problems that are prone to occur in manual statistics.
[0040] 6、The present application supports dynamic adjustment according to engineering precision requirements in the parameterized design of the sectioning interval: a simple rule facade can use an interval of 100 mm to improve calculation speed; a complex project can be encrypted to an interval of 10 mm to ensure detail accuracy. At the same time, the dynamic filtering threshold based on the floor height (minimum reserved length = floor height x 0.5) automatically adapts to the different structural characteristics of super high-rise buildings and low-rise villas. BRIEF DESCRIPTION OF DRAWINGS
[0041] Figure 1 The present application provides an embodiment of a method for the specific flowchart.
[0042] Figure 2 The present application provides an embodiment of a method for the specific flowchart. DETAILED DESCRIPTION
[0043] The present application will be described in detail below with reference to the accompanying drawings and examples.
[0044] The present application proposes a facade engineering quantity calculation method based on a Sketchup model, which converts a Sketchup face model into quantifiable engineering data through a hierarchical grouping algorithm and dynamic sectioning technology. The initialization stage includes creating a plug-in built-in material price library as a benchmark for subsequent material checking, and automatically grouping components by floor elevation to establish a hierarchical structure (floor → facade → calculation area); the data extraction stage includes positioning the target floor (such as 3F) and extracting its facade sub-group, selecting valid material faces, converting data and classifying by normal vector (X / Y axis parallel faces); the sectioning calculation stage includes taking the lower left corner as the benchmark, sectioning the face to generate lines at intervals, cleaning the line data (de-duplication / disconnection of intersection / filtration of short lines), and dividing the lines into two groups: internal and external; the result generation stage includes merging external lines of the same material and accumulating length, calculating area by "length x interval", and finally summarizing the total facade area.
[0045] Example 1:
[0046] The specific process of this embodiment is shown in Figure 1 , including the following steps:
[0047] Step 1: Build a plug-in and create a built-in material price library in the plug-in as basic data for engineering cost calculation and as a checking standard for materials in the Sketchup model.
[0048] Step 2: Run the Sketchup model program;
[0049] Detailed grouping of components in Sketchup model, specifically according to floor height, floor bottom elevation automatic floor grouping, using floor grouping results to analyze Sketchup model, components in the same elevation range are grouped together, defined as the same group name, the total number of groups is consistent with the total number of floors; these groups are divided into multiple hierarchical structures: floor—facade—calculated (or non-calculated) area.
[0050] Step 3: According to the grouping rules, identify and select the specific floor grouping name that needs to calculate the facade engineering quantity from the Sketchup model, for example, "3F". Filter out all the component groups with the first-level grouping name "3F" in the group.
[0051] Step 4: For the filtered "3F" component group, further extract the sub-group named facade under this group.
[0052] Step 5: According to the built-in material price library, filter all the faces (Face) of the extracted facade sub-group, and generate a face set. Among them, only the faces corresponding to the materials in the built-in material price library are selected.
[0053] Step 6: Convert the obtained Face face into a memory structure data for calculation, and classify them into faces parallel to the X and Y axes according to their normal vectors.
[0054] Step 7: Determine the lower left corner position of all faces, and calculate the construction of vertical planes parallel to the X and Y axes according to the specified sectioning interval (which can be adjusted as needed). Use these planes to perform sectioning on the obtained Face faces to form sectioning lines.
[0055] Step 8: Filter the formed sectioning lines, including: removing duplicate lines in the sectioning lines; breaking the same line at the intersection position, and filtering the line that is less than half the length of the layer height.
[0056] Step 9: Group the filtered sectioning lines based on the sectioning faces, and use the grouped lines to distinguish between internal and external sectioning lines.
[0057] Step 10: For external sectioning lines, merge lines with the same material; the length of the merged lines is cumulative, and the sectioning interval remains unchanged.
[0058] Step 11: For all external sectioning lines, multiply the length of each line by the sectioning interval to obtain the area corresponding to each external sectioning line.
[0059] Sum up the areas corresponding to all external sectioning lines to obtain the facade area.
[0060] Embodiment 2: This embodiment further optimizes the grouping process and proposes an optimization embodiment, specifically including the following steps:
[0061] Step 21: Construct a plug-in that creates an internal material price library as a check standard for materials used in the Sketchup model and as basic data for engineering cost calculation.
[0062] Create a Sketchup model project floor information table, including project area, floor height, and floor bottom elevation;
[0063] Step 22: Run the Sketchup model program;
[0064] Obtain user input floor data information, automatically group floors according to floor height and floor bottom elevation, and use the floor grouping result to parse the Sketchup model to obtain the face information of each floor component one by one; wherein components within the same elevation range are grouped, and the total number of groups is consistent with the total number of floors;
[0065] Step 23: Identify and select the specific floor that needs to calculate the exterior facade quantity from the Sketchup model, and according to the internal material price library, filter all faces (Face) of the corresponding components of the floor to generate a face set. Among them, only the faces corresponding to the materials included in the internal material price library are filtered.
[0066] Step 24: Convert the obtained Face face into a memory structure data used for calculation, and according to the normal vector of the face, classify them into faces parallel to the X and Y axes.
[0067] Step 25: Determine the lower left corner position of all faces, and calculate the construction of vertical planes parallel to the X and Y axes according to the specified sectioning interval (which can be adjusted as needed), and use these planes to perform sectioning on the obtained Face face to form sectioning lines.
[0068] Step 26: Filter the formed sectioning lines, including: removing duplicate lines in the sectioning lines; disconnect the same line at the intersection position, and filter the line that is less than half the length of the layer height.
[0069] Step 27: Group the filtered sectioning lines based on the sectioning face, and use the grouped lines to distinguish between internal sectioning lines and external sectioning lines.
[0070] Step 28: For external sectioning lines, merge lines with the same material; the length of the merged line is cumulative, and the sectioning interval remains unchanged.
[0071] Step 29: multiply the length of each external section line by the section interval to obtain the area corresponding to each external section line; and aggregate the areas corresponding to all external section lines to obtain the facade area.
[0072] Further, the method can further automatically calculate the project cost, and the implementation steps are as follows:
[0073] For an external section line, multiply the area of each material corresponding to the external section line by the unit price of the material according to the built-in material price library, and aggregate to obtain the project cost corresponding to the external section line; and aggregate the project costs corresponding to all external section lines to obtain the overall project cost.
[0074] The embodiment of the present application further provides an electronic device, Figure 2 The structure of the electronic device provided by the embodiment of the present application is shown, for example, the electronic device 20 can include a processor 21, a memory 22 and a transmission device 23, the processor is used for executing the facade quantity calculation method based on the Sketchup model mentioned in the above embodiment, wherein the processor and the memory can be connected through a bus or other manners, and the connection through the bus is taken as an example. The transmission device can be connected with the processor and the memory through wired or wireless mode. The memory as a kind of non-transient computer readable storage medium can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the facade quantity calculation method based on the Sketchup model in the embodiment of the present application. The processor executes various functions of the processor and data processing by running the non-transient software programs, instructions and modules stored in the memory, that is, realizes the facade quantity calculation method based on the Sketchup model in the above method embodiment. The memory can include a program storage area and a data storage area, wherein the program storage area can store the operating system and the application program required by at least one function; the data storage area can store the data created by the processor and the like. In addition, the memory can include a high-speed random access memory, and can also include a non-transient memory, such as at least one magnetic disk storage device, a flash memory device or other non-transient solid-state storage device. In some embodiments, the memory can optionally include a memory remotely arranged relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The one or more modules are stored in the memory, and when executed by the processor, the facade quantity calculation method based on the Sketchup model in the embodiment is executed.
[0075] Further, the electronic device can further include: a material price library management module configured to maintain a mapping relationship between material names and unit prices; a dynamic section engine module configured to generate a section plane cluster according to the normal vector classification result and a section interval parameter; and a cost calculation module configured to generate real-time cost data based on line length, section interval, and material unit price.
[0076] As another aspect, the present application also provides a computer readable storage medium, which can be the computer readable storage medium contained in the device described in the above embodiments; or can exist independently and not be assembled into the device. The computer readable storage medium can be a tangible storage medium such as random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, floppy disk, hard disk, removable memory disk, CD-ROM, or any other form of storage medium known in the art. The computer readable storage medium stores one or more programs used by one or more processors to execute the method for calculating the quantity of the exterior facade based on the Sketchup model.
[0077] To sum up, the above is only the preferred embodiment of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for calculating the quantity of facade works based on SketchUp models, characterized in that, Includes the following steps: Create a built-in material price library in the plugin; The SketchUp model is analyzed, and components are automatically grouped according to floor height and bottom elevation to form a hierarchical structure of floors, facades and calculation areas. The number of component groups is consistent with the total number of floors. Identify and select the specific floor group name corresponding to the floor for which the facade work volume needs to be calculated from the SketchUp model; For the group name corresponding to the selected target floor, extract the facade subgroups under that group; Based on the built-in material price library, all faces in the exterior face subgroup that match the material price library are filtered to generate a set of valid faces; The effective faces are converted into a computational memory data structure and classified into faces parallel to the X-axis or Y-axis according to their normal vectors; a cluster of vertical cutting planes is generated based on the lower left corner of all faces and a preset cutting interval; the classified faces are then cut to form the original cutting lines. Perform deduplication and intersection breakpoint processing on the original section lines, and filter out short lines whose length is less than 50% of the floor height; The processed and filtered lines are divided into two groups: internal section lines and external section lines. Merge outer lines of the same material and add up their lengths; Calculate the area corresponding to each external line and sum them up to obtain the total area of the facade.
2. The method according to claim 1, characterized in that, The formula for calculating the area corresponding to each external line is: line length × cutting spacing; the cutting spacing is a configurable parameter with a value range of 10mm to 100mm.
3. The method according to claim 1 or 2, characterized in that, It also includes the engineering cost calculation steps: calling the built-in material price library, multiplying the area of each material by the corresponding unit price, and summing them up to obtain the total cost of the facade; The cost per unit area is automatically generated based on the total building area.
4. A method for calculating the quantity of facade works based on SketchUp models, characterized in that, Includes the following steps: Create a built-in material price library in the plugin; create a SketchUp model project floor information table, including project area, floor height, and floor bottom elevation; The system obtains floor data input by the user, automatically groups floors according to floor height and floor bottom elevation, and uses the floor grouping results to parse the SketchUp model and obtain the surface information of the corresponding components for each floor. Identify and select the specific floor from the SketchUp model where the quantity of the facade work needs to be calculated. Based on the built-in material price library, filter all the faces of the corresponding components on that floor and generate a set of faces. All acquired faces are converted into memory structure data for computation, and they are classified into faces parallel to the X and Y axes according to their normal vectors. Based on the lower left corner of all faces, a cluster of vertical cutting planes is generated according to a preset cutting interval. Cutting operations are performed on the classified faces to form the original cutting lines. Perform deduplication and intersection breakpoint processing on the original section lines, and filter out short lines whose length is less than 50% of the floor height; The processed and filtered lines are divided into two groups: internal section lines and external section lines. Merge outer lines of the same material and add up their lengths; Calculate the area corresponding to each external line and sum them up to obtain the total area of the facade.
5. The method according to claim 4, characterized in that, When automatically grouping floors according to floor height and floor bottom elevation, components within the same elevation range are grouped together, and the total number of component groups is consistent with the total number of floors.
6. The method according to claim 4 or 5, characterized in that, The formula for calculating the area corresponding to each external line is: line length × cutting spacing; the cutting spacing is a configurable parameter with a value range of 10mm to 100mm.
7. The method according to claim 4 or 5, characterized in that, It also includes the engineering cost calculation steps: calling the built-in material price library, multiplying the area of each material by the corresponding unit price, and summing them up to obtain the total cost of the facade; The cost per unit area is automatically generated based on the total building area.
8. An electronic device, characterized in that, include: processor; The memory stores a computer program; when the processor executes the computer program, it implements the method for calculating the quantity of facade works based on the SketchUp model as described in any one of claims 1-7.
9. The electronic device according to claim 8, characterized in that, Also includes: The material price database management module is configured to maintain the mapping relationship between material names and unit prices; The dynamic sectioning engine module is configured to generate a cluster of sectioning planes based on the normal vector classification results and the sectioning spacing parameter. The cost calculation module is configured to generate real-time cost data based on line length, section spacing, and material unit price.
10. A computer-readable storage medium storing computer instructions thereon, characterized in that, When the instruction is executed, it implements the method for calculating the facade engineering quantity based on the Sketchup model as described in any one of claims 1-7.
Citation Information
Patent Citations
Vertical view generation method and device based on BIM model, equipment and storage medium
CN119358064A
Method and system for quickly counting engineering quantity
CN119474153A