CN112836265B - Interior wall generation method and device, computer equipment and storage medium - Google Patents

Interior wall generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112836265B
CN112836265B CN201911157421.4A CN201911157421A CN112836265B CN 112836265 B CN112836265 B CN 112836265B CN 201911157421 A CN201911157421 A CN 201911157421A CN 112836265 B CN112836265 B CN 112836265B
Authority
CN
China
Prior art keywords
wall
wall line
information
height
room
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.)
Active
Application number
CN201911157421.4A
Other languages
Chinese (zh)
Other versions
CN112836265A (en
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.)
Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Original Assignee
Jiuling Jiangsu Digital Intelligent Technology 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 Jiuling Jiangsu Digital Intelligent Technology Co Ltd filed Critical Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Priority to CN201911157421.4A priority Critical patent/CN112836265B/en
Publication of CN112836265A publication Critical patent/CN112836265A/en
Application granted granted Critical
Publication of CN112836265B publication Critical patent/CN112836265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to an interior wall generation method, an interior wall generation device, computer equipment and a storage medium. The method comprises the following steps: acquiring room information in a design model; acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information; obtaining the height of the inner wall according to floor slab information in the room information; dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment; and generating the inner wall according to the height of the inner wall, at least one inner wall line segment and the thickness of a preset inner wall plate. The whole process of generating the inner wall from the information acquisition does not need manual participation at all, the inner wall matched with the related room can be automatically generated, and a large amount of time, manpower and material resources are saved.

Description

Interior wall generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer aided design technologies, and in particular, to a method and an apparatus for generating an interior wall, a computer device, and a storage medium.
Background
With the continuous development of computer aided design technology, the room design by computer aided design is widely applied. In the conventional technology, after a room layout is designed and planned by using computer-aided design, when an inner wall of a room is designed, inner wall family files need to be manually created and drawn and positioned one by one, and a large amount of time, manpower and material resources need to be consumed.
Disclosure of Invention
In view of the above, it is necessary to provide an interior wall generating method, an interior wall generating apparatus, a computer device, and a storage medium.
A method of interior wall generation, the method comprising:
acquiring room information in a design model;
acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information;
obtaining the height of the inner wall according to the floor slab information in the room information;
dividing the inner wall line according to column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, the at least one inner wall line segment and the thickness of a preset inner wall plate.
In one embodiment, the obtaining of the maximum closed area composed of the surrounding lines in the room information includes:
obtaining at least one closed area formed by the enclosing lines according to the enclosing lines in the room information;
and obtaining the area of the at least one closed region, and screening the at least one closed region according to the area to obtain the maximum closed region.
In one embodiment, the obtaining an inner wall line according to the wall line corresponding to the maximum closed area and the wall line in the room information includes:
determining a wall line corresponding to the maximum closed area as an outer wall line;
and deleting the outer wall line from the wall lines in the room information to obtain the inner wall line.
In one embodiment, the obtaining the height of the inner wall according to the floor slab information in the room information includes:
acquiring the maximum Z-axis coordinate of the floor slab from the floor slab information;
and obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs.
In one embodiment, the dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment includes:
obtaining the intersection point of the column in the column information and the inner wall line according to the column information;
and dividing the inner wall line according to the intersection point to obtain at least one inner wall line segment.
In one embodiment, the generating an inner wall according to the height of the inner wall, the at least one inner wall line segment and a preset thickness of the inner wall plate includes:
and for each inner wall line segment, sequentially generating the inner wall by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall.
In one embodiment, the method further comprises: if the length of the inner wall line segment is integral multiple of the thickness of the inner wall plate, generating the inner wall by taking one end of the inner wall line segment as a starting point according to the height of the inner wall and the thickness of the inner wall plate;
if the length of the inner wall line segment is not an integral multiple of the thickness of the inner wall plate, acquiring the maximum integral multiple of the length of the inner wall line segment relative to the thickness of the inner wall plate, and determining the difference value between the length of the inner wall line segment and the maximum integral multiple of the thickness of the inner wall plate as the residual length of the wall line;
shearing the part of the inner wall plate with the thickness larger than the residual length of the wall line to obtain the sheared inner wall plate;
and taking one end of the inner wall line segment as a starting point, and generating the inner wall according to the height of the inner wall, the inner wall board of the maximum integral multiple and the sheared inner wall board.
A method of interior wall generation, the method comprising:
acquiring room information in a design model;
obtaining a maximum closed area formed by the enclosing lines in the room information, screening, and obtaining an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information;
acquiring the maximum Z-axis coordinate of the floor slab from the floor slab information;
obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs;
dividing the inner wall line according to column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, the at least one inner wall line segment and the thickness of a preset inner wall plate.
An interior wall creation apparatus, the apparatus comprising:
the information acquisition module is used for acquiring room information in the design model;
the interior wall line determining module is used for obtaining a maximum closed area formed by the enclosing lines in the room information for screening, and obtaining interior wall lines according to the wall lines corresponding to the maximum closed area and the wall lines in the room information;
the inner wall height determining module is used for obtaining the height of the inner wall according to the floor slab information in the room information;
the inner wall line segment determining module is used for dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment;
and the inner wall generating module is used for generating an inner wall according to the height of the inner wall, the at least one inner wall line segment and the thickness of a preset inner wall plate.
A computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above.
According to the method, the device, the computer equipment and the storage medium for generating the inner wall, the maximum closed area formed by the enclosing lines in the room information is obtained, the inner wall line is obtained according to the wall line corresponding to the maximum closed area and the wall line in the room information, the height of the inner wall is obtained according to the floor information in the room information, the inner wall line is divided according to the column information in the room information to obtain at least one inner wall line segment, the inner wall is generated according to the height of the inner wall, the at least one inner wall line segment and the preset thickness of the inner wall plate, the whole process of generating the inner wall from the fact that the information is obtained does not need manual participation, the inner wall matched with the related room can be automatically generated, and a large amount of time, manpower and material resources are saved.
Drawings
FIG. 1 is a diagram of an application environment of a method for interior wall generation in one embodiment;
FIG. 2 is a schematic flow chart diagram of a method for interior wall generation in one embodiment;
FIG. 3 is a schematic flow chart diagram illustrating one possible implementation of step S200 in one embodiment;
FIG. 4 is a flowchart illustrating one possible implementation of step S200 in one embodiment;
FIG. 5 is a schematic illustration of an embodiment of an interior wall line and an exterior wall line;
FIG. 6 is a schematic flow chart diagram illustrating one possible implementation of step S300 in one embodiment;
FIG. 7 is a schematic representation of room design parameters in one embodiment;
FIG. 8 is a schematic flow chart diagram illustrating one possible implementation of step S400 in one embodiment;
FIG. 9 is a schematic flowchart of an interior wall creation method in another embodiment;
FIG. 10 is a block diagram showing the construction of an interior wall generating apparatus according to an embodiment;
FIG. 11 is a block diagram showing another structure of an inner wall forming apparatus according to an embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that the terms "first," "second," and the like as used in this application may be used herein to describe various conditional relationships, but these conditional relationships are not limited by these terms. These terms are only used to distinguish one conditional relationship from another.
The inner wall generation method provided by the application can be applied to the application environment shown in fig. 1. The terminal 10 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers. The terminal 10 includes a memory, a processor, and a display. The processor may run architectural design software, which may be stored in the memory in the form of a computer program. The memory also provides an operating environment for the architectural design software, and the memory can store operating information for the architectural design software. Specifically, the display screen can display a design interface of the architectural design software, and a user can input room information through the design interface to generate the inner wall. The design model 20 is a model for room design, and the terminal 10 generates an inner wall according to room information after acquiring the room information in the design model 20. The terminal 10 acquires the room information in the design model 20 through the network.
In one embodiment, as shown in fig. 2, an interior wall generation method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step S100, room information in the design model is acquired.
And step S200, acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining the inner wall line according to the wall line corresponding to the maximum closed area and the wall line in the room information.
And step S300, obtaining the height of the inner wall according to the floor information in the room information.
And step S400, dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment.
And S500, generating the inner wall according to the height of the inner wall, the at least one inner wall line segment and the thickness of a preset inner wall plate.
The room information is design information of a room design model, and comprises information of a surrounding line, floor slab information, column information, floor height, elevation, beam offset, beam thickness and the like of the room. The interior wall height is the distance between the floor of the room and the beam of the room (if there is no beam, the distance from the upper elevation).
Specifically, room information in the design model is obtained, a maximum closed area composed of the enclosing lines is obtained according to the enclosing lines in the room information, the wall line composing the maximum closed area is an outer wall line, the wall line corresponding to the maximum closed area is removed, and the remaining wall lines are inner wall lines. And calculating a Z-axis initial position generated by the inner wall according to the floor information, and obtaining the height of the inner wall according to the Z-axis initial position, the floor height corresponding to the elevation of the room to which the inner wall line belongs, the elevation, the offset of the beam, the thickness of the beam and other information. And dividing the inner wall line according to the intersection point of the column and the inner wall line in the column information to obtain at least one inner wall line segment. And finally, sequentially generating the inner wall by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall, the at least one inner wall line segment and the preset thickness of the inner wall plate.
According to the method for generating the inner wall, the maximum closed area formed by the enclosing lines in the room information is obtained, the inner wall line is obtained according to the wall line corresponding to the maximum closed area and the wall line in the room information, the height of the inner wall is obtained according to floor information in the room information, the inner wall line is divided according to column information in the room information to obtain at least one inner wall line segment, the inner wall is generated according to the height of the inner wall, the at least one inner wall line segment and the preset thickness of the inner wall plate, the whole process of generating the inner wall from the information obtaining process does not need manual participation at all, the inner wall matched with the related rooms can be automatically generated, and a large amount of time, manpower and material resources are saved.
In one embodiment, as shown in fig. 3, which is a schematic flowchart of an implementable method of step S200, taking a maximum closed area composed of surrounding lines in the room information includes:
and step S210, obtaining at least one closed area composed of the enclosing lines according to the enclosing lines in the room information.
Step S220, the area of at least one closed region is obtained, and the at least one closed region is screened according to the area to obtain the maximum closed region.
Specifically, the enclosing line of the room is obtained from the room information, the enclosing line is a wall line forming a closed area, the closed area has a closed area formed by an inner wall line and also has a closed area formed by an outer wall line enclosing the city according to the attribute of each layer of the room, and the area of the closed area formed by the outer wall line is different from the area of the closed area formed by the inner wall line, so that after at least one closed area formed by the enclosing lines of the room is obtained, at least one closed area is screened according to the area of the at least one closed area, and the maximum closed area is obtained.
In the above embodiment, at least one closed region composed of the enclosing lines is obtained according to the enclosing lines in the room information, the area of the at least one closed region is obtained, the at least one closed region is screened according to the area to obtain the maximum closed region, and an important basis is provided for the subsequent process of generating the inner wall according to the obtained and further according to the inner wall lines.
In one embodiment, as shown in fig. 4, which is a schematic flowchart of an implementable method of step S200, where the obtaining of the inner wall line according to the wall line corresponding to the maximum closed area and the wall line in the room information includes:
and step S230, determining the wall line corresponding to the maximum closed area as an outer wall line.
In step S240, the outer wall line is deleted from the wall lines in the room information to obtain the inner wall line.
Specifically, the wall line constituting the maximum closed area is an outer wall line, and the other wall lines are inner wall lines, and based on this characteristic, the outer wall line is deleted from all the wall lines, and the remaining wall lines are determined as inner wall lines. Fig. 5 is a schematic diagram of an inner wall line and an outer wall line.
In the above embodiment, the wall line corresponding to the maximum closed area is determined as the outer wall line, and the outer wall line is deleted from the wall lines in the room information to obtain the inner wall line, so that an important basis is provided for a subsequent process of generating the inner wall according to the inner wall line.
In one embodiment, as shown in fig. 6, which is a schematic flowchart of an implementable method of step S300, wherein the obtaining of the height of the inner wall according to the floor slab information in the room information includes:
and step S310, acquiring the maximum Z-axis coordinate of the floor slab from the floor slab information.
And S320, obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height corresponding to the elevation of the room to which the inner wall line belongs, the elevation, the offset of the beam and the thickness of the beam.
Specifically, the floor information includes Z-axis information generated by the inner wall, the maximum Z-axis coordinate of the floor is obtained from the floor information, and the height of the inner wall is obtained through calculation according to the maximum Z-axis coordinate, the layer height corresponding to the elevation where the room to which the inner wall line belongs is located, the elevation, the offset of the beam and the thickness of the beam, and the specific calculation formula is as follows: interior wall height = story height + (elevation 1-maximum Z axis coordinate) -beam offset-beam thickness. As shown in fig. 7, a schematic diagram of the room design parameters is shown. Fig. 7 includes schematic states of the parameters in the inner wall height calculation formula.
In the above embodiment, the maximum Z-axis coordinate of the floor is obtained from the floor information, and the height of the inner wall is obtained according to the maximum Z-axis coordinate and the relationship among the floor height, the elevation, the offset of the beam, and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs, so that an important foundation is provided for the subsequent process of generating the inner wall according to the height of the inner wall.
In one embodiment, as shown in fig. 8, which is a schematic flowchart of an implementable method of step S400, wherein dividing the interior wall line according to the column information in the room information to obtain at least one interior wall line segment includes:
and step S410, obtaining the intersection point of the column and the inner wall line in the column information according to the column information.
Step S420, dividing the inner wall line according to the intersection points to obtain at least one inner wall line segment.
Specifically, the columns intersect at the wall body, and the wall line can be divided into several sections, and the intersection of the columns and the wall body can cause unevenness of the wall body, so that the wall line needs to be divided according to the positions of the columns, and an inner wall is generated on each section of the wall line, so that the inner wall line is divided according to the intersection points of the columns and the inner wall line, and at least one inner wall line segment is obtained. Fig. 7 is a view showing the intersecting state of the pillars and the inner wall.
In the above embodiment, the intersection point of the column and the inner wall line in the column information is obtained according to the column information, and the inner wall line is divided according to the intersection point to obtain at least one inner wall line segment, so that an important basis is provided for a subsequent process of generating the inner wall according to the inner wall line segment.
In one embodiment, generating the inner wall according to the height of the inner wall, the at least one inner wall line segment and the preset thickness of the inner wall plate comprises:
and for each inner wall line segment, sequentially generating the inner wall by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall.
Specifically, according to the inner wall line, the inner wall height, the at least one inner wall line segment and the preset thickness of the inner wall plate obtained in the above embodiments, the inner wall corresponding to the inner wall height is obtained by spreading out the inner wall line segment at one time with one end of each inner wall line segment as a starting point.
Optionally, if the length of the inner wall line segment is an integral multiple of the thickness of the inner wall plate, generating the inner wall according to the height of the inner wall and the thickness of the inner wall plate by taking one end of the inner wall line segment as a starting point; if the length of the inner wall line segment is not the integral multiple of the thickness of the inner wall plate, acquiring the maximum integral multiple of the length of the inner wall line segment relative to the thickness of the inner wall plate, and determining the difference value of the length of the inner wall line segment and the maximum integral multiple of the thickness of the inner wall plate as the residual length of the wall line; shearing the part of the inner wall plate with the thickness larger than the residual length of the wall line to obtain the sheared inner wall plate; and taking one end of the inner wall line segment as a starting point, and generating the inner wall according to the height of the inner wall, the inner wall plate of the maximum integral multiple and the sheared inner wall plate.
Specifically, when the length of the inner wall line segment is an integral multiple of the thickness of the inner wall plate, it is indicated that the inner wall line segment can be provided with the integral multiple of the inner wall plate, and at this time, the inner wall is generated by taking one end of the inner wall line segment as a starting point according to the height of the inner wall and the thickness of the inner wall plate; and when the length of the inner wall line segment is not the integral multiple of the thickness of the inner wall plate, the inner wall plate which can not be set in the integral multiple in the inner wall line segment is described, one of the inner wall plates needs to be cut, the inner wall plate can be set in the inner wall line segment after cutting, the specific cutting mode is carried out according to the remaining length of the wall line, and the part of the inner wall plate which exceeds the remaining length of the wall line is cut, so that the cut inner wall plate can be set in the inner wall line segment.
In the above embodiment, for each inner wall line segment, the inner walls are sequentially generated by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall, and the whole process of generating the inner walls from the information acquisition does not need manual participation at all, so that the inner walls matched with the relevant rooms can be automatically generated, and a large amount of time, manpower and material resources are saved.
In one embodiment, as shown in fig. 9, an interior wall generating method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step S10, room information in a design model is obtained;
step S20, acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining inner wall lines according to the wall lines corresponding to the maximum closed area and the wall lines in the room information;
step S30, acquiring the maximum Z-axis coordinate of the floor slab from the floor slab information;
s40, obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height corresponding to the elevation of the room where the inner wall line belongs to, the elevation, the offset of the beam and the thickness of the beam;
s50, dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment;
and S60, generating the inner wall according to the height of the inner wall, at least one inner wall line segment and the thickness of a preset inner wall plate.
The room information is design information of a room design model, and comprises information of a surrounding line, floor slab information, column information, floor height, elevation, beam offset, beam thickness and the like of the room. The interior wall height is the distance between the floor of the room and the beam of the room (if there is no beam, the distance from the upper elevation).
Specifically, room information in the design model is obtained, a maximum closed area composed of the enclosing lines is obtained according to the enclosing lines in the room information, the wall line composing the maximum closed area is an outer wall line, the wall line corresponding to the maximum closed area is removed, and the remaining wall lines are inner wall lines. And calculating a Z-axis initial position generated by the inner wall according to the floor information, and obtaining the height of the inner wall according to the Z-axis initial position, the floor height corresponding to the elevation of the room to which the inner wall line belongs, the elevation, the offset of the beam, the thickness of the beam and other information. The floor slab information comprises Z-axis information generated by the inner wall, the maximum Z-axis coordinate of the floor slab is obtained from the floor slab information, the height of the inner wall is obtained through calculation according to the maximum Z-axis coordinate, the layer height corresponding to the elevation where the room to which the inner wall belongs is located, the elevation, the offset of the beam and the thickness of the beam, and the specific calculation formula is as follows: interior wall height = story height + (elevation 1-maximum Z axis coordinate) -beam offset-beam thickness. As shown in fig. 6, a schematic diagram of the parameters for a room is designed. Fig. 6 includes schematic states of the parameters in the inner wall height calculation formula. And dividing the inner wall line according to the intersection point of the column and the inner wall line in the column information to obtain at least one inner wall line segment. And finally, sequentially generating the inner wall by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall, the at least one inner wall line segment and the preset thickness of the inner wall plate.
According to the method for generating the inner wall, a maximum closed area formed by enclosing lines in room information is obtained, the inner wall line is obtained according to the wall line corresponding to the maximum closed area and the wall line in the room information, the maximum Z-axis coordinate of the floor is obtained from the floor information, the height of the inner wall is obtained according to the maximum Z-axis coordinate and the relation among the floor height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation where the room where the inner wall belongs to is located, the inner wall is divided according to column information in the room information to obtain at least one inner wall line segment, the inner wall is generated according to the height of the inner wall, the at least one inner wall line segment and the preset thickness of the inner wall, the whole process of generating the inner wall from the obtaining of the information is completely free of manual participation, the inner wall matched with the related room can be automatically generated, and a large amount of time, labor and material resources are saved.
In one embodiment, as shown in fig. 10, there is provided an interior wall generating apparatus including: the system comprises an information acquisition module 101, an inner wall line determination module 102, an inner wall height determination module 103, an inner wall line segment determination module 104 and an inner wall generation module 105, wherein:
the information acquisition module 101 is used for acquiring room information in the design model;
the inner wall line determining module 102 is configured to obtain a maximum closed area formed by the enclosing lines in the room information, and obtain an inner wall line according to the wall line corresponding to the maximum closed area and the wall line in the room information;
the inner wall height determining module 103 is used for obtaining the height of the inner wall according to the floor slab information in the room information;
an inner wall line segment determining module 104, configured to divide an inner wall line according to column information in the room information to obtain at least one inner wall line segment;
the inner wall generating module 105 is configured to generate an inner wall according to the height of the inner wall, the at least one inner wall line segment, and the thickness of a preset inner wall plate.
In one embodiment, the inner wall line determining module 102 is further configured to obtain at least one closed area composed of the surrounding lines according to the surrounding lines in the room information; and obtaining the area of at least one closed region, and screening the at least one closed region according to the area to obtain the maximum closed region.
In one embodiment, the inner wall line determining module 102 is further configured to determine a wall line corresponding to the maximum closed area as an outer wall line; and deleting the outer wall line from the wall lines in the room information to obtain the inner wall line.
In one embodiment, the inner wall height determining module 103 is further configured to obtain the maximum Z-axis coordinate of the floor slab from the floor slab information; and obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs.
In one embodiment, the inner wall line segment determining module 104 is further configured to obtain intersection points of the columns and the inner wall lines in the column information according to the column information; and dividing the inner wall line according to the intersection point to obtain at least one inner wall line segment.
In one embodiment, the inner wall generation module 105 is further configured to sequentially generate, for each inner wall line segment, an inner wall according to the height of the inner wall, with one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length.
In one embodiment, the inner wall generating module 105 is further configured to generate the inner wall according to the height of the inner wall and the thickness of the inner wall from one end of the inner wall line segment as a starting point if the length of the inner wall line segment is an integral multiple of the thickness of the inner wall; if the length of the inner wall line segment is not the integral multiple of the thickness of the inner wall plate, acquiring the maximum integral multiple of the length of the inner wall line segment relative to the thickness of the inner wall plate, and determining the difference value of the length of the inner wall line segment and the maximum integral multiple of the thickness of the inner wall plate as the residual length of the wall line; shearing the part of the inner wall plate with the thickness larger than the residual length of the wall line to obtain the sheared inner wall plate; and taking one end of the inner wall line segment as a starting point, and generating the inner wall according to the height of the inner wall, the inner wall plate of the maximum integral multiple and the sheared inner wall plate.
For specific definition of the inner wall generation device, reference may be made to the above definition of the inner wall generation method, which is not described herein again. The modules in the inner wall generating device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 11, there is provided an interior wall generating apparatus including: an information obtaining module 111, an inner wall line determining module 112, a maximum coordinate obtaining module 113, an inner wall height determining module 114, an inner wall line segment determining module 115, and an inner wall generating module 116, wherein:
an information obtaining module 111, configured to obtain room information in a design model;
the inner wall line determining module 112 is configured to obtain a maximum closed area formed by the enclosing lines in the room information, and obtain an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information;
a maximum coordinate obtaining module 113, configured to obtain a maximum Z-axis coordinate of the floor from the floor information;
the inner wall height determining module 114 is configured to obtain an inner wall height according to the maximum Z-axis coordinate and a relationship between a floor height corresponding to an elevation where a room to which the inner wall line belongs, the elevation, an offset of the beam, and a thickness of the beam;
an inner wall line segment determining module 115, configured to divide an inner wall line according to column information in the room information to obtain at least one inner wall line segment;
and an inner wall generating module 116, configured to generate an inner wall according to the height of the inner wall, the at least one inner wall line segment, and a preset thickness of the inner wall.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an interior wall generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of:
acquiring room information in a design model;
acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information;
obtaining the height of the inner wall according to floor slab information in the room information;
dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, the at least one inner wall line segment and the preset thickness of the inner wall plate.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining at least one closed area consisting of the enclosing lines according to the enclosing lines in the room information; and screening at least one closed area to obtain a maximum closed area.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a wall line corresponding to the maximum closed area as an outer wall line; and deleting the outer wall line from the wall lines in the room information to obtain the inner wall line.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the maximum Z-axis coordinate of the floor from the floor information; and obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining the intersection point of the column and the inner wall line in the column information according to the column information; and dividing the inner wall line according to the intersection point to obtain at least one inner wall line segment.
In one embodiment, the processor when executing the computer program further performs the steps of: and for each inner wall line segment, sequentially generating the inner wall by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the length of the inner wall line segment is integral multiple of the thickness of the inner wall plate, generating the inner wall by taking one end of the inner wall line segment as a starting point according to the height of the inner wall and the thickness of the inner wall plate; if the length of the inner wall line segment is not the integral multiple of the thickness of the inner wall plate, acquiring the maximum integral multiple of the length of the inner wall line segment relative to the thickness of the inner wall plate, and determining the difference value of the length of the inner wall line segment and the maximum integral multiple of the thickness of the inner wall plate as the residual length of the wall line; shearing the part of the inner wall plate with the thickness larger than the residual length of the wall line to obtain the sheared inner wall plate; and taking one end of the inner wall line segment as a starting point, and generating the inner wall according to the height of the inner wall, the inner wall plates of the maximum integral multiple and the sheared inner wall plates.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring room information in a design model;
acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information;
acquiring the maximum Z-axis coordinate of the floor from the floor information;
obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height corresponding to the elevation of the room where the inner wall line belongs to, the elevation, the offset of the beam and the thickness of the beam;
dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, at least one inner wall line segment and the thickness of a preset inner wall plate.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring room information in a design model;
acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information;
obtaining the height of the inner wall according to floor slab information in the room information;
dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, at least one inner wall line segment and the thickness of a preset inner wall plate.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining at least one closed area consisting of the enclosing lines according to the enclosing lines in the room information; and screening at least one closed area to obtain a maximum closed area.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a wall line corresponding to the maximum closed area as an outer wall line; and deleting the outer wall line from the wall lines in the room information to obtain the inner wall line.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the maximum Z-axis coordinate of the floor from the floor information; and obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining the intersection point of the column and the inner wall line in the column information according to the column information; and dividing the inner wall line according to the intersection point to obtain at least one inner wall line segment.
In one embodiment, the computer program when executed by the processor further performs the steps of: and for each inner wall line segment, sequentially generating the inner wall by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the length of the inner wall line segment is integral multiple of the thickness of the inner wall plate, generating the inner wall by taking one end of the inner wall line segment as a starting point according to the height of the inner wall and the thickness of the inner wall plate; if the length of the inner wall line segment is not the integral multiple of the thickness of the inner wall plate, acquiring the maximum integral multiple of the length of the inner wall line segment relative to the thickness of the inner wall plate, and determining the difference value of the length of the inner wall line segment and the maximum integral multiple of the thickness of the inner wall plate as the residual length of the wall line; shearing the part of the inner wall plate with the thickness larger than the residual length of the wall line to obtain the sheared inner wall plate; and taking one end of the inner wall line segment as a starting point, and generating the inner wall according to the height of the inner wall, the inner wall plate of the maximum integral multiple and the sheared inner wall plate.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring room information in a design model;
acquiring a maximum closed area formed by the enclosing lines in the room information, and obtaining an inner wall line according to a wall line corresponding to the maximum closed area and the wall line in the room information;
acquiring the maximum Z-axis coordinate of the floor slab from the floor slab information;
obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height corresponding to the elevation of the room where the inner wall line belongs to, the elevation, the offset of the beam and the thickness of the beam;
dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, at least one inner wall line segment and the thickness of a preset inner wall plate.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An interior wall generation method, the method comprising:
acquiring room information in a design model;
obtaining at least one closed area formed by the enclosing lines according to the enclosing lines in the room information;
obtaining the area of the at least one closed region, and screening the at least one closed region according to the area to obtain the maximum closed region;
determining a wall line corresponding to the maximum closed area as an outer wall line;
deleting the outer wall line from the wall lines in the room information to obtain an inner wall line;
obtaining the height of an inner wall according to floor slab information in the room information, wherein the height of the inner wall is the distance between a room floor slab and a room beam;
dividing the inner wall line according to column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, the at least one inner wall line segment and the thickness of a preset inner wall plate.
2. The method of claim 1, wherein the obtaining the inner wall height according to the floor slab information in the room information comprises:
acquiring the maximum Z-axis coordinate of the floor slab from the floor slab information;
and obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs.
3. The method of claim 1, wherein the dividing the interior wall line according to the column information in the room information to obtain at least one interior wall line segment comprises:
obtaining the intersection point of the column in the column information and the inner wall line according to the column information;
and dividing the inner wall line according to the intersection point to obtain the at least one inner wall line segment.
4. The method of claim 1, wherein generating an interior wall from the interior wall height, the at least one interior wall line segment, and a predetermined interior wall panel thickness comprises:
and for each inner wall line segment, sequentially generating the inner wall by taking one end of the inner wall line segment as a starting point and the thickness of the inner wall plate as a step length according to the height of the inner wall.
5. The method of claim 4, further comprising:
if the length of the inner wall line segment is integral multiple of the thickness of the inner wall plate, generating the inner wall by taking one end of the inner wall line segment as a starting point according to the height of the inner wall and the thickness of the inner wall plate;
if the length of the inner wall line segment is not an integral multiple of the thickness of the inner wall plate, acquiring the maximum integral multiple of the length of the inner wall line segment relative to the thickness of the inner wall plate, and determining the difference between the length of the inner wall line segment and the maximum integral multiple of the thickness of the inner wall plate as the residual length of the wall line;
shearing the part of the inner wall plate with the thickness larger than the residual length of the wall line to obtain the sheared inner wall plate;
and taking one end of the inner wall line segment as a starting point, and generating the inner wall according to the height of the inner wall, the inner wall board of the maximum integral multiple and the sheared inner wall board.
6. An interior wall generation method, the method comprising:
acquiring room information in a design model;
obtaining at least one closed area consisting of the enclosing lines according to the enclosing lines in the room information;
obtaining the area of the at least one closed region, and screening the at least one closed region according to the area to obtain the maximum closed region;
determining a wall line corresponding to the maximum closed area as an outer wall line;
deleting the outer wall line from the wall lines in the room information to obtain an inner wall line;
acquiring the maximum Z-axis coordinate of the floor from the floor information of the room information;
obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height corresponding to the elevation of the room where the inner wall line belongs, the elevation, the offset of the beam and the thickness of the beam, wherein the height of the inner wall is the distance between the floor slab of the room and the beam of the room;
dividing the inner wall line according to column information in the room information to obtain at least one inner wall line segment;
and generating the inner wall according to the height of the inner wall, the at least one inner wall line segment and the thickness of a preset inner wall plate.
7. An interior wall generating apparatus, the apparatus comprising:
the information acquisition module is used for acquiring room information in the design model;
the inner wall line determining module is used for obtaining at least one closed area formed by the enclosing lines according to the enclosing lines in the room information;
obtaining the area of the at least one closed region, and screening the at least one closed region according to the area to obtain the maximum closed region;
determining a wall line corresponding to the maximum closed area as an outer wall line;
deleting the outer wall line from the wall lines in the room information to obtain an inner wall line;
the inner wall height determining module is used for obtaining the height of an inner wall according to floor slab information in the room information, wherein the height of the inner wall is the distance between a room floor slab and a room beam;
the inner wall line segment determining module is used for dividing the inner wall line according to the column information in the room information to obtain at least one inner wall line segment;
and the inner wall generating module is used for generating an inner wall according to the height of the inner wall, the at least one inner wall line segment and the thickness of a preset inner wall plate.
8. The apparatus of claim 7, wherein the interior wall height determination module is further configured to:
acquiring the maximum Z-axis coordinate of the floor slab from the floor slab information;
and obtaining the height of the inner wall according to the maximum Z-axis coordinate and the relation among the layer height, the elevation, the offset of the beam and the thickness of the beam corresponding to the elevation of the room to which the inner wall line belongs.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201911157421.4A 2019-11-22 2019-11-22 Interior wall generation method and device, computer equipment and storage medium Active CN112836265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911157421.4A CN112836265B (en) 2019-11-22 2019-11-22 Interior wall generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911157421.4A CN112836265B (en) 2019-11-22 2019-11-22 Interior wall generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112836265A CN112836265A (en) 2021-05-25
CN112836265B true CN112836265B (en) 2023-01-06

Family

ID=75922383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911157421.4A Active CN112836265B (en) 2019-11-22 2019-11-22 Interior wall generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112836265B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116680793B (en) * 2023-08-03 2023-10-20 贝壳找房(北京)科技有限公司 Wall data processing method, component creation method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109754460A (en) * 2018-12-27 2019-05-14 福建省晨曦信息科技股份有限公司 A kind of automatic overmolded method, electronic equipment and storage medium
CN209011626U (en) * 2018-09-30 2019-06-21 孙一铭 Variable house type house
CN110287626A (en) * 2019-06-30 2019-09-27 深圳积木易搭科技技术有限公司 Automatically generate method, medium, equipment and the device of interior decoration design scheme
CN110334390A (en) * 2019-05-22 2019-10-15 郑州轻工业学院 Exterior wall recognition methods, device, storage medium and processor in CAD

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3059798B1 (en) * 2016-12-05 2019-08-02 Commissariat A L'energie Atomique Et Aux Energies Alternatives METHOD FOR CONSTRUCTING A 3D DIGITAL MASQUET FROM A 2D PLAN
CN110263493A (en) * 2019-07-15 2019-09-20 李时锦 A kind of room construction area calculation method and device based on REVIT

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN209011626U (en) * 2018-09-30 2019-06-21 孙一铭 Variable house type house
CN109754460A (en) * 2018-12-27 2019-05-14 福建省晨曦信息科技股份有限公司 A kind of automatic overmolded method, electronic equipment and storage medium
CN110334390A (en) * 2019-05-22 2019-10-15 郑州轻工业学院 Exterior wall recognition methods, device, storage medium and processor in CAD
CN110287626A (en) * 2019-06-30 2019-09-27 深圳积木易搭科技技术有限公司 Automatically generate method, medium, equipment and the device of interior decoration design scheme

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Revit的地下连续墙识别算法研究;张维锦等;《华东交通大学学报》;20180613(第03期);第97-103页 *

Also Published As

Publication number Publication date
CN112836265A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN111079263B (en) Building main body structure generation method, device, computer equipment and storage medium
CN113010937B (en) Parametric modeling method of member section steel bar and related device
CN114692250A (en) Method and device for reinforcing ribs of wall body and computer equipment
CN112836265B (en) Interior wall generation method and device, computer equipment and storage medium
CN113129427A (en) Building model processing method and device, computer equipment and readable storage medium
CN110610334A (en) Warehouse management method and device, computer equipment and storage medium
CN112765700A (en) Wall building block arrangement model generation method and device and computer equipment
CN109448120B (en) Processing method and device for three-dimensional building model and computer equipment
CN112464327B (en) Door and window model arrangement method and device, computer equipment and storage medium
CN110826119A (en) Information processing method and device, computer equipment and readable storage medium
CN110704898A (en) Method for placing connecting node between tiger window model and roof truss girder model and product
CN112464325B (en) Stair model creation method, stair model creation device, computer equipment and storage medium
CN110765509B (en) Method and device for generating main roof hole-opening reinforcing node
CN112836266B (en) Floor generation method and device, computer equipment and storage medium
CN110211230B (en) Space planning model integration method and device, computer equipment and storage medium
CN111125809A (en) Building steel column generation method and device, computer equipment and storage medium
CN111159796A (en) Method and device for generating beam of building, computer equipment and storage medium
CN113779669A (en) Wall column reinforcement map automatic generation method, storage medium and terminal equipment
CN111259482B (en) Installation node determination method and device, computer equipment and storage medium
CN110968946A (en) Aluminous gusset plate ceiling generation method and device, computer equipment and storage medium
CN112836261A (en) House structure generation method and device, computer equipment and storage medium
CN113158280B (en) Roof main body structure generation method, device, computer equipment and storage medium
CN111127653B (en) Method and device for generating overhead flat roof, computer equipment and storage medium
CN113724357B (en) Image processing method, system, terminal and storage medium
CN110704900B (en) Method for placing connection node between keel column model and wall keel model and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant