A method and apparatus for recommending placement of a roman column for a building structure
By detecting the room outline of the building structure to obtain corner information, the position, direction and height of Roman columns are automatically calculated, solving the problem of time-consuming and labor-intensive manual design, realizing automated design, improving efficiency and reducing costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
- Filing Date
- 2023-12-18
- Publication Date
- 2026-07-14
AI Technical Summary
In existing technologies, the placement, height, and orientation of Roman columns mainly rely on manual operation, which is time-consuming and labor-intensive, and lacks automated design solutions.
By detecting the room outline of the building structure and obtaining corner information, the recommended placement, orientation, and height of Roman columns are calculated, providing an automated design method and device, including a detection module and a calculation module, which utilizes computing devices and storage media to achieve automated design.
It has enabled the automated design of Roman columns, improving design efficiency and reducing design costs.
Smart Images

Figure CN117744209B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of architectural design technology, specifically relating to a method and apparatus for placing Roman columns in a building structure. Background Technology
[0002] Architectural design refers to the process by which designers, before construction begins, comprehensively envision potential problems that may arise during construction and use, and devise solutions and plans, expressing these in drawings and documents. This serves as a common basis for material preparation, construction organization, and coordination among various trades during fabrication and construction. It ensures that the entire project proceeds smoothly and in a unified manner within the predetermined budget, according to a well-considered plan, and that the completed building fully meets the various requirements and uses expected by users and society.
[0003] Architectural design involves not only designing the building's foundation structure but also its decorative structure, including the design of Roman columns to adorn the building. A Roman column is a structure consisting of a column and an entablature, and can be divided into three parts: the base, the shaft, and the capital. Due to differences in the size, proportion, and shape of each part, as well as variations in the treatment of the shaft and decorative patterns, diverse column styles are created.
[0004] Currently, Roman columns are typically installed by hand-drawing them onto buildings or furniture, or through manual installation, which is time-consuming and labor-intensive. For example, patent applications CN104207509A and CN104207510A disclose a method for connecting Roman column decorative strips to furniture. Both of these technical solutions involve manual installation to connect the Roman column decorative strips to the furniture.
[0005] With the development of artificial intelligence, intelligent design of Roman columns in architectural design has become a trend, and there is an urgent need for a technical solution that automatically designs the placement, height, and orientation of Roman columns for buildings. Summary of the Invention
[0006] In view of the above, the purpose of this invention is to provide a method and apparatus for recommending the placement of Roman columns in building structures, so as to automatically recommend the placement, height and orientation of Roman columns for buildings, thereby improving design efficiency and reducing design costs.
[0007] To achieve the above-mentioned objectives, an embodiment provides a method for placing Roman columns in a building structure, comprising the following steps:
[0008] For each floor of the building structure, obtain the room outline enclosed by walls and columns whose floor height is greater than the filtering threshold, and detect corner information based on the room outline;
[0009] The recommended placement location, orientation, and height of Roman columns are calculated based on corner information.
[0010] Preferably, the step of detecting corner information based on room contour includes:
[0011] The boundary enclosed by the walls is detected based on the room outline, and half the thickness of the outer wall is used as the search range for recommended placement locations. Within the search range, corners are detected and corner information is determined, including the floor where the corner is located, the corner position, and the corner direction.
[0012] Preferably, after detecting the corners, the recommended placement location for Roman columns is selected from the external corners.
[0013] Preferably, calculating the height of the Roman column based on corner information includes:
[0014] Based on the corner information, corners with the same location and adjacent floor heights are merged to obtain a corner set. For each corner set corresponding to the same location, the height of each corner is calculated according to the floor where the corner is located. The height of the Roman column is calculated by combining the heights of all corners in the corner set.
[0015] Preferably, the step of merging corners with the same location and adjacent floor heights based on corner information to obtain a corner set includes:
[0016] The corners are grouped according to their positions, and the corners in each group are sorted by floor height. For two corners with adjacent floor heights, if the top horizontal position of one corner is equal to the bottom horizontal position of the other corner, then the two corners are merged.
[0017] Preferably, the step of calculating the height of the Roman column by measuring the height of all corners in the corner set includes:
[0018] The height of the Roman column is obtained by performing Boolean operations on the height of all corners within the set of corners corresponding to each same position.
[0019] Preferably, the placement direction of the Roman column is calculated based on the corner information, including:
[0020] Based on the angle bisectors calculated from the two directions of the corner, the placement direction of the Roman column is rotation = Math.PI - a + Math.PI / 4, where Math.PI represents a straight angle of 180 degrees, and a represents the angle between the angle bisector and the horizontal x-axis.
[0021] To achieve the above-mentioned objectives, the embodiments also provide a device for recommending the placement of Roman columns in building structures, including: a detection module and a calculation module;
[0022] The detection module is used to obtain the room outline enclosed by walls and columns whose floor height is greater than the screening threshold for each floor of the building structure, and to detect corner information based on the room outline;
[0023] The calculation module is used to calculate the recommended placement location, orientation, and height of the Roman column based on corner information.
[0024] To achieve the above-mentioned objectives, the embodiments also provide a computing device, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, it is used to implement the method for placing Roman columns in the above-mentioned building structure.
[0025] To achieve the above-mentioned objectives, the embodiments also provide a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the above-mentioned method for placing Roman columns in architectural structures.
[0026] Compared with existing technologies, the method and apparatus for recommending the placement of Roman columns in a building structure provided by this invention first detects the corner information of the room outline, and then automatically calculates the recommended placement position, direction and height of the Roman columns based on the corner information. This eliminates the need for manual design recommendations, and the entire process is completed automatically, greatly improving design efficiency and reducing design costs. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a flowchart illustrating the recommended method for placing Roman columns in a building structure, as provided in the embodiment.
[0029] Figure 2 This is a schematic diagram of room contour detection provided in the embodiment;
[0030] Figure 3 This is a schematic diagram of height calculation provided in the embodiment;
[0031] Figure 4 This is a schematic diagram of the corner placement direction provided in the embodiment;
[0032] Figure 5 This is a flowchart illustrating the implementation of the recommended method for placing Roman columns in a building structure, as provided in the embodiment.
[0033] Figure 6This is a schematic diagram of the structure of the device recommended for placing Roman columns in the building structure provided in the embodiment;
[0034] Figure 7 This is a schematic diagram of the computing device provided in the embodiment. Detailed Implementation
[0035] 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 of the invention and do not limit the scope of protection of this invention.
[0036] The technical concept of this invention is as follows: To automatically recommend the placement, height, and orientation of Roman columns for buildings, embodiments of this invention provide a method and apparatus for recommending the placement of Roman columns in a building structure. The key to generating recommended Roman column placement lies in calculating the position, height, and orientation of the Roman columns. The position needs to be calculated horizontally for each floor, the height needs to be calculated vertically for the entire building, and the orientation depends on the relationship between the Roman column's placement and other components. Furthermore, the condition for recommending the placement of Roman columns is the presence of an external corner of the building's exterior wall.
[0037] Based on the above inventive concept, such as Figure 1 As shown in the embodiment, a method for placing Roman columns in a building structure is provided, including the following steps:
[0038] S11: For each floor of the building structure, obtain the room outline enclosed by walls and columns whose floor height is greater than the filtering threshold, and detect corner information based on the room outline.
[0039] In this embodiment, for each floor of the building structure, the room outline enclosed by walls and columns with a floor height greater than a filtering threshold (e.g., 1500mm) is obtained. Specifically, the boundary enclosed by the walls is detected for the room outline, and half the thickness of the outer wall is used as the search range for recommended placement locations. Figure 2 As shown, corners are detected and corner information is determined within the search range. The corner information includes the floor where the corner is located, the corner position, and the corner direction. The corner direction refers to the direction information of the two sides of the corner. This corner information is stored in the corner data structure CornerInfo.
[0040] S12, calculates the recommended placement location, orientation, and height of the Roman column based on corner information.
[0041] In this embodiment, after detecting corners, recommended placement locations for Roman columns are selected from those with protruding corners. Here, a protruding corner refers to a corner protruding from the wall surface.
[0042] In this embodiment, corners with the same location and adjacent floor heights are merged according to the corner information to obtain a corner set. For each corner set corresponding to the same location, the height of each corner is calculated based on the floor where the corner is located, and converted into a data structure CandidateColumn for recommending the placement of Roman columns. The height of the Roman column is calculated by taking the height of all corners in the corner set. Specifically, the height of the Roman column is obtained by performing Boolean operations on the height of all corners in each corner set corresponding to the same location.
[0043] More specifically, during the conversion from the corner data structure CornerInfo to the CandidateColumn data structure, the recommended height for placing Roman columns is calculated based on the floor height bound at the corner:
[0044] like Figure 3 As shown, Height (total) = (top elevation - bottom elevation) - (Height (floor height of the floor where the top elevation is located) - Height (height of the tallest column or wall on the floor where the current location is located)), that is: green line = red line - (yellow line - blue line).
[0045] In this embodiment, after obtaining the corner information, the direction of the Roman column is calculated based on the directions of both sides of the corner. Specifically, as shown below... Figure 4 As shown, the angle bisector BD is calculated based on the left direction LD and the right direction RD of the corner. Then, the placement direction of the Roman column is rotation = Math.PI - a + Math.PI / 4, where Math.PI represents a straight angle of 180 degrees and a represents the angle between the angle bisector and the horizontal x-axis.
[0046] The embodiment also provides specific implementation steps for a method of recommending the placement of Roman columns in a building structure, such as... Figure 5 As shown, it includes:
[0047] Obtain the room outlines formed by walls and columns on all floors with a height greater than the filtering threshold (e.g., 1500mm). Find all boundaries enclosed by walls from the room outlines. Calculate the two-dimensional geometric surfaces (GeomFace2d) based on half the thickness of the outer walls. Perform a Boolean union operation on the GeomFace2d of each floor to merge them. Calculate the convex corner points of each floor based on the merged results and record the corner information CornerInfo, specifically including the floor where the corner is located, the corner position (position(2d)), and the corner direction. Group the corners according to position(2d) and sort them according to the floor height. Determine that the number of unmerged corners in each group is not 1 (i.e., the group leader). If the value is not 1 (i.e., group.length is not 1), then the two adjacent corners are judged. Specifically, it is judged whether the top horizontal position TL of corner 1 is equal to the bottom horizontal position BL of corner 2 (TL === BL?). If they are equal, the corners are merged and the process is recursively repeated. When the number of unmerged corners in each group is 1 or TL and BL are not equal, the merged corner information is obtained. Based on the merged corner information, the height and placement direction of the corner are calculated and converted into a CandidateColumn data structure. The CandidateColumns in the same position are then subjected to a Boolean union operation to obtain the final CandidateColumn, which contains the final corner height.
[0048] Based on the same inventive concept, such as Figure 6 As shown, the embodiment also provides a device 60 for recommending the placement of Roman columns in a building structure, including a detection module 61 and a calculation module 62. The detection module 61 is used to obtain the room outline enclosed by walls and columns with a floor height greater than a screening threshold for each floor of the building structure and to detect corner information based on the room outline. The calculation module 62 is used to calculate the recommended placement position, placement direction and height of the Roman columns based on the corner information.
[0049] In the detection module 61, corner information is detected based on the room outline, including: detecting the boundary formed by the walls based on the room outline, and taking half the thickness of the outer wall as the search range for the recommended placement location, detecting corners within the search range and determining corner information, wherein the corner information includes the floor where the corner is located, the corner position, and the corner direction.
[0050] In the calculation module 62, after detecting corners, the recommended placement positions for Roman columns with external corners are selected.
[0051] In calculation module 62, the height of the Roman column is calculated based on the corner information, including: merging corners with the same location and adjacent floor heights to obtain a corner set; for each corner set corresponding to the same location, calculating the height of each corner based on the floor where the corner is located; and calculating the height of the Roman column by combining the heights of all corners in the corner set. Specifically, the height of the Roman column is obtained by performing Boolean operations on the heights of all corners in each corner set corresponding to the same location.
[0052] In the calculation module 62, corners with the same corner position and adjacent floor height are merged according to the corner information to obtain a corner set, including: grouping the corners according to the same position and sorting the corners in each group according to the floor height. For two adjacent floor heights, if the top horizontal position of one corner is equal to the bottom horizontal position of the other corner, then the two corners are merged.
[0053] In calculation module 62, the placement direction of the Roman column is calculated based on the corner information, including: calculating the angle bisector based on the two directions of the corner, then the placement direction of the Roman column is rotation = Math.PI - a + Math.PI / 4, where Math.PI represents a straight angle of 180 degrees, and a represents the angle between the angle bisector and the horizontal x-axis.
[0054] Based on the same inventive concept, the embodiment also provides a computing device, including a memory and one or more processors. The memory stores executable code, and when the one or more processors execute the executable code, it is used to implement the method for placing Roman columns in the above-mentioned building structure, specifically including the following steps:
[0055] S11, for each floor of the building structure, obtain the room outline enclosed by walls and columns whose floor height is greater than the filtering threshold, and detect corner information based on the room outline;
[0056] S12, calculates the recommended placement location, orientation, and height of the Roman column based on corner information.
[0057] like Figure 7 As shown, the computing device provided in this embodiment, at the hardware level, includes not only a processor and memory, but also internal buses, network interfaces, memory, and other hardware required for business operations. The memory is non-volatile memory. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to implement the method for placing Roman columns in the building structure described in S11-S12 above. Of course, besides software implementation, this invention does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution entity of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.
[0058] Based on the same inventive concept, the embodiments also provide a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the method for placing Roman columns in the above-mentioned building structure, specifically including the following steps:
[0059] S11, for each floor of the building structure, obtain the room outline enclosed by walls and columns whose floor height is greater than the filtering threshold, and detect corner information based on the room outline;
[0060] S12, calculates the recommended placement location, orientation, and height of the Roman column based on corner information.
[0061] In this embodiment, computer-readable media includes both permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0062] The specific embodiments described above illustrate the technical solution and beneficial effects of the present invention in detail. It should be understood that the above description is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, additions, and equivalent substitutions made within the scope of the principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for placing Roman columns in a building structure, characterized in that, Includes the following steps: For each floor of the building structure, the room outline enclosed by walls and columns whose floor height is greater than the filtering threshold is obtained, and corner information is detected based on the room outline. The corner information includes the floor where the corner is located, the corner position, and the corner direction. The recommended placement location, orientation, and height of the Roman column are calculated based on corner information. The calculation of the height of the Roman column based on the corner information includes: merging corners with the same location and adjacent floor heights to obtain a corner set; for each corner set corresponding to the same location, calculating the height of each corner based on the floor where the corner is located; and calculating the height of the Roman column by combining the heights of all corners in the corner set.
2. The method for placing Roman columns in a building structure according to claim 1, characterized in that, The corner information detected based on the room contour includes: The boundary enclosed by the walls is detected based on the room outline, and half the thickness of the outer wall is used as the search range for the recommended placement location. Corners are detected within the search range and corner information is determined.
3. The method for placing Roman columns in a building structure according to claim 2, characterized in that, After detecting the corners, we selected the recommended placement locations where the outside corners were Roman columns.
4. The method for placing Roman columns in a building structure according to claim 1, characterized in that, The step of merging corners with the same location and adjacent floor heights based on corner information to obtain a corner set includes: The corners are grouped according to their positions, and the corners in each group are sorted by floor height. For two corners with adjacent floor heights, if the top horizontal position of one corner is equal to the bottom horizontal position of the other corner, then the two corners are merged.
5. The method for placing Roman columns in a building structure according to claim 1, characterized in that, The calculation of the height of the Roman column by including the height of all corners in the corner set includes: The height of the Roman column is obtained by performing Boolean operations on the height of all corners within the set of corners corresponding to each same position.
6. The method for placing Roman columns in a building structure according to claim 2, characterized in that, Calculate the placement orientation of Roman columns based on corner information, including: Based on the angle bisectors calculated from the two directions of the corner, the placement direction of the Roman column is rotation = Math.PI - a + Math.PI / 4, where Math.PI represents a straight angle of 180 degrees, and a represents the angle between the angle bisector and the horizontal x-axis.
7. A device for placing Roman columns in a building structure, characterized in that, include: Detection module, calculation module; The detection module is used to obtain the room outline enclosed by walls and columns whose floor height is greater than the screening threshold for each floor of the building structure, and to detect corner information based on the room outline. The corner information includes the floor where the corner is located, the corner position, and the corner direction. The calculation module is used to calculate the recommended placement location, orientation, and height of the Roman column based on corner information; The calculation of the height of the Roman column based on the corner information includes: merging corners with the same location and adjacent floor heights to obtain a corner set; for each corner set corresponding to the same location, calculating the height of each corner based on the floor where the corner is located; and calculating the height of the Roman column by combining the heights of all corners in the corner set.
8. A computing device comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that, When the one or more processors execute the executable code, they are used to implement the method for placing Roman columns in the building structure recommended in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, It stores a program that, when executed by a processor, implements the method of placing Roman columns in the building structure recommended in any one of claims 1-6.