A railing rapid generation method for interior design
By generating a walkthrough model and a 2D plan view on a smart mobile device, selecting non-shared walls and generating a list of railings, the cumbersome problem of traditional railing design is solved, and the effect of quickly generating continuous railings is achieved.
Patent Information
- Application Number
- CN202210880413.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-25
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-07-25
AI Technical Summary
Traditional railing designs cannot quickly generate continuous railings in interior design, resulting in cumbersome operations and failing to meet the rapid generation needs of real-world scenarios.
The system obtains the floor plan file through a smart mobile device, generates a walkthrough model and a 2D floor plan, selects the target wall and marks the non-shared walls, generates an ordered list, selects the wall according to the list and deletes it to generate railings.
It enables rapid identification and generation of continuous railings on smart mobile devices, simplifying the operation process and meeting users' needs for rapid generation of railing styles on balconies.
Smart Images

Figure CN115270257B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of interior design, and particularly relates to a railing rapid generation method for interior design. BACKGROUND
[0002] In interior design, the design of a balcony is often involved. The balcony is usually arranged at the edge space of a house type drawing, and the wall outside the balcony is replaced by a railing. However, the traditional railing design method is to delete non-common wall walls one by one, calculate the interval and quantity of the railings to be placed, and then place the railings one by one. This method is relatively cumbersome and cannot meet the demand of quickly generating continuous railings in actual scenarios. Therefore, a method for quickly generating continuous railings after selecting the wall to be replaced is needed. SUMMARY
[0003] The present application relates to the technical field of interior design, and particularly relates to a railing rapid generation method for interior design.
[0004] To achieve the above-mentioned purpose, the present application adopts the following technical scheme:
[0005] A railing rapid generation method for interior design, comprising the following steps:
[0006] S1, an intelligent mobile terminal obtains a house type file and generates a roaming model of the house type and a two-dimensional floor plan corresponding to the floor on an operation interface;
[0007] S2, component information of each closed space of the roaming model is obtained, and the component information includes coordinate data and connection data of each component;
[0008] S3, a floor of the roaming model is selected, and a two-dimensional floor plan corresponding to the floor is obtained. A target wall of a closed space is selected and marked on the two-dimensional floor plan, a railing adding interface is created, non-common wall walls in the same closed space as the target wall are obtained according to the component information, and the non-common wall walls are walls that are not shared by two adjacent closed spaces;
[0009] S4, according to the target wall and the non-common wall walls, the order is sequentially marked and a list with the order is generated;
[0010] S5, according to the order of the list, the wall to be generated is selected and the corresponding wall is marked;
[0011] S6, according to the selected wall to be generated, the corresponding wall is deleted and a railing is generated along the original coordinates.
[0012] Further, the house type file in the step S1 includes a roaming model of a 3D virtual house type and a two-dimensional floor plan of each floor thereof. Image data in the house type file is obtained, and the roaming model or the two-dimensional floor plan of the corresponding floor is selected and displayed on the operation interface.
[0013] Further, the components in the step S2 include walls, doors, windows and load-bearing columns, and the walls include common walls and non-common walls, the common walls are walls shared by two adjacent enclosed spaces, and the non-common walls are walls not shared by two adjacent enclosed spaces.
[0014] Further, the step S3 is specifically:
[0015] S31, selecting a floor of a roaming model and obtaining a two-dimensional plan corresponding to the floor;
[0016] S32, selecting an enclosed space on the two-dimensional plan and judging whether each wall in the enclosed space is a common wall or a non-common wall, when the wall is judged as a common wall, the wall cannot be selected and marked after clicking the corresponding wall, and when the wall is judged as a non-common wall, the wall is selected as a target wall and marked after clicking the corresponding wall;
[0017] S33, creating a railing adding interface according to the target wall and identifying the enclosed space where the target wall is located;
[0018] S34, obtaining non-common walls in the same enclosed space as the target wall according to the component information, obtaining an order of the non-common walls and the target wall along the enclosed space in a counterclockwise or clockwise direction, and marking the order on the inner side of the corresponding wall.
[0019] Further, the list in the step S4 is specifically a list with order marked from small to large, and the list is provided with a checkable check box at the corresponding order, when a check box is selected, the wall corresponding to the order of the check box is identified and marked according to the check box, and when the check box is unselected, the corresponding wall is identified and unmarked.
[0020] Further, the step S6 is specifically:
[0021] S61, selecting an order on the check box on the list, and marking the corresponding wall according to the order;
[0022] S62, judging whether the selected wall is a continuous wall according to the marked corresponding wall, the continuous wall is a wall with a head connected to a tail in sequence, otherwise, it is prompted that the current wall is a non-continuous wall, and if yes, the next step is performed;
[0023] S63, deleting the selected wall, load-bearing column and components on the wall according to the continuous wall and the component information of the continuous wall, identifying the wall line and the length of the wall line according to the original coordinates of the deleted wall, and calculating the interval and the number of railings arranged along the wall line;
[0024] S64, generating railings along the wall line of the deleted wall on the two-dimensional plan according to the interval and the number of the railings, and setting the attribute of the enclosed space where the railings are located as a balcony.
[0025] Compared with the background art, the present application has the following advantages:
[0026] The present application selects the floor to generate the railing on the roaming model after obtaining the house type file and quickly displays the two-dimensional plan, selects a non-common wall as the target wall, automatically identifies all non-common walls in the closed space, lists all non-common walls in a list after marking the order, and the user can quickly select the corresponding wall, calculate the coordinates of each railing to be generated and the distance therebetween according to the component information after selecting the continuous wall, and generate the railing along the coordinates of the original wall after deleting the continuous wall, which is convenient to operate, quick to select multiple walls, does not need to identify the non-common wall one by one, and can identify and quickly replace the non-common wall with the railing on the intelligent mobile terminal, thereby meeting the railing style effect generation demand of the user on the balcony. BRIEF DESCRIPTION OF DRAWINGS
[0027] Figure 1 is the workflow diagram of the present application;
[0028] Figure 2 is the selected closed space in the two-dimensional plan of the present application;
[0029] Figure 3 is the selected target wall creating railing adding interface diagram of the present application;
[0030] Figure 4 is the continuous wall selection diagram of the present application;
[0031] Figure 5 is the generated railing in the two-dimensional plan of the present application;
[0032] Figure 6 is the generated railing in the roaming model of the present application;
[0033] Figure 7 is the roaming site placement diagram in the roaming model of the present application;
[0034] Figure 8 is the roaming diagram in the roaming model of the present application. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical scheme and advantages of the present application more clear and explicit, the present application is further described in detail below in combination with the drawings and examples. It should be understood that the specific examples described herein are only used to explain the present application, and are not used to limit the present application.
[0036] EXAMPLE
[0037] REFERENCE Figure 1As shown, the application discloses a railing rapid generation method for interior design, which comprises the following steps:
[0038] S1, the intelligent mobile terminal acquires a house type file and generates a roaming model of the house type and a two-dimensional plan of the corresponding floor on an operation interface.
[0039] S2, the component information of each closed space of the roaming model is acquired, and the component information comprises coordinate data and connection data of each component.
[0040] S3, a floor of the roaming model is selected, and the two-dimensional plan corresponding to the floor is acquired, a target wall of a closed space is selected and marked on the two-dimensional plan, a railing adding interface is created, the non-common wall walls of the same closed space as the target wall are acquired according to the component information, and the non-common wall walls are walls shared by non-two adjacent closed spaces.
[0041] S4, according to the target wall and the non-common wall walls, the order is marked in sequence and a list with order is generated.
[0042] S5, the wall to be generated railing is selected according to the order of the list and the corresponding wall is marked.
[0043] S6, according to the selected wall to be generated railing, the corresponding wall is deleted and the railing is generated along the original coordinates.
[0044] Cooperation Figures 1 to 6 As shown, the intelligent mobile terminal can be a mobile phone, a tablet computer or a mobile computer, and the embodiment is not limited.
[0045] The house type file in step S1 comprises a roaming model of a 3D virtual house type and a two-dimensional plan of each floor, image data in the house type file is acquired, and the roaming model or the two-dimensional plan of the corresponding floor is selected and displayed on the operation interface.
[0046] When the roaming model has only one floor, it is not necessary to select the number of floors, and when the two-dimensional plan is selected to be displayed, the two-dimensional plan is derived according to the roaming model, and the two-dimensional plan cannot be rotated.
[0047] When the roaming model has at least two floors, the roaming model of only one floor can also be selected and displayed, and the two-dimensional plan of the floor can also be quickly derived by selecting the two-dimensional plan to be displayed in the roaming model view.
[0048] The switching control of the roaming model and the two-dimensional plan is arranged on the operation interface and is controlled by two icons, by clicking the corresponding icon, the background finds the corresponding data from the house type file according to the clicked icon and the selected floor or the currently displayed roaming model, and displays the data on the operation interface, that is, the rapid selection and view switching are completed.
[0049] The components in the component information in step S2 include walls, doors, windows, and load-bearing columns. The walls include common walls and non-common walls. The common walls are walls shared between two adjacent enclosed spaces. The non-common walls are walls not shared between two adjacent enclosed spaces.
[0050] Step S3 is specifically:
[0051] S31, select a floor of a roaming model and obtain a two-dimensional plan corresponding to the floor.
[0052] S32, select an enclosed space on the two-dimensional plan and determine whether each wall in the enclosed space is a common wall or a non-common wall. When the wall is determined to be a common wall, the corresponding wall cannot be selected and marked after being clicked. When the wall is determined to be a non-common wall, the corresponding wall is selected as a target wall and marked after being clicked.
[0053] S33, create a railing adding interface according to the target wall and identify the enclosed space where the target wall is located.
[0054] S34, obtain non-common walls in the same enclosed space as the target wall according to the component information, obtain an order of the non-common walls and the target wall along the counterclockwise or clockwise direction of the enclosed space, and mark the order on the inner side of the corresponding wall.
[0055] Step S32 can also be specifically that after selecting the floor corresponding to the roaming model, entering the two-dimensional plan, and automatically obtaining whether all walls in the two-dimensional plan of the floor are common walls or non-common walls, the enclosed space can be selected first, or the wall can be directly clicked without selecting the enclosed space. The user can only obtain a response and marking by clicking the non-common wall on the operation interface, and the common wall cannot be selected and clicked.
[0056] The list in step S4 is specifically a list with a small-to-large marking order. The list is provided with a checkable check box at the corresponding order. When a check box is selected, the wall corresponding to the order of the check box is identified and marked according to the check box. When the check box is unselected, the corresponding wall is identified and unmarked.
[0057] Step S6 is specifically:
[0058] S61, select the order of the check box on the list, and mark the corresponding wall according to the order.
[0059] S62, determine whether the selected wall is a continuous wall according to the marked corresponding wall. The continuous wall is a wall with a head and a tail connected in sequence. Otherwise, it is prompted that the current wall is a non-continuous wall. If yes, proceed to the next step.
[0060] S63, according to the continuous wall and its component information, delete the selected wall, load-bearing column and component on the wall, identify the wall line and its length according to the original coordinates of the deleted wall, and calculate the distance and number of the railings along the wall line.
[0061] S64, according to the distance and number of the railings, generate the railings along the wall line of the deleted wall on the two-dimensional plan, and set the attribute of the closed space where the railings are located as balcony.
[0062] If the selected wall is not a continuous wall, and each selected wall is not connected end to end in turn, a warning is triggered to prompt to select a continuous wall, and the prompt disappears until each selected wall is a continuous wall.
[0063] The railings are provided with a railing model library, and a railing model to be set in advance can be selected through the railing model library. After the railings are generated, the distance and number of the railings can also be recalculated according to the railings to be replaced, and new railings are generated on the deleted wall.
[0064] In this embodiment, the number and distance of the railings are preferably determined by the background calculation and cannot be modified. If a modification function is to be set, a corresponding attribute list can also be set on the operation interface, and the distance and number of the railings can also be adjusted through the corresponding attribute list.
[0065] The selection of the continuous wall can meet different closed space patterns. The non-common wall walls of the closed space can be 1, 2, 3, 4 or 5 walls connected end to end in turn. Therefore, the replacement efficiency is low. By selecting the continuous wall, and according to the wall line, length, coordinate and height data of the selected wall to be replaced, the background calculation calculates and replaces the railing according to the default railing or the selected railing material. This way is efficient.
[0066] This embodiment has three view modes, namely two-dimensional plan, roaming model and model view. Three icons corresponding to different view modes are set on the top of the operation interface. Clicking the icon, the background finds the corresponding path file and opens the file to display on the operation interface.
[0067] Reference Figure 7 and Figure 8 As shown in the drawings, the roaming model has a movable roaming viewpoint, i.e. the roaming point in the roaming model view. By selecting a floor of the roaming model, the two-dimensional plan corresponding to the floor is obtained, the roaming viewpoint is placed in the closed space on the two-dimensional plan, the coordinate data of the roaming viewpoint is obtained, the roaming model is enlarged, and the roaming view of the space viewpoint is generated on the coordinate according to the coordinate data.
[0068] The roaming model has a height adjustment bar, a view angle adjustment bar and a control compass for adjusting the roaming viewpoint in the roaming view.
[0069] When the roaming perspective position is placed on the roaming model, the roaming view generated in the closed space has a default height of 1.4 m and a wide-angle size of 75°, and the height size of the height adjustment bar is determined by the floor height of the roaming model, which can be 2 m, 3 m or 3 m, and is not limited, and the wide-angle size is not limited.
[0070] According to the coordinate data of the roaming perspective position, the height data of the roaming perspective position from the ground of the closed space is obtained, and the height of the roaming perspective position from the closed space is adjusted through the height adjustment bar at the coordinate.
[0071] According to the coordinate data and the height data of the roaming perspective position, the wide-angle size of the current roaming view and the content displayed are obtained, the wide-angle size of the roaming view is adjusted through the perspective adjustment bar at the coordinate and the height, and the content displayed by the roaming view is adjusted according to the wide-angle size.
[0072] According to the coordinate data of the roaming perspective position, the coordinate position of the roaming perspective position is adjusted through the control compass, the moving direction of the control compass is determined by the user control, the coordinate position is only adjusted in X and Y axes, and the Z axis does not change, and the change of the Z axis is controlled by the height adjustment bar.
[0073] The size rate of the control compass activity is determined by the pre-set value, and the control compass moves 2-5 units in the direction of the control compass every time.
[0074] In this embodiment, after obtaining the house type file, the floor on which the railing is to be generated is selected on the roaming model and the two-dimensional plan is quickly displayed, a non-common wall wall body is selected as a target wall body, all non-common wall wall bodies in the closed space are automatically identified, all non-common wall wall bodies are labeled in order and listed in a list, the user can quickly select the corresponding wall body, and after selecting the continuous wall body, the coordinates of each railing to be generated and the distance therebetween are quickly calculated according to the component information, the railing is generated along the coordinates of the original wall body after the continuous wall body is deleted, the operation is convenient, multiple wall bodies can be quickly selected, the non-common wall wall body does not need to be identified one by one, the non-common wall wall body can be quickly identified and replaced with a railing on the intelligent mobile terminal, and the railing style effect generation demand of the user on the balcony is met.
[0075] The above is only a preferred specific embodiment of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for quickly generating a railing for interior design, characterized by, The method comprises the following steps: S1, the intelligent mobile terminal acquires a house type file and generates a roaming model of the house type and a two-dimensional plan of the corresponding floor on an operation interface; S2, the component information of each closed space of the roaming model is acquired, and the component information comprises coordinate data and connection data of each component; S3, a floor of the roaming model is selected, and the two-dimensional plan corresponding to the floor is acquired, a target wall of a closed space is selected and marked on the two-dimensional plan, a railing adding interface is created, non-common wall walls of the same closed space as the target wall are acquired according to the component information, and the non-common wall walls are walls that are not shared between two adjacent closed spaces; S4, the target wall and the non-common wall walls are marked in sequence according to the order, and a list with the order is generated; S5, the wall to be generated for the railing is selected according to the order of the list, and the corresponding wall is marked; S6, according to the selected wall to be generated for the railing, the corresponding wall is deleted, and the railing is generated along the original coordinates of the wall.
2. The method of claim 1, wherein the method is used for a railing rapid generation for interior design. The house type file in the step S1 comprises a roaming model of a 3D virtual house type and a two-dimensional plan of each floor, image data in the house type file is acquired, and the roaming model or the two-dimensional plan of the corresponding floor is selected and displayed on the operation interface.
3. The method of claim 2, wherein the method is used for a quick generation of a railing for interior design. The components in the component information in the step S2 comprise walls, doors, windows and load-bearing columns, the walls comprise common wall walls and non-common wall walls, the common wall walls are walls shared between two adjacent closed spaces, and the non-common wall walls are walls that are not shared between two adjacent closed spaces.
4. The method of claim 3, wherein the method is used for a quick generation of a railing for interior design. The step S3 specifically comprises: S31, a floor of the roaming model is selected, and the two-dimensional plan corresponding to the floor is acquired; S32, a closed space is selected on the two-dimensional plan, and each wall in the closed space is determined to be a common wall wall or a non-common wall wall, when the wall is determined to be a common wall wall, the corresponding wall cannot be selected and marked after being clicked, and when the wall is determined to be a non-common wall wall, the corresponding wall is selected as a target wall and marked after being clicked; S33, a railing adding interface is created according to the target wall, and the closed space where the target wall is located is identified; S34, non-common wall walls of the same closed space as the target wall are acquired according to the component information, the order of the non-common wall walls and the target wall is acquired in a counterclockwise or clockwise direction along the closed space, and the order is marked on the inner side of the corresponding wall.
5. The method of claim 4, wherein the method is used for a quick generation of a railing for interior design. The list in the step S4 specifically comprises a list with a small-to-large marked order, the list is provided with a checkable check box at the corresponding order, when a check box is selected, the wall corresponding to the order of the check box is identified and marked according to the check box, and when the check box is unselected, the corresponding wall is identified and unmarked.
6. The method of claim 5, wherein the method is used for a quick generation of a railing for interior design. The step S6 specifically comprises: S61, the order of the check box on the list is selected, and the corresponding wall is marked according to the order; S62, whether the selected wall is a continuous wall is determined according to the marked corresponding wall, the continuous wall is a wall with a head connected to a tail in sequence, otherwise, it is prompted that the current wall is a non-continuous wall, and if yes, the next step is performed; S63, according to the continuous wall and the component information thereof, the selected wall, load-bearing columns and components on the wall are deleted, the wall line and the length thereof are identified according to the original coordinates of the deleted wall, and the interval and the number of the railings arranged along the wall line are calculated and acquired; S64, according to the distance and the number of the railings, generate the railings along the wall line of the deleted wall in the two-dimensional plan view, and set the attribute of the closed space where the railings are located as balcony.
Citation Information
Patent Citations
Wall generation method and device, electronic equipment and storage medium
CN112199763A
KR20210100546A