Multi-floor house type drawing modeling method

Through a multi-layer apartment drawing modeling method, including setting drawing lines, setting rectangular hollowed-out area, multi-layer apartment switch and data structure management, the existing technology cannot meet the 3D modeling requirements of multi-layer apartments. The problem is that the switching drawing and data management of multi-story floor plans are realized, meeting the actual needs of multi-story buildings.

CN119475479APending Publication Date: 2025-02-18HANGZHOU WANWOKU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411286866.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing apartment modeling technology is mainly suitable for single-story apartments, and cannot effectively meet the 3D modeling needs of multi-story apartments such as villas, row houses, LOFTs, etc.

Method used

Provide a multi-layer apartment drawing modeling method, including setting drawing lines, setting rectangular hollowed-out area, multi-layer apartment switcher and data structure management, through these steps, the switching drawing, data management, and load-bearing wall of multi-layer apartment Alignment, corridor hollowing and staircase modeling.

Benefits of technology

The switching drawing of multi-story floor plans is realized to ensure the accuracy and completeness of data, support the actual needs of multi-story buildings, and ensure the stability and safety of the building structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119475479A_ABST
    Figure CN119475479A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-floor house type drawing modeling method. The method comprises the following steps: S1, setting a drawing line; s2, rectangular hollowed-out area setting: 1) a nested area hollowed-out algorithm; 2) searching a closed region algorithm; s3, a switch DrawHomeActor multi-layer house type switcher is used for switching a plurality of house types into a plurality of house types; and S4, aligning the data structure of the DrawHomeMap multilayer house type with the data structure of the currently drawn house type, aligning the load bearing wall and the hollowed-out area during drawing switching of the multilayer house type, performing corresponding generation of a closed area model of corridor hollowed-out, performing corresponding modeling and placement of stairs, and finally completing model generation. According to the method and the system, switching drawing of the multi-floor house type graphs is realized, and a user can conveniently switch and draw the house type graphs of different floors; the data of the multi-layer house type diagram can be effectively managed; the alignment of the bearing walls of the multi-layer house type drawing can be realized, and the stability and the safety of a building structure are ensured; corridor hollowing and stair modeling of a multi-storey house type are supported, and the actual requirements of a multi-storey building are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of drawing, and in particular to a multi-story apartment drawing modeling method. Background Art

[0002] As people's demand for home design continues to increase, the demand for 3D modeling of apartment types is increasing. However, most of the existing apartment modeling technologies can only meet the design requirements of single-story apartments. The modeling function for multi-story apartments such as villas, townhouses, and lofts is insufficient, and it cannot meet users' needs for 3D modeling of multi-story apartments. Therefore, a multi-story apartment drawing modeling method is proposed. Summary of the invention

[0003] The purpose of the present invention is to provide a multi-story apartment drawing and modeling method to solve the problem mentioned in the above process that most of the existing apartment modeling technologies can only meet the design requirements of single-story apartments, and there are insufficient modeling functions for multi-story apartments such as villas, townhouses, LOFTs, etc., and cannot meet users' needs for 3D modeling of multi-story apartments.

[0004] To achieve the above object, the present invention provides the following technical solution: a multi-layer apartment drawing modeling method, comprising the following steps:

[0005] S1, set drawing line;

[0006] S2, rectangular hollowing area setting, including the following:

[0007] 1) Nested region hollowing algorithm;

[0008] 2) Searching for closed area algorithm;

[0009] S3, SwitchDrawHomeActor multi-layer apartment switcher;

[0010] S4, DrawHomeMap multi-layer apartment data structure and the data structure of the currently drawn apartment, the load-bearing walls and hollowed-out areas are aligned when switching the multi-layer apartment drawing, the closed area model of the hollowed-out corridor is generated correspondingly, the modeling and placement of the stairs are corresponding, and finally the model generation is completed.

[0011] Preferably, in step S1, the starting point and the end point of the line segment to be added are input, assuming that the endpoints of the input line segment are A (x1, y1, z1) and B (x2, y2, z2), and the endpoints of an existing line segment are C (x3, y3, z3) and D (x4, y4, z4), and the endpoints of the added line segment are adsorbed and corrected, and adsorbed to the endpoints of the existing line segment or the straight line according to a certain threshold; the Euclidean distance formula is used to calculate the distance between two points

[0012] Check whether the line segment to be added intersects with other line segments. The method to calculate whether point A is on line segment CD is to calculate the vector and Is the angle between them 180°?

[0013] Is it -1?

[0014] If they intersect, the endpoints of the existing line segments are adjusted according to the intersection situation, and the line segments that need to be adjusted are divided into multiple groups of starting and ending line segments, and the above process is repeated.

[0015] Preferably, if the line segment does not intersect with the existing line segment, the line segment is directly added, and the method for calculating the intersection point of the straight line AB and the straight line CD is to calculate the linear equation When the equation has a solution, it means that there is a unique intersection point. When the equation has no solution, it means that the two line segments are parallel. The result is substituted into one side of the equation to calculate the corresponding intersection point. This method converts the three-dimensional space coordinate points into two-dimensional coordinate points during calculation, and the calculated points are on the same plane by default. If they are not on the same plane, the intersection point cannot be calculated.

[0016] Preferably, the nested area hollowing algorithm is as follows: a set of related line segments of the input area is used to search for closed areas, and the nested area to be hollowed out is identified from the searched closed areas by a special identifier, and the leftmost and rightmost endpoints of the hollowed-out area are obtained, and corresponding auxiliary lines are added to the nearest edges on both sides from these two endpoints as starting points, and after the auxiliary lines of the nested area are added, the closed area search is performed again on the line segment set. At this time, the closed area obtained is a fragment of the hollowed-out area, and the two areas containing the same auxiliary lines are spliced ​​to finally obtain the corresponding hollowed-out area graphics.

[0017] Preferably, the algorithm for searching the closed area is as follows: inputting a line segment set {E} of the area to be searched;

[0018] Starting from an unsearched line segment, recursively search for the next line segment that is connected to the current line segment and has not been searched, add the searched line segment to the line segment set {e} of the current closed area, and update the currently searched line segment.

[0019] Preferably, check whether the current closed area segment set is closed. If not, continue the above search. If closed, check whether the area overlaps with the closed area that has been searched. If there is overlap, retain the area with a smaller area. If there is no overlap, directly add the area to the area set {R}. At the same time, record the searched line segments.

[0020] Preferably, the above steps are combined into one round of search. After one round of search, all closed areas consisting of all line segments connected to the first line segment can be searched. At this time, if there are still line segments that have not been searched, repeat the above steps for the next round of search to finally obtain all closed areas.

[0021] Compared with the prior art, the present invention has the following beneficial effects:

[0022] The present invention realizes the switching drawing of multi-story floor plans, and users can easily switch and draw between floor plans of different floors; it can effectively manage the data of multi-story floor plans to ensure the accuracy and completeness of the data; it can realize the alignment of load-bearing walls of multi-story floor plans to ensure the stability and safety of the building structure; it supports the hollowing out of corridors and staircase modeling of multi-story floor plans, meeting the actual needs of multi-story buildings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a flow chart of the floor switching function of the multi-story apartment drawing modeling technology of the present invention.

[0024] Figure 2 A flow chart of apartment function is generated for the multi-layer apartment drawing and modeling technology of the present invention.

[0025] Figure 3 A floor function flow chart is added to the multi-story apartment drawing modeling technology of the present invention.

[0026] Figure 4 This is a system architecture diagram of the multi-story apartment drawing modeling technology of the present invention.

[0027] Figure 5 This is a diagram of the system light login account window in an embodiment of the present invention.

[0028] Figure 6 Open the quick build scene graph in the system of the embodiment of the present invention.

[0029] Figure 7 Upload the floor plan in the system of the embodiment of the present invention.

[0030] Figure 8 This is a correction dimension diagram in the system of an embodiment of the present invention.

[0031] Fig. 9 Draw a floor plan in the system of the embodiment of the present invention.

[0032] Fig.10 The hollowed-out area is drawn as a stairwell diagram in the system of the embodiment of the present invention.

[0033] Fig.11 A floor plan is generated in the system of an embodiment of the present invention.

[0034] Fig.12A diagram of a load-bearing wall is provided in the system of an embodiment of the present invention.

[0035] Fig.13 Add a floor map to the system of the embodiment of the present invention.

[0036] Fig.14 Adding a floor to the system of the embodiment of the present invention will automatically draw line drawings of the load-bearing walls and hollowed-out areas in the new floor.

[0037] Fig.15 The system of the embodiment of the present invention completes the missing lines of the second floor and regenerates the floor plan.

[0038] Fig.16 By deleting the hollowed-out area in the system of the embodiment of the present invention, a staircase landing diagram can be obtained.

[0039] Fig.17 In the embodiment of the present invention, placing a stair model from a youth's perspective realizes a leap-level function diagram. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 creative work are within the scope of protection of the present invention.

[0041] See also Figures 1 to 4 The present invention provides a technical solution: a multi-layer apartment drawing modeling method, characterized in that it includes the following steps:

[0042] S1, set drawing line;

[0043] Input the starting point and end point of the line segment to be added. Assume that the endpoints of the input line segment are A(x1, y1, z1) and B(x2, y2, z2), and the endpoints of an existing line segment are C(x3, y3, z3) and D(x4, y4, z4). Adsorb and correct the endpoints of the added line segment to the endpoints of the existing line segment or the straight line according to a certain threshold. The Euclidean distance formula is used to calculate the distance between two points.

[0044] Check whether the line segment to be added intersects with other line segments. The method to calculate whether point A is on line segment CD is to calculate the vector and Is the angle between them 180°?

[0045] Is it -1?

[0046] If they intersect, the endpoints of the existing line segments are adjusted according to the intersection situation, and the line segments to be adjusted are divided into multiple groups of starting and ending line segments, and the above process is repeated;

[0047] If the line segment does not intersect with the existing line segment, add the line segment directly. The method for calculating the intersection of line AB and line CD is to calculate the linear equation When the equation has a solution, it means that there is a unique intersection point. When the equation has no solution, it means that the two line segments are parallel. The result is substituted into one side of the equation to calculate the corresponding intersection point. This method converts the three-dimensional space coordinate points into two-dimensional coordinate points during calculation, and the calculated points are on the same plane by default. If they are not on the same plane, the intersection point cannot be calculated.

[0048] S2, rectangular hollowing area setting, including the following:

[0049] 1) Nested region hollowing algorithm;

[0050] A set of related line segments in the input area is used to search for closed areas. The nested areas to be hollowed out are identified through special identifiers from the searched closed areas. The leftmost and rightmost endpoints of the hollowed-out area are obtained, and corresponding auxiliary lines are added to the nearest edges on both sides from these two endpoints. After the auxiliary lines of the nested area are added, the closed area search is performed on the line segment set again. The closed areas obtained at this time are fragments of the hollowed-out area. The two areas containing the same auxiliary lines are spliced ​​to finally obtain the corresponding hollowed-out area graphics.

[0051] 2) Searching for closed area algorithm;

[0052] Input the line segment set {E} of the area to be searched;

[0053] Starting from a line segment that has not been searched, recursively search for the next line segment that is connected to the current line segment and has not been searched, and add the searched line segment to the line segment set {e} of the current closed area, and update the currently searched line segment;

[0054] Check whether the current closed area segment set is closed. If not, continue the above search. If closed, check whether the area overlaps with the closed area that has been searched. If there is overlap, keep the area with a smaller area. If there is no overlap, directly add the area to the area set {R}. At the same time, record the searched segments.

[0055] The above steps are called a round of search. After a round of search, all closed areas composed of all line segments connected to the first line segment can be searched. At this time, if there are still line segments that have not been searched, repeat the above steps for the next round of search, and finally get all closed areas.

[0056] S3, SwitchDrawHomeActor multi-layer apartment switcher;

[0057] S4, DrawHomeMap multi-layer apartment data structure and the data structure of the currently drawn apartment, the load-bearing walls and hollowed-out areas are aligned when switching the multi-layer apartment drawing, the closed area model of the hollowed-out corridor is generated correspondingly, the modeling and placement of the stairs are corresponding, and finally the model generation is completed.

[0058] Reference Figure 5-Figure 17 In a specific embodiment, the above source data is entered into the download and installation system login account, and the scene system is opened for use.

[0059] Specific implementation method:

[0060] Computer configuration:

[0061] The computer configuration requirements are Windows 10 64-bit system, 32G memory, 1T hard drive, Nvidia 3060 and above, AMD / Intel CPU.

[0062] Download and install the system, and log in to your account. The specific operation process is as follows:

[0063] 1. Open the quick-build scene;

[0064] 2. Upload the floor plan;

[0065] 3. Correction size;

[0066] 4. Draw the house type;

[0067] 5. Draw the hollowed-out area as the stairwell;

[0068] 6. Generate apartment type;

[0069] 7. Set up load-bearing walls;

[0070] 8. Add floors;

[0071] 9. Adding a floor will automatically draw the lines of the load-bearing walls and hollowed-out areas on the new floor;

[0072] 10. Complete the missing lines on the second floor and regenerate the apartment layout;

[0073] 11. Delete the hollowed-out area to get the staircase;

[0074] 12. Placing the staircase model from the perspective of young people can achieve the function of leaping floors;

[0075] 13. Finally, complete the model generation.

[0076] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A multi-layer apartment drawing modeling method, characterized in that: The steps include: S1, set drawing line; S2, rectangular hollowing area setting, including the following: 1) Nested region hollowing algorithm; 2) Searching for closed area algorithm; S3, SwitchDrawHomeActor multi-layer apartment switcher; S4, DrawHomeMap multi-layer apartment data structure and the data structure of the currently drawn apartment, the load-bearing walls and hollowed-out areas are aligned when switching the multi-layer apartment drawing, the closed area model of the hollowed-out corridor is generated correspondingly, the modeling and placement of the stairs are corresponding, and finally the model generation is completed.

2. A multi-story house type drawing and modeling method according to claim 1, characterized in that: In step S1, the starting point and the end point of the line segment to be added are input. Assuming that the endpoints of the input line segment are A (x1, y1, z1) and B (x2, y2, z2), and the endpoints of an existing line segment are C (x3, y3, z3) and D (x4, y4, z4), the endpoints of the added line segment are adsorbed and corrected, and adsorbed to the endpoints of the existing line segment or the straight line according to a certain threshold; the Euclidean distance formula is used to calculate the distance between the two points Check whether the line segment to be added intersects with other line segments. The method to calculate whether point A is on line segment CD is to calculate the vector and Is the angle between them 180°? Is it -1? If they intersect, the endpoints of the existing line segments are adjusted according to the intersection situation, and the line segments that need to be adjusted are divided into multiple groups of starting and ending line segments, and the above process is repeated.

3. A multi-story house type drawing and modeling method according to claim 2, characterized in that: If the line segment does not intersect with the existing line segment, add the line segment directly. The method for calculating the intersection of line AB and line CD is to calculate the linear equation When the equation has a solution, it means that there is a unique intersection point. When the equation has no solution, it means that the two line segments are parallel. The result is substituted into one side of the equation to calculate the corresponding intersection point. This method converts the three-dimensional space coordinate points into two-dimensional coordinate points during calculation, and the calculated points are on the same plane by default. If they are not on the same plane, the intersection point cannot be calculated.

4. A multi-story house type drawing and modeling method according to claim 1, characterized in that: The nested area hollowing algorithm is as follows: a set of related line segments of the input area is used to search for closed areas, and the nested area to be hollowed out is identified by a special identifier from the searched closed areas, and the leftmost and rightmost endpoints of the hollowed-out area are obtained. The two endpoints are used as starting points to add corresponding auxiliary lines to the nearest edges on both sides. After the auxiliary lines of the nested area are added, the closed area search is performed on the line segment set again. The closed area obtained at this time is a fragment of the hollowed-out area. The two areas containing the same auxiliary lines are spliced ​​to finally obtain the corresponding hollowed-out area graphics.

5. A multi-story house type drawing and modeling method according to claim 1, characterized in that: The algorithm for searching a closed area is as follows: input a line segment set {E} of the area to be searched; Starting from an unsearched line segment, recursively search for the next line segment that is connected to the current line segment and has not been searched, add the searched line segment to the line segment set {e} of the current closed area, and update the currently searched line segment.

6. A multi-story house type drawing and modeling method according to claim 5, characterized in that: Check whether the current closed area segment set is closed. If not, continue the above search. If closed, check whether the area overlaps with the closed area that has been searched. If there is overlap, the region with a smaller area is retained. If there is no overlap, the region is directly added to the region set {R}; at the same time, the searched line segments are recorded.

7. A multi-story house type drawing and modeling method according to claim 6, characterized in that: The above steps are called a round of search. After a round of search, all closed areas composed of all line segments connected to the first line segment can be searched. At this time, if there are still line segments that have not been searched, repeat the above steps for the next round of search, and finally get all closed areas.