A component adding system and method based on house type design
By using the auxiliary positioning and overlap recognition modules in the component addition system, the problem of component overlap in the virtual apartment model was solved, achieving precise component placement and improved aesthetics.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-04
- Publication Date
- 2026-04-14
AI Technical Summary
In virtual apartment models, new components are prone to overlapping with other components, making it difficult to accurately control the position of components on smart mobile devices, which affects aesthetics and ease of operation.
The system adopts a component addition system based on apartment layout design, which includes an operation interface, an apartment layout generation module, an auxiliary positioning module, a component addition module, an overlap recognition module, and a component adjustment module. It automatically identifies and adjusts the position of components through virtual rectangular boxes and auxiliary positioning points to avoid overlap, and uses the component adjustment module for fine adjustment.
It enables precise placement of components in the virtual apartment model, avoiding overlap and improving ease of operation and model aesthetics.
Smart Images

Figure CN114596424B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of home decoration design technology, and in particular to a component addition system and method based on apartment layout design. Background Technology
[0002] Virtual floor plan simulation is a common method used in the home decoration industry for interior design. Based on floor plans and customer needs, a virtual floor plan model with various internal components is created on a smart mobile device to simulate the effect of the renovated house. This method is popular among homeowners and technical personnel in the home decoration industry. However, during the component editing process of the virtual floor plan model, it is often necessary to select different component models according to the component's attributes and placement style. For example, when creating new components on the walls of the floor plan model, the new components are prone to overlapping with other wall components. Manually dragging the position of the component on the smart mobile device is inconvenient due to the limited display precision of the smart mobile device, which makes it difficult to accurately control the movement of the component on the virtual floor plan model. This often results in overlapping when dragging a new component close to other components, making it difficult to avoid overlap and accurately adjust the position of the component, affecting the user experience and the aesthetics of the virtual floor plan model. Summary of the Invention
[0003] The purpose of this invention is to provide a component addition system and method based on apartment layout design.
[0004] To achieve the above objectives, the present invention adopts the following technical solution:
[0005] A component addition system based on apartment layout design, applied to a smart mobile terminal, includes a user interface, an apartment layout generation module, an auxiliary positioning module, a component addition module, an overlap recognition module, and a component adjustment module, wherein:
[0006] The user interface is used for human-computer interaction;
[0007] The floor plan generation module is used to draw, generate, display, and store three-dimensional floor plan models on the user interface.
[0008] The auxiliary positioning module is used to map the display center point of the operation interface onto the house model to obtain an auxiliary positioning point;
[0009] The component adding module is used to retrieve components from the component material library and generate new component models on the house type model based on the auxiliary positioning points;
[0010] The overlap recognition module is used to identify whether the new component model overlaps with other component models on the house model. If so, the new component model is attached to the surface of the overlapping component model that is closest to the auxiliary positioning point; otherwise, the new component model is generated on the auxiliary positioning point.
[0011] The component adjustment module is used to finely adjust the position of the new component model.
[0012] Furthermore, the auxiliary positioning module includes a display unit and a mapping unit;
[0013] The display unit is used to adapt to the display view of the operation interface and generate a display center point at its center position;
[0014] The mapping unit is used to map the position of the display center point onto the house model to generate auxiliary positioning points. The mapping position of the auxiliary positioning points is on the surface of the component model on the house model.
[0015] Furthermore, the component adding module includes a component material library, a component generation unit, and a component adsorption unit;
[0016] The component material library is used to store component materials, including soft furnishing component materials and hard furnishing component materials;
[0017] The component generation unit is used to generate a new component model on the house model based on the component material selected from the component material library. The outer perimeter of the component model is covered by a virtual rectangular box frame.
[0018] The component adsorption unit is used to select one side of the virtual rectangular box frame of the new component model as the adsorption surface, and adsorb the component model onto the auxiliary positioning point according to the adsorption surface.
[0019] Furthermore, the overlap recognition module includes an overlap recognition unit, a disengagement unit, and a position reset unit;
[0020] The overlap recognition unit is used to identify whether the new component model overlaps with other surrounding component models. If the two virtual rectangular boxes of the component model and the surrounding component models intersect, it is determined to overlap; otherwise, they do not overlap.
[0021] The detachment unit is used to detach the newly identified overlapping component model from the auxiliary positioning point, resulting in a component model with an undetermined position.
[0022] The position reset unit is used to identify the side of the component model that overlaps with the new component model that is closest to the auxiliary positioning point as the reset adsorption surface, and adsorb the component model whose position is to be determined onto the reset adsorption surface to obtain the new component model.
[0023] Furthermore, the component adjustment module includes a lens locking unit, a view zooming unit, a gear selection unit, and a moving compass unit;
[0024] The lens locking unit is used to lock and follow the new component model at the display center point of the display view in the operation interface.
[0025] The view zoom unit is used to capture the user's action of simultaneously tapping the operation interface with two fingers and moving closer or further away, and zooms in or out on the display view according to the action to reduce or increase the display range of the new component model and the surrounding component models.
[0026] The gear selection unit has multiple parameter gears for single adjustment of the moving compass unit, including displacement gears and rotation gears.
[0027] The movable compass unit includes an up-down compass, a left-right compass, and a rotating compass set on the operation interface. The up-down compass and the left-right compass adjust the position of the new component model in the house model according to the displacement gear, and the rotating compass adjusts the orientation of the new component model in the house model according to the rotation gear.
[0028] A method for adding components based on apartment layout design, the method is implemented using a component adding system, and the method includes the following steps:
[0029] S1. Rotate the floor plan model in the operation interface and use a point on the floor plan model that is mapped to the display center point as an auxiliary positioning point;
[0030] S2. Select a component material from the component material library and drag it onto the house model on the operation interface;
[0031] S3. Generate a new component model based on the auxiliary positioning point and component material. Calculate and determine whether the new component model overlaps with the component models around the auxiliary positioning point. If so, remove the new component model from the auxiliary positioning point to obtain a component model with an undetermined position. Otherwise, the new component model is attached to the auxiliary positioning point on the house model.
[0032] S4. Based on the component model that overlaps with the new component model obtained in step S3, calculate the distance of each of its faces from the auxiliary positioning point, obtain the nearest adsorption surface, and adsorb the component model whose position is to be determined onto the adsorption surface to obtain the new component model.
[0033] S5. Use the display center point to lock the new component model, select the unit activity level, and use the control compass to finely adjust the position and orientation of the new component model.
[0034] By adopting the above technical solution, the present invention has the following advantages compared with the prior art:
[0035] 1. The components of the present invention are covered with a virtual rectangular box frame, and the side closest to the auxiliary positioning point is preset as the adsorption surface, so that the irregular components have a regular operating surface. After the new components overlap, they detach and are adsorbed on the adsorption surface, which is convenient to operate and avoids the components from overlapping.
[0036] 2. The system of the present invention is equipped with an auxiliary positioning module. By mapping the display center point of the operation interface onto the house model, an auxiliary positioning point is obtained. This allows the component material to quickly generate a new component model based on the auxiliary positioning point. The overlap recognition module is used to determine whether the new component model overlaps with other component models near the auxiliary positioning point. If so, the new component auxiliary model is removed from the auxiliary positioning point and the overlapping state, and directly attached to the side of the overlapping component model that is closest to the auxiliary positioning point. This avoids the new component model from overlapping on the house model, automatically adjusts its position, and uses the component adjustment module for fine-tuning, making it easy to operate. Attached Figure Description
[0037] Figure 1 This is a flowchart of the workflow of the present invention. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Example
[0039] This invention discloses a component addition system based on apartment layout design. The system is applied to a smart mobile terminal and includes an interface, an apartment layout generation module, an auxiliary positioning module, a component addition module, an overlap recognition module, and a component adjustment module, wherein:
[0040] The user interface is used for human-computer interaction.
[0041] The floor plan generation module is used to draw, generate, display, and store 3D floor plan models on the user interface.
[0042] The auxiliary positioning module is used to map the display center point of the operation interface onto the house model to obtain an auxiliary positioning point.
[0043] The component addition module is used to retrieve components from the component material library and generate new component models on the house type model based on auxiliary positioning points.
[0044] The overlap recognition module is used to identify whether a new component model overlaps with other component models on the floor plan model. If so, the new component model is attached to the surface of the overlapping component model that is closest to the auxiliary positioning point; otherwise, a new component model is generated on the auxiliary positioning point.
[0045] The component adjustment module is used for fine-tuning the position of new component models.
[0046] The auxiliary positioning module includes a display unit and a mapping unit.
[0047] The display unit is used to adapt to the display view of the operation interface and generate a display center point at its center.
[0048] The mapping unit is used to map the position of the display center point onto the floor plan model to generate auxiliary positioning points. The mapping positions of the auxiliary positioning points are on the surface of the component model on the floor plan model.
[0049] The component addition module includes a component material library, a component generation unit, and a component snapping unit.
[0050] The component material library is used to store component materials, including soft furnishing component materials and hard furnishing component materials.
[0051] The component generation unit is used to generate new component models on the house type model based on component materials selected from the component material library. The outer perimeter of the component model is covered by a virtual rectangular box frame.
[0052] The component adsorption unit is used to select one side of the virtual rectangular box frame of the new component model as the adsorption surface, and adsorb the component model onto the auxiliary positioning point according to the adsorption surface.
[0053] The overlap recognition module includes an overlap recognition unit, a separation unit, and a position reset unit.
[0054] The overlap recognition unit is used to identify whether the new component model overlaps with other surrounding component models. If the two virtual rectangular boxes of the component model intersect with the two surrounding component models, it is determined to overlap; otherwise, it does not overlap.
[0055] The detachment unit is used to detach the new component model that is determined to overlap from the auxiliary positioning point, resulting in a component model with an undetermined position.
[0056] The position reset unit is used to identify the side of the component model that overlaps with the new component model that is closest to the auxiliary positioning point as the reset adsorption surface, and adsorb the component model whose position is to be determined onto the reset adsorption surface to obtain the new component model.
[0057] The component adjustment module includes a lens locking unit, a view zoom unit, a gear selection unit, and a moving compass unit.
[0058] The lens locking unit is used to lock the center point of the display view in the operation interface and follow the new component model.
[0059] The view zoom unit is used to capture the user's action of simultaneously tapping the interface with two fingers and moving closer or further away, and to zoom in or out on the display view of the new component model and the surrounding component models according to the action.
[0060] The gear selection unit has multiple parameter gears for single adjustment of the moving compass unit, including displacement gears and rotation gears.
[0061] The movable compass unit includes an up-down compass, a left-right compass, and a rotating compass set on the operation interface. The up-down compass and the left-right compass adjust the position of the new component model in the house model according to the displacement setting, and the rotating compass adjusts the orientation of the new component model in the house model according to the rotation setting.
[0062] The component is surrounded by a virtual rectangular box frame, and the side closest to the auxiliary positioning point is preset as the adsorption surface, so that irregular components have a regular operating surface. When a new component overlaps, it detaches and is adsorbed on the adsorption surface, which is convenient to operate and avoids component overlap.
[0063] The system in this embodiment is equipped with an auxiliary positioning module. By mapping the display center point of the operation interface onto the house model, an auxiliary positioning point is obtained. This allows the component materials to quickly generate new component models based on the auxiliary positioning point. The overlap recognition module is used to determine whether the new component model overlaps with other component models near the auxiliary positioning point. If so, the new component auxiliary model is removed from the auxiliary positioning point and the overlapping state, and directly attached to the side of the overlapping component model that is closest to the auxiliary positioning point. This avoids the new component model from overlapping on the house model, automatically adjusts its position, and uses the component adjustment module for fine-tuning, making it easy to operate. Example 2
[0064] refer to Figure 1 As shown, a method for adding components based on apartment layout design is implemented using a component adding system. The method includes the following steps:
[0065] S1. Rotate the floor plan model in the operation interface, using a point on the floor plan model mapped to the display center point as an auxiliary positioning point. When you click the screen and rotate the floor plan model, the auxiliary positioning point changes accordingly.
[0066] S2. Select a component from the component material library and drag it onto the floor plan model on the operation interface. Alternatively, you can click to select and add it to the room where the auxiliary positioning point is located.
[0067] S3. Generate a new component model based on the auxiliary positioning point and component material. Calculate and determine whether the new component model overlaps with the component models around the auxiliary positioning point. If so, remove the new component model from the auxiliary positioning point to obtain a component model with an undetermined position. Otherwise, attach the new component model to the auxiliary positioning point on the apartment model.
[0068] S4. Based on the component model that overlaps with the new component model obtained in step S3, calculate the distance of each of its faces from the auxiliary positioning point, obtain the closest adsorption surface, and adsorb the component model whose position is to be determined onto the adsorption surface to obtain the new component model.
[0069] S5. Use the display center point to lock the new component model, select the unit activity level, and use the control compass to finely adjust the position and orientation of the new component model.
[0070] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A component addition system based on apartment layout design, the system being applied to a smart mobile terminal, characterized in that, It includes a user interface, a floor plan generation module, an auxiliary positioning module, a component addition module, an overlap recognition module, and a component adjustment module, among which: The user interface is used for human-computer interaction; The floor plan generation module is used to draw, generate, display, and store three-dimensional floor plan models on the user interface. The auxiliary positioning module is used to map the display center point of the operation interface onto the house model to obtain an auxiliary positioning point; The auxiliary positioning module includes a display unit and a mapping unit; The display unit is used to adapt to the display view of the operation interface and generate a display center point at its center position; The mapping unit is used to map the position of the display center point onto the floor plan model to generate auxiliary positioning points. The mapping position of the auxiliary positioning points is on the surface of the component model on the floor plan model. The component adding module is used to retrieve components from the component material library and generate new component models on the house type model based on the auxiliary positioning points; The component adding module includes a component material library, a component generation unit, and a component adsorption unit; The component material library is used to store component materials, including soft furnishing component materials and hard furnishing component materials; The component generation unit is used to generate a new component model on the house model based on the component material selected from the component material library. The outer perimeter of the component model is covered by a virtual rectangular box frame. The component adsorption unit is used to select one side of the virtual rectangular box frame of the new component model as the adsorption surface, and adsorb the component model onto the auxiliary positioning point according to the adsorption surface; The overlap recognition module is used to identify whether the new component model overlaps with other component models on the house model. If so, the new component model is attached to the surface of the overlapping component model that is closest to the auxiliary positioning point; otherwise, the new component model is generated on the auxiliary positioning point. The overlap recognition module includes an overlap recognition unit, a separation unit, and a position reset unit; The overlap recognition unit is used to identify whether the new component model overlaps with other surrounding component models. If the two virtual rectangular boxes of the component model and the surrounding component models intersect, it is determined to overlap; otherwise, they do not overlap. The detachment unit is used to detach the newly identified overlapping component model from the auxiliary positioning point, resulting in a component model with an undetermined position. The position reset unit is used to identify the side of the component model that overlaps with the new component model that is closest to the auxiliary positioning point as the reset adsorption surface, and adsorb the component model whose position is to be determined onto the reset adsorption surface to obtain the new component model. The component adjustment module is used to finely adjust the position of the new component model.
2. The component addition system based on apartment layout design as described in claim 1, characterized in that: The component adjustment module includes a lens locking unit, a view zooming unit, a gear selection unit, and a moving compass unit. The lens locking unit is used to lock and follow the new component model at the display center point of the display view in the operation interface. The view zoom unit is used to capture the user's action of simultaneously tapping the operation interface with two fingers and moving closer or further away, and zooms in or out on the display view according to the action to reduce or increase the display range of the new component model and the surrounding component models. The gear selection unit has multiple parameter gears for single adjustment of the moving compass unit, including displacement gears and rotation gears. The movable compass unit includes an up-down compass, a left-right compass, and a rotating compass set on the operation interface. The up-down compass and the left-right compass adjust the position of the new component model in the house model according to the displacement gear, and the rotating compass adjusts the orientation of the new component model in the house model according to the rotation gear.
3. A method for adding components based on apartment layout design, characterized in that: This method is implemented using the component addition system as described in any one of claims 1-2, and the method includes the following steps: S1. Rotate the floor plan model in the operation interface, and use a point on the floor plan model that is mapped to the display center point as an auxiliary positioning point; S2. Select a component material from the component material library and drag it onto the house model on the operation interface; S3. Generate a new component model based on the auxiliary positioning point and component material. Calculate and determine whether the new component model overlaps with the component models around the auxiliary positioning point. If so, remove the new component model from the auxiliary positioning point to obtain a component model with an undetermined position. Otherwise, the new component model is attached to the auxiliary positioning point on the house model. S4. Based on the component model that overlaps with the new component model obtained in step S3, calculate the distance of each of its faces from the auxiliary positioning point, obtain the nearest adsorption surface, and adsorb the component model whose position is to be determined onto the adsorption surface to obtain the new component model. S5. Use the display center point to lock the new component model, select the unit activity level, and use the control compass to finely adjust the position and orientation of the new component model.
Citation Information
Patent Citations
Interactive processing method and device in virtual scene, electronic equipment and storage medium
CN111921203A
Planar home decoration design assisting method
CN113761614A