A method and device for displaying a protruding shape of a background wall on a 2D plane

By displaying projection point data of the convex shape of the background wall in a 2D plan view, the problem of convex shape cannot be expressed is solved, and the design experience and efficiency are improved.

CN114528622BActive Publication Date: 2025-08-26HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210129222.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-11
Publication Date
2025-08-26
Estimated Expiration
2042-02-11

AI Technical Summary

Technical Problem

In the 2D plan view, the convex shape of the background wall cannot be expressed or is unclear, resulting in the user being unable to obtain the relative positional relationship between the design elements and the background wall shape, which can easily cause the model mold and the convex shape to overlap and stack, reducing the design experience and efficiency.

Method used

By filtering the plane shape and lamp trough on the background wall, the projection grouping data of the convex area, shape surface and lamp trough surface are obtained, and the projection point data is calculated, and the projection point data is displayed to realize the position and contour information of the convex shape on the 2D plane.

Benefits of technology

The background wall protruding shape is clearly displayed on the 2D floor plan. Users can obtain the relative positional relationship between the design elements and the background wall shape, avoid overlapping and stacking, and improve design experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114528622B_ABST
    Figure CN114528622B_ABST
Patent Text Reader

Abstract

This invention discloses a method and device for displaying protruding shapes on a background wall in a 2D plane, belonging to the field of home decoration design technology. By projecting grouped data of the protruding area, the modeling surface, and the light trough surface onto a two-dimensional plane, the invention displays the position and outline information of the protruding shapes on the background wall on a 2D plane. This solves the problem of being unable to represent or unclearly representing the protruding shapes on a 2D plane. This allows users to obtain the relative position and other relationships between design elements and the background wall modeling during design, preventing them from interfering with each other, thereby improving the user's design experience and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of home decoration design, and in particular to a method and a display device for displaying a protruding shape of a background wall on a 2D plane. Background Art

[0002] Existing home decoration designs involve relatively more complex background wall designs, in which a large number of flat-shaped protrusions and protruding shapes such as light troughs are produced.

[0003] When users perform other design operations in the 2D plan view, such as placing decorations, adjusting ceiling lamps, and moving furniture, the protruding shape of the background wall cannot be represented or cannot be represented clearly on the 2D plan view, making it impossible for users to know the outline and position information of the protruding shape on the background wall. As a result, during the design process, users cannot obtain the relative position and other relationships between the design elements and the background wall shape. This can easily cause the model mold and the protruding shape to overlap and overlap, causing them to affect each other, thereby reducing the user's design experience and design efficiency. Summary of the Invention

[0004] In order to solve the problems of the prior art, the embodiments of the present invention provide a method and a display device for displaying a protruding shape of a background wall on a 2D plane. The technical solution is as follows:

[0005] In one aspect, a method for displaying a protruding shape of a background wall on a 2D plane is provided, the method comprising:

[0006] From all plane shapes and light troughs, filter out the plane shapes and light troughs on the background wall;

[0007] Get all the protruding areas in the plane shape;

[0008] Obtaining projection group data of the protruding area, the modeling surface, and the lamp trough surface;

[0009] Calculating and obtaining projection point data corresponding to the projection group data;

[0010] The projection point data is displayed.

[0011] Optionally, filtering the plane shapes and light troughs on the background wall from all plane shapes and light troughs includes:

[0012] Get all the flat shapes and light troughs;

[0013] According to the binding surface, the plane shape and light trough data on the ceiling and the ground are filtered out to obtain the plane shape and light trough on the background wall. The plane shape includes multiple shape areas, the shape areas include multiple shape surfaces, the multiple shape surfaces include multiple shape lines, and the shape lines are composed of multiple points.

[0014] Optionally, obtaining all modeling areas of the plane modeling having protruding areas includes:

[0015] For each plane shape, obtain all shape areas where there are convex areas;

[0016] Screen the planar modeling surfaces perpendicular to the ground plane in the multiple modeling areas.

[0017] Optionally, obtaining the projection group data of the protruding area, the modeling surface, and the light trough surface includes:

[0018] Find the molding line that the light trough is bound to from all molding lines;

[0019] Group all the light trough surfaces according to the ID rule of binding the modeling line and the light trough surface to obtain the modeling surface and light trough surface grouping data;

[0020] Get the edge of the convex area;

[0021] According to the ID rule and the edge line, the grouping data of all the modeling surfaces and the lamp trough surfaces in the protruding area are acquired to obtain the projection grouping data of the protruding area, the modeling surfaces and the lamp trough surfaces.

[0022] Optionally, the calculating and obtaining the projection point data corresponding to the projection group data includes:

[0023] The projection points of the modeling surface and the lamp trough surface in each group of projection group data are calculated.

[0024] Optionally, the modeling surface and the lamp trough surface are planes, and the calculating of the projection points of the modeling surface and the lamp trough surface in each group of projection group data includes:

[0025] The projection points of the planar modeling surface and the lamp trough surface are calculated according to the boundary points of the modeling surface and the lamp trough surface.

[0026] Optionally, the modeling surface and the lamp trough surface are cylindrical surfaces, and the calculating of the projection points of the modeling surface and the lamp trough surface in each group of projection group data includes:

[0027] According to the ID rule, filter the side light trough surface;

[0028] The projection points of the planar modeling surface and the light trough surface are calculated according to the boundary points of the modeling surface and the light trough surface, and the coordinate system of the wall to which the planar modeling is bound.

[0029] Optionally, displaying the projection point data includes:

[0030] Connect the projection point data and add color filling data to obtain the filled projection point data;

[0031] The filled projection point data is displayed.

[0032] In another aspect, a display device is provided, comprising:

[0033] A filtering module is used to filter out the plane shapes and light troughs on the background wall from all plane shapes and light troughs;

[0034] A screening module is used to obtain all protruding areas in a plane shape;

[0035] A grouping module, configured to obtain projection grouping data of the protruding area, the modeling surface, and the lamp trough surface;

[0036] A projection module, configured to calculate and obtain projection point data corresponding to the projection group data;

[0037] A display module is used to display the projection point data.

[0038] Optionally, the filtering module is specifically used to:

[0039] Get all the flat shapes and light troughs;

[0040] According to the binding surface, the plane shape and light trough data on the ceiling and the ground are filtered out to obtain the plane shape and light trough on the background wall. The plane shape includes multiple shape areas, the shape areas include multiple shape surfaces, the multiple shape surfaces include multiple shape lines, and the shape lines are composed of multiple points.

[0041] Optionally, the screening module is specifically used to:

[0042] For each plane shape, obtain all shape areas where there are convex areas;

[0043] Screen the planar modeling surfaces perpendicular to the ground plane in the multiple modeling areas.

[0044] Optionally, the grouping module is specifically configured to:

[0045] Find the molding line that the light trough is bound to from all molding lines;

[0046] Group all the light trough surfaces according to the ID rule of binding the modeling line and the light trough surface to obtain the modeling surface and light trough surface grouping data;

[0047] Get the edge of the convex area;

[0048] According to the ID rule and the edge line, the grouping data of all the modeling surfaces and the lamp trough surfaces in the protruding area are acquired to obtain the projection grouping data of the protruding area, the modeling surfaces and the lamp trough surfaces.

[0049] Optionally, the projection module is specifically used to:

[0050] The projection points of the modeling surface and the lamp trough surface in each group of projection group data are calculated.

[0051] Optionally, the modeling surface and the lamp trough surface are planes, and the projection module is specifically used for:

[0052] The projection points of the planar modeling surface and the lamp trough surface are calculated according to the boundary points of the modeling surface and the lamp trough surface.

[0053] Optionally, the shaping surface and the light trough surface are cylindrical surfaces, and the projection module is specifically used for:

[0054] According to the ID rule, filter the side light trough surface;

[0055] The projection points of the planar modeling surface and the light trough surface are calculated according to the boundary points of the modeling surface and the light trough surface, and the coordinate system of the wall to which the planar modeling is bound.

[0056] Optionally, the display module is specifically used to:

[0057] Connect the projection point data and add color filling data to obtain the filled projection point data;

[0058] The filled projection point data is displayed.

[0059] On the other hand, a display device is provided, comprising a memory and a processor, wherein the memory is used to store a set of program codes, and the processor calls the program codes stored in the memory to execute any of the methods described in the first aspect.

[0060] The technical solution provided by the embodiment of the present invention has the following beneficial effects:

[0061] By projecting the grouped data of protruding areas, modeling surfaces, and light trough surfaces onto a two-dimensional plane, the position and outline information of the background wall's protruding shapes can be displayed on the 2D plan. This solves the problem of the protruding shapes of the background wall being unable to be represented or unclear on the 2D plan. This allows users to understand the relative position and relationship between design elements and the background wall shape during design, avoiding mutual influence, thereby improving the user's design experience and design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0063] Figure 1 This is a flow chart of a method for displaying a protruding shape of a background wall on a 2D plane provided by an embodiment of the present invention;

[0064] Figure 2 This is a schematic diagram of the display effect of the protruding shape on the background wall in a 2D environment provided by an embodiment of the present invention;

[0065] Figure 3 It is a schematic diagram of the display effect of the protruding shape on the background wall provided by an embodiment of the present invention in a 3D environment. DETAILED DESCRIPTION

[0066] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0067] Reference Figure 1 As shown, a method for displaying a protruding shape of a background wall on a 2D plane is provided, the method comprising:

[0068] 101. From all plane shapes and light troughs, filter out the plane shapes and light troughs on the background wall;

[0069] 102. Obtain all protruding areas within the plane shape;

[0070] 103. Obtain projection group data of the protruding area, the modeling surface, and the lamp trough surface;

[0071] 104. Calculate and obtain the projection point data corresponding to the projection group data;

[0072] 105. Display projection point data.

[0073] Optionally, from all plane shapes and light troughs, filter the plane shapes and light troughs on the background wall to include:

[0074] Get all the flat shapes and light troughs;

[0075] According to the binding surface, the plane shape and light trough data on the ceiling and the ground are filtered out to obtain the plane shape and light trough on the background wall. The plane shape includes multiple shape areas, the shape areas include multiple shape surfaces, the multiple shape surfaces include multiple shape lines, and the shape lines are composed of multiple points.

[0076] Optionally, obtaining all modeling areas of a plane model with protruding areas includes:

[0077] For each plane shape, obtain all shape areas where there are convex areas;

[0078] Filters planar modeling surfaces perpendicular to the ground plane in multiple modeling areas.

[0079] Optionally, obtaining projection group data of the protruding area, the modeling surface, and the light trough surface includes:

[0080] Find the molding line that the light trough is bound to from all molding lines;

[0081] Group all the light trough surfaces according to the ID rule of binding the modeling line and the light trough surface to obtain the modeling surface and light trough surface grouping data;

[0082] Get the edge of the convex area;

[0083] According to the ID rules and the edge lines, the grouping data of all the modeling surfaces and the lamp trough surfaces in the protruding area are obtained, and the projection grouping data of the protruding area, the modeling surfaces and the lamp trough surfaces are obtained.

[0084] Optionally, the projection point data corresponding to the projection group data is calculated to include:

[0085] Calculate the projection points of the modeling surface and the light trough surface in each group of projection group data.

[0086] Optionally, the modeling surface and the lamp trough surface are planes, and calculating the projection points of the modeling surface and the lamp trough surface in each group of projection group data includes:

[0087] According to the boundary points of the modeling surface and the lamp trough surface, the projection points of the planar modeling surface and the lamp trough surface are calculated.

[0088] Optionally, the modeling surface and the light trough surface are cylindrical surfaces, and the projection points of the modeling surface and the light trough surface in each group of projection group data are calculated including:

[0089] Filter the side trough surfaces according to the ID rule;

[0090] According to the boundary points of the modeling surface and the light trough surface, and the coordinate system of the plane modeling bound to the wall, the projection points of the plane modeling surface and the light trough surface are calculated.

[0091] Optionally, display projection point data including:

[0092] Connect the projection point data and add color filling data to obtain the filled projection point data;

[0093] Displays the projected point data after filling.

[0094] In another aspect, a display device is provided, comprising:

[0095] A filtering module is used to filter out the plane shapes and light troughs on the background wall from all plane shapes and light troughs;

[0096] A screening module is used to obtain all protruding areas in a plane shape;

[0097] A grouping module is used to obtain projection grouping data of protruding areas, modeling surfaces, and lamp trough surfaces;

[0098] The projection module is used to calculate the projection point data corresponding to the projection group data;

[0099] The display module is used to display the projection point data.

[0100] Optionally, the filtering module is specifically used to:

[0101] Get all the flat shapes and light troughs;

[0102] According to the binding surface, the plane shape and light trough data on the ceiling and the ground are filtered out to obtain the plane shape and light trough on the background wall. The plane shape includes multiple shape areas, the shape areas include multiple shape surfaces, the multiple shape surfaces include multiple shape lines, and the shape lines are composed of multiple points.

[0103] Optionally, the screening module is specifically used to:

[0104] For each plane shape, obtain all shape areas where there are convex areas;

[0105] Filters planar modeling surfaces perpendicular to the ground plane in multiple modeling areas.

[0106] Optionally, the grouping module is specifically used to:

[0107] Find the molding line that the light trough is bound to from all molding lines;

[0108] Group all the light trough surfaces according to the ID rule of binding the modeling line and the light trough surface to obtain the modeling surface and light trough surface grouping data;

[0109] Get the edge of the convex area;

[0110] According to the ID rules and the edge lines, the grouping data of all the modeling surfaces and the lamp trough surfaces in the protruding area are obtained, and the projection grouping data of the protruding area, the modeling surfaces and the lamp trough surfaces are obtained.

[0111] Optionally, the projection module is specifically used for:

[0112] Calculate the projection points of the modeling surface and the light trough surface in each group of projection group data.

[0113] Optionally, the modeling surface and the light trough surface are flat surfaces, and the projection module is specifically used for:

[0114] According to the boundary points of the modeling surface and the lamp trough surface, the projection points of the planar modeling surface and the lamp trough surface are calculated.

[0115] Optionally, the modeling surface and the light trough surface are cylindrical surfaces, and the projection module is specifically used for:

[0116] Filter the side trough surfaces according to the ID rule;

[0117] According to the boundary points of the modeling surface and the light trough surface, and the coordinate system of the plane modeling bound to the wall, the projection points of the plane modeling surface and the light trough surface are calculated.

[0118] Optionally, the display module is specifically used for:

[0119] Connect the projection point data and add color filling data to obtain the filled projection point data;

[0120] Displays the projected point data after filling.

[0121] An embodiment of the present invention further provides a display device, comprising a memory and a processor, wherein the memory is used to store a set of program codes, and the processor calls the program codes stored in the memory to execute any one of the methods of the first embodiment.

[0122] In order to enable those skilled in the art to more clearly understand the technical solutions described in the embodiments of the present invention, the technical solutions described in the embodiments of the present invention will be further described below with reference to the accompanying drawings:

[0123] Step 1: Get all plane shapes and light troughs, and filter out the plane shapes and light troughs on the ceiling and the ground based on the binding surface, which are the plane shapes and light troughs on the background wall.

[0124] Step 2: For each plane shape, obtain all areas of the shape and determine whether there are any raised areas. If so, obtain all the shape lines and light trough surfaces of the plane shape. Obtain all the shape surfaces and filter out the plane shape surfaces perpendicular to the ground plane. If not, skip the plane shape.

[0125] Step 3: For each light trough, find the styling line to which the trough is bound from all styling lines. Group all trough faces based on the IDs of the bound styling lines and trough faces. Filter trough faces based on the bound styling line type. The following rules apply: if the bound line is a straight line, select all faces that are not perpendicular to the ground plane; if the bound line is an arc, select all cylindrical faces. This step yields a grouping relationship between bound styling lines and trough faces.

[0126] Step 4: For each protruding area, obtain its area edge line, and find all the modeling surface and light trough surface data corresponding to the area edge line of the area from the modeling surface data and modeling line-light trough surface grouping data obtained in steps 2 and 3 according to the ID rule, to form the grouping data of area-modeling surface-light trough surface, that is, the projection grouping data of the modeling surface and light trough surface to be projected in units of area.

[0127] Step 5: Calculate the projection points for the modeling surfaces and light trough surfaces in each set of projection data. The calculation method is as follows: for planar modeling surfaces and light trough surfaces, directly obtain their boundary points (contourPoints), and then use matrix transformation to obtain the 2D coordinates of these boundary points on the ground plane, which are the projection points; for cylindrical modeling surfaces and light trough surfaces, first filter out the light trough surfaces that are determined to be side surfaces according to the ID rule, and then use matrix transformation and three-dimensional bounding box to calculate the projection boundary points in the three-dimensional coordinate system based on the boundary points (contourPoints) of the cylindrical surface and the coordinate system (ccs) of the modeling-bounded wall to which it is located. Finally, use matrix transformation to obtain the 2D coordinates of the projection boundary points on the ground plane, which are the projection points. This step obtains the projection point data for each set of modeling surfaces and light trough surfaces.

[0128] Step 6: For each set of projection point data, connect them and draw polygons, and add white default fill, which is the display of the protruding shape on the background wall in the 2D plane view.

[0129] Furthermore, the display effect of the protruding shape on the background wall in a 2D environment refers to Figure 2 As shown, after executing the method described in the embodiment of the present invention, the display effect of the protruding shape on the background wall in the 3D environment is shown in FIG. Figure 3 shown.

[0130] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present invention, and will not be described in detail here.

[0131] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0132] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for displaying a protruding shape of a background wall on a 2D plane, characterized in that: The method comprises: Filtering all plane shapes and light troughs to obtain plane shapes and light troughs on the background wall, wherein the plane shape includes a plurality of shape areas, the shape areas include a plurality of shape surfaces, the plurality of shape surfaces include a plurality of shape lines, and the shape lines are composed of a plurality of points; For each plane shape, obtain all shape areas where there are convex areas; Screening the planar modeling surfaces perpendicular to the ground plane in the plurality of modeling areas; Obtaining projection group data of the protruding area, the modeling surface, and the lamp trough surface; Calculating and obtaining projection point data corresponding to the projection group data; The projection point data is displayed.

2. The method according to claim 1, characterized in that The plane shapes and light troughs on the background wall are filtered from all plane shapes and light troughs and include: Get all the flat shapes and light troughs; According to the binding surface, the plane shape and light trough data on the ceiling and the ground are filtered out to obtain the plane shape and light trough on the background wall.

3. The method according to claim 1, characterized in that The obtaining of projection group data of the protruding area, the modeling surface and the light trough surface comprises: Find the molding line that the light trough is bound to from all molding lines; Group all the light trough surfaces according to the ID rule of binding the modeling line and the light trough surface to obtain the modeling surface and light trough surface grouping data; Get the edge of the convex area; According to the ID rule and the edge line, the grouping data of all the modeling surfaces and the lamp trough surfaces in the protruding area are acquired to obtain the projection grouping data of the protruding area, the modeling surfaces and the lamp trough surfaces.

4. The method according to claim 3, characterized in that The calculation to obtain the projection point data corresponding to the projection group data includes: Calculate the projection points of the modeling surface and the light trough surface in each group of projection group data.

5. The method according to claim 4, characterized in that The modeling surface and the lamp trough surface are planes, and the calculation of the projection points of the modeling surface and the lamp trough surface in each group of projection group data includes: The projection points of the planar modeling surface and the lamp trough surface are calculated according to the boundary points of the modeling surface and the lamp trough surface.

6. The method according to claim 4, characterized in that The modeling surface and the lamp trough surface are cylindrical surfaces, and the calculation of the projection points of the modeling surface and the lamp trough surface in each group of projection group data includes: According to the ID rule, filter the side light trough surface; The projection points of the planar modeling surface and the light trough surface are calculated according to the boundary points of the modeling surface and the light trough surface, and the coordinate system of the wall to which the planar modeling is bound.

7. The method according to claim 5 or 6, characterized in that The displaying of the projection point data comprises: Connect the projection point data and add color filling data to obtain the filled projection point data; The filled projection point data is displayed.

8. A display device, characterized in that: The device comprises: A filtering module is used to filter all plane shapes and light troughs to obtain the plane shapes and light troughs on the background wall, wherein the plane shape includes a plurality of shape areas, the shape areas include a plurality of shape surfaces, the plurality of shape surfaces include a plurality of shape lines, and the shape lines are composed of a plurality of points; A screening module is used to obtain, for each planar shape, all shape areas with protruding areas, and screen the planar shape surfaces perpendicular to the ground plane in the multiple shape areas; A grouping module, configured to obtain projection grouping data of the protruding area, the modeling surface, and the lamp trough surface; A projection module, configured to calculate and obtain projection point data corresponding to the projection group data; A display module is used to display the projection point data.

9. A display device, characterized in that: The device includes a memory and a processor, the memory is used to store a set of program codes, and the processor calls the program codes stored in the memory to execute any one of the methods according to claims 1 to 7.

Citation Information

Patent Citations

  • Object model processing method, storage medium and processor

    CN113763533A