CN110782505B - Room wall drawing method and device - Google Patents
Room wall drawing method and device Download PDFInfo
- Publication number
- CN110782505B CN110782505B CN201911068796.3A CN201911068796A CN110782505B CN 110782505 B CN110782505 B CN 110782505B CN 201911068796 A CN201911068796 A CN 201911068796A CN 110782505 B CN110782505 B CN 110782505B
- Authority
- CN
- China
- Prior art keywords
- wall
- room
- line
- wall line
- wall body
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A30/00—Adapting or protecting infrastructure or their operation
- Y02A30/24—Structural elements or technologies for improving thermal insulation
- Y02A30/244—Structural elements or technologies for improving thermal insulation using natural or recycled building materials, e.g. straw, wool, clay or used tires
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Residential Or Office Buildings (AREA)
Abstract
The invention provides a room wall drawing method and device, and relates to the field of wall drawing. The method comprises the following steps: drawing a unique inner wall line by using the inner wall line drawing data; inputting a first thickness of a first room wall body, and outwards translating the inner wall line by the first thickness along the normal direction of the inner wall line to obtain a corresponding outer wall line, wherein the inner wall line and the outer wall line form the first room wall body; drawing a second room wall body based on the first room wall body, filling a gap formed by an outer wall line and a soil supplementing wall line when the outer wall line of the first room wall body is intersected with the inner wall line of the second room wall body, and obtaining the second room wall body forming a closed area with the outer wall line of the first room wall body; and removing the second room wall body surrounding the first room wall body, and obtaining the second room wall body not surrounding the first room wall body. According to the room wall drawing method and device, the outer wall line can be arranged on the basis of the inner wall line to form the wall body with a certain thickness, so that the wall body can be opened for door and window design, and the doors and windows can be displayed.
Description
Technical Field
The invention relates to the technical field of wall drawing, in particular to a room wall drawing method and device.
Background
At present, in the process of designing a wall body of a room by a designer, only a wall line can be drawn by using an internal line wall drawing mode, so that in the process of designing doors and windows, the doors and windows can only be mounted on the wall line, but the wall body cannot be opened for door and window design, and the doors and windows which are opened for the wall body cannot be displayed.
Disclosure of Invention
Accordingly, the present invention is directed to a method and apparatus for drawing a wall of a room, so as to solve the technical problem that the wall cannot be opened for door and window design.
In a first aspect, an embodiment of the present invention provides a method for drawing a wall of a room, where the method includes the following steps:
drawing a unique interior wall line using predetermined interior wall line drawing data; wherein the inner wall line is a straight line and is connected end to form a closed area;
inputting a first thickness of a first room wall body, translating the inner wall line to the first thickness along a normal direction of the inner wall line, and obtaining a corresponding outer wall line, wherein the inner wall line and the outer wall line enclose the first room wall body;
drawing a second room wall body based on the first room wall body, and filling a gap formed by the outer wall line and a soil supplementing wall line under the condition that the outer wall line of the first room wall body is intersected with the inner wall line of the second room wall body, so as to obtain the second room wall body forming a closed area with the outer wall line of the first room wall body;
and eliminating the second room wall body surrounding the first room wall body, and obtaining the second room wall body not surrounding the first room wall body.
With reference to the first aspect, the embodiment of the present invention provides a first possible implementation manner of the first aspect, where the method further includes:
one or more subsequent room walls are drawn based on the one or more preceding room walls according to the number of rooms desired by the user.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the drawing, based on the first room wall, a second room wall, where the outer wall line of the first room wall intersects with an inner wall line of the second room wall, fills a gap formed by the outer wall line and a soil supplementing wall line, and obtains the second room wall that forms a closed area with the outer wall line of the first room wall, where the step includes:
carrying out fusion restoration on the outer wall wire to obtain a fusion restored outer wall wire;
forming a gap by the fused and restored outer wall line and the soil supplementing wall line, filling the gap, and obtaining an inner wall line of the second room wall body forming a closed area with the outer wall line of the first room wall body;
inputting a second thickness of the second room wall body, outwards translating the inner wall line by the second thickness along a normal direction of the inner wall line of the second room wall body to obtain a corresponding outer wall line, obtaining the second room wall body forming a closed area with the outer wall line of the first room wall body, and enclosing the inner wall line and the outer wall line into the second room wall body.
With reference to the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, where the method further includes:
acquiring two intersection points of the outer wall line of the first room wall body and the inner wall line of the second room wall body; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
the two portions of the outer wall line of the first room wall and the inner wall line of the second room wall are utilized to respectively form a closed area surrounding and not surrounding the first room wall.
In a second aspect, an embodiment of the present invention further provides a room wall drawing apparatus, where the apparatus includes:
the inner wall line drawing module is used for drawing a unique inner wall line by utilizing predetermined inner wall line drawing data; wherein the inner wall line is a straight line and is connected end to form a closed area;
the first room wall body determining module is used for inputting a first thickness of a first room wall body, translating the inner wall line outwards by the first thickness along a normal direction of the inner wall line to obtain a corresponding outer wall line, and the inner wall line and the outer wall line enclose the first room wall body;
a second room wall obtaining module, configured to draw a second room wall based on the first room wall, and fill up a gap formed by the outer wall line and a soil supplementing wall line when the outer wall line of the first room wall intersects with an inner wall line of the second room wall, to obtain the second room wall forming a closed area with the outer wall line of the first room wall;
and the rejecting module is used for rejecting the second room wall body surrounding the first room wall body and acquiring the second room wall body not surrounding the first room wall body.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the apparatus further includes:
and the subsequent room wall drawing module is used for drawing one or more subsequent room walls based on the one or more subsequent room walls according to the number of rooms required by the user.
Counting the rendering pipeline nodes of the rendering pipeline, and obtaining the number of the rendering pipeline nodes of the rendering pipeline.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the second room wall acquisition module is configured to:
carrying out fusion restoration on the outer wall wire to obtain a fusion restored outer wall wire;
forming a gap by the fused and restored outer wall line and the soil supplementing wall line, filling the gap, and obtaining an inner wall line of the second room wall body forming a closed area with the outer wall line of the first room wall body;
inputting a second thickness of the second room wall body, outwards translating the inner wall line by the second thickness along a normal direction of the inner wall line of the second room wall body to obtain a corresponding outer wall line, obtaining the second room wall body forming a closed area with the outer wall line of the first room wall body, and enclosing the inner wall line and the outer wall line into the second room wall body.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the apparatus further includes:
the intersection point acquisition module is used for acquiring two intersection points of the outer wall line of the first room wall body and the inner wall line of the second room wall body; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
and a closed region forming module for forming a closed region surrounding and not surrounding the first room wall by using the two parts of the outer wall line of the first room wall and the inner wall line of the second room wall, respectively.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes: a processor and a memory storing computer executable instructions executable by the processor to implement the method described above.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described above.
The embodiment of the invention has the following beneficial effects: according to the room wall drawing method and device, firstly, a unique inner wall line is drawn, a corresponding outer wall line is drawn according to the inner wall line, the inner wall line and the outer wall line enclose the first room wall, then, a second room wall which is also provided with the inner wall line and the outer wall line is drawn on the basis of the first room wall, finally, the second room wall which surrounds the first room wall is removed, and the second room wall which does not surround the first room wall is obtained. According to the room wall drawing method and device, the outer wall line can be arranged on the basis of the inner wall line to form the wall body with a certain thickness, so that the wall body can be opened for door and window design, and the doors and windows can be displayed.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the following description will briefly explain the drawings needed in the embodiments or the prior art description, and it is obvious that the drawings in the following description are some embodiments of the invention and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a room wall drawing method provided by an embodiment of the invention;
FIG. 2 is a flowchart of another method for drawing a wall of a room according to an embodiment of the present invention;
FIG. 3 is a block diagram of a room wall drawing device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server 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 present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. 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.
At present, in the process of designing a wall body of a room by a designer, only a wall line can be drawn by using an internal line wall drawing mode, so that in the process of designing doors and windows, the doors and windows can only be mounted on the wall line, but the wall body cannot be opened for door and window design, and the doors and windows which are opened for the wall body cannot be displayed. Based on the above, the embodiment of the invention provides a room wall drawing method and device, so as to alleviate the above problems.
For the sake of understanding the present embodiment, a method for drawing a wall of a room disclosed in the present embodiment is first described in detail.
In one possible embodiment, the invention provides a room wall painting method. Fig. 1 is a flowchart of a method for drawing a wall of a room according to an embodiment of the present invention, where the method includes the following steps:
step S102: and drawing a unique interior wall line by using the predetermined interior wall line drawing data.
The inner wall line is a straight line and is connected end to form a closed area.
Further, the user needs to first acquire predetermined interior wall line drawing data and enter the storage, and since the interior wall line drawing data is determined, the interior wall line drawn therefrom is unique.
Step S104: inputting a first thickness of a first room wall body, translating the inner wall line to the first thickness along the normal direction of the inner wall line, and obtaining a corresponding outer wall line, wherein the inner wall line and the outer wall line enclose the first room wall body.
The first thickness is a predetermined amount, and the corresponding outer wall line can be determined based on the inner wall line, so that the inner wall line and the outer wall line form a first room wall body.
Step S106: and drawing a second room wall body based on the first room wall body, and filling a gap formed by the outer wall line and the soil supplementing wall line under the condition that the outer wall line of the first room wall body is intersected with the inner wall line of the second room wall body, so as to obtain the second room wall body which forms a closed area with the outer wall line of the first room wall body.
Step S108: and eliminating the second room wall body surrounding the first room wall body, and obtaining the second room wall body not surrounding the first room wall body.
The embodiment of the invention has the following beneficial effects: according to the room wall drawing method, firstly, a unique inner wall line is drawn, a corresponding outer wall line is drawn according to the inner wall line, the inner wall line and the outer wall line enclose a first room wall, then, a second room wall which is also provided with the inner wall line and the outer wall line is drawn on the basis of the first room wall, finally, the second room wall which surrounds the first room wall is removed, and the second room wall which does not surround the first room wall is obtained. According to the room wall drawing method and device, the outer wall line can be arranged on the basis of the inner wall line to form the wall body with a certain thickness, so that the wall body can be opened for door and window design, and the doors and windows can be displayed.
In the process of actually drawing the wall body of the room, one or more room wall drawing operations are required according to the number of rooms required by the user due to the difference in the number of rooms required by the user.
Specifically, one or more subsequent room walls are drawn based on one or more preceding room walls according to the number of rooms desired by the user.
In practical use, in order to describe in more detail the process of obtaining the second wall body of the closed area formed by the outer wall line of the first wall body of the first room, fig. 2 shows a flowchart of another room wall drawing method according to the embodiment of the present invention, where the method includes the following steps:
step S202: and drawing a unique interior wall line by using the predetermined interior wall line drawing data.
The inner wall line is a straight line and is connected end to form a closed area.
Step S204: inputting a first thickness of a first room wall body, translating the inner wall line to the first thickness along the normal direction of the inner wall line, and obtaining a corresponding outer wall line, wherein the inner wall line and the outer wall line enclose the first room wall body.
Step S206: and carrying out fusion restoration on the outer wall wire to obtain the outer wall wire subjected to fusion restoration.
Step S208: and forming a gap by the fused restored outer wall line and the soil supplementing wall line, filling the gap, and obtaining an inner wall line of the second room wall body forming a closed area with the outer wall line of the first room wall body.
Step S210: inputting a second thickness of the second room wall body, outwards translating the inner wall line by the second thickness along a normal direction of the inner wall line of the second room wall body to obtain a corresponding outer wall line, obtaining the second room wall body forming a closed area with the outer wall line of the first room wall body, and enclosing the inner wall line and the outer wall line into the second room wall body.
Step S212: and eliminating the second room wall body surrounding the first room wall body, and obtaining the second room wall body not surrounding the first room wall body.
Wherein, after step S210, two results occur: the second room wall body surrounding the first room wall body and the second room wall body not surrounding the first room wall body are taken as optimal results by combining actual and material-saving requirements.
In the process of obtaining the second room wall body, two intersection points exist between the outer wall line of the first room wall body and the inner wall line of the second room wall body, and the second room wall body which surrounds and does not surround the first room wall body is drawn by taking the two intersection points as a starting point and a finishing point.
Specifically, two intersection points of the outer wall line of the first room wall body and the inner wall line of the second room wall body are obtained; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
the two portions of the outer wall line of the first room wall and the inner wall line of the second room wall are utilized to respectively form a closed area surrounding and not surrounding the first room wall.
In summary, according to the room wall drawing method of the present invention, when a user is in a sitting state, firstly, drawing a unique inner wall line, drawing a corresponding outer wall line according to the inner wall line, enclosing the inner wall line and the outer wall line to form the first room wall, then drawing a second room wall which is also provided with the inner wall line and the outer wall line on the basis of the first room wall, and finally removing the second room wall which encloses the first room wall, and obtaining the second room wall which does not enclose the first room wall. According to the room wall drawing method and device, the outer wall line can be arranged on the basis of the inner wall line to form the wall body with a certain thickness, so that the wall body can be opened for door and window design, and the doors and windows can be displayed.
In another possible implementation manner, corresponding to the room wall drawing method provided in the foregoing implementation manner, the embodiment of the present invention further provides a room wall drawing device, and fig. 3 is a block diagram of a room wall drawing device provided in the embodiment of the present invention. As shown in fig. 3, the apparatus includes:
an interior wall line drawing module 301 for drawing a unique interior wall line using predetermined interior wall line drawing data; wherein the inner wall line is a straight line and is connected end to form a closed area;
the first room wall determining module 302 is configured to input a first thickness of a first room wall, translate the inner wall line to the first thickness along a normal direction of the inner wall line, obtain a corresponding outer wall line, and enclose the inner wall line and the outer wall line into the first room wall;
a second room wall obtaining module 303, configured to draw a second room wall based on the first room wall, and fill up a gap formed by the outer wall line and a soil-filled wall line when the outer wall line of the first room wall intersects with an inner wall line of the second room wall, to obtain the second room wall that forms a closed area with the outer wall line of the first room wall;
and a rejecting module 304, configured to reject the second room wall surrounding the first room wall, and obtain the second room wall not surrounding the first room wall.
In actual use, the device further comprises:
and the subsequent room wall drawing module is used for drawing one or more subsequent room walls based on the one or more subsequent room walls according to the number of rooms required by the user.
In actual use, the second room wall acquisition module 303 is configured to:
carrying out fusion restoration on the outer wall wire to obtain a fusion restored outer wall wire;
forming a gap by the fused and restored outer wall line and the soil supplementing wall line, filling the gap, and obtaining an inner wall line of the second room wall body forming a closed area with the outer wall line of the first room wall body;
inputting a second thickness of the second room wall body, outwards translating the inner wall line by the second thickness along a normal direction of the inner wall line of the second room wall body to obtain a corresponding outer wall line, obtaining the second room wall body forming a closed area with the outer wall line of the first room wall body, and enclosing the inner wall line and the outer wall line into the second room wall body.
In actual use, the device further comprises:
the intersection point acquisition module is used for acquiring two intersection points of the outer wall line of the first room wall body and the inner wall line of the second room wall body; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
and a closed region forming module for forming a closed region surrounding and not surrounding the first room wall by using the two parts of the outer wall line of the first room wall and the inner wall line of the second room wall, respectively.
In still another possible implementation manner, the embodiment of the present invention further provides a server, and fig. 4 shows a schematic structural diagram of a server provided by the embodiment of the present invention, and referring to fig. 4, the server includes: a processor 400, a memory 401, a data bus 402 and a communication interface 403, the processor 400, the memory 401, the communication interface 403 and being connected by the data bus 402; the processor 400 is arranged to execute executable modules, such as computer programs, stored in the memory 401.
Wherein the memory 401 stores computer executable instructions capable of being executed by the processor 400, the processor 400 executing the computer executable instructions to implement the method described above.
Further, the memory 401 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 403 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Data bus 402 may be an ISA data bus, a PCI data bus, or an EISA data bus, among others. The data bus may be classified into an address data bus, a data bus, a control data bus, and the like. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but not only one data bus or one type of data bus.
The memory 401 is used for storing a program, and the processor 400 executes the program after receiving a program execution instruction, and the room wall drawing method disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 400 or implemented by the processor 400.
Further, the processor 400 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 400 or by instructions in the form of software. The processor 400 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401, and in combination with its hardware, performs the steps of the above method.
In yet another possible implementation, the present embodiments also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described above.
The room wall drawing device provided by the embodiment of the invention has the same technical characteristics as the room wall drawing method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product of the room wall drawing method and apparatus provided in the embodiments of the present invention includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the apparatus described above, which is not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a ReaD-Only Memory (ROM), a RanDom Access Memory (RAM), a magnetic disk or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (8)
1. A method for drawing a wall of a room, the method comprising the steps of:
drawing a unique first interior wall line using predetermined interior wall line drawing data; the first inner wall line is a straight line and is connected end to form a closed area;
inputting a first thickness of a first room wall body, and outwards translating the first inner wall line by the first thickness along a normal direction of the first inner wall line to obtain a corresponding first outer wall line, wherein the first inner wall line and the first outer wall line enclose the first room wall body;
performing fusion restoration on the first outer wall line to obtain a fusion restored outer wall line;
forming a gap by the fused and restored outer wall line and the soil supplementing wall line, filling the gap, and obtaining a second inner wall line forming a closed area with the first outer wall line;
inputting a second thickness of a second room wall body, and translating the second inner wall line outwards along a normal direction of the second inner wall line to obtain a corresponding second outer wall line, wherein the second inner wall line and the second outer wall line enclose the second room wall body;
and eliminating the second room wall body surrounding the first room wall body, and obtaining the second room wall body not surrounding the first room wall body.
2. The method according to claim 1, wherein the method further comprises:
one or more subsequent room walls are drawn based on the one or more preceding room walls according to the number of rooms desired by the user.
3. The method according to claim 1, wherein the method further comprises:
acquiring two intersection points of the first outer wall line and the second inner wall line; wherein the two intersections divide the first exterior wall line into two portions;
and forming a closed area surrounding and not surrounding the first room wall body by using the two parts of the first outer wall line and the second inner wall line respectively.
4. A room wall painting apparatus, the apparatus comprising:
the inner wall line drawing module is used for drawing a unique first inner wall line by utilizing predetermined inner wall line drawing data; the first inner wall line is a straight line and is connected end to form a closed area;
the first room wall body determining module is used for inputting a first thickness of a first room wall body, outwards translating the first inner wall line by the first thickness along a normal direction of the first inner wall line to obtain a corresponding first outer wall line, and the first inner wall line and the first outer wall line enclose the first room wall body;
the second room wall body acquisition module is used for: performing fusion restoration on the first outer wall line to obtain a fusion restored outer wall line; forming a gap by the fused and restored outer wall line and the soil supplementing wall line, filling the gap, and obtaining a second inner wall line forming a closed area with the first outer wall line; inputting a second thickness of a second room wall body, and translating the second inner wall line outwards along a normal direction of the second inner wall line to obtain a corresponding second outer wall line, wherein the second inner wall line and the second outer wall line enclose the second room wall body;
and the rejecting module is used for rejecting the second room wall body surrounding the first room wall body and acquiring the second room wall body not surrounding the first room wall body.
5. The apparatus of claim 4, wherein the apparatus further comprises:
and the subsequent room wall drawing module is used for drawing one or more subsequent room walls based on the one or more subsequent room walls according to the number of rooms required by the user.
6. The apparatus of claim 4, wherein the apparatus further comprises:
the intersection point acquisition module is used for acquiring two intersection points of the first outer wall line and the second inner wall line; wherein the two intersections divide the first exterior wall line into two portions;
and the closed area forming module is used for forming a closed area which surrounds and does not surround the first room wall body by utilizing the two parts of the first outer wall line and the second inner wall line respectively.
7. A server comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of any one of claims 1 to 3.
8. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911068796.3A CN110782505B (en) | 2019-11-04 | 2019-11-04 | Room wall drawing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911068796.3A CN110782505B (en) | 2019-11-04 | 2019-11-04 | Room wall drawing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110782505A CN110782505A (en) | 2020-02-11 |
CN110782505B true CN110782505B (en) | 2023-09-01 |
Family
ID=69389190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911068796.3A Active CN110782505B (en) | 2019-11-04 | 2019-11-04 | Room wall drawing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110782505B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111462277B (en) * | 2020-03-31 | 2023-08-08 | 广东三维家信息科技有限公司 | Method and device for generating target line of wall sticker to be processed |
CN111932667B (en) * | 2020-07-28 | 2022-03-18 | 上海蕴朗信息科技有限公司 | Comprehensive processing method for generating 3D model based on two house types |
CN112861205B (en) * | 2020-12-25 | 2023-03-28 | 佛山欧神诺云商科技有限公司 | Wall modeling method, electronic device and storage medium |
CN112837395B (en) * | 2020-12-25 | 2023-03-28 | 佛山欧神诺云商科技有限公司 | Modeling method for quickly constructing house type structure, electronic equipment and storage medium |
CN112802151B (en) * | 2020-12-25 | 2023-02-17 | 佛山欧神诺云商科技有限公司 | Wall line drawing method, electronic device and storage medium |
CN112819915B (en) * | 2020-12-25 | 2023-05-09 | 佛山欧神诺云商科技有限公司 | Wall modeling system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204609038U (en) * | 2015-02-11 | 2015-09-02 | 中国核电工程有限公司 | Deep embeded type nuclear island factory building underground external wall structure |
CN107480333A (en) * | 2017-07-12 | 2017-12-15 | 深圳市彬讯科技有限公司 | A kind of house type method for drafting based on room splicing |
CN107527372A (en) * | 2017-07-12 | 2017-12-29 | 深圳市彬讯科技有限公司 | A kind of interior wall draws accurately house type output system and its draws application method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070237395A1 (en) * | 2002-07-26 | 2007-10-11 | Tririga Llc | Cad virtual area locator |
-
2019
- 2019-11-04 CN CN201911068796.3A patent/CN110782505B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204609038U (en) * | 2015-02-11 | 2015-09-02 | 中国核电工程有限公司 | Deep embeded type nuclear island factory building underground external wall structure |
CN107480333A (en) * | 2017-07-12 | 2017-12-15 | 深圳市彬讯科技有限公司 | A kind of house type method for drafting based on room splicing |
CN107527372A (en) * | 2017-07-12 | 2017-12-29 | 深圳市彬讯科技有限公司 | A kind of interior wall draws accurately house type output system and its draws application method |
Also Published As
Publication number | Publication date |
---|---|
CN110782505A (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110782505B (en) | Room wall drawing method and device | |
CN110276811B (en) | Image conversion method and device, electronic equipment and readable storage medium | |
CN111340954B (en) | House type wall drawing method and model training method and device thereof | |
CN110544255B (en) | Method and system for segmenting triangular mesh holes for 3D printing | |
CN115150024B (en) | Data processing method, device, equipment and medium | |
CN111339656A (en) | Cabinet production method and system and electronic equipment | |
CN111462277B (en) | Method and device for generating target line of wall sticker to be processed | |
CN110796722A (en) | Three-dimensional rendering presentation method and device | |
CN110727458A (en) | Method and device for switching page template settings through background management | |
CN110688704A (en) | Home decoration design method and system and electronic equipment | |
CN109284828A (en) | A kind of hyper parameter tuning method, device and equipment | |
CN114880748A (en) | Layout design method and related device thereof | |
CN112836263B (en) | Axle network generation method and device, computer equipment and storage medium | |
CN111985073B (en) | Method and device for automatic combination and breaking of buckles | |
CN111722785B (en) | Cache updating method and device | |
CN111459638B (en) | Main thread waiting time determining method and device | |
CN111274640A (en) | Application method and device between sample boards and electronic equipment | |
CN116822106B (en) | Dynamo-based auxiliary drawing method, device and equipment | |
CN110975285B (en) | Smooth cutter light acquisition method and device | |
CN111274644B (en) | Wall sorting method and device and electronic equipment | |
CN111177448B (en) | Discrete graph combination method and device and electronic equipment | |
JP6055428B2 (en) | Software quality standard calculation apparatus and software quality standard calculation method | |
CN109814843A (en) | A kind of object-based page assignment method and system | |
CN115858519B (en) | DEM leveling method and device | |
CN112711247B (en) | Interface display method, interface display device and electronic equipment |
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 |