Wall surface information determination method and device, computer device, and storage medium

CN117592167BActive Publication Date: 2026-09-11GLODON CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311735171.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2026-09-11
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

[0004]有鉴于此,本发明提供了一种墙面信息的确定方法、装置、计算机设备及存储介质,以解决计算房间装修工程量时人工成本和耗费时间增加的问题

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117592167B_ABST
    Figure CN117592167B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of digital construction, and discloses a wall information determination method and device, computer equipment and a storage medium. The method comprises: obtaining building information of a target room to be generated; determining a closed area corresponding to the target room and a target wall graph element corresponding to the closed area based on the building information; generating a target room model corresponding to the target room based on the target wall graph element corresponding to the closed area; and determining wall information corresponding to each target wall of the target room model based on each target wall in the target room model. Through the technical scheme of the present application, the calculation of wall quantities in room decoration can be completed without separately drawing room decoration wall components, which saves time and effort, and greatly reduces design costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital construction technology, specifically to a method, apparatus, computer equipment, and storage medium for determining wall information. Background Technology

[0002] With the development of information technology, more and more users are using 3D design software to draw corresponding architectural scenes and set up engineering methods for room decoration before decorating their rooms. This is not only more intuitive and efficient, but also enables true virtual design and optimization based on 3D functional models that include engineering characteristics such as quality, materials, and structure.

[0003] In related technologies, users need to manually draw the room and various decorative components inside the room, such as the floor, walls, baseboards, and ceiling, which greatly increases labor costs and time when calculating the amount of room decoration work. Summary of the Invention

[0004] In view of this, the present invention provides a method, apparatus, computer equipment and storage medium for determining wall information, so as to solve the problem of increased labor costs and time consumption when calculating the amount of room renovation work.

[0005] In a first aspect, the present invention provides a method for determining wall information, comprising: acquiring architectural information of a target room for which walls are to be generated; determining, based on the architectural information, a closed area corresponding to the target room and a target wall element corresponding to the closed area; generating a target room model corresponding to the target room based on the target wall element corresponding to the closed area; and determining wall information corresponding to each target wall in the target room model based on each target wall in the target room model.

[0006] The method for determining wall information provided in this invention, after obtaining the architectural information of the target room from which the wall to be generated is performed, determines the enclosed area corresponding to the target room and the target wall primitives corresponding to the enclosed area based on the architectural information, thereby generating a target room model corresponding to the target room. Based on each target wall in the target room model, the wall information corresponding to each target wall is determined. This allows for the calculation of wall quantities in room decoration without separately drawing the wall components, saving time and effort while significantly reducing design costs.

[0007] In one optional implementation, a target room model corresponding to the target room is generated based on the target wall primitives corresponding to the closed area, including: calibrating the closed area to determine the target closed area corresponding to the target room; and generating the target room model corresponding to the target room based on the target closed area.

[0008] The method for determining wall information provided in this embodiment of the invention determines the target closed area corresponding to the target room by calibrating the closed area, and generates a target room model corresponding to the target room, thereby making the final target room model corresponding to the target room more accurate and effectively reducing the errors that may occur in the modeling process.

[0009] In one optional implementation, the closed area is calibrated to determine the target closed area corresponding to the target room, including: determining the outline of the closed area based on the target wall primitives of the closed area; determining any point in the outline as the center calibration point; determining the minimum closed area surrounding the center calibration point; and determining the closed area with the smallest area between the projected area of ​​the minimum closed area and the projected area of ​​the closed area as the target closed area.

[0010] The method for determining wall information provided in this invention determines the minimum enclosed area surrounding the central calibration point by identifying any point on the outline corresponding to the enclosed area. The projected area of ​​the minimum enclosed area is compared with the projected area of ​​the enclosed area, and the enclosed area with the smallest area is determined as the target enclosed area. This achieves calibration of the enclosed area and improves the accuracy of the generated target room model.

[0011] In one optional implementation, based on each target wall in the target room model, the wall information corresponding to each target wall in the target room model is determined, including: obtaining the bottom height and top height of each target wall in the target room model; generating the initial wall corresponding to each target wall based on each bottom height and top height; determining whether there is a cast-in-place slab in the target room; when there is a cast-in-place slab in the target room, correcting the height of each initial wall in the target room model based on the top height of the cast-in-place slab to obtain a corrected height; and generating each target wall in the target room model based on the corrected height.

[0012] The method for determining wall information provided in this invention, after obtaining the bottom and top heights of each target wall in the target room model, generates an initial wall surface corresponding to each target wall based on these heights. Then, it determines whether the target room has a cast-in-place slab. If it is determined that the target room has a cast-in-place slab, the height of the initial wall surface is corrected based on the height of the cast-in-place slab, thus generating each target wall surface of the target room model. Therefore, it can automatically generate each target wall surface of the target room model without separately drawing the room decoration wall components, saving time and effort while significantly reducing design costs.

[0013] In one optional implementation, when it is determined that there is a cast-in-place slab in the target room, the height of each initial wall of the target room model is corrected based on the top height of the cast-in-place slab, including: determining the first projected area of ​​the cast-in-place slab and the second projected area of ​​the target room model; when the first projected area is greater than or equal to the second projected area, the top height of the cast-in-place slab is determined as the height of each target wall; when the first projected area is less than the second projected area, the height of each initial wall is determined as the height of each target wall.

[0014] The method for determining wall information provided in this embodiment of the invention determines the first projected area of ​​the cast-in-place slab and the second projected area of ​​the target room model when the target room has only one cast-in-place slab. When the first projected area is greater than or equal to the second projected area, the top height of the cast-in-place slab is determined as the height of each target wall. When the first projected area is less than the second projected area, the height of each initial wall is determined as the height of each target wall. This method can automatically determine the height of each target wall based on the relationship between the first and second projected areas, greatly saving the user's labor costs and time.

[0015] In one optional implementation, when it is determined that there are multiple cast-in-place slabs in the target room, the height of each initial wall of the target room model is corrected based on the top height of the cast-in-place slabs, including: determining the third projected area corresponding to each cast-in-place slab and the fourth projected area corresponding to the target room model; determining whether the top heights of each cast-in-place slab are consistent; when the top heights of each cast-in-place slab are consistent and the sum of the third projected areas corresponding to each cast-in-place slab is greater than or equal to the fourth projected area, the top height of each cast-in-place slab is determined as the height of each target wall; when the top heights of each cast-in-place slab are consistent and the sum of the third projected areas corresponding to each cast-in-place slab is less than the fourth projected area, the height of each initial wall is determined as the height of each target wall.

[0016] The wall information determination method provided in this embodiment of the invention determines the third projected area of ​​each cast-in-place slab and the fourth projected area of ​​the target room model when it is determined that there are multiple cast-in-place slabs in the target room. It also determines whether the top height of each cast-in-place slab is consistent. Based on the consistent top height of the cast-in-place slab and the size relationship between the third and fourth projected areas, the height of each target wall is automatically generated, which greatly saves the user's labor costs and time.

[0017] In one optional implementation, when the top heights of the cast-in-place slabs are inconsistent and the sum of the third projected areas corresponding to the cast-in-place slabs is greater than or equal to the fourth projected area, the number of cast-in-place slabs corresponding to each target wall is determined respectively; when it is determined that a cast-in-place slab corresponds to any target wall, the top height of the cast-in-place slab is determined as the height of the target wall surface corresponding to the target wall; when it is determined that multiple cast-in-place slabs correspond to any target wall, the cast-in-place slab with the lowest top height among the multiple cast-in-place slabs is determined, and the height of the cast-in-place slab with the lowest top height is determined as the height of the target wall surface corresponding to the target wall.

[0018] The wall information determination method provided in this embodiment of the invention determines the number of cast-in-place slabs above each target wall when the top heights of the cast-in-place slabs are inconsistent and the sum of the third projected areas of each cast-in-place slab is greater than or equal to the fourth projected area. This method automatically generates different heights for each target wall based on the different number of cast-in-place slabs above each target wall, greatly saving the user's labor costs and time.

[0019] In one optional implementation, determining the target wall elements corresponding to the enclosed area based on building information includes: determining whether the projection of each wall element corresponding to the enclosed area intersects with the projection of the target room; when the projection of each wall element intersects with the projection of the target room, determining the type of each wall element; and filtering each wall element based on its type to determine the target wall elements corresponding to the enclosed area.

[0020] The method for determining wall information provided in this embodiment of the invention determines the type of each wall element when the projection of each wall element corresponding to the closed area intersects with the projection of the target room, and filters all wall elements according to the type of each wall element, thereby selecting the target wall element corresponding to the closed area to generate the target room model corresponding to the target room.

[0021] Secondly, the present invention provides a device for determining wall information, comprising: an acquisition module for acquiring architectural information of a target room for which a wall is to be generated; a target wall element determination module for determining, based on the architectural information, a closed area corresponding to the target room and a target wall element corresponding to the closed area; a generation module for generating a target room model corresponding to the target room based on the target wall element corresponding to the closed area; and a wall information determination module for determining the wall information corresponding to each target wall in the target room model.

[0022] Thirdly, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method for determining wall information as described in the first aspect or any corresponding embodiment thereof.

[0023] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method for determining wall information according to the first aspect or any corresponding embodiment thereof. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the specific embodiments or related technologies of the present invention, the drawings used in the description of the specific embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0025] Figure 1 This is a flowchart illustrating a method for determining wall information according to an embodiment of the present invention;

[0026] Figure 2 This is a flowchart illustrating another method for determining wall information according to an embodiment of the present invention;

[0027] Figure 3 This is a schematic diagram of the outline of a closed region according to an embodiment of the present invention.

[0028] Figure 4 This is a structural block diagram of a wall information determination device according to an embodiment of the present invention;

[0029] Figure 5 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0031] With the development of information technology, more and more users are using 3D design software to draw corresponding architectural scenes and set up engineering methods for room decoration before decorating their rooms. This is not only more intuitive and efficient, but also enables true virtual design and optimization based on 3D functional models that include engineering characteristics such as quality, materials, and structure.

[0032] In related technologies, when calculating the amount of room renovation work, cost estimators can easily use 3D design software to manually draw the room and various decorative components inside the room, such as the floor, walls, baseboards, and ceiling. However, they cannot use 3D design software to calculate the amount of room renovation work.

[0033] In view of this, the technical solution of the present invention can automatically generate a 3D model of a room and its various components based on the room drawn in the 3D design software and the corresponding decoration construction method. Then, the room decoration construction quantity can be calculated through the model. Thus, the calculation of the wall construction quantity in the room decoration can be completed without drawing the wall components of the room decoration separately, which saves time and effort and greatly reduces design costs.

[0034] According to an embodiment of the present invention, a method for determining wall information is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0035] This embodiment provides a method for determining wall information, which can be used in a computer device equipped with a 3D quantity calculation application, such as a BIM civil engineering measurement application. Figure 1 This is a flowchart of a method for determining wall information according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps.

[0036] Step S101: Obtain the architectural information of the target room from which the wall to be generated is located.

[0037] Designers use 3D design software to create architectural scenes corresponding to the target room and design the walls of the target room according to their requirements. Correspondingly, the computer equipment can respond to the designer's design operations for the target room, generate the walls corresponding to the design operations, and export the generated walls in the General Foundation Classes (GFC) format to generate GFC format wall engineering information files.

[0038] Building information is used to characterize the architectural parameters of the target room. Specifically, building information may include the various building components corresponding to the target room, the location information of each building component, the projection of each building component, the projection of the target room, the relevant parameters of the target room walls, the number of cast-in-place slabs in the target room, and the top height of each cast-in-place slab. The building components refer to the various architectural structures that constitute the target room, such as walls, beams, and columns. The relevant parameters of the target room walls may include information such as the length, height, and thickness of the target room walls.

[0039] After receiving a wall engineering information file in GFC format, the 3D quantity calculation application in the computer device can parse the wall engineering information file to obtain all the architectural information of the target room for which the wall to be generated is included in the wall engineering information file.

[0040] Step S102: Based on the building information, determine the enclosed area corresponding to the target room and the target wall elements corresponding to the enclosed area.

[0041] Based on the projections of each building component corresponding to the target room and the projection of the target room included in the building information, building components whose projections overlap with the projection of the target room are identified as building components whose projections intersect with the target room's projection. This establishes associated graphic elements corresponding to these building components. Associated graphic elements are those corresponding to building components whose projected areas intersect with the target room's area, such as wall elements and beam elements. These associated graphic elements are then grouped, for example, one group for wall elements and another for beam elements.

[0042] Specifically, based on the thickness and length information of the target room walls included in the building information, the distances from the centerline and inner / outer edge lines of each target wall element to the centerline can be calculated. For example, when the thickness of the target room wall is 0.6m and the length is 10m, the length of the centerline can be calculated to be 10m, the distance from the centerline to the inner edge line is 0.3m, and the distance from the centerline to the outer edge line is 0.3m.

[0043] Specifically, if the center lines of two target wall elements are collinear and connected end-to-end, there is no need to extend the center lines; if the center lines of two target wall elements are collinear but not connected end-to-end, and the distance between the two center lines is within a preset distance, such as 10mm, then one of the center lines is extended until the two center lines are connected end-to-end. Traversing the above-mentioned extended wall lines, the closed area corresponding to the target room is generated.

[0044] Specifically, based on the relevant parameters of the target room walls included in the building information, users can directly set the values ​​of each target wall element corresponding to the target room according to the length, height, and thickness information of the target room walls, combined with the location information of each target wall, to generate each target wall element. Then, connecting these target wall elements generates the corresponding closed area of ​​the target room. For example, if a user determines that the length of the target room wall is 10m, the height is 8m, and the thickness is 0.6m based on the building information, and filters the location information of each target wall from the location information of various building components included in the building information, the user can manually enter the information of 10m length, 8m height, and 0.6m thickness in the setting module of the 3D quantity calculation application. Each target wall element will be generated at the selected location information, and connecting these target wall elements will generate the corresponding closed area of ​​the target room.

[0045] Specifically, in 3D quantity takeoff applications, rooms must be arranged within enclosed areas, which are generally enclosed by various types of wall elements, either individually or together, such as masonry wall elements, insulated wall elements, curtain wall elements, and virtual wall elements.

[0046] Step S103: Based on the target wall primitives corresponding to the closed area, generate the target room model corresponding to the target room.

[0047] The target room model is a model generated specifically for the target room to represent its wall layout. Specifically, based on the center lines of the target wall primitives determined above, the center lines are connected to generate the contour lines corresponding to the closed area. The closed area is then calibrated based on these contour lines to generate the target closed area corresponding to the target room. The rendering engine of the 3D quantitative modeling software is then called to render the target closed area into the modeling scene. That is, a model to be rendered is generated based on the relevant parameters of each target wall primitive surrounding the closed area. Based on the model to be rendered, the closed area is stretched horizontally and vertically to generate the target room model corresponding to the target room.

[0048] Step S104: Based on each target wall in the target room model, determine the wall information corresponding to each target wall in the target room model.

[0049] Wall information is used to characterize the relevant parameters of each wall surface generated by attaching to each target wall. Specifically, the wall information may include information such as the length and height of the wall surface.

[0050] After determining the target room model, the relevant architectural parameters of each target wall constituting the target room model are extracted, namely, the thickness, centerline length, and height of each target wall. The relevant architectural parameters of each target wall are determined by the relevant parameters of each target wall element. Based on the centerline and thickness of each target wall, the inner length of each target wall is calculated. For example, if the target room model is surrounded by four target walls, each with a centerline length of 10m and a thickness of 0.6m, the inner length of each target wall is calculated to be 10 - 0.6 - 0.6 = 8.8m. The initial wall surface corresponding to each target wall is generated based on its inner length and height. Then, based on the acquired architectural information, it is determined whether the target room has a cast-in-place slab. If a cast-in-place slab exists, the initial wall surface is corrected based on the top height information of the cast-in-place slab.

[0051] The method for determining wall information provided in this invention, after obtaining the architectural information of the target room from which the wall to be generated is performed, determines the enclosed area corresponding to the target room and the target wall primitives corresponding to the enclosed area based on the architectural information, thereby generating a target room model corresponding to the target room. Based on each target wall in the target room model, the wall information corresponding to each target wall is determined. This allows for the calculation of wall quantities in room decoration without separately drawing the wall components, saving time and effort while significantly reducing design costs.

[0052] This embodiment provides a method for determining wall information, which can be used in a computer device equipped with a 3D quantity calculation application, such as a BIM civil engineering measurement application. Figure 2 This is a flowchart of a method for determining wall information according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps.

[0053] Step S201: Obtain the architectural information of the target room from which the walls to be generated. For details, please refer to [link to relevant documentation]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.

[0054] Step S202: Based on the building information, determine the enclosed area corresponding to the target room and the target wall elements corresponding to the enclosed area.

[0055] Specifically, step S202 includes:

[0056] Step S2021: Determine whether the projections of each wall element corresponding to the closed area intersect with the projection of the target room.

[0057] The enclosed area is a region surrounded by multiple wall elements. By combining the projections of each wall element with the projection of the target room, it is determined whether the projections of each wall element intersect with the projection of the target room. Based on the intersection determination results, the multiple wall elements in the enclosed area are initially screened to obtain the wall elements that intersect with the projection of the target room.

[0058] Step S2022: When the projection of each wall element intersects with the projection of the target room, determine the type of each wall element.

[0059] The type of a wall element is used to characterize the type of wall to which it belongs. Specifically, this type can include shear walls, masonry walls, insulated walls, infill walls, and load-bearing walls, but is not limited to these. When the projections of various wall elements intersect with the projection of the target room, the wall elements that intersect with the projection of the target room can be identified, for example, wall element A, wall element B, wall element C, and wall element D can be selected.

[0060] Specifically, based on the GFC format wall engineering information file received by the 3D algorithm application in the computer device, the wall engineering information file can be parsed to obtain the wall type tags carried in the file. The wall types of wall elements A, B, C, and D are then determined by combining these wall type tags.

[0061] Step S2023: Based on the type of each wall element, filter each wall element to determine the target wall element corresponding to the closed area.

[0062] Target wall elements are wall elements surrounding a closed area, determined after filtering various wall elements according to target wall types. For example, shear walls, masonry walls, and insulated walls can be set as target wall types. It is then determined whether the wall types of the initially filtered wall elements A, B, C, and D match the target wall types. Wall elements A, B, and C that match the target wall types are then identified as the target wall elements corresponding to the current closed area.

[0063] The method for determining wall information provided in this embodiment of the invention determines the type of each wall element when the projection of each wall element corresponding to the closed area intersects with the projection of the target room, and filters all wall elements according to the type of each wall element, thereby selecting the target wall element corresponding to the closed area to generate the target room model corresponding to the target room.

[0064] Step S203: Based on the target wall primitives corresponding to the closed area, generate the target room model corresponding to the target room.

[0065] Specifically, step S203 includes:

[0066] Step S2031: Calibrate the enclosed area to determine the target enclosed area corresponding to the target room.

[0067] To reduce the error of the final generated target room model, the closed area needs to be calibrated, and the calibrated closed area is determined as the target closed area corresponding to the target room.

[0068] In some optional implementations, step S2031 above includes:

[0069] Step a1: Based on the target wall primitives of the closed area, determine the outline of the closed area.

[0070] Specifically, if you need to generate a room of appropriate size in an enclosed area, you must first obtain the projection of the enclosed area on the XY plane. The XY plane of the enclosed area can be understood as the plane on which the top view of the enclosed area is located, but it is not limited to this.

[0071] Specifically, such as Figure 3 As shown, on the XY plane, the initial enclosed area corresponding to the target room is formed by wall element A, wall element B, wall element C, and wall element D. Based on the thickness information of the target room walls included in the acquired architectural information, the center lines of wall elements A, B, C, and D are determined respectively. Connecting the four center lines end to end generates the outline corresponding to the initial enclosed area.

[0072] Step a2: Determine any point in the contour line as the center calibration point, and determine the smallest closed area surrounding the center calibration point.

[0073] Specifically, based on the geometric characteristics of the contour lines, they are classified into concave or convex polygons. Any point within the concave or convex polygon is selected as the center calibration point corresponding to the initial closed region, and the smallest closed region surrounding the center calibration point is found.

[0074] In this context, points can be arbitrarily selected within concave or convex polygons using point selection algorithms, such as greedy algorithms, but this is not a limitation.

[0075] Step a3: Determine the target closed region as the closed region between the projected area of ​​the smallest closed region and the projected area of ​​the closed regions.

[0076] Specifically, the projected area of ​​the smallest enclosed area is compared with the projected area of ​​the initial enclosed area, and the enclosed area with the smallest area is determined as the target enclosed area corresponding to the target room, thereby achieving the calibration of the enclosed area.

[0077] In the above implementation, by determining any point on the contour line corresponding to the closed area as the center calibration point, the smallest closed area surrounding the center calibration point is determined. The projected area of ​​the smallest closed area is compared with the projected area of ​​the closed area, and the closed area with the smallest area is determined as the target closed area, thereby achieving calibration of the closed area and improving the accuracy of the generated target room model.

[0078] Step S2032: Based on the target enclosed area, generate the target room model corresponding to the target room.

[0079] Set the defined target enclosed area as the final model (poly) used to generate the target room model, call the rendering engine of the 3D quantitative modeling software to render the target enclosed area into the modeling scene, and generate the target room model corresponding to the target room.

[0080] The method for determining wall information provided in this embodiment of the invention determines the target closed area corresponding to the target room by calibrating the closed area, and generates a target room model corresponding to the target room, thereby making the final target room model corresponding to the target room more accurate and effectively reducing the errors that may occur in the modeling process.

[0081] Step S204: Based on each target wall in the target room model, determine the wall information corresponding to each target wall in the target room model.

[0082] Specifically, step S204 includes:

[0083] Step S2041: Obtain the bottom height and top height of each target wall in the target room model.

[0084] The bottom height of the target wall is the floor level elevation of the target wall, and the top height of the target wall is the floor level elevation of the target wall. Specifically, the bottom and top heights of each target wall in the target room model can be extracted from the acquired building information.

[0085] Step S2042: Based on the height of each bottom surface and the height of each top surface, generate the initial wall surface corresponding to each target wall.

[0086] The initial wall surface is the initial wall surface generated by attaching it to the target wall, and can be modified accordingly based on different room conditions. Specifically, the bottom and top heights of each target wall can be set to the bottom and top heights of the initial wall surfaces attached to the target walls.

[0087] In this process, walls and wall surfaces must satisfy a parent-child relationship; otherwise, a wall surface cannot be generated. Understandably, a wall surface needs to be attached to another wall; the wall surface is the child, and the wall is the parent. When generating a wall surface, it's necessary to check if there's a wall to attach to; if not, the wall surface cannot be generated.

[0088] Step S2043: Determine whether the target room has a cast-in-place slab.

[0089] After determining the initial wall surface, the building information obtained is used to determine whether the target room has a cast-in-place slab. If it does, the height of the initial wall surface needs to be corrected according to the relevant parameters of the cast-in-place slab; if it does not, there is no need to correct the height of the initial wall surface.

[0090] Step S2044: When the target room has a cast-in-place slab, the height of each initial wall of the target room model is corrected based on the top height of the cast-in-place slab to obtain the corrected height.

[0091] When the target room contains one or more cast-in-place slabs, after determining the top height of each cast-in-place slab based on the building information obtained above, the height of each initial wall surface is readjusted based on the top height of each cast-in-place slab. For example, the top height of the cast-in-place slab can be used to replace the height of the initial wall surface, and the top height of the cast-in-place slab can be determined as the corrected height of the initial wall surface.

[0092] Step S2045: Based on the corrected height, generate each target wall of the target room model.

[0093] After correcting the height of each initial wall, the corresponding corrected height is obtained. Based on the corrected height, the height of the walls in the target room model is then adjusted to obtain the target walls.

[0094] The method for determining wall information provided in this invention, after obtaining the bottom and top heights of each target wall in the target room model, generates an initial wall surface corresponding to each target wall based on these heights. Then, it determines whether the target room has a cast-in-place slab. If it is determined that the target room has a cast-in-place slab, the height of the initial wall surface is corrected based on the height of the cast-in-place slab, thus generating each target wall surface of the target room model. Therefore, it can automatically generate each target wall surface of the target room model without separately drawing the room decoration wall components, saving time and effort while significantly reducing design costs.

[0095] In some alternative implementations, when it is determined that a cast-in-place slab exists in the target room, step S2044 above includes:

[0096] Step b1: Determine the first projected area of ​​the cast-in-place slab and the second projected area of ​​the target room model.

[0097] Specifically, the first projected area of ​​the cast-in-place slab on the XY plane is calculated based on the length and width information of the cast-in-place slab included in the building information, and the second projected area of ​​the target room model on the XY plane is calculated based on the length and width information of the target room. The XY plane can be understood as the plane containing the top view generated from looking down at the target room model, but is not limited to this.

[0098] Step b2: When the first projected area is greater than or equal to the second projected area, the top height of the cast-in-place slab is determined as the height of each target wall.

[0099] Specifically, the first projected area and the second projected area are compared. When the first projected area is greater than or equal to the second projected area, specifically, when the top surface height of the cast-in-place slab is lower than the top surface height of the target wall, and the cast-in-place slab perfectly fits the target wall, the cast-in-place slab affects the generation of the target wall surface. Therefore, the height of each initial wall surface is corrected to the top surface height of the cast-in-place slab.

[0100] Step b3: When the first projected area is smaller than the second projected area, the height of each initial wall is determined as the height of each target wall.

[0101] Specifically, when the first projected area is smaller than the second projected area, it is determined that the cast-in-place slab is not attached to the target wall. In this case, the cast-in-place slab does not affect the generation of the target wall, and there is no need to correct the height of the initial wall. The height of each initial wall is the height of each target wall.

[0102] In the above implementation, when there is only one cast-in-place slab in the target room, the first projected area of ​​the cast-in-place slab and the second projected area of ​​the target room model are determined. When the first projected area is greater than or equal to the second projected area, the top height of the cast-in-place slab is determined as the height of each target wall. When the first projected area is less than the second projected area, the height of each initial wall is determined as the height of each target wall. Thus, the height of each target wall can be automatically determined according to the size relationship between the first projected area and the second projected area, which greatly saves the user's labor costs and time.

[0103] In some optional implementations, when it is determined that the target room contains multiple cast-in-place slabs, step S2044 above further includes:

[0104] Step c1: Determine the third projected area corresponding to each cast-in-place slab and the fourth projected area corresponding to the target room model.

[0105] Specifically, based on the length and width information of each cast-in-place slab included in the building information, the third projected area of ​​each cast-in-place slab on the XY plane is calculated. For example, if the current target room contains cast-in-place slabs A, B, and C, the third projected areas A, B, and C of cast-in-place slabs A, B, and C on the XY plane are calculated respectively.

[0106] Specifically, based on the length and width information of the target room included in the building information, the fourth projected area of ​​the target room model on the XY plane is determined.

[0107] Step c2: Determine whether the top height of each cast-in-place slab is consistent.

[0108] Specifically, based on the height information of each cast-in-place slab included in the building information, the top heights of cast-in-place slab A, cast-in-place slab B, and cast-in-place slab C are determined respectively, and it is determined whether the top heights of cast-in-place slab A, cast-in-place slab B, and cast-in-place slab C in the current target room are consistent.

[0109] Step c3: When the top height of each cast-in-place slab is consistent and the sum of the third projected areas corresponding to each cast-in-place slab is greater than or equal to the fourth projected area, the top height of each cast-in-place slab is determined as the height of each target wall.

[0110] Specifically, based on the height information of each cast-in-place slab included in the building information, the top height of cast-in-place slab A, cast-in-place slab B, and cast-in-place slab C is determined to be M. When the sum of the third projected area A, the third projected area B, and the third projected area C is greater than or equal to the fourth projected area, specifically, when the top surface height M of the cast-in-place slab is lower than the top height of the target wall, and when cast-in-place slab A, cast-in-place slab B, and cast-in-place slab C perfectly fit with the target wall, the cast-in-place slab affects the generation of the target wall surface, and the height of each initial wall surface is corrected to M.

[0111] Step c4: When the top height of each cast-in-place slab is the same and the sum of the third projected areas of each cast-in-place slab is less than the fourth projected area, the height of each initial wall surface is determined as the height of each target wall surface.

[0112] Specifically, when the top height of cast-in-place slabs A, B, and C is determined to be M, and the sum of the third projected areas A, B, and C is less than the fourth projected area, it is determined that cast-in-place slabs A, B, and C are not attached to the target wall. In this case, the cast-in-place slabs do not affect the generation of the target wall, and there is no need to correct the height of the initial wall.

[0113] Step c5: When the top heights of the cast-in-place slabs are inconsistent and the sum of the third projected areas of the cast-in-place slabs is greater than or equal to the fourth projected area, determine the number of cast-in-place slabs above each target wall.

[0114] Specifically, when the top heights of cast-in-place slabs A, B, and C are inconsistent, and the sum of the third projected areas A, B, and C is greater than or equal to the fourth projected area, it is determined that the cast-in-place slabs affect the generation of the target wall, and the height of each initial wall needs to be corrected according to the top height of the cast-in-place slabs.

[0115] Based on the building information, determine the number of cast-in-place slabs above each target wall. For example, target wall A corresponds to cast-in-place slab A, and target wall B corresponds to both cast-in-place slabs B and C.

[0116] Step c6: When it is determined that there is a cast-in-place slab above any target wall, the top height of the cast-in-place slab is determined as the height of the target wall surface corresponding to the target wall.

[0117] Specifically, when it is determined that there is a cast-in-place slab A above the target wall A, the top height of the cast-in-place slab A is determined as the height of the target wall surface attached to the target wall A.

[0118] Step c7: When multiple cast-in-place slabs are determined above any target wall, the cast-in-place slab with the lowest top height among the multiple cast-in-place slabs is determined, and the height of the cast-in-place slab with the lowest top height is determined as the height of the target wall surface corresponding to the target wall.

[0119] Specifically, when it is determined that there are two cast-in-place slabs above the target wall B, the cast-in-place slab with the lowest top height among the two is determined, for example, it can be cast-in-place slab B, and the top height of cast-in-place slab B is determined as the height of the target wall surface corresponding to the target wall B.

[0120] In some optional implementations, step S2044 further includes: when the top height of the cast-in-place slab is higher than the top height of the target wall, regardless of whether the sum of the projected areas of the cast-in-place slabs is greater than or equal to the projected area of ​​the target room or the sum of the projected areas of the cast-in-place slabs is less than the projected area of ​​the target room, the initial wall height is not corrected, and the height of the target wall is determined as the height of the target wall.

[0121] The wall information determination method provided in this embodiment of the invention determines the third projected area of ​​each cast-in-place slab and the fourth projected area of ​​the target room model when it is determined that there are multiple cast-in-place slabs in the target room. It also determines whether the top height of each cast-in-place slab is consistent. Based on the consistent top height of the cast-in-place slab and the size relationship between the third and fourth projected areas, the height of each target wall is automatically generated, which greatly saves the user's labor costs and time.

[0122] This embodiment also provides a device for determining wall information, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0123] This embodiment provides a device for determining wall information, such as... Figure 4 As shown, it includes:

[0124] The acquisition module 301 is used to acquire the architectural information of the target room where the wall to be generated is to be obtained.

[0125] The first determining module 302 is used to determine the enclosed area corresponding to the target room and the target wall elements corresponding to the enclosed area based on the building information.

[0126] The generation module 303 is used to generate a target room model corresponding to the target room based on the target wall primitives corresponding to the closed area.

[0127] The second determining module 304 is used to determine the wall information corresponding to each target wall in the target room model based on each target wall in the target room model.

[0128] In some alternative embodiments, the generation module 303 described above may include:

[0129] The calibration submodule is used to calibrate the enclosed area and determine the target enclosed area corresponding to the target room.

[0130] The first generation submodule is used to generate a target room model corresponding to the target room based on the target enclosed area.

[0131] In some alternative embodiments, the calibration submodule described above may include:

[0132] The first determining unit is used to determine the outline of the closed area based on the target wall primitives of the closed area.

[0133] The second determining unit is used to determine any point in the contour line as the center calibration point and to determine the smallest closed area surrounding the center calibration point.

[0134] The third determining unit is used to determine the target closed region as the closed region between the projected area of ​​the smallest closed region and the projected area of ​​the closed regions.

[0135] In some alternative embodiments, the second determining module 304 described above may include:

[0136] The `get` submodule is used to obtain the bottom and top heights of each target wall in the target room model.

[0137] The second generation submodule is used to generate the initial wall surface corresponding to each target wall based on the height of each bottom surface and the height of each top surface.

[0138] The first judgment submodule is used to determine whether the target room has a cast-in-place slab.

[0139] The correction submodule is used to correct the height of each initial wall of the target room model based on the top height of the cast-in-place slab when the target room has a cast-in-place slab, so as to obtain the corrected height.

[0140] The third generation submodule is used to generate each target wall of the target room model based on the corrected height.

[0141] In some alternative embodiments, the above-mentioned modification submodule may include:

[0142] The fourth determining unit is used to determine the first projected area of ​​the cast-in-place slab and the second projected area of ​​the target room model.

[0143] The fifth determining unit is used to determine the top height of the cast-in-place slab as the height of each target wall when the first projected area is greater than or equal to the second projected area.

[0144] The sixth determining unit is used to determine the height of each initial wall as the height of each target wall when the first projected area is smaller than the second projected area.

[0145] In some alternative embodiments, the above-mentioned modification submodule may further include:

[0146] The seventh determining unit is used to determine the third projected area corresponding to each cast-in-place slab and the fourth projected area corresponding to the target room model.

[0147] The judgment unit is used to determine whether the top height of each cast-in-place slab is consistent.

[0148] The eighth determining unit is used to determine the top height of each cast-in-place slab as the height of each target wall when the top height of each cast-in-place slab is consistent and the sum of the third projected areas corresponding to each cast-in-place slab is greater than or equal to the fourth projected area.

[0149] The ninth determining unit is used to determine the height of each initial wall as the height of each target wall when the top height of each cast-in-place slab is the same and the sum of the third projected areas corresponding to each cast-in-place slab is less than the fourth projected area.

[0150] The tenth determining unit is used to determine the number of cast-in-place slabs above each target wall when the top heights of each cast-in-place slab are inconsistent and the sum of the third projected areas of each cast-in-place slab is greater than or equal to the fourth projected area.

[0151] The eleventh determining unit is used to determine the top height of a cast-in-place slab as the height of the target wall surface corresponding to the target wall when a cast-in-place slab is determined above any target wall.

[0152] The twelfth determining unit is used to determine the cast-in-place slab with the lowest top height among the multiple cast-in-place slabs when multiple cast-in-place slabs are determined above any target wall, and to determine the height of the cast-in-place slab with the lowest top height as the height of the target wall surface corresponding to the target wall.

[0153] In some alternative embodiments, the first determining module 302 described above may include:

[0154] The second judgment submodule is used to determine whether the projection of each wall element corresponding to the closed area intersects with the projection of the target room.

[0155] The first determination submodule is used to determine the type of each wall element when the projection of each wall element intersects with the projection of the target room.

[0156] The second determination submodule is used to filter each wall element based on its type and determine the target wall element corresponding to the closed area.

[0157] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0158] In this embodiment, the device for determining wall information is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0159] The wall information determination device provided in this embodiment of the invention, after acquiring the architectural information of the target room from which the wall to be generated is applied, determines the enclosed area corresponding to the target room and the target wall elements corresponding to the enclosed area based on the architectural information, thereby generating a target room model corresponding to the target room. Based on each target wall in the target room model, the wall information corresponding to each target wall is determined, thus enabling the calculation of wall quantities in room decoration without separately drawing the wall components, saving time and effort, and significantly reducing design costs.

[0160] This invention also provides a computer device having the above-described features. Figure 4 The device for determining wall information shown.

[0161] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 5 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 5 Take a processor 10 as an example.

[0162] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0163] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.

[0164] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0165] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0166] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.

[0167] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0168] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for determining wall surface information, characterized in that, The method includes: Obtain the architectural information of the target room from which the walls to be generated; Based on the building information, the enclosed area corresponding to the target room and the target wall elements corresponding to the enclosed area are determined; Based on the target wall primitives corresponding to the closed area, generate the target room model corresponding to the target room; Based on each target wall in the target room model, determine the wall information corresponding to each target wall in the target room model, including: obtaining the bottom height and top height of each target wall in the target room model; generating initial wall surfaces corresponding to each target wall based on each bottom height and top height; determining whether the target room has a cast-in-place slab; when the target room has a cast-in-place slab, and there is one cast-in-place slab in the target room, correcting the height of each initial wall surface in the target room model based on the top height of the cast-in-place slab to obtain a corrected height, including: determining the first projected area of ​​the cast-in-place slab and the second projected area of ​​the target room model; when the first projected area is greater than or equal to the second projected area, determining the top height of the cast-in-place slab as the height of each target wall; when the first projected area is less than the second projected area, determining the height of each initial wall surface as the height of each target wall. Alternatively, when it is determined that the target room contains multiple cast-in-place slabs, the height of each initial wall of the target room model is corrected based on the top height of the cast-in-place slabs, including: determining the third projected area corresponding to each cast-in-place slab and the fourth projected area corresponding to the target room model; determining whether the top heights of each cast-in-place slab are consistent; when the top heights of each cast-in-place slab are consistent and the sum of the third projected areas corresponding to each cast-in-place slab is greater than or equal to the fourth projected area, the top height of each cast-in-place slab is determined as the height of each target wall; when the top heights of each cast-in-place slab are consistent and the sum of the third projected areas corresponding to each cast-in-place slab is less than the fourth projected area, the height of each initial wall is determined as the height of each target wall. Based on the corrected height, the target walls of the target room model are generated.

2. The method according to claim 1, characterized in that, The step of generating the target room model corresponding to the target room based on the target wall primitives corresponding to the closed area includes: The enclosed area is calibrated to determine the target enclosed area corresponding to the target room; Based on the target enclosed area, a target room model corresponding to the target room is generated.

3. The method according to claim 2, characterized in that, The calibration of the enclosed area to determine the target enclosed area corresponding to the target room includes: Based on the target wall primitives of the closed area, determine the outline of the closed area; Determine any point in the contour line as the center calibration point, and determine the smallest closed area surrounding the center calibration point; The target closed region is determined by the closed region whose area is the smallest among the projected areas of the smallest closed region and the projected areas of the closed regions.

4. The method according to claim 1, characterized in that, Also includes: When the top heights of the cast-in-place slabs are not consistent and the sum of the third projected areas of the cast-in-place slabs is greater than or equal to the fourth projected area, the number of cast-in-place slabs above each target wall shall be determined respectively. When it is determined that a cast-in-place slab corresponds to the top of any of the target walls, the top height of the cast-in-place slab is determined as the height of the target wall surface corresponding to the target wall. When it is determined that there are multiple cast-in-place slabs above any target wall, the cast-in-place slab with the lowest top height among the multiple cast-in-place slabs is determined, and the top height of the cast-in-place slab with the lowest top height is determined as the height of the target wall surface corresponding to the target wall.

5. The method according to claim 1, characterized in that, Based on the building information, the target wall elements corresponding to the enclosed area are determined, including: Determine whether the projections of each wall element corresponding to the enclosed area intersect with the projection of the target room; When the projection of each wall element intersects with the projection of the target room, the type of each wall element is determined. Based on the type of each wall element, the wall elements are filtered to determine the target wall element corresponding to the closed area.

6. A device for determining wall surface information, characterized in that, The device includes: The acquisition module is used to obtain the architectural information of the target room from which the wall surfaces to be generated are located; The first determining module is used to determine, based on the building information, the enclosed area corresponding to the target room and the target wall element corresponding to the enclosed area; The generation module is used to generate a target room model corresponding to the target room based on the target wall primitives corresponding to the closed area. The second determining module is used to determine the wall information corresponding to each target wall in the target room model based on each target wall in the target room model, including: obtaining the bottom height and top height of each target wall in the target room model; generating the initial wall corresponding to each target wall based on each bottom height and the top height; determining whether the target room has a cast-in-place slab; when the target room has a cast-in-place slab, and there is one cast-in-place slab in the target room, correcting the height of each initial wall in the target room model based on the top height of the cast-in-place slab to obtain a corrected height, including: determining the first projected area of ​​the cast-in-place slab and the second projected area of ​​the target room model; when the first projected area is greater than or equal to the second projected area, determining the top height of the cast-in-place slab as the height of each target wall; when the first projected area is less than the second projected area, determining the height of each initial wall as the height of each target wall. Alternatively, when it is determined that the target room contains multiple cast-in-place slabs, the height of each initial wall of the target room model is corrected based on the top height of the cast-in-place slabs, including: determining the third projected area corresponding to each cast-in-place slab and the fourth projected area corresponding to the target room model; determining whether the top heights of each cast-in-place slab are consistent; when the top heights of each cast-in-place slab are consistent and the sum of the third projected areas corresponding to each cast-in-place slab is greater than or equal to the fourth projected area, the top height of each cast-in-place slab is determined as the height of each target wall; when the top heights of each cast-in-place slab are consistent and the sum of the third projected areas corresponding to each cast-in-place slab is less than the fourth projected area, the height of each initial wall is determined as the height of each target wall. Based on the corrected height, the target walls of the target room model are generated.

7. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the method for determining wall information according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the method for determining wall information as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data extraction method for BIM model

    CN110083872A

  • House plan generation method and device, electronic equipment and storage medium

    CN115330939A

  • Skirting information determination method and device, computer equipment and storage medium

    CN117830579A