Movatterモバイル変換


[0]ホーム

URL:


CN117592167A - Wall information determining method and device, computer equipment and storage medium - Google Patents

Wall information determining method and device, computer equipment and storage medium
Download PDF

Info

Publication number
CN117592167A
CN117592167ACN202311735171.4ACN202311735171ACN117592167ACN 117592167 ACN117592167 ACN 117592167ACN 202311735171 ACN202311735171 ACN 202311735171ACN 117592167 ACN117592167 ACN 117592167A
Authority
CN
China
Prior art keywords
target
wall
cast
determining
height
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311735171.4A
Other languages
Chinese (zh)
Inventor
赵明舜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glodon Co Ltd
Original Assignee
Glodon Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glodon Co LtdfiledCriticalGlodon Co Ltd
Priority to CN202311735171.4ApriorityCriticalpatent/CN117592167A/en
Publication of CN117592167ApublicationCriticalpatent/CN117592167A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention relates to the technical field of digital construction, and discloses a wall information determining method, a wall information determining device, computer equipment and a storage medium. Wherein the method comprises the following steps: acquiring building information of a target room of a wall to be generated; determining a closed area corresponding to the target room and a target wall primitive 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 primitives corresponding to the closed areas; and determining wall surface information corresponding to each target wall of the target room model based on each target wall in the target room model. By implementing the technical scheme of the invention, the calculation of the wall engineering quantity in the room decoration can be completed on the premise of not independently drawing the wall surface member of the room decoration, so that time and labor are saved, and the design cost is greatly saved.

Description

Wall information determining method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of digital construction, in particular to a wall information determining method, a wall information determining device, computer equipment and a storage medium.
Background
Along with development of information technology, more and more users draw corresponding building scenes by using three-dimensional design software before finishing a room, and set engineering practices of room finishing, so that the method is more visual and efficient, and based on a three-dimensional functional model comprising engineering characteristics such as quality, materials, structures and the like, real virtual design and optimal design can be realized.
In the related art, a user needs to manually draw a room and various finishing members in the room, such as a floor, a wall, skirting, a ceiling, etc., and labor cost and time are greatly increased when the amount of the room finishing work is calculated.
Disclosure of Invention
In view of the above, the present invention provides a method, apparatus, computer device and storage medium for determining wall surface information, so as to solve the problem of increasing labor cost and time consumption when calculating the amount of room decoration work.
In a first aspect, the present invention provides a method for determining wall information, including: acquiring building information of a target room of a wall to be generated; determining a closed area corresponding to the target room and a target wall primitive 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 primitives corresponding to the closed areas; and determining wall surface information corresponding to each target wall of the target room model based on each target wall in the target room model.
According to the wall surface information determining method provided by the embodiment of the invention, after the building information of the target room of the wall surface to be generated is obtained, the closed area corresponding to the target room and the target wall primitive corresponding to the closed area are determined according to the building information, so that the target room model corresponding to the target room is generated. According to each target wall in the target room model, wall surface information corresponding to each target wall is determined, so that the calculation of the wall surface engineering quantity in the room decoration can be completed on the premise that the wall surface components of the room decoration are not drawn independently, time and labor are saved, and meanwhile, the design cost is greatly saved.
In an alternative embodiment, generating a target room model corresponding to a target room based on the target wall primitives corresponding to the closed areas includes: calibrating the closed area to determine a target closed area corresponding to the target room; and generating a target room model corresponding to the target room based on the target closed area.
According to the wall surface information determining method, the closed area is calibrated, the target closed area corresponding to the target room is determined, and the target room model corresponding to the target room is generated, so that the accuracy of the finally generated target room model corresponding to the target room is higher, and errors possibly occurring in the modeling process are effectively reduced.
In an alternative embodiment, calibrating the enclosed area to determine a target enclosed area corresponding to a target room includes: determining a contour line corresponding to the closed area based on the target wall primitive of the closed area; determining any point in the contour line as a center calibration point, and determining a minimum closed area surrounding the center calibration point; and determining the closed area with the smallest area in the projection area of the minimum closed area and the projection area of the closed area as a target closed area.
According to the wall surface information determining method provided by the embodiment of the invention, any point in the contour line corresponding to the closed area is determined as the center calibration point, and the minimum closed area surrounding the center calibration point is determined. Comparing the projection area of the minimum closed area with the projection area of the closed area, and determining the closed area with the minimum area as a target closed area, thereby realizing the calibration of the closed area and improving the accuracy of the generated target room model.
In an alternative embodiment, determining wall surface information corresponding to each target wall of the target room model based on each target wall in the target room model includes: acquiring the bottom surface height and the top surface height of each target wall of the target room model; generating initial wall surfaces corresponding to all target walls based on the heights of all the bottom surfaces and the heights of the top surfaces; judging whether a cast-in-situ plate exists in the target room or not; when the cast-in-situ plate exists in the target room, correcting the height of each initial wall surface of the target room model based on the top height of the cast-in-situ plate to obtain a corrected height; based on the corrected heights, respective target wall surfaces of the target room model are generated.
According to the wall surface information determining method provided by the embodiment of the invention, after the bottom surface height and the top surface height of each target wall of the target room model are obtained, initial wall surfaces corresponding to each target wall are generated according to the bottom surface height and the top surface height. And judging whether the cast-in-situ plate exists in the target room, and correcting the height of the initial wall surface according to the height of the cast-in-situ plate when the cast-in-situ plate exists in the target room, so as to generate each target wall surface of the target room model. Therefore, each target wall surface of the target room model can be automatically generated on the premise of not independently drawing room decoration wall surface components, time and labor are saved, and meanwhile, the design cost is greatly saved.
In an alternative embodiment, when it is determined that the target room has a cast-in-place slab, correcting the height of each initial wall of the target room model based on the top height of the cast-in-place slab, comprising: determining a first projection area of the cast-in-situ plate and a second projection area of the target room model; when the first projection area is larger than or equal to the second projection area, determining the top height of the cast-in-situ plate as the height of each target wall surface; and when the first projection area is smaller than the second projection area, determining the height of each initial wall surface as the height of each target wall surface.
According to the wall surface information determining method provided by the embodiment of the invention, when only one cast-in-place plate exists in a target room, the first projection area of the cast-in-place plate and the second projection area of the target room model are determined, when the first projection area is larger than or equal to the second projection area, the top height of the cast-in-place plate is determined to be the height of each target wall surface, and when the first projection area is smaller than the second projection area, the height of each initial wall surface is determined to be the height of each target wall surface, so that the height of each target wall surface can be automatically determined according to the size relation between the first projection area and the second projection area, and the labor cost and the consumed time of a user are greatly saved.
In an alternative embodiment, when it is determined that the target room has a plurality of cast-in-place boards, correcting the heights of the respective initial walls of the target room model based on the top heights of the cast-in-place boards, includes: determining a third projection area corresponding to each cast-in-situ plate and a fourth projection area corresponding to the target room model; judging whether the top heights of all cast-in-situ plates are consistent; when the top heights of the cast-in-situ plates are consistent and the sum of the third projection areas corresponding to the cast-in-situ plates is larger than or equal to the fourth projection area, determining the top heights of the cast-in-situ plates as the heights of the target wall surfaces; and when the heights of the tops of the cast-in-situ plates are consistent and the sum of the third projection areas corresponding to the cast-in-situ plates is smaller than the fourth projection area, determining the height of each initial wall surface as the height of each target wall surface.
According to the wall surface information determining method provided by the embodiment of the invention, when the fact that a plurality of cast-in-place plates exist in a target room is determined, the third projection area corresponding to each cast-in-place plate and the fourth projection area corresponding to a target room model are determined, and whether the top heights of the cast-in-place plates are consistent is judged, so that the heights of each target wall surface are automatically generated according to the consistent top heights of the cast-in-place plates and the size relation between the third projection area and the fourth projection area, and the labor cost and the consumed time of a user are greatly saved.
In an alternative embodiment, when the heights of the tops of the cast-in-situ plates are inconsistent and the sum of the third projection areas corresponding to the cast-in-situ plates is greater than or equal to the fourth projection area, the number of the cast-in-situ plates corresponding to the upper part of each target wall is respectively determined; when the upper part of any one target wall corresponds to one cast-in-situ plate, determining the top height of one cast-in-situ plate as the height of the target wall corresponding to the target wall; when the upper part of any one target wall is determined to correspond to the plurality of cast-in-situ plates, determining the cast-in-situ plate with the lowest top height in the plurality of cast-in-situ plates, and determining the height of the cast-in-situ plate with the lowest top height as the height of the target wall surface corresponding to the target wall.
According to the wall surface information determining method provided by the embodiment of the invention, when the heights of the tops of the cast-in-situ plates are inconsistent and the sum of the third projection areas corresponding to the cast-in-situ plates is larger than or equal to the fourth projection area, the number of the cast-in-situ plates corresponding to the upper parts of the target walls is determined, so that different heights of the target walls are automatically generated according to the different numbers of the cast-in-situ plates corresponding to the upper parts of the target walls, and the labor cost and the consumed time of a user are greatly saved.
In an alternative embodiment, determining a target wall primitive corresponding to the enclosed area based on the building information includes: judging whether projections of all wall primitives corresponding to the closed area intersect with projections of the target room or not; when the projection of each wall primitive is intersected with the projection of the target room, determining the type of each wall primitive; and screening each wall primitive based on the type of each wall primitive, and determining the target wall primitive corresponding to the closed area.
According to the wall surface information determining method provided by the embodiment of the invention, when the projection of each wall primitive corresponding to the closed area is intersected with the projection of the target room, the type of each wall primitive is determined, all the wall primitives are screened according to the type of each wall primitive, and the target wall primitive corresponding to the closed area is screened out from the wall primitives, so that the target room model corresponding to the target room is generated.
In a second aspect, the present invention provides a wall information determining apparatus, including: the acquisition module is used for acquiring building information of a target room of the wall surface to be generated; the target wall primitive determining module is used for determining a closed area corresponding to the target room and a target wall primitive corresponding to the closed area based on the building information; the generation module is used for generating a target room model corresponding to the target room based on the target wall primitives corresponding to the closed areas; the wall information determining module is used for determining wall information corresponding to each target wall of the target room model based on each target wall in the target room model.
In a third aspect, the present invention provides a computer device comprising: the wall surface information determining device comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, so that the wall surface information determining method of the first aspect or any corresponding implementation mode is executed.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon computer instructions for causing a computer to execute the method for determining wall surface information according to the first aspect or any one of the embodiments corresponding thereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the related art, the drawings that are required to be used in the description of the embodiments or the related art will be briefly described, and it is apparent that the drawings in the description below are some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flow chart of a method for determining wall information according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for determining wall information according to an embodiment of the invention;
FIG. 3 is a schematic illustration of a corresponding outline of a closed region according to an embodiment of the present invention;
fig. 4 is a block diagram of a construction of a wall information determining apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Along with development of information technology, more and more users draw corresponding building scenes by using three-dimensional design software before finishing a room, and set engineering practices of room finishing, so that the method is more visual and efficient, and based on a three-dimensional functional model comprising engineering characteristics such as quality, materials, structures and the like, real virtual design and optimal design can be realized.
In the related art, when a project cost person calculates the project amount of room decoration, three-dimensional design software can be conveniently used for manually drawing rooms and various decoration components in the rooms, such as floors, wall surfaces, skirting, ceilings and the like, but the three-dimensional design software cannot be used for calculating the project amount of room decoration.
Therefore, the technical scheme of the invention can automatically generate the three-dimensional models of the room and various components of the room according to the room drawn in the three-dimensional design software and the corresponding decoration engineering practice of the room, and calculate the room decoration engineering quantity through the models, thereby completing the calculation of the wall engineering quantity in the room decoration on the premise of not drawing the room decoration wall components alone, saving time and labor and greatly saving the design cost.
According to an embodiment of the present invention, there is provided an embodiment of a method for determining wall surface information, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown or described herein.
In this embodiment, a method for determining wall information is provided, which may be used in a computer device, where a three-dimensional computation application program, such as a BIM civil engineering measurement application program, is deployed, and fig. 1 is a flowchart of a method for determining wall information according to an embodiment of the present invention, as shown in fig. 1, and the flowchart includes the following steps.
Step S101, obtaining building information of a target room of a wall surface to be generated.
And drawing a building scene corresponding to the target room by a designer through three-dimensional design software, and designing a wall surface corresponding to the target room according to the requirement of the designer. Accordingly, the computer device may respond to a design operation of a designer for a target room, generate a wall surface corresponding to the design operation, and export the generated wall surface in a digital building data exchange standard (General Foundation Classes, GFC) format to generate a wall surface engineering information file in the GFC format.
The building information is used for representing building parameters of the target room, and specifically, the building information can include information such as each building component corresponding to the target room, position information of each building component, projection of the target room, related parameters of walls of the target room, the number of cast-in-place boards of the target room, and top heights of each cast-in-place board. Wherein the building elements are individual building structures, such as walls, beams, columns, etc., constituting the target room. The relevant parameters of the target room wall may include information such as the length, height, and thickness of the target room wall.
After receiving the wall engineering information file in GFC format, the three-dimensional calculation application program in the computer device can analyze the wall engineering information file to obtain all building information of the target room of the wall to be generated, which is included in the wall engineering information file.
Step S102, determining a closed area corresponding to the target room and a target wall primitive corresponding to the closed area based on the building information.
And determining the building component in which the projection of each building component overlaps with the projection of the target room as the building component in which the projection of the target room and the projection of the target room intersect according to the projection of each building component and the projection of the target room, which are corresponding to the target room, included in the building information, thereby establishing an association primitive corresponding to the building component in which the projection of the target room and the projection of the target room intersect. The associated primitive is a primitive corresponding to a building element having an intersection with a projected area of the room in the target room, such as a wall primitive, a beam primitive, and the like. The associated primitives are grouped, such as a set of wall primitives, liang Tuyuan.
Specifically, the distances between the center line and the inner and outer edge lines of each target wall primitive and the center line may be calculated according to the thickness and length information of the target room wall included in the building information. For example, when the thickness of the wall of the target room is 0.6m and the length information is 10m, it is calculated that the length of the center line is 10m, the distance of the center line from the inner edge line is 0.3m, and the distance of the center line from the outer edge line is 0.3m.
Specifically, if the centerlines of two target wall primitives are collinear and end-to-end, the centerlines do not need to be lengthened; if the centerlines of two target wall primitives are collinear, but not end-to-end, in which case one of the centerlines is extended to end-to-end if the intermediate separation of the two centerlines is within a predetermined distance, e.g., 10 mm. And traversing the pulled wall line to generate a closed area corresponding to the target room.
Specifically, according to the related parameters of the target room walls included in the building information, the user can directly set the numerical value of each target wall primitive corresponding to the target room according to the length, height and thickness information of the target room walls and by combining the position information of each target wall, generate each target wall primitive, and then connect each target wall primitive to generate the closed area corresponding to the target room. For example, a user determines that the length of a wall of a target room is 10m, the height is 8m, the thickness is 0.6m according to building information, the position information of each target wall is screened out from the position information of each building component included in the building information, the user can fill information with the length of 10m, the height is 8m and the thickness is 0.6m by himself in a setting module of a three-dimensional calculation application program, each target wall primitive is generated at the position information of each screened target wall, and a closed area corresponding to the target room is generated after each target wall primitive is connected.
In particular, in three-dimensional computing applications, rooms must be placed within an enclosed area, which is generally surrounded by, individually or collectively, various types of wall primitives, such as masonry wall primitives, insulation wall primitives, curtain wall primitives, virtual wall primitives, and the like.
Step S103, generating a target room model corresponding to the target room based on the target wall primitives corresponding to the closed areas.
The target room model is a model generated for the target room that characterizes the target room wall layout. Specifically, according to the determined central lines of the target wall primitives, connecting the central lines to generate contour lines corresponding to the closed areas, calibrating the closed areas based on the contour lines to generate target closed areas corresponding to the target rooms, and calling a rendering engine of three-dimensional calculation modeling software to render the target closed areas into a modeling scene, namely generating a model to be rendered according to related parameters of each target wall primitive surrounding the closed area, and performing transverse stretching and longitudinal stretching operations on the closed areas based on the model to be rendered to generate the target room model corresponding to the target rooms.
Step S104, based on each target wall in the target room model, wall surface information corresponding to each target wall of the target room model is determined.
The wall information is used for representing relevant parameters of each wall surface generated by attaching to each target wall, and specifically, the wall information can include information such as the length of the wall surface and the height of the wall surface.
After the target room model is determined, the relevant building parameters of each target wall constituting the target room model are extracted, i.e., the thickness of each target wall, the center line length of the target wall, and the height of the target wall are determined. Wherein, the relevant building parameters of each target wall are determined by the relevant parameters of each target wall primitive. And calculating the length of the inner side of each target wall according to the center line and the thickness of each target wall. For example, the target room model is formed by surrounding four target walls, the central line length of the four target walls is 10m, and the thickness of the four target walls is 0.6m, so that the inner side length of each target wall is calculated to be 10-0.6-0.6=8.8 m. And generating initial wall surfaces corresponding to the target walls according to the length and the height of the inner sides of the target walls. And judging whether the cast-in-situ plate exists in the target room according to the acquired building information, and correcting the initial wall surface according to the top height information of the cast-in-situ plate when the cast-in-situ plate exists.
According to the wall surface information determining method provided by the embodiment of the invention, after the building information of the target room of the wall surface to be generated is obtained, the closed area corresponding to the target room and the target wall primitive corresponding to the closed area are determined according to the building information, so that the target room model corresponding to the target room is generated. According to each target wall in the target room model, wall surface information corresponding to each target wall is determined, so that the calculation of the wall surface engineering quantity in the room decoration can be completed on the premise that the wall surface components of the room decoration are not drawn independently, time and labor are saved, and meanwhile, the design cost is greatly saved.
In this embodiment, a method for determining wall information is provided, which may be used in a computer device, where a three-dimensional computation application program, such as a BIM civil engineering measurement application program, is deployed, and fig. 2 is a flowchart of a method for determining wall information according to an embodiment of the present invention, as shown in fig. 2, and the flowchart includes the following steps.
Step S201, acquiring building information of a target room of a wall surface to be generated. Please refer to step S101 in the embodiment shown in fig. 1 in detail, which is not described herein.
Step S202, determining a closed area corresponding to the target room and a target wall primitive corresponding to the closed area based on the building information.
Specifically, the step S202 includes:
in step S2021, it is determined whether the projection of each wall primitive corresponding to the closed region intersects the projection of the target room.
The enclosed area is an area surrounded by a plurality of wall primitives. In combination with the projections of each wall primitive and the target room, it is determined whether the projections of each wall primitive intersect with the projections of the target room. And carrying out preliminary screening on a plurality of wall primitives of the closed area according to the intersection judgment result to obtain the wall primitives intersected with the projection of the target room.
In step S2022, when the projection of each wall primitive intersects the projection of the target room, the type of each wall primitive is determined.
The type of the wall primitive is used to represent the type of the wall to which the wall primitive belongs, and specifically, the type may include, but is not limited to, a shear wall, a masonry wall, a heat insulation wall, a filler wall, a bearing wall, and the like. When the projection of each wall primitive intersects the projection of the target room, each wall primitive which intersects the projection of the target room currently exists can be determined, for example, the wall primitive a, the wall primitive B, the wall primitive C and the wall primitive D are screened out.
Specifically, according to the GFC format wall engineering information file received by the three-dimensional algorithm application program in the computer device, the wall engineering information file can be parsed to obtain the wall type tag carried in the wall engineering information file. And determining the wall types of the wall graphic element A, the wall graphic element B, the wall graphic element C and the wall graphic element D by combining the wall type labels.
Step S2023, based on the type of each wall primitive, filters each wall primitive, and determines the target wall primitive corresponding to the closed region.
The target wall primitives are wall primitives surrounding the closed area determined after target wall type screening is carried out on each wall primitive. For example, the shear wall, the masonry wall and the heat-insulating wall may be set as target wall types, whether the initially screened wall types of the wall primitive a, the wall primitive B, the wall primitive C and the wall primitive D conform to the target wall types may be determined, and the wall primitive a, the wall primitive B and the wall primitive C conforming to the target wall types may be determined as the target wall primitive corresponding to the current closed area.
According to the wall surface information determining method provided by the embodiment of the invention, when the projection of each wall primitive corresponding to the closed area is intersected with the projection of the target room, the type of each wall primitive is determined, all the wall primitives are screened according to the type of each wall primitive, and the target wall primitive corresponding to the closed area is screened out from the wall primitives, so that the target room model corresponding to the target room is generated.
Step S203, a target room model corresponding to the target room is generated based on the target wall primitives corresponding to the closed areas.
Specifically, the step S203 includes:
step S2031, calibrating the closed area, and determining a target closed area corresponding to the target room.
In order to reduce the error of the finally 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.
In some optional embodiments, step S2031 includes:
and a step a1, determining a contour line corresponding to the closed area based on the target wall primitive of the closed area.
In particular, if a room of suitable size is to be created in the enclosed area, a projection of the enclosed area onto the XY plane must be acquired first, where the XY plane of the enclosed area is understood to be the plane in which the top view of the enclosed area lies, but is not limited thereto.
Specifically, as shown in fig. 3, on the XY plane, an initial closed area corresponding to the target room is surrounded by the wall primitive a, the wall primitive B, the wall primitive C, and the wall primitive D. And respectively determining the central lines of the wall primitive A, the wall primitive B, the wall primitive C and the wall primitive D according to the thickness information of the target room wall included in the acquired building information, and generating the contour lines corresponding to the initial closed area after connecting the four central lines end to end.
And a2, determining any point in the contour line as a center calibration point, and determining a minimum closed area surrounding the center calibration point.
Specifically, the contour line is generalized into a concave polygon or a convex polygon according to the geometric characteristics of the contour line, any point is selected in the concave polygon and the convex polygon to be determined as a center calibration point corresponding to the initial closed area, and the minimum closed area surrounding the center calibration point is searched.
Wherein, the points can be arbitrarily selected in the concave polygon and the convex polygon by a point selection algorithm, such as a greedy algorithm, but the method is not limited in this regard.
And a step a3 of determining the closed area with the smallest area in the projection area of the minimum closed area and the projection area of the closed area as the target closed area.
Specifically, the projection area of the minimum closed area is compared with the projection area of the initial closed area, and the closed area with the minimum area in the minimum closed area and the initial closed area is determined as the target closed area corresponding to the target room, so that the calibration of the closed area is realized.
In the above embodiment, by determining any one point in the contour line corresponding to the closed region as the center calibration point, the minimum closed region surrounding the center calibration point is determined. Comparing the projection area of the minimum closed area with the projection area of the closed area, and determining the closed area with the minimum area as a target closed area, thereby realizing the calibration of the closed area and improving the accuracy of the generated target room model.
Step S2032, generating a target room model corresponding to the target room based on the target closed area.
And setting the determined target closed area as a final model (poly) used for generating a target room model, and calling a rendering engine of three-dimensional computation modeling software to render the target closed area into a modeling scene to generate a target room model corresponding to the target room.
According to the wall surface information determining method, the closed area is calibrated, the target closed area corresponding to the target room is determined, and the target room model corresponding to the target room is generated, so that the accuracy of the finally generated target room model corresponding to the target room is higher, and errors possibly occurring in the modeling process are effectively reduced.
Step S204, based on each target wall in the target room model, wall surface information corresponding to each target wall of the target room model is determined.
Specifically, the step S204 includes:
in step S2041, the floor height and the ceiling height of each target wall of the target room model are acquired.
The bottom surface height of the target wall is the floor elevation of the target wall, and the top surface height of the target wall is the floor elevation of the target wall. Specifically, the floor height and the ceiling height of each target wall of the target room model may be extracted from the acquired building information.
In step S2042, initial wall surfaces corresponding to the respective target walls are generated based on the respective floor heights and the ceiling heights.
The initial wall surface is an initial wall surface generated by attaching to the target wall, and can be modified correspondingly according to different room conditions. Specifically, the bottom surface height and the top surface height of each target wall may be set to the bottom surface height and the top surface height of each initial wall surface attached to the target wall.
Wherein, the wall and the wall surface need to satisfy father-son relationship, otherwise the wall surface can not be generated. It can be understood that the wall surface needs to be attached to the wall, the wall surface is a child, the wall is a father, and whether the wall surface can be attached to the wall surface or not needs to be judged when the wall surface is generated, and the wall surface cannot be generated without the existence of the wall surface.
Step S2043, judging whether the cast-in-situ plate exists in the target room.
After the initial wall surface is determined, judging whether a cast-in-situ plate exists in the target room according to the acquired building information, and if so, correcting the height of the initial wall surface according to the relevant parameters of the cast-in-situ plate; if not, the height of the initial wall surface does not need to be corrected.
And step S2044, when the cast-in-situ plate exists in the target room, correcting the height of each initial wall surface of the target room model based on the top height of the cast-in-situ plate, and obtaining the corrected height.
When one or more cast-in-situ boards exist in the target room, after the top heights of the cast-in-situ boards are determined according to the acquired building information, the heights of the initial wall surfaces are readjusted according to the top heights of the cast-in-situ boards, for example, the top heights of the cast-in-situ boards can be replaced with the heights of the initial wall surfaces, and the top heights of the cast-in-situ boards are determined to be the corrected heights of the initial wall surfaces.
Step S2045 generates each target wall surface of the target room model based on the corrected height.
And correcting the height of each initial wall surface to obtain a corresponding correction height. And carrying out height correction on the wall surfaces of the target room model according to the correction height so as to obtain each target wall surface.
According to the wall surface information determining method provided by the embodiment of the invention, after the bottom surface height and the top surface height of each target wall of the target room model are obtained, initial wall surfaces corresponding to each target wall are generated according to the bottom surface height and the top surface height. And judging whether the cast-in-situ plate exists in the target room, and correcting the height of the initial wall surface according to the height of the cast-in-situ plate when the cast-in-situ plate exists in the target room, so as to generate each target wall surface of the target room model. Therefore, each target wall surface of the target room model can be automatically generated on the premise of not independently drawing room decoration wall surface components, time and labor are saved, and meanwhile, the design cost is greatly saved.
In some alternative embodiments, when it is determined that the target room has a cast-in-place slab, the step S2044 includes:
and b1, determining a first projection area of the cast-in-situ plate and a second projection area of the target room model.
Specifically, a first projection area of the cast-in-situ plate on an XY plane is calculated according to length and width information of the cast-in-situ plate included in the building information, and a second projection area of a target room model on the XY plane is calculated according to length and width information of the target room. The XY plane is understood to be a plane in which a plan view generated by looking down the target room model from above, but is not limited thereto.
And b2, when the first projection area is larger than or equal to the second projection area, determining the top height of the cast-in-situ plate as the height of each target wall surface.
Specifically, when the first projection area is greater than or equal to the second projection area, specifically, when the top surface of the cast-in-situ plate is lower than the top height of the target wall, the cast-in-situ plate and the target wall are perfectly attached, the cast-in-situ plate influences the generation of the target wall surface, and the height of each initial wall surface is corrected to be the top height of the cast-in-situ plate.
And b3, determining the height of each initial wall surface as the height of each target wall surface when the first projection area is smaller than the second projection area.
Specifically, when the first projection area is smaller than the second projection area, namely, the cast-in-situ plate is determined to be not attached to the target wall, the cast-in-situ plate does not influence the generation of the target wall, the height of the initial wall is not required to be corrected, and the height of each initial wall is the height of each target wall.
In the above embodiment, when only one cast-in-place plate exists in the target room, the first projection area of the cast-in-place plate and the second projection area of the target room model are determined, when the first projection area is larger than or equal to the second projection area, the top height of the cast-in-place plate is determined to be the height of each target wall surface, and when the first projection area is smaller than the second projection area, the height of each initial wall surface is determined to be the height of each target wall surface, so that the height of each target wall surface can be automatically determined according to the size relation between the first projection area and the second projection area, and the labor cost and the consumed time of a user are greatly saved.
In some alternative embodiments, when it is determined that the target room has a plurality of cast-in-situ slabs, the step S2044 further includes:
and c1, determining a third projection area corresponding to each cast-in-situ plate and a fourth projection area corresponding to the target room model.
Specifically, according to the length and width information of each cast-in-situ plate included in the building information, the corresponding third projection area of each cast-in-situ plate on the XY plane is calculated respectively. For example, when the cast-in-place plate A, the cast-in-place plate B and the cast-in-place plate C exist in the front target room, a third projection area A, a third projection area B and a third projection area C corresponding to the cast-in-place plate A, the cast-in-place plate B and the cast-in-place plate C on an XY plane are calculated respectively.
Specifically, a fourth projection area of the target room model on the XY plane is determined according to the length and width information of the target room included in the building information.
And c2, judging whether the top heights of the cast-in-situ plates are consistent.
Specifically, the heights of the tops of the cast-in-situ plate A, the cast-in-situ plate B and the cast-in-situ plate C are respectively determined according to the height information of each cast-in-situ plate included in the building information, and whether the heights of the tops of the cast-in-situ plate A, the cast-in-situ plate B and the cast-in-situ plate C in the current target room are consistent is judged.
And c3, determining the top height of each cast-in-situ plate as the height of each target wall surface when the top heights of the cast-in-situ plates are consistent and the sum of the third projection areas corresponding to the cast-in-situ plates is larger than or equal to the fourth projection area.
Specifically, when the heights of the tops of the cast-in-situ plate A, the cast-in-situ plate B and the cast-in-situ plate C are determined to be M according to the height information of each cast-in-situ plate included in the building information, and the sum of the third projection area A, the third projection area B and the third projection area C is larger than or equal to the fourth projection area, specifically, when the height M of the top surface of the cast-in-situ plate is lower than the height of the top of the target wall, the cast-in-situ plate A, the cast-in-situ plate B and the cast-in-situ plate C are perfectly attached to the target wall, the cast-in-situ plate influences the generation of the target wall, and the heights of all initial wall surfaces are corrected to be M.
And c4, determining the height of each initial wall surface as the height of each target wall surface when the heights of the tops of the cast-in-situ plates are consistent and the sum of the third projection areas corresponding to the cast-in-situ plates is smaller than the fourth projection area.
Specifically, when the heights of the tops of the cast-in-situ plate A, the cast-in-situ plate B and the cast-in-situ plate C are M, and the sum of the third projection area A, the third projection area B and the third projection area C is smaller than the fourth projection area, namely that the cast-in-situ plate A, the cast-in-situ plate B and the cast-in-situ plate C are not attached to the target wall, the cast-in-situ plate does not influence the generation of the target wall, and the height of the initial wall is not required to be corrected.
And c5, when the heights of the tops of the cast-in-situ plates are inconsistent and the sum of the third projection areas corresponding to the cast-in-situ plates is larger than or equal to the fourth projection area, respectively determining the number of the cast-in-situ plates corresponding to the upper part of each target wall.
Specifically, when the heights of the tops of the cast-in-situ plate A, the cast-in-situ plate B and the cast-in-situ plate C are inconsistent, and the sum of the third projection area A, the third projection area B and the third projection area C is larger than or equal to the fourth projection area, the cast-in-situ plate is determined to influence the generation of the target wall surface, and the heights of all initial wall surfaces need to be corrected according to the heights of the tops of the cast-in-situ plates.
And respectively determining the number of the cast-in-situ slabs above each target wall according to the building information. For example, the upper side of the target wall A corresponds to the cast-in-situ slab A, and the upper side of the target wall B corresponds to the cast-in-situ slab B and the cast-in-situ slab C.
And c6, when determining that any one of the target walls corresponds to one cast-in-situ plate, determining the top height of the cast-in-situ plate as the height of the target wall corresponding to the target wall.
Specifically, when it is determined that one cast-in-place slab a corresponds to the upper side of 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.
And c7, when the upper part of any one target wall is determined to correspond to the plurality of cast-in-situ plates, determining the cast-in-situ plate with the lowest top height in the plurality of cast-in-situ plates, and determining the height of the cast-in-situ plate with the lowest top height as the height of the target wall corresponding to the target wall.
Specifically, when the upper part of the target wall B is determined to correspond to the cast-in-situ slab B and the cast-in-situ slab C, the cast-in-situ slab with the lowest top height in the cast-in-situ slab B and the cast-in-situ slab C is determined, for example, the cast-in-situ slab B can be used, and the top height of the cast-in-situ slab B is determined to be the height of the target wall surface corresponding to the target wall B.
In some optional embodiments, step S2044 further includes: when the top height of the cast-in-situ plate is higher than the top height of the target wall, no matter the sum of the projection areas of the cast-in-situ plate is larger than or equal to the projection area of the target room or the sum of the projection areas of the cast-in-situ plate is smaller than the projection area of the target room, the height of the initial wall surface is not corrected, and the height of the target wall is determined to be the height of the target wall surface.
According to the wall surface information determining method provided by the embodiment of the invention, when the fact that a plurality of cast-in-place plates exist in a target room is determined, the third projection area corresponding to each cast-in-place plate and the fourth projection area corresponding to a target room model are determined, and whether the top heights of the cast-in-place plates are consistent is judged, so that the heights of each target wall surface are automatically generated according to the consistent top heights of the cast-in-place plates and the size relation between the third projection area and the fourth projection area, and the labor cost and the consumed time of a user are greatly saved.
The embodiment also provides a device for determining wall surface information, which is used for implementing the above embodiment and the preferred embodiment, and is not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a device for determining wall information, as shown in fig. 4, including:
an obtaining module 301, configured to obtain building information of a target room for which a wall surface is to be generated.
The first determining module 302 is configured to determine, based on the building information, a closed area corresponding to the target room and a target wall primitive corresponding to the closed area.
The generating module 303 is configured to generate a target room model corresponding to the target room based on the target wall primitive corresponding to the closed region.
The second determining module 304 is configured to determine wall surface information corresponding to each target wall of the target room model based on each target wall in the target room model.
In some alternative embodiments, the generating module 303 may include:
And the calibration submodule is used for calibrating the closed area and determining a target closed area corresponding to the target room.
The first generation sub-module is used for generating a target room model corresponding to the target room based on the target closed area.
In some alternative embodiments, the calibration sub-module may include:
and the first determining unit is used for determining the contour line corresponding to the closed area based on the target wall primitive of the closed area.
And a second determining unit configured to determine an arbitrary point in the contour line as a center calibration point, and determine a minimum closed area surrounding the center calibration point.
And a third determination unit configured to determine, as the target closed region, a closed region having the smallest area among the projected area of the minimum closed region and the projected area of the closed region.
In some alternative embodiments, the second determining module 304 may include:
and the acquisition submodule is used for acquiring the bottom surface height and the top surface height of each target wall of the target room model.
And the second generation submodule is used for generating initial wall surfaces corresponding to the target walls based on the bottom surface heights and the top surface heights.
The first judging submodule is used for judging whether the cast-in-situ slab exists in the target room or not.
And the correction sub-module is used for correcting the height of each initial wall surface of the target room model based on the top height of the cast-in-situ plate when the cast-in-situ plate exists in the target room, so as to obtain the correction height.
And the third generation submodule is used for generating each target wall surface of the target room model based on the corrected height.
In some alternative embodiments, the above-described modification sub-module may include:
and the fourth determining unit is used for determining the first projection area of the cast-in-situ plate and the second projection area of the target room model.
And the fifth determining unit is used for determining the top height of the cast-in-situ plate as the height of each target wall surface when the first projection area is larger than or equal to the second projection area.
And a sixth determining unit for determining the height of each initial wall surface as the height of each target wall surface when the first projection area is smaller than the second projection area.
In some alternative embodiments, the above-mentioned modification sub-module may further include:
and the seventh determining unit is used for determining the third projection area corresponding to each cast-in-situ plate and the fourth projection area corresponding to the target room model.
And the judging unit is used for judging whether the top heights of the cast-in-situ plates are consistent.
And the eighth determining unit is used for determining the top height of each cast-in-situ plate as the height of each target wall surface when the top heights of the cast-in-situ plates are consistent and the sum of the third projection areas corresponding to the cast-in-situ plates is larger than or equal to the fourth projection area.
And the ninth determining unit is used for determining the height of each initial wall surface as the height of each target wall surface when the heights of the tops of the cast-in-situ plates are consistent and the sum of the third projection areas corresponding to the cast-in-situ plates is smaller than the fourth projection area.
And the tenth determining unit is used for determining the number of the cast-in-situ plates corresponding to the upper parts of the target walls respectively when the heights of the tops of the cast-in-situ plates are inconsistent and the sum of the third projection areas corresponding to the cast-in-situ plates is larger than or equal to the fourth projection area.
An eleventh determining unit for determining the top height of one cast-in-situ slab as the height of the target wall corresponding to the target wall when determining that one cast-in-situ slab corresponds to the upper side of any one target wall.
And a twelfth determining unit for determining the cast-in-situ slab with the lowest top height among the cast-in-situ slabs when determining that any one of the target walls corresponds to the plurality of cast-in-situ slabs, and determining the height of the cast-in-situ slab with the lowest top height as the height of the target wall corresponding to the target wall.
In some alternative embodiments, the first determining module 302 may include:
and the second judging submodule is used for judging whether the projection of each wall primitive corresponding to the closed area is intersected with the projection of the target room.
And the first determining submodule is used for determining the type of each wall primitive when the projection of each wall primitive is intersected with the projection of the target room.
And the second determining submodule is used for screening each wall primitive based on the type of each wall primitive and determining the target wall primitive corresponding to the closed area.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The wall information determining device in this embodiment is presented in the form of functional units, where the units are ASIC (Application Specific Integrated Circuit ) circuits, processors and memories executing one or more software or fixed programs, and/or other devices that can provide the above functions.
According to the wall surface information determining device provided by the embodiment of the invention, after the building information of the target room of the wall surface to be generated is obtained, the closed area corresponding to the target room and the target wall primitive corresponding to the closed area are determined according to the building information, so that the target room model corresponding to the target room is generated. According to each target wall in the target room model, wall surface information corresponding to each target wall is determined, so that the calculation of the wall surface engineering quantity in the room decoration can be completed on the premise that the wall surface components of the room decoration are not drawn independently, time and labor are saved, and meanwhile, the design cost is greatly saved.
The embodiment of the invention also provides computer equipment, which is provided with the device for determining the wall surface information shown in the figure 4.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, as shown in fig. 5, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 5.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform the methods shown in implementing the above embodiments.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which 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.
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 disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (11)

CN202311735171.4A2023-12-152023-12-15Wall information determining method and device, computer equipment and storage mediumPendingCN117592167A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202311735171.4ACN117592167A (en)2023-12-152023-12-15Wall information determining method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202311735171.4ACN117592167A (en)2023-12-152023-12-15Wall information determining method and device, computer equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN117592167Atrue CN117592167A (en)2024-02-23

Family

ID=89918354

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202311735171.4APendingCN117592167A (en)2023-12-152023-12-15Wall information determining method and device, computer equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN117592167A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119721945A (en)*2024-11-062025-03-28深圳市斯维尔科技股份有限公司 Construction engineering quantity statistics method, device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119721945A (en)*2024-11-062025-03-28深圳市斯维尔科技股份有限公司 Construction engineering quantity statistics method, device, electronic equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN113010937B (en)Parametric modeling method of member section steel bar and related device
CN113919027A (en) Component adjustment method, device, computer equipment and storage medium in BIM model
CN117592167A (en)Wall information determining method and device, computer equipment and storage medium
CN117407964B (en)BIM parameterization design method for foundation pit of open-cut tunnel based on two-dimensional and three-dimensional interaction
CN112182727A (en)Method and device for automatically laying supporting pieces of building engineering and readable storage medium
CN117719162A (en)Method and device for determining support structure, storage medium and electronic equipment
CN117830579A (en)Skirting information determining method and device, computer equipment and storage medium
CN113205589A (en)Automatic labeling method, processing equipment and storage medium of stair model
CN118916942B (en)Image processing method, device, equipment and readable medium
CN114444185B (en) In-situ marking recognition method, device and electronic equipment
CN112287443B (en)Method and device for generating structural floor slab, electronic equipment and storage medium
CN112199745B (en)BIM-based template bent frame construction method and device
CN117371091A (en)Parameterized deep modeling method, device, equipment and medium for steel structure net rack
CN115238338A (en) A method, device and electronic device for updating a component model
CN116595839A (en)System for generating structural analysis model
CN111159796A (en)Method and device for generating beam of building, computer equipment and storage medium
CN116579065A (en)Method, device and equipment for generating structural analysis model based on BIM model
CN116541937A (en)Method, device and equipment for generating structural analysis model based on BIM model
CN112836263B (en)Axle network generation method and device, computer equipment and storage medium
CN115952586A (en) Method, device, equipment and readable storage medium for moving door frame wall of civil air defense
CN110727981B (en)Method and device for generating column splicing node of light steel structure and storage medium
CN116522459B (en)Method, device and equipment for generating structural analysis model based on BIM model
CN110826118B (en)Method and device for generating variable cross-section splicing nodes of column factory of light steel structure
CN119043168A (en)Calibration method, device, computer equipment and medium using laser projection
CN114139238A (en) Interior design model correction method, device, electronic device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp