CN117574498A - Home decoration design method and device, electronic equipment and storage medium - Google Patents

Home decoration design method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117574498A
CN117574498A CN202311521264.7A CN202311521264A CN117574498A CN 117574498 A CN117574498 A CN 117574498A CN 202311521264 A CN202311521264 A CN 202311521264A CN 117574498 A CN117574498 A CN 117574498A
Authority
CN
China
Prior art keywords
target
line
plate
point
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311521264.7A
Other languages
Chinese (zh)
Inventor
洪贵坤
刘文倩
朱皓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Qunhe Information Technology Co Ltd
Original Assignee
Hangzhou Qunhe 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 Hangzhou Qunhe Information Technology Co Ltd filed Critical Hangzhou Qunhe Information Technology Co Ltd
Priority to CN202311521264.7A priority Critical patent/CN117574498A/en
Publication of CN117574498A publication Critical patent/CN117574498A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present disclosure provides home decoration design methods, apparatuses, electronic devices, and storage media. The data processing method and device relate to the technical fields of data processing, in particular to the technical fields of image processing, 3D model design and the like. The method comprises the following steps: responding to the selection operation of a user on a target home decoration design control, and acquiring a relative position relation set between lines defined by the target home decoration design control and a plate; determining the position information of the target line and the target plate in the target house type based on the target position relation in response to the selection operation of the target position relation in the relative position relation set; and displaying the installation effect of the target line and the target plate based on the position information of the target line and the target plate in the target house. The method provided by the embodiment of the disclosure can simplify the operation of a user and improve the design efficiency of home decoration.

Description

Home decoration design method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of data processing, and in particular to the technical fields of image processing, 3D model design and the like.
Background
In the home decoration design software, in order to beautify and decorate the wall, the overlap relation between the moulding and the plate is used to design the wall. For any wall surface, after the user selects the wall plate and the line, the position relation between the wall plate and the line needs to be continuously and manually adjusted, so that the corresponding design is completed. This increases the complexity of the design operation.
Disclosure of Invention
The present disclosure provides a home decoration design method, apparatus, electronic device, and storage medium to solve or alleviate one or more technical problems in the related art.
In a first aspect, the present disclosure provides a home decoration design method, comprising:
responding to the selection operation of a user on a target home decoration design control, and acquiring a relative position relation set between lines defined by the target home decoration design control and a plate;
determining the position information of the target line and the target plate in the target house type based on the target position relation in response to the selection operation of the target position relation in the relative position relation set;
and displaying the installation effect of the target line and the target plate based on the position information of the target line and the target plate in the target house.
In a second aspect, the present disclosure provides a home decoration design device comprising:
the acquisition module is used for responding to the selection operation of a user on the target home decoration design control and acquiring a set of relative position relations between lines defined by the target home decoration design control and the plate;
the determining module is used for responding to the selection operation of the target position relation in the relative position relation set and determining the position information of the target line and the target plate in the target house type based on the target position relation;
And the display module is used for displaying the installation effect of the target line and the target plate based on the position information of the target line and the target plate in the target house type.
In a third aspect, an electronic device is provided, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments of the present disclosure.
In a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are for causing the computer to perform a method according to any one of the embodiments of the present disclosure.
In a fifth aspect, a computer program product is provided, comprising a computer program which, when executed by a processor, implements a method according to any of the embodiments of the present disclosure.
Based on the method provided by the embodiment of the disclosure, the user operation can be simplified, and the home decoration design efficiency can be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
In the drawings, the same reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily drawn to scale. It is appreciated that these drawings depict only some embodiments provided according to the disclosure and are not to be considered limiting of its scope.
FIG. 1 is a flow chart of a method of designing a home decoration in accordance with an embodiment of the present disclosure;
FIG. 2a is a schematic diagram of relative positions in an embodiment according to the present disclosure;
FIG. 2b is a schematic illustration of an installation effect in an embodiment according to the present disclosure;
FIG. 3a is a schematic view of a skirting line in an embodiment of the present disclosure;
FIG. 3b is a schematic diagram of a top line in accordance with one embodiment of the present disclosure;
FIG. 3c is a schematic illustration of a connecting strip in accordance with an embodiment of the present disclosure;
FIG. 3d is a schematic diagram of a home design control in accordance with an embodiment of the present disclosure;
FIG. 4a is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 4b is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 4c is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 4d is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 5a is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 5b is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 6a is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 6b is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 6c is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 7a is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 7b is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 7c is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 7d is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 7e is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 7f is a schematic diagram of relative positions according to another embodiment of the present disclosure;
FIG. 8 is a schematic view of a home decoration design device according to an embodiment of the present disclosure;
fig. 9 is a block diagram of an electronic device for implementing a home decoration design method of an embodiment of the present disclosure.
Detailed Description
The present disclosure will be described in further detail below with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In addition, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements, circuits, etc. well known to those skilled in the art have not been described in detail in order not to obscure the present disclosure.
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 the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In a home design, if a panel is replaced, the previously selected lines may need to be adapted to accommodate the new panel. If each wall needs to be aimed at the same line section, the position of each plate and each line is manually adjusted, so that the complexity of manual operation is increased, and the efficiency of home decoration design is reduced.
In view of this, the embodiments of the present disclosure provide a home decoration design method, which can simplify the design operation and improve the efficiency of home decoration design.
In the presently disclosed embodiments, this problem is addressed by two stages. Specifically including a creation phase and a use phase. In the creation stage, the lap joint relation between the lines and the plates of the same section can be flexibly defined according to the requirements of users. Based on different application scene requirements, multiple lap joint relations between the same line section and the plate can be defined. The defined overlap relationship can be packaged into a home decoration design control. In the process of home decoration design, the control is adopted to automatically adjust the positions of the lines and the plates so that the lines and the plates meet a defined lap joint relationship.
The overlap relationship defined in the embodiments of the present disclosure is independent of the particular plate such that one overlap relationship is as adaptable as possible to different plate thicknesses. Therefore, the same line profile can adapt to different application scene requirements by different lap joint relations, and the same line profile in the same lap joint relation can also adapt to different plate thicknesses. To achieve this, the overlapping relationship between the wire and the plate member in the embodiments of the present disclosure is described using a relative positional relationship. On the basis, the home decoration design method provided in the embodiment of the disclosure is described, as shown in fig. 1, and is a flow chart of the method, and the method may include the following steps:
S101, responding to the selection operation of a user on a target home decoration design control, and acquiring a relative position relation set between lines defined by the target home decoration design control and the plate.
As described above, in the creation process, the same line profile may define a lap joint relationship meeting different requirements, so as to obtain different lap joint performances. Therefore, the target home decoration design control can be used for associating various relative position relations between the lines and the plate, so that a relative position relation set is obtained. Each relative positional relationship in the set of relative positional relationships represents a predefined overlap relationship.
S102, determining the position information of the target line and the target plate in the target house type based on the target position relation in response to the selection operation of the target position relation in the relative position relation set.
The position information of the target line and the target plate in the target house type may be coordinate information of the target line and the target plate in the target house type, or may be relative position information of the target line and the target plate.
Any one of the relative positional relationships in the set of relative positional relationships may be displayed in a two-dimensional cross-sectional view of the target line and the target plate. As shown in fig. 2, the effect of the line profile and the overlapping of the plate member is demonstrated.
And S103, displaying the installation effect of the target line and the target plate based on the position information of the target line and the target plate in the target house.
The installation effect of the target line and the target plate is shown in fig. 2b, the lower black rectangular frame is the target line, and in fig. 2b, the target line can be understood as a skirting line. The image of the puppy is used to represent the plate. The length of the lines and the size of the plate can be set or adaptively adjusted based on the size of the wall surface of the target house type, and the embodiment of the disclosure does not excessively limit the length of the lines and the size of the plate.
In the embodiment of the disclosure, based on the preset relative position relationship between the line and the plate, the positions of the line and the plate in the target house type can be adjusted, and then the installation effect of the line and the plate is displayed. For the same line section, a set of relative position relations between the line and the line is defined, and a user can select a required target position relation according to actual requirements so as to finish automatic overlapping of a target line and a target plate based on the target position relation. Therefore, in the home decoration design, a user does not need to manually adjust the relative positions of the target lines and the target plate, and the positions of the target lines and the target plate can be automatically determined through the pre-defined target home decoration design control which is irrelevant to the specific plate, so that the required installation effect is achieved. Based on various relative positional relationships between the lines and the plate, the same line can be adapted to different scenes. Therefore, the method provided by the embodiment of the disclosure can simplify the operation of a user and improve the design efficiency of home decoration.
In order to facilitate understanding of the home decoration design method provided by the embodiment of the present disclosure, a description will be given below of a creation process and a lapping process for adaptively completing the lines and the plates based on a defined relative positional relationship.
1. Creating target home decoration design controls
In the embodiment of the disclosure, the overlapping relationship between the same line profile and the plate is focused, that is, the same line profile can adapt to different scene requirements. For example, different plate thicknesses are adapted in the same overlap relationship, and for example, different overlap relationships are adapted to different overlap requirements.
Whichever overlap relationship is defined by the relative positional relationship between the lines and the plate member. Relative to the absolute position relationship, the relative position relationship can be adapted to different house types and different wall surfaces, and the generalization capability of the designed target home decoration control can be improved.
In some embodiments, the target positional relationship may include red dot information, green dot information, blue dot information, reference offset, and the like, wherein:
1) The red point information is used as an anchor point in the target position relationship and is used for calibrating the relative position relationship of the line and the plate;
in practice, the red dot information may include a red dot direction vector; the red dot direction vector is perpendicular to the wall surface and deviates from the direction of the wall surface. For calibrating the offset direction of other points relative to the red point. The red dot information can also comprise the semantics of the red dot so as to locate the same position as the semantics in the target house type as the mapping point of the red dot information in the target house type. The semantics are for example the intersection of the center line of the wall surface and the ground. And the intersection point of the lower left corner of the wall surface and the ground can also be formed.
In the embodiment of the disclosure, the lines may be skirting lines, roof lines and connecting strips. The red dot positions of the different lines are illustrated below.
(1) In the case that the line is a skirting line, the red dot position is shown as a black dot in fig. 3a, and the intersection point of the target wall surface and the ground can be selected to be determined as an anchor point.
(2) In the case that the line is the top line, the red dot position is shown as a black dot in fig. 3b, and the intersection point of the target wall surface and the top surface can be selected to be determined as an anchor point.
(3) In the case that the line is a connecting bar, the red dot position is shown as a black dot in fig. 3c, and an intersection point of a straight line passing through the center point of the target wall surface and perpendicular to the target wall surface may be selected as an anchor point.
In fig. 3a, 3b and 3c, the black solid dots represent the positions of the red dots at the time of the scene, and the arrows extending from the red dots represent the direction vectors in the red dot information. In the following relative position relations, the mapping points of the red points in the target house type are taken as reference points, and the offset directions are determined by the direction vectors in the red point information, so that the positions of the target lines and the target plate are positioned. It can also be understood that, during the creation process, the red points demarcate the reference points in the two-dimensional plane of the line profile, and all other home decoration models demarcate the respective positions and relative relationships with the reference points as anchor points.
2) The green dot information is used in the target positional relationship to describe the nearest dot to the red dot information in the panel.
The green dot information may be an offset distance of the green dot from the red dot. For example, the green dot information is represented as (0, -8), where, -8 is understood to be the opposite direction offset 8 from the direction vector to which the red dot information is scaled.
3) Blue dot information is used to describe the overlap of lines and plates in the target positional relationship.
The plate has two faces, including a front face and a back face. Blue dot information indicates on which face the line and the plate are in contact. For example, in the case where the line is pressed to cover the plate, the joint surface is the front surface, and in the case where the line is pressed to cover the plate, the joint surface is the back surface.
For convenience of management and storage, the blue dot information can be expressed by coordinates. However, the coordinate values of the blue dots indicate only the faying surface, and do not have the meaning of distance and azimuth on the coordinate system.
For example, in the case where the line is a connecting bar, blue dot information of (0, 1) indicates that the line is on the upper surface of the panel, i.e., the line is pressing against the panel; the blue dot information is (0, -1) to indicate that the line is on the lower surface of the plate, i.e. the plate is pressing against the line.
In the case that the line is a skirting line or a roof line, blue dot information (-1, 0) indicates that the line is on the lower surface of the plate, i.e. the plate covers the line; blue dot information (1, 0) indicates that the line is on the upper surface of the plate, i.e., the line is pressing against the plate.
In the two-dimensional coordinate system, the x value is positive and negative, which indicates the skirting line or the roof line, and the positive and negative of the y value indicates the connecting strip. The simple coordinates are adopted, the types of the lines and the lap joint surfaces can be expressed, and convenience is brought to storage and use of the relative position relationship.
4) The reference offset is used to describe the offset of the line relative to the red dot information in the target positional relationship.
In implementation, the line can be described by using the original point position, length, width, style and other attributes. Note that the origin position here is a relative position, and only the attribute of the line is described. The length and width of the line and the drawing of the pattern can be defined based on the origin position. In practice, the reference offset may be defined by using the center position of the line bottom as the origin position. For example, a first distance of the line relative to the red point may be determined, and a second distance of the blue point relative to the red point may be determined, with the difference between the first distance and the second distance being determined as the reference offset. The standard deviation is arranged on any wall surface, so that the installation position of the line in the target house type can be accurately determined under the condition of positioning the red point, and the accurate lap joint performance with the plate is realized.
In the embodiment of the disclosure, the red dot information, the green dot information, the blue dot information and the reference offset are used, so that the position relationship between the plate and the line can be accurately described, and a powerful foundation is laid for the subsequent display of the installation effect of the plate.
In some embodiments, the method further comprises constructing a target home design control, wherein the schematic diagram of the operation interface when constructing the control is shown in fig. 3d, and the method comprises the following steps of:
basic information can be displayed in a control construction interface, and the basic information is used for a user to select a required line. For example, the basic information shown in FIG. 3d includes the name of the good, the type of product, the store of the good, and the category to which it belongs.
The commodity name determines the name of the line so that later calls can be made based on the commodity name.
The product types may include skirting lines, roof lines, connecting bars for the user to select the line type of the desired design.
The commodity library is used for determining the sources of the target lines and the target plate. Different libraries may provide lines of different styles and sizes.
Because of the variety of lines, the number of overlapping scenes required may be greater. The created bridging relationships can be managed in groups. Grouping is accomplished based on the category control to which it belongs, as shown in FIG. 3 d. The manner of grouping may be according to creator as shown in fig. 3 d.
And step C1, obtaining a target line from a line library.
When the target line is obtained from the line library, the target line is defined with information for describing the line, such as size, style and the like by default. The size and style of the target line is used to demonstrate the effect of the target line in a two-dimensional cross-sectional view in a build page as shown in FIG. 3 d.
And C2, acquiring a reference plate from the plate library.
When the reference plate is obtained from the plate library, the reference plate defaults to carry information such as size, style and the like. The dimensions and pattern of the reference plate are used to demonstrate the effect of the reference plate in a two-dimensional cross-section in the build page as shown in fig. 3 d.
And C3, responding to the user operation on the target line and the reference plate, and obtaining at least one installation result between the target line and the reference plate.
The user can adjust the positions of the reference plate and the target line according to the requirement in the construction page so as to obtain the required lap joint performance.
The final lap joint performance in the building page is defined and recorded by adopting the relative position relation.
In practice, any one of the set of relative positional relationships may be determined based on the following manner, including:
And D1, determining red point information between the target line and the reference plate.
In the build page as shown in fig. 3d, the red points are determined according to the semantics of the red points set forth above. For example, the intersection of the target wall surface and the ground reference surface in the two-dimensional cross-sectional view is determined as the red dot position (as the solid black dot in fig. 3 d).
And step D2, corresponding to the lap joint completion indication, determining the point which is positioned on the reference plate and closest to the red point as a green point based on the current position of the target plate and the current position of the reference plate, so as to obtain green point information (e.g. the black star point in fig. 3D is the green point).
The construction page can be provided with a designated control, and a user clicks the designated control to trigger the overlap finishing indication. And detecting the moving operation of the user on the target line and the reference plate, and triggering the lap joint completion indication under the condition that the moving operation is not triggered within the specified time length. Of course, any manner of determining a bridging relationship by which a user can construct a target line is suitable for use with embodiments of the present disclosure, which are not limited in this disclosure.
And D3, determining blue point information, wherein the blue point information is used for describing the overlapping surfaces of the lines and the plate.
As shown in fig. 3d, the overlapping direction between the target line and the reference plate may be determined based on the option of the installation position, that is, blue point information. For example, in the case where the target line is a skirting line and the back of the wallboard is selected as a reference in the installation location, the blue dot information may be expressed as (-1, 0); in the case where the target line is a skirting line and the front face of the wall panel is selected as a reference in the installation position, the blue dot information may be expressed as (1, 0).
The relative positional relationship may be selected in the drop-down option of the current position document shown in fig. 3d, such as the current position being selected as position 1 in fig. 3d, which illustrates the case where the positional relationship of the reference plate and the target line is position 1, i.e., based on the back of the wallboard.
And D4, determining a reference offset.
Based on the semantics of the reference offset, after the lap joint relation between the target line and the reference plate is determined, the reference offset can be determined based on the current positions of the target line and the reference plate. The difference between the distance of the center position of the bottom of the line to the red point and the distance of the blue point information to the red point is determined as the reference offset.
And step D5, obtaining a relative position relationship based on the red dot information, the green dot information, the blue dot information and the reference offset.
Based on the method, a user can create different lap joint relations for the same line section in the construction page, and each lap joint relation is defined and stored by adopting the relative position relation. Thus, in step C4, a set of relative positional relationships may be determined based on at least one installation result.
That is, the relative positional relationship associated with at least one overlap relationship is used to construct a set of relative positional relationships. So as to facilitate the flexible selection of a lap joint relationship by a user when the home installation is performed.
And C5, constructing a target home decoration design control based on the relative position relation set.
In the embodiment of the disclosure, the target home decoration design control which can be constructed based on various relative position relations of the plate and the lines can enable the same line section to be adapted to different scenes, and has the capability of switching different lap joint relations between the same line section and the plate.
2. Automatic finishing of overlap joint of lines and plates based on built target home decoration design control
As set forth above, the target positional relationship includes red dot information, green dot information, blue dot information, and reference offset. For ease of understanding, the relative positional relationships of the various lines are illustrated below.
A) Expression of relative positional relationship in the case where the line is a connecting bar
Taking fig. 4a as an example, the relative positional relationship of the connection bar 1 can be expressed as: the red dot direction (i.e., the black dot direction in fig. 4 a) is the upward direction, the green dot information includes information of a left green dot (i.e., the black star in fig. 4 a) and a right green dot (i.e., the white star in fig. 4 a), the offset position of the left green dot with respect to the red dot is (-5, 15), and the offset position of the right green dot with respect to the red dot is (7.5,20). The blue dot information includes a left blue dot (i.e., dark gray circle in fig. 4 a) and a right blue dot (i.e., light gray circle in fig. 4 a), the direction of the left blue dot is (0, 1), and the reference offset (-5, -5) of the left blue dot. The direction of the right blue point is (0, 1), and the reference offset of the right blue point is (7.5,0).
Taking fig. 4b as an example, the relative positional relationship of the connection bars 2 can be expressed as: the red dot direction (i.e., the black dot direction in fig. 4 b) is the upward direction, and the green dot information includes information of the left green dot (i.e., the black star in fig. 4 b) and the right green dot (i.e., the white star in fig. 4 b). The offset position of the left green dot relative to the red dot is (-5, 15), and the offset position of the right green dot relative to the red dot is (7.5,20). The blue dot information includes a left blue dot (i.e., dark gray circle in fig. 4 b) and a right blue dot (i.e., light gray circle in fig. 4 b), the direction of the left blue dot is (0, 1), and the reference offset of the left blue dot (-5, 0). The direction of the right blue point is (0, 1), and the reference of the right blue point is offset (7.5, 5).
Taking fig. 4c as an example, the relative positional relationship of the connection bars 3 can be expressed as: the red dot direction (i.e., the black dot direction in fig. 4 c) is the upward direction, and the green dot information includes information of the left green dot (i.e., the black star in fig. 4 c) and the right green dot (i.e., the white star in fig. 4 c). The offset position of the left green dot relative to the red dot is (-5, 15), and the offset position of the right green dot relative to the red dot is (7.5,20). The blue dot information includes a left blue dot (i.e., dark gray circle in fig. 4 c) and a right blue dot (i.e., light gray circle in fig. 4 c), a direction (0, -1) of the left blue dot, and a reference offset (-5, 10) of the left blue dot. The direction of the right blue dot (0, -1), the reference of the right blue dot is shifted (7.5,15).
Taking fig. 4d as an example, the relative positional relationship of the connection bars 4 can be expressed as: the red dot direction (i.e., the black dot direction in fig. 4 d) is the upward direction, and the green dot information includes information of the left green dot (i.e., the black star in fig. 4 d) and the right green dot (i.e., the white star in fig. 4 d). The offset position of the left green dot relative to the red dot is (-5, 15), and the offset position of the right green dot relative to the red dot is (7.5,20). The blue dot information includes a left blue dot (i.e., dark gray circle in fig. 4 d) and a right blue dot (i.e., light gray circle in fig. 4 d), a direction (0, -1) of the left blue dot, and a reference offset (-5, 5) of the left blue dot. The direction of the right blue dot (0, -1), the reference of the right blue dot is shifted (7.5, 10).
B) Expression of relative position relationship in the case of skirting line
Taking fig. 5a as an example, the relative positional relationship of the skirting line 1 can be expressed as: the red dot direction (i.e., the black dot direction of fig. 5 a) is in the right direction, and the green dot (i.e., the black star in fig. 5 a) is offset from the red dot by (10, 10). The blue point (i.e., gray circle in fig. 5 a) information is (-1, 0), the blue point offset of the blue point with respect to the red point is 10, the white point offset of the origin of the line (i.e., white dot in fig. 5 a) with respect to the red point is 5, and the reference offset obtained by subtracting the white point offset from the blue point offset is 5.
Taking fig. 5b as an example, the relative positional relationship of the skirting line 2 can be expressed as: the red dot (i.e., the black dot direction of fig. 5 b) is directed to the right, and the green dot (i.e., the black star in fig. 5 b) is offset from the red dot by (0, 10). The blue (i.e., gray circle in fig. 5 b) information is (1, 0), the blue offset of blue to red is 10, the white point offset of the line bottom center point (i.e., white circle in fig. 5 b) to red is 15, and the white point offset is subtracted from the blue offset to obtain a reference offset of-5.
C) Based on the relative position relationship, the position information of the target line and the target plate in the target house type is obtained
In some embodiments, determining the location information of the target line and the target plate in the target house type may be implemented as:
and A1, mapping the red point information into a target house type to obtain the position coordinates of the target red point.
a) Determining position coordinates of a target red dot
The lines can be skirting lines, top lines or connecting strips. The manner in which the position coordinates of the target red point are determined based on each case of the line is described in detail below:
under the condition that the target line is a skirting line or a roof line, determining a point of a first target position on an intersection line of a target wall surface of a target plate installed in a target house type and a reference surface, and obtaining a position coordinate of a target red point; wherein, under the condition that the target line is a skirting line, the reference surface is the ground; in the case where the target line is a top line, the reference plane is a top plane.
Wherein the first target position is determined according to the semantics of the red point at the time of construction.
a1 If the target line is a skirting line, determining the position coordinates of the target red point
As shown in fig. 3a, the first target location may be determined based on semantics. Because the size of each wall surface and the size information of the ground in the house type are stored in the target house type, and the vertex position of each wall surface and the ground can be stored, the position coordinates of the target red point can be obtained under the condition that the point of the first target position on the intersection line of the target wall surface and the ground is selected.
The point where the boundary line belonging to the ground or the target wall surface is perpendicular to the intersecting line may be determined as the red point position. The linear equation of the intersection line can be determined based on the coordinates of any two points on the intersection line, the linear equation of the boundary line is determined based on the coordinates of any two points on the boundary line belonging to the ground or the target wall surface, and the intersection point is obtained based on the two linear equations so as to obtain the position coordinates of the target red point.
Any manner in which the position coordinates of the mapping points of the target red points in the target house type may be determined may be suitable for the embodiments of the present disclosure.
a2 If the target line is the top line, determining the position coordinates of the target red point
A possible example is shown in fig. 3b, where the first target position may be determined semantically. Similarly, the size of each wall surface and the size information of the ground in the target house type are stored, and the vertex positions of each wall surface and the ground can be stored, so that the position coordinates of the target red points can be obtained under the condition that the point of the first target position on the intersection line of the target wall surface and the ground is selected.
Of course, the position coordinates of the target red point may also be determined using two straight lines in the form of an intersection point, and the manner of how to determine the position coordinates of the target red point is not limited in the embodiments of the present disclosure.
In the embodiment of the disclosure, under the condition that the target line is a skirting line or a roof line, a point of a first target position on an intersection line of a target wall surface and a reference surface of a target plate installed in a target house type is determined, and the position coordinate of a target red point is obtained.
a3 If the target line is a connecting bar, determining the position coordinates of the target red point
In some embodiments, where the target line is a connecting bar between the plates, determining a target straight line perpendicular to the target wall surface at the second target location; the target wall surface is a wall surface for installing a target plate; and determining the intersection point of the target straight line and the target wall surface to obtain the position coordinate of the target red point.
In practice, the second target location is determined based on semantics at build time. As shown in fig. 3c, a straight line passing through the center position of the line and perpendicular to the target wall surface may be determined as a target straight line, and the second target position may be the lowest point of the target wall surface or the highest point of the target wall surface. And calculating the intersection point of the target straight line and the target wall surface so as to obtain the position coordinate of the target red point. The linear equation which is positioned at the second target position and belongs to the target wall surface and the linear equation of the target straight line can be obtained, and the intersection point of the two linear equations is determined to be the position coordinate of the target red point.
Of course, the user may determine the position of the target straight line based on the actual situation, which is not limited by the embodiment of the present disclosure.
In the embodiment of the disclosure, in the case that the target line is a connecting bar between the plates, the coordinates of the target red point are determined based on the manner of determining the target straight line, and the manner is simple to operate and easy to implement.
And step A2, mapping the green point information into the target house type based on the first offset of the relative red point information contained in the green point information and the position coordinate of the target red point, and obtaining the position coordinate of the target green point.
In implementation, the position coordinates of the green point in the two-dimensional section view can be determined based on the first offset of the relative red point information and the position coordinates of the target red point in the two-dimensional section view, and the position coordinates of the green point in the two-dimensional section view are mapped into the target house type to obtain the position coordinates of the green point in the target house type.
The first offset based on the relative red point information in the two-dimensional sectional view can be mapped into the target house type, and the position coordinate of the green point in the target house type can be determined based on the position coordinate of the target red point in the target house type.
And step A3, determining the position information of the target plate in the target house type based on the position coordinates of the target green point. The contents in the following b) can be specifically described.
b) Determining positional information of a target plate
Because the types of the target lines are different, the position coordinates of the target green points are used, and the mode of determining the position information of the target plate in the target house type is different.
Under the condition that the target line is a skirting line or a roof line, determining the distance between the target plate and the reference surface based on the position coordinates of the target green point, and determining the distance between the target plate and the target wall surface; wherein, under the condition that the target line is a skirting line, the reference surface is the ground; under the condition that the target line is a top line, the reference surface is a top surface; the target wall surface is a wall surface on which the target plate is mounted.
b1 If the target line is a skirting line, determining the position information of the target plate
In practice, in the case where the target line (i.e., white rectangle in fig. 3 a) is a skirting line, as shown in fig. 3a, the distance of the target plate (i.e., gray rectangle in fig. 3 a) with respect to the ground is determined to be b, and the distance of the target plate with respect to the target wall is determined to be a, based on the position coordinates (a, b) of the target green point (i.e., black star in fig. 3 a). And determining the position information of the target plate in the target house type based on the size of the target plate.
b2 In the case that the target line is the top line, determining the position information of the target plate
In practice, in the case where the target line (i.e., white rectangle in fig. 3 b) is the top line, as shown in fig. 3b, based on the position coordinates (c,
d) The distance of the target panel (i.e., the gray rectangle in fig. 3 b) from the top surface is determined as d and the distance of the target panel from the target wall surface is determined as c. And determining the position information of the target plate in the target house type based on the size of the target plate.
b3 In the case that the target line is the top line, determining the position information of the target plate
And under the condition that the target line is a connecting bar, determining the distance between the target plate and the target wall surface based on the position coordinates of the target green point, and determining the distance between the target plate and the target red point in the direction of the red point direction vector.
In practice, in the case where the target line (i.e., white rectangle in fig. 3 c) is a connecting bar, as shown in fig. 3c, based on the position coordinates (e, f) of the target green point (i.e., black star in fig. 3 c), the distance of the target plate (i.e., gray rectangle in fig. 3 c) in the direction of the red point direction vector with respect to the target red point is determined as f, and the distance of the target plate with respect to the target wall surface is determined as e. And determining the position information of the target plate in the target house type based on the size of the target plate.
In the embodiment of the disclosure, when the target line is a skirting line or a roof line, determining the distance between the target plate and the wall surface and the reference surface based on the coordinates of green points; and under the condition that the target line is a connecting strip, determining the distance between the target plate and the wall surface and the distance between the target plate and the red point in the direction of the red point direction vector based on the green point coordinate, and based on the mode, the method is simple to operate and easy to realize, and the position information of the target plate can be accurately obtained.
c) The determining of the position information of the target line may be implemented as the following steps A4-A5, specifically:
and step A4, determining a second offset of the current position of the target line relative to the target plate based on the blue point information and the reference offset.
Since the line also has width information, it is necessary to take into consideration the size information of the line when determining the position of the target line. Thus, based on the blue point information and the reference offset, determining the second offset of the current position of the target line relative to the target plate may be implemented as:
and B1, determining the target line and the target plate overlap surface based on the blue point information.
And B2, determining the lowest point of the target plate relative to the target red point in the vertical direction on the lap joint surface, and obtaining the position coordinate of the target blue point in the target house type.
And B3, determining the reference offset of the target blue point relative to the current position of the target line in the horizontal direction based on the position coordinates of the target blue point.
And step B4, determining a difference value between the reference offset and the reference offset to obtain a second offset.
In the embodiment of the disclosure, a reference offset is determined based on the position coordinates of the target blue point, and a reference offset of the target blue point relative to the current position of the target line in the horizontal direction is determined based on the position coordinates of the target blue point; a second offset is determined based on a difference between the reference offset and the base offset. The position of the target line can be accurately determined based on the second offset determined in the mode, and further a better installation effect can be displayed to a user.
And step A5, determining the position information of the target line in the target house type based on the second offset of the target line relative to the target plate.
In the embodiment of the disclosure, mapping red point information and green point information into a target house type to obtain the position information of a target plate in the target house type; and determining a second offset by the blue point information and the reference position to obtain the position information of the target line in the target house type, and accurately obtaining the positions of the target plate and the target line in the target house type based on the mode so as to facilitate a user to check the installation effect of the target plate and the target line in the target house type.
To facilitate understanding, how to implement installation in a target house type based on the same target line and various boards, the flow of the embodiments of the present disclosure is described below based on several examples:
taking skirting line A, adapting plate A, plate B and plate C as examples.
As shown in fig. 6a, the thickness of the panel a is 10, and the relative positional relationship between the panel a and the skirting line a includes red dot information, green dot information, blue dot information, and reference offset. The red dot direction (i.e., the black dot direction in fig. 6 a) vector in the red dot information is a horizontal right direction. The green dot (i.e., black star in fig. 6 a) information is offset from the red dot (i.e., black dot in fig. 6 a) by a distance (10, 10). The blue dot (i.e., gray circle in fig. 6 a) information is (-1, 0). The blue-point offset of the blue-point relative to the red-point is 10, and the white-point offset of the line bottom center-point relative to the red-point is 5, and therefore, the reference offset obtained by subtracting the white-point offset from the blue-point offset is 5.
Calculating the distance between the plate A and the ground 10 and the distance between the plate A and the wall 10 based on the red point information and the green point information; determining the coordinate position of the blue point as (5, 10) based on the blue point information; the reference offset may be determined to be 5. Calculating the difference between the reference offset and the reference offset to obtain a second offset of 0; therefore, the line A and the plate A can be displayed based on the relative position, and the required installation effect can be achieved.
As shown in fig. 6B, the plate B has a thickness of 5, and the relative positional relationship between the plate B and the skirting line a includes red dot information, green dot information, blue dot information, and reference offset. The red dot direction (i.e., the black dot direction in fig. 6 b) vector in the red dot information is the horizontal right direction. The green dot (i.e., black star in fig. 6 b) information is offset from the red dot (i.e., black dot in fig. 6 b) by a distance (10, 10). The blue dot (i.e., gray circle in fig. 6 b) information is (-1, 0). The blue-point offset of the blue-point relative to the red-point is 10, and the white-point offset of the line bottom center-point relative to the red-point is 5, and therefore, the reference offset obtained by subtracting the white-point offset from the blue-point offset is 5.
Calculating the distance between the plate B and the ground 10 and the distance between the plate B and the wall 10 based on the red point information and the green point information; determining the coordinate position of the blue point as (5, 10) based on the blue point information; it can be determined that the reference offset is 5; calculating the difference between the reference offset and the reference offset to obtain a second offset of 0; the line a and the plate B can thus be shown based on the relative position.
As shown in fig. 6C, the thickness of the panel C is 20, and the relative positional relationship between the panel C and the skirting line a includes red dot information, green dot information, blue dot information, and reference offset. The red dot direction (i.e., the black dot direction in fig. 6 c) vector in the red dot information is the horizontal right direction. The green dot (i.e., black star in fig. 6 c) information is offset from the red dot (i.e., black dot in fig. 6 c) by a distance (10, 10). The blue dot (i.e., gray circle in fig. 6 c) information is (-1, 0). The blue-point offset of the blue-point relative to the red-point is 10, and the white-point offset of the line bottom center-point relative to the red-point is 5, and therefore, the reference offset obtained by subtracting the white-point offset from the blue-point offset is 5.
Calculating the distance between the plate C and the ground 10 and the distance between the plate C and the wall 10 based on the red point information and the green point information; determining the coordinate position of the blue point as (5, 10) based on the blue point information; it can be determined that the reference offset is 5; calculating the difference between the reference offset and the reference offset to obtain a second offset of 0; the line a and the plate C can thus be shown based on the relative position.
The above-mentioned case is that under the condition of changing the plate, the position of lines and plate need not be adjusted, can understand based on following example, under the condition of changing the plate, the position of lines need to carry out adaptive adjustment:
Taking skirting line B, adapting plate A, plate B, plate C as an example. The following red dots are each represented by the black dots in fig. 7 a-7 f, the green dots are each represented by the black star in fig. 7 a-7 f, the blue dots are each represented by the gray circle in fig. 7 a-7 f, and the line bottom center dots are each represented by the white circle in fig. 7 a-7 f:
as shown in fig. 7a, the thickness of the panel a is 10, and the relative positional relationship between the panel a and the skirting line B includes red dot information, green dot information, blue dot information, and reference offset. The red dot direction vector in the red dot information is a horizontal right direction. The green dot information is offset from the red dot by a distance (0, 10). Blue dot information is (1, 0). The blue point offset of the blue point relative to the red point is 10, and the white point offset of the line bottom center point relative to the red point is 15, so the reference offset obtained by subtracting the white point offset from the white point offset is-5.
Calculating the distance between the plate A and the ground 10 and the distance between the plate A and the wall 0 based on the red point information and the green point information; determining the coordinate position of the blue point to be (-5, 10) based on the blue point information; it can be determined that the reference offset is-5; calculating the difference between the reference offset and the reference offset to obtain a second offset of 0; the line a and the plate a can thus be shown based on the relative position, the adjusted figure being shown in fig. 7b, in accordance with fig. 7 a.
When the plate member a having an original thickness of 10 is replaced with the plate member B having a thickness of 5, the relative positional relationship between the plate member B and the skirting line B includes red dot information, green dot information, blue dot information, and reference deviation, as shown in fig. 7 c. The red dot direction vector in the red dot information is a horizontal right direction. The green dot information is offset from the red dot by a distance (0, 10). Blue dot information is (1, 0). The blue point offset of the blue point relative to the red point is 5, and the white point offset of the line bottom center point relative to the red point is 15, so the reference offset obtained by subtracting the white point offset from the white point offset is-10.
Calculating the distance between the plate B and the ground 10 and the distance between the plate B and the wall 0 based on the red point information and the green point information; determining the coordinate position of the blue point to be (-5, 10) based on the blue point information; it can be determined that the reference offset is-5; calculating the difference between the reference offset and the reference offset to obtain a second offset of-5; the skirting line B therefore needs to be moved in the negative direction of the red spot direction by a distance of 5 units, as shown in fig. 7 d.
When the plate member a having an original thickness of 10 is replaced with the plate member C having a thickness of 20, as shown in fig. 7e, the relative positional relationship between the plate member C and the skirting line B includes red dot information, green dot information, blue dot information, and reference deviation. The red dot direction vector in the red dot information is a horizontal right direction. The green dot information is offset from the red dot by a distance (0, 10). Blue dot information is (1, 0). The blue-point offset of the blue-point relative to the red-point is 20, and the white-point offset of the line bottom center point relative to the red-point is 15, so the reference offset obtained by subtracting the white-point offset from the white-point offset is 5.
Calculating the distance between the plate C and the ground 10 and the distance between the plate C and the wall 0 based on the red point information and the green point information; determining the coordinate position of the blue point to be (-5, 10) based on the blue point information; it can be determined that the reference offset is-5; calculating a difference value between the reference offset and the reference offset to obtain a second offset of 10; the skirting line B therefore needs to be moved in the direction of the red spot direction by a distance of 10 units, as shown in fig. 7 f.
Based on the same technical concept, the embodiment of the present disclosure further provides a home decoration design device 800, as shown in fig. 8, including:
the obtaining module 801 is configured to obtain a set of relative positional relationships between lines and plates defined by a target home decoration design control in response to a user's selection operation of the target home decoration design control;
a determining module 802, configured to determine, in response to a selection operation of a target position relationship in the set of relative position relationships, position information of a target line and a target plate in a target house type based on the target position relationship;
and the display module 803 is configured to display the installation effect of the target line and the target plate based on the position information of the target line and the target plate in the target house type.
In some embodiments, the target positional relationship includes red dot information, green dot information, blue dot information, and a reference offset;
The red point information is used as an anchor point in the target position relationship and is used for calibrating the relative position relationship of the line and the plate;
the green point information is used for describing the point closest to the red point information in the plate in the target position relation;
the blue point information is used for describing the overlapping surfaces of the lines and the plate in the target position relation;
the reference offset is used in the target positional relationship to describe the offset of the line relative to the red dot information.
In some embodiments, the determining module comprises:
the red point determining unit is used for mapping the red point information into the target house type to obtain the position coordinates of the target red point;
the green point determining unit is used for mapping the green point information into the target house type based on the first offset of the relative red point information contained in the green point information and the position coordinate of the target red point to obtain the position coordinate of the target green point;
the plate determining unit is used for determining the position information of the target plate in the target house type based on the position coordinates of the target green point;
an offset determining unit for determining a second offset of the current position of the target line relative to the target plate based on the blue point information and the reference offset;
and the line determining unit is used for determining the position information of the target line in the target house type based on the second offset of the target line relative to the target plate.
In some embodiments, the red dot determining unit is configured to:
under the condition that the target line is a skirting line or a roof line, determining a point of a first target position on an intersection line of a target wall surface of a target plate installed in a target house type and a reference surface, and obtaining a position coordinate of a target red point;
wherein, under the condition that the target line is a skirting line, the reference surface is the ground;
in the case where the target line is a top line, the reference plane is a top plane.
In some embodiments, the red dot determining unit is configured to:
determining a target straight line perpendicular to the target wall surface at a second target position under the condition that the target line is a connecting strip between the plates; the target wall surface is a wall surface for installing a target plate;
and determining the intersection point of the target straight line and the target wall surface to obtain the position coordinate of the target red point.
In some embodiments, the plate determining unit is configured to:
under the condition that the target line is a skirting line or a roof line, determining the distance between the target plate and the reference surface based on the position coordinates of the target green point, and determining the distance between the target plate and the target wall surface; wherein, under the condition that the target line is a skirting line, the reference surface is the ground; under the condition that the target line is a top line, the reference surface is a top surface; the target wall surface is a wall surface for installing a target plate;
And under the condition that the target line is a connecting bar, determining the distance between the target plate and the target wall surface based on the position coordinates of the target green point, and determining the distance between the target plate and the target red point in the direction of the red point direction vector.
In some embodiments, the offset determination unit is configured to:
determining a target line and a target plate overlap surface based on the blue point information;
determining the lowest point of the target plate relative to the target red point in the vertical direction on the lap joint surface to obtain the position coordinate of the target blue point in the target house type;
determining a reference offset of the target blue point relative to the current position of the target line in the horizontal direction based on the position coordinates of the target blue point;
and determining a difference value between the reference offset and the reference offset to obtain a second offset.
In some embodiments, the method further comprises a building module for:
obtaining a target line from a line library;
acquiring a reference plate from a plate library;
responding to the user operation of the target line and the reference plate, and obtaining at least one installation result between the target line and the reference plate;
determining a set of relative positional relationships based on at least one installation result;
and constructing a target home decoration design control based on the relative position relation set.
For descriptions of specific functions and examples of each module and sub-module of the apparatus in the embodiments of the present disclosure, reference may be made to the related descriptions of corresponding steps in the foregoing method embodiments, which are not repeated herein.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
Fig. 9 is a block diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 9, the electronic device includes: memory 910 and processor 920, memory 910 stores a computer program executable on processor 920. The number of memories 910 and processors 920 may be one or more. The memory 910 may store one or more computer programs that, when executed by the electronic device, cause the electronic device to perform the methods provided by the method embodiments described above. The electronic device may further include: and the communication interface 930 is used for communicating with external equipment and carrying out data interaction transmission.
If the memory 910, the processor 920, and the communication interface 930 are implemented independently, the memory 910, the processor 920, and the communication interface 930 may be connected to each other and perform communication with each other through buses. The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 9, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 910, the processor 920, and the communication interface 930 are integrated on a chip, the memory 910, the processor 920, and the communication interface 930 may communicate with each other through internal interfaces.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting an advanced reduced instruction set machine (Advanced RISC Machines, ARM) architecture.
Further, optionally, the memory may include a read-only memory and a random access memory, and may further include a nonvolatile random access memory. The memory may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), programmable ROM (PROM), erasable Programmable ROM (EPROM), electrically Erasable EPROM (EEPROM), or flash Memory, among others. Volatile memory can include random access memory (Random Access Memory, RAM), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (SDRAM), double Data rate Synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and Direct RAMBUS RAM (DR RAM).
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present disclosure are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, data subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, bluetooth, microwave, etc.) means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., digital versatile Disk (Digital Versatile Disc, DVD)), or a semiconductor medium (e.g., solid State Disk (SSD)), etc. It is noted that the computer readable storage medium mentioned in the present disclosure may be a non-volatile storage medium, in other words, may be a non-transitory storage medium.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
In the description of embodiments of the present disclosure, a description of reference to the terms "one embodiment," "some embodiments," "examples," "particular examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
In the description of the embodiments of the present disclosure, unless otherwise indicated, "/" means or, for example, a/B may represent a or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone.
In the description of the embodiments of the present disclosure, the terms "first," "second," and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
The foregoing description of the exemplary embodiments of the present disclosure is not intended to limit the present disclosure, but rather, any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (11)

1. A home decoration design method, comprising:
responding to the selection operation of a user on a target home decoration design control, and acquiring a relative position relation set between lines defined by the target home decoration design control and a plate;
determining the position information of a target line and a target plate in a target house type based on the target position relation in response to the selection operation of the target position relation in the relative position relation set;
And displaying the installation effect of the target line and the target plate based on the position information of the target line and the target plate in the target house type.
2. The method of claim 1, wherein the target positional relationship includes red dot information, green dot information, blue dot information, and a reference offset;
the red point information is used as an anchor point in the target position relationship and is used for calibrating the relative position relationship between the line and the plate;
the green point information is used for describing a point closest to the red point information in the plate in the target position relation;
the blue point information is used for describing the overlapping surfaces of the lines and the plate in the target position relation;
the reference offset is used in the target positional relationship to describe the offset of the line relative to the red dot information.
3. The method of claim 2, wherein the determining, based on the target positional relationship, positional information of the target line and target plate in a target house type includes:
mapping the red point information into the target house type to obtain the position coordinates of the target red point;
mapping the green point information into the target house type based on a first offset relative to the red point information and the position coordinate of the target red point contained in the green point information to obtain the position coordinate of the target green point;
Determining the position information of the target plate in the target house type based on the position coordinates of the target green points;
determining a second offset of the current position of the target line relative to the target plate based on the blue point information and the reference offset;
and determining the position information of the target line in the target house type based on the second offset of the target line relative to the target plate.
4. The method of claim 3, wherein mapping the red spot information into the target house type to obtain the position coordinates of the target red spot comprises:
under the condition that the target line is a skirting line or a roof line, determining a point of a first target position on an intersection line of a target wall surface and a reference surface of the target plate installed in the target house type, and obtaining a position coordinate of the target red point;
wherein, the reference surface is the ground under the condition that the target line is a skirting line;
and in the case that the target line is a top line, the reference surface is a top surface.
5. The method of claim 3, wherein mapping the red spot information into the target house type to obtain the position coordinates of the target red spot comprises:
Determining a target straight line perpendicular to the target wall surface at a second target position under the condition that the target line is a connecting strip between the plates; the target wall surface is a wall surface on which the target plate is installed;
and determining an intersection point of the target straight line and the target wall surface to obtain the position coordinate of the target red point.
6. A method according to claim 3, wherein the determining the location information of the target plate in the target house type based on the location coordinates of the target green point comprises:
under the condition that the target line is a skirting line or a roof line, determining the distance between the target plate and a reference surface based on the position coordinates of the target green point, and determining the distance between the target plate and a target wall surface; wherein, the reference surface is the ground under the condition that the target line is a skirting line; in the case that the target line is a top line, the reference surface is a top surface; the target wall surface is a wall surface on which the target plate is installed;
and under the condition that the target line is a connecting bar, determining the distance between the target plate and the target wall surface based on the position coordinates of the target green point, and the distance between the target plate and the target red point in the direction of the red point direction vector.
7. The method of claim 3, wherein the determining a second offset of the current position of the target line relative to the target plate based on the blue dot information and the reference offset comprises:
determining the target line and the target plate overlap surface based on the blue point information;
determining the lowest point of the target plate relative to the target red point in the vertical direction on the overlap joint surface to obtain the position coordinate of the target blue point in the target house type;
determining a reference offset of the target blue point relative to the current position of the target line in the horizontal direction based on the position coordinates of the target blue point;
and determining a difference value between the reference offset and the reference offset to obtain the second offset.
8. The method of any of claims 1-7, further comprising constructing the target home design control based on:
acquiring the target line from a line library;
acquiring a reference plate from a plate library;
responding to the user operation of the target line and the reference plate, and obtaining at least one installation result between the target line and the reference plate;
Determining the set of relative positional relationships based on the at least one installation result;
and constructing the target home decoration design control based on the relative position relation set.
9. A home decoration design device, comprising:
the acquisition module is used for responding to the selection operation of a user on a target home decoration design control and acquiring a relative position relation set between lines defined by the target home decoration design control and a plate;
the determining module is used for responding to the selection operation of the target position relation in the relative position relation set and determining the position information of the target line and the target plate in the target house type based on the target position relation;
and the display module is used for displaying the installation effect of the target line and the target plate based on the position information of the target line and the target plate in the target house type.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
11. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-8.
CN202311521264.7A 2023-11-14 2023-11-14 Home decoration design method and device, electronic equipment and storage medium Pending CN117574498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311521264.7A CN117574498A (en) 2023-11-14 2023-11-14 Home decoration design method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311521264.7A CN117574498A (en) 2023-11-14 2023-11-14 Home decoration design method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117574498A true CN117574498A (en) 2024-02-20

Family

ID=89861806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311521264.7A Pending CN117574498A (en) 2023-11-14 2023-11-14 Home decoration design method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117574498A (en)

Similar Documents

Publication Publication Date Title
US11290651B2 (en) Image display system, information processing apparatus, image display method, image display program, image processing apparatus, image processing method, and image processing program
CN109324722B (en) Method, device and equipment for adding nodes of thought guide graph and storage medium
CN114708412B (en) Indoor setting method, device and system based on VR
CN109375972B (en) Method, apparatus, computer device and storage medium for multi-element layout
CN110686648A (en) Method, device and equipment for generating house type graph based on image detection and storage medium
US20210090330A1 (en) Virtual exhibition space providing method for efficient data management
CN108564645A (en) Rendering intent, terminal device and the medium of building model
CN114511668A (en) Method, device and equipment for acquiring three-dimensional decoration image and storage medium
CN107463051B (en) Exposure method and device
CN115393474A (en) Method and system for rapidly drawing flow chart
CN107077823B (en) Display device, display system and display control program
CN117574498A (en) Home decoration design method and device, electronic equipment and storage medium
WO2020052373A1 (en) Screenshot method and device
CN114297751A (en) BIM rendering method and device, electronic equipment and storage medium
CN114549376A (en) Method, device, equipment and storage medium for calculating superposition of book graph and plan graph
CN110334392B (en) Customized pattern manufacturing method, device, terminal and computer readable medium
CN107808050B (en) Weak current panel design system, design method and electronic equipment
CN112329383A (en) Method, device and equipment for realizing character edge tracing effect and storage medium
CN109829140A (en) Chart display method, device and the computer equipment of data visualization platform
CN117744212A (en) Curtain box processing method, device, equipment and storage medium
CN113298599B (en) Object display method, device and equipment
CN110704900B (en) Method for placing connection node between keel column model and wall keel model and product
CN113836615B (en) Intelligent matching method and system for house type modules in standard layer
WO2024032105A1 (en) Arrangement scheme generation method and apparatus, and electronic device and storage medium
CN117557704A (en) Hot spot implementation method, device, equipment and 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