CN110782505A - Room wall drawing method and device - Google Patents

Room wall drawing method and device Download PDF

Info

Publication number
CN110782505A
CN110782505A CN201911068796.3A CN201911068796A CN110782505A CN 110782505 A CN110782505 A CN 110782505A CN 201911068796 A CN201911068796 A CN 201911068796A CN 110782505 A CN110782505 A CN 110782505A
Authority
CN
China
Prior art keywords
wall
room
line
wall line
room wall
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.)
Granted
Application number
CN201911068796.3A
Other languages
Chinese (zh)
Other versions
CN110782505B (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.)
Guangdong 3vjia Information Technology Co Ltd
Original Assignee
Guangdong 3vjia Information 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 Guangdong 3vjia Information Technology Co Ltd filed Critical Guangdong 3vjia Information Technology Co Ltd
Priority to CN201911068796.3A priority Critical patent/CN110782505B/en
Publication of CN110782505A publication Critical patent/CN110782505A/en
Application granted granted Critical
Publication of CN110782505B publication Critical patent/CN110782505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • Y02A30/24Structural elements or technologies for improving thermal insulation
    • Y02A30/244Structural 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, translating the inner wall line outwards by the first thickness along the normal direction of the inner wall line to obtain a corresponding outer wall line, and enclosing the inner wall line and the outer wall line to form the first room wall; drawing a second room wall based on the first room wall, filling a gap formed by an outer wall line and a soil filling wall line when the outer wall line of the first room wall is intersected with the inner wall line of the second room wall, and obtaining the second room wall forming a closed area with the outer wall line of the first room wall; and eliminating the second room wall surrounding the first room wall, and acquiring the second room wall not surrounding the first room wall. According to the room wall drawing method and device provided by the embodiment of the invention, the outer wall line can be arranged on the basis of the inner wall line to form the wall with a certain thickness, so that the wall can be opened to carry out door and window design, and the doors and windows can be displayed.

Description

Room wall drawing method and device
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, carry out the in-process that designs to room wall body at the designer, use the interior line to draw the wall mode usually and only can draw out the wall line, this makes at the in-process of designing door and window, and these doors and windows can only be carried on the wall line, and can not get through and get through this wall body and carry out door and window design for can't show the door and window of getting through this wall body.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for drawing a wall of a room, so as to solve the technical problem that a door and window design cannot be performed by opening the wall.
In a first aspect, an embodiment of the present invention provides a room wall drawing method, where the method includes the following steps:
drawing a unique inner wall line by using predetermined inner wall line drawing data; 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, translating the inner wall line outwards by the first thickness along a normal direction of the inner wall line, and acquiring a corresponding outer wall line, wherein the inner wall line and the outer wall line enclose the first room wall;
drawing a second room wall body based on the first room wall body, and 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, filling a gap formed by the outer wall line and a soil filling wall line, and obtaining the second room wall body which forms a closed area with the outer wall line of the first room wall body;
and 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 first aspect, an 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 rendered based on one or more previous 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 step of drawing a second room wall based on the first room wall, and in a case where the outer wall line of the first room wall intersects with the inner wall line of the second room wall, filling a gap formed by the outer wall line and a patch wall line, and obtaining the second room wall forming a closed area with the outer wall line of the first room wall includes:
fusing and recovering the outer wall line to obtain the fused and recovered outer wall line;
forming a gap by the fused and restored outer wall line and a soil-filled wall line, and filling the gap to obtain 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, translating the inner wall line outwards by the second thickness along a normal direction of the inner wall line of the second room wall to obtain a corresponding outer wall line, and acquiring the second room wall forming a closed area with the outer wall line of the first room wall, wherein the inner wall line and the outer wall line enclose the second room wall.
With reference to the first aspect, an 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 and the inner wall line of the second room wall; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
forming a closed area surrounding and not surrounding the first room wall using the two portions of the outer wall line of the first room wall and the inner wall line of the second room wall, respectively.
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; the inner wall line is a straight line and is connected end to form a closed area;
the first room wall determining module is used for inputting a first thickness of a first room wall, translating the inner wall line outwards by the first thickness along a normal direction of the inner wall line, and acquiring a corresponding outer wall line, wherein the inner wall line and the outer wall line enclose the first room wall;
a second room wall obtaining module, configured to draw a second room wall based on the first room wall, and fill a gap formed by an outer wall line and a filling wall line when the outer wall line of the first room wall intersects with an inner wall line of the second room wall, so as 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 to obtain 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 one or more previous room walls according to the number of rooms required by the user.
Counting the rendering pipeline nodes of the rendering pipeline, and acquiring 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 obtaining module is configured to:
fusing and recovering the outer wall line to obtain the fused and recovered outer wall line;
forming a gap by the fused and restored outer wall line and a soil-filled wall line, and filling the gap to obtain 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, translating the inner wall line outwards by the second thickness along a normal direction of the inner wall line of the second room wall to obtain a corresponding outer wall line, and acquiring the second room wall forming a closed area with the outer wall line of the first room wall, wherein the inner wall line and the outer wall line enclose the second room wall.
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:
an intersection point obtaining module, configured to obtain two intersection points of the outer wall line of the first room wall and the inner wall line of the second room wall; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
a closed region constituting module for constituting a closed region surrounding and not surrounding the first room wall by using the two portions 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, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions 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 provided by the embodiment of the invention, firstly, only one 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 with the same inner wall line and the same outer wall line is drawn on the basis of the first room wall, and finally, the second room wall surrounding the first room wall is removed, and the second room wall not surrounding the first room wall is obtained. According to the room wall drawing method and device provided by the embodiment of the invention, the outer wall line can be arranged on the basis of the inner wall line to form the wall with a certain thickness, so that the wall can be opened to carry out 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 the 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 aforementioned objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for drawing a room wall according to an embodiment of the present invention;
fig. 2 is a flowchart of another room wall drawing method according to an embodiment of the present invention;
fig. 3 is a block diagram of a room wall drawing apparatus 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
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, carry out the in-process that designs to room wall body at the designer, use the interior line to draw the wall mode usually and only can draw out the wall line, this makes at the in-process of designing door and window, and these doors and windows can only be carried on the wall line, and can not get through and get through this wall body and carry out door and window design for can't show the door and window of getting through this wall body. Based on this, the embodiment of the invention provides a room wall drawing method and device, so as to alleviate the above problems.
In order to facilitate understanding of the embodiment, a method for drawing a room wall disclosed in the embodiment of the present invention will be described in detail first.
In one possible embodiment, the invention provides a method for wall rendering of a room. Fig. 1 is a flowchart of a room wall drawing method according to an embodiment of the present invention, where the method includes the following steps:
step S102: and drawing a unique inner wall line by using the predetermined inner 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 obtain the predetermined interior wall line drawing data and enter and store the interior wall line drawing data, and the interior wall line drawing data is determined, so that the interior wall line drawn according to the interior wall line drawing data is unique.
Step S104: inputting a first thickness of a first room wall, translating the inner wall line outwards by 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.
The first thickness is a predetermined amount, and the corresponding outer wall line can be determined according to the first thickness and on the basis of the inner wall line, so that the inner wall line and the outer wall line enclose a first room wall.
Step S106: and 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 filling wall line under the condition that the outer wall line of the first room wall body is intersected with an 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.
Step S108: and 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.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention provides a room wall drawing method, which comprises the steps of firstly drawing a unique inner wall line, drawing a corresponding outer wall line according to the inner wall line, drawing a second room wall with the same inner wall line and the same outer wall line on the basis of the first room wall, and finally removing a second room wall surrounding the first room wall to obtain the second room wall not surrounding the first room wall. According to the room wall drawing method and device provided by the embodiment of the invention, the outer wall line can be arranged on the basis of the inner wall line to form the wall with a certain thickness, so that the wall can be opened to carry out door and window design, and the doors and windows can be displayed.
In the process of actually performing room wall drawing, because of the difference in the number of rooms required by the user, one or more room wall drawing operations need to be performed according to the number of rooms required by the user.
Specifically, one or more subsequent room walls are rendered based on one or more previous room walls, depending on the number of rooms desired by the user.
In practical use, in order to describe in more detail the process of obtaining the second room wall forming a closed area with the outer wall line of the first room wall, an embodiment of the present invention shows a flowchart of another room wall drawing method provided by an embodiment of the present invention in fig. 2, where the method includes the following steps:
step S202: and drawing a unique inner wall line by using the predetermined inner 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, translating the inner wall line outwards by 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.
Step S206: and fusing and recovering the outer wall line to obtain the fused and recovered outer wall line.
Step S208: and forming a gap by the fused and restored outer wall line and the earth-filled wall line, and filling the gap to obtain an inner wall line of the second room wall forming a closed area with the outer wall line of the first room wall.
Step S210: inputting a second thickness of the second room wall, translating the inner wall line outwards by the second thickness along a normal direction of the inner wall line of the second room wall to obtain a corresponding outer wall line, and acquiring the second room wall forming a closed area with the outer wall line of the first room wall, wherein the inner wall line and the outer wall line enclose the second room wall.
Step S212: and 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.
After step S210, two results occur: the second room wall surrounding the first room wall and the second room wall not surrounding the first room wall are taken as the optimal result in combination with the practical and material saving requirements.
In the process of obtaining the second room wall, two intersection points exist between the outer wall line of the first room wall and the inner wall line of the second room wall, and the second room wall surrounding or not surrounding the first room wall is drawn by taking the two intersection points as a starting point and an end point.
Specifically, two intersection points of the outer wall line of the first room wall and the inner wall line of the second room wall are obtained; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
forming a closed area surrounding and not surrounding the first room wall using the two portions of the outer wall line of the first room wall and the inner wall line of the second room wall, respectively.
In summary, according to the room wall drawing method of the present invention, when the user is in a sitting posture state, the only inner wall line is drawn first, the 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 the second room wall having the same inner wall line and the same outer wall line is drawn on the basis of the first room wall, and finally the second room wall surrounding the first room wall is removed, so that the second room wall not surrounding the first room wall is obtained. According to the room wall drawing method and device provided by the embodiment of the invention, the outer wall line can be arranged on the basis of the inner wall line to form the wall with a certain thickness, so that the wall can be opened to carry out 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, an embodiment of the present invention further provides a room wall drawing apparatus, and fig. 3 is a block diagram of a structure of the room wall drawing apparatus provided in the embodiment of the present invention. As shown in fig. 3, the apparatus includes:
an interior wall line drawing module 301, configured to draw a unique interior wall line using predetermined interior wall line drawing data; the inner wall line is a straight line and is connected end to form a closed area;
a first room wall determining module 302, configured to input a first thickness of a first room wall, and translate the inner wall line outward by the first thickness along a normal direction of the inner wall line to obtain a corresponding outer wall line, where the inner wall line and the outer wall line enclose 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 under a condition that the outer wall line of the first room wall intersects with the inner wall line of the second room wall, fill a gap formed by the outer wall line and a soil filling wall line, so as to obtain the second room wall forming a closed area with the outer wall line of the first room wall;
a culling module 304, configured to cull the second room wall that surrounds the first room wall, and obtain the second room wall that does not surround the first room wall.
In practical use, the apparatus further comprises:
and the subsequent room wall drawing module is used for drawing one or more subsequent room walls based on one or more previous room walls according to the number of rooms required by the user.
In practical use, the second room wall obtaining module 303 is configured to:
fusing and recovering the outer wall line to obtain the fused and recovered outer wall line;
forming a gap by the fused and restored outer wall line and a soil-filled wall line, and filling the gap to obtain 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, translating the inner wall line outwards by the second thickness along a normal direction of the inner wall line of the second room wall to obtain a corresponding outer wall line, and acquiring the second room wall forming a closed area with the outer wall line of the first room wall, wherein the inner wall line and the outer wall line enclose the second room wall.
In practical use, the apparatus further comprises:
an intersection point obtaining module, configured to obtain two intersection points of the outer wall line of the first room wall and the inner wall line of the second room wall; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
a closed region constituting module for constituting a closed region surrounding and not surrounding the first room wall by using the two portions of the outer wall line of the first room wall and the inner wall line of the second room wall, respectively.
In yet another possible implementation manner, an embodiment of the present invention further provides a server, and fig. 4 shows a schematic structural diagram of the server provided in 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, wherein the processor 400, the memory 401, the communication interface 403 are connected through the data bus 402; the processor 400 is used to execute executable modules, such as computer programs, stored in the memory 401.
Wherein the memory 401 stores computer-executable instructions that can be executed by the processor 400, the processor 400 executes the computer-executable instructions to implement the methods described above.
Further, the memory 401 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The 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 divided into an address data bus, a data bus, a control data bus, etc. For ease of illustration, only one double-headed arrow is shown in fig. 4, but this does not indicate 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 rendering 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, 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 or instructions in the form of software in the processor 400. The Processor 400 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed 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 directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is 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 completes the steps of the method in combination with the hardware.
In yet another possible implementation, the embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, which, 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 device provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code 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 again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
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 such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a ReaD-Only Memory (ROM), a RanDom Access Memory (RAM), a magnetic disk, or an optical disk.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular 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: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for wall painting of a room, the method comprising the steps of:
drawing a unique inner wall line by using predetermined inner wall line drawing data; 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, translating the inner wall line outwards by the first thickness along a normal direction of the inner wall line, and acquiring a corresponding outer wall line, wherein the inner wall line and the outer wall line enclose the first room wall;
drawing a second room wall body based on the first room wall body, and 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, filling a gap formed by the outer wall line and a soil filling wall line, and obtaining the second room wall body which forms a closed area with the outer wall line of the first room wall body;
and 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.
2. The method of claim 1, further comprising:
one or more subsequent room walls are rendered based on one or more previous room walls according to the number of rooms desired by the user.
3. The method according to claim 1, wherein the step of drawing a second room wall based on the first room wall, filling a gap formed by the outer wall line and a filling wall line in a case where the outer wall line of the first room wall intersects with an inner wall line of the second room wall, and obtaining the second room wall forming a closed area with the outer wall line of the first room wall comprises:
fusing and recovering the outer wall line to obtain the fused and recovered outer wall line;
forming a gap by the fused and restored outer wall line and a soil-filled wall line, and filling the gap to obtain 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, translating the inner wall line outwards by the second thickness along a normal direction of the inner wall line of the second room wall to obtain a corresponding outer wall line, and acquiring the second room wall forming a closed area with the outer wall line of the first room wall, wherein the inner wall line and the outer wall line enclose the second room wall.
4. The method of claim 1, further comprising:
acquiring two intersection points of the outer wall line of the first room wall and the inner wall line of the second room wall; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
forming a closed area surrounding and not surrounding the first room wall using the two portions of the outer wall line of the first room wall and the inner wall line of the second room wall, respectively.
5. A room wall drawing apparatus, comprising:
the inner wall line drawing module is used for drawing a unique inner wall line by utilizing predetermined inner wall line drawing data; the inner wall line is a straight line and is connected end to form a closed area;
the first room wall determining module is used for inputting a first thickness of a first room wall, translating the inner wall line outwards by the first thickness along a normal direction of the inner wall line, and acquiring a corresponding outer wall line, wherein the inner wall line and the outer wall line enclose the first room wall;
a second room wall obtaining module, configured to draw a second room wall based on the first room wall, and fill a gap formed by an outer wall line and a filling wall line when the outer wall line of the first room wall intersects with an inner wall line of the second room wall, so as 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 to obtain the second room wall body not surrounding the first room wall body.
6. The apparatus of claim 5, further comprising:
and the subsequent room wall drawing module is used for drawing one or more subsequent room walls based on one or more previous room walls according to the number of rooms required by the user.
7. The apparatus of claim 5, wherein the second room wall acquisition module is to:
fusing and recovering the outer wall line to obtain the fused and recovered outer wall line;
forming a gap by the fused and restored outer wall line and a soil-filled wall line, and filling the gap to obtain 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, translating the inner wall line outwards by the second thickness along a normal direction of the inner wall line of the second room wall to obtain a corresponding outer wall line, and acquiring the second room wall forming a closed area with the outer wall line of the first room wall, wherein the inner wall line and the outer wall line enclose the second room wall.
8. The apparatus of claim 5, further comprising:
an intersection point obtaining module, configured to obtain two intersection points of the outer wall line of the first room wall and the inner wall line of the second room wall; wherein the two intersections divide the exterior wall line of the first room wall into two portions;
a closed region constituting module for constituting a closed region surrounding and not surrounding the first room wall by using the two portions of the outer wall line of the first room wall and the inner wall line of the second room wall, respectively.
9. 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 4.
10. A computer-readable storage medium having stored thereon computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1 to 4.
CN201911068796.3A 2019-11-04 2019-11-04 Room wall drawing method and device Active CN110782505B (en)

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 true CN110782505A (en) 2020-02-11
CN110782505B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462277A (en) * 2020-03-31 2020-07-28 广东三维家信息科技有限公司 Method and device for generating target line of to-be-processed wall paste
CN111932667A (en) * 2020-07-28 2020-11-13 上海蕴朗信息科技有限公司 Comprehensive processing method for generating 3D model based on two house types
CN112802151A (en) * 2020-12-25 2021-05-14 佛山欧神诺云商科技有限公司 Wall line drawing method, electronic device and storage medium
CN112819915A (en) * 2020-12-25 2021-05-18 佛山欧神诺云商科技有限公司 Wall body modeling system
CN112837395A (en) * 2020-12-25 2021-05-25 佛山欧神诺云商科技有限公司 Modeling method for quickly constructing house type structure, electronic equipment and storage medium
CN112861205A (en) * 2020-12-25 2021-05-28 佛山欧神诺云商科技有限公司 Wall modeling method, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070237395A1 (en) * 2002-07-26 2007-10-11 Tririga Llc Cad virtual area locator
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070237395A1 (en) * 2002-07-26 2007-10-11 Tririga Llc Cad virtual area locator
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

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462277A (en) * 2020-03-31 2020-07-28 广东三维家信息科技有限公司 Method and device for generating target line of to-be-processed wall paste
CN111462277B (en) * 2020-03-31 2023-08-08 广东三维家信息科技有限公司 Method and device for generating target line of wall sticker to be processed
CN111932667A (en) * 2020-07-28 2020-11-13 上海蕴朗信息科技有限公司 Comprehensive processing method for generating 3D model based on two house types
CN111932667B (en) * 2020-07-28 2022-03-18 上海蕴朗信息科技有限公司 Comprehensive processing method for generating 3D model based on two house types
CN112802151A (en) * 2020-12-25 2021-05-14 佛山欧神诺云商科技有限公司 Wall line drawing method, electronic device and storage medium
CN112819915A (en) * 2020-12-25 2021-05-18 佛山欧神诺云商科技有限公司 Wall body modeling system
CN112837395A (en) * 2020-12-25 2021-05-25 佛山欧神诺云商科技有限公司 Modeling method for quickly constructing house type structure, electronic equipment and storage medium
CN112861205A (en) * 2020-12-25 2021-05-28 佛山欧神诺云商科技有限公司 Wall modeling method, electronic device and storage medium
CN112802151B (en) * 2020-12-25 2023-02-17 佛山欧神诺云商科技有限公司 Wall line drawing 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
CN112861205B (en) * 2020-12-25 2023-03-28 佛山欧神诺云商科技有限公司 Wall modeling method, electronic device and storage medium
CN112819915B (en) * 2020-12-25 2023-05-09 佛山欧神诺云商科技有限公司 Wall modeling system

Also Published As

Publication number Publication date
CN110782505B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN110782505A (en) Room wall drawing method and device
CN109255195A (en) Shutter member pre-bending analysis method, device and the realization device of car door
CN111340954B (en) House type wall drawing method and model training method and device thereof
US8228326B2 (en) Three dimensional surface and solid query processing
CN111104594A (en) Market quotation pushing method and device
CN110554877A (en) JSON data analysis method, device, equipment and storage medium
WO2013085025A1 (en) Minimal cut set evaluation system, method for calculating minimal cut set, and program
CN110599278A (en) Method, apparatus, and computer storage medium for aggregating device identifiers
CN110796722A (en) Three-dimensional rendering presentation method and device
CN115797955A (en) Table structure identification method based on cell constraint and application thereof
CN109492146A (en) A kind of method and apparatus of anti-WEB crawler
CN111462277B (en) Method and device for generating target line of wall sticker to be processed
CN111985073B (en) Method and device for automatic combination and breaking of buckles
CN112836263B (en) Axle network generation method and device, computer equipment and storage medium
CN111274640A (en) Application method and device between sample boards and electronic equipment
CN111177448B (en) Discrete graph combination method and device and electronic equipment
CN111256712A (en) Map optimization method and device and robot
CN111522655A (en) Method and device for determining software memory consumption
CN111459638B (en) Main thread waiting time determining method and device
CN110975285B (en) Smooth cutter light acquisition method and device
JP6055428B2 (en) Software quality standard calculation apparatus and software quality standard calculation method
CN113988067B (en) Sentence word segmentation method and device and electronic equipment
CN113806371B (en) Data type determining method, device, computer equipment and storage medium
CN113688454B (en) Modeling method and device for protective housing, electronic equipment and readable storage medium
CN116563674B (en) Sample image enhancement method, system, electronic device and readable storage medium

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