Method, device, equipment and readable storage medium for generating additional reinforcement in a wall
By receiving additional rib attribute information and wall element size information, and automatically compute and generate additional rib elements, the problems of low efficiency and poor intuitiveness in the existing technology are solved, and efficient additional rib design and modification are achieved.
Patent Information
- Application Number
- CN202210767998.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The prior art is inefficient in generating additional ribs in walls, and it is impossible to automatically calculate the size and number of additional ribs, and it is impossible to intuitively observe the direction and position of additional ribs, which affects the user experience.
By receiving additional rib attribute information and wall element size information, we calculate and generate corresponding additional rib elements, including the calculation and arrangement of anchored vertical additional ribs, providing automatic calculation and automatic generation functions, supporting the addition, movement and Shape modification.
It improves the generation efficiency of additional ribs in the wall, reduces the amount of manual calculation, provides an intuitive additional rib layout, and improves the convenience of design and modification.
Smart Images

Figure CN115098925B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer-aided design, and in particular to a method, a device, a equipment and a readable storage medium for generating additional reinforcement in a wall. Background Art
[0002] During the construction phase of the project, it is necessary to add through bars to the wall structure to maintain the strength of the wall. In addition, it is also necessary to add different types of additional bars to the wall to achieve earthquake resistance and explosion-proof effects. The existing common method for generating additional bars in the wall is to manually calculate the size and quantity of the additional bars that need to be added to the wall, and then manually draw the additional bars in the wall based on the calculated size and quantity of the additional bars. When the drawing of the wall is changed, the original additional bars in the wall cannot change with the change of the wall, and the size and quantity of the additional bars need to be manually calculated again, and the additional bars are regenerated in the wall. Therefore, the generation efficiency of additional bars in the wall in the existing technology is low and the workload is large; in addition, the specific direction and position of the additional bars in the wall structure project cannot be intuitively observed in the existing technology, which affects the user experience.
[0003] Therefore, how to automatically calculate the size information and quantity information of the additional reinforcement in the wall and automatically generate the additional reinforcement in the wall has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0004] The object of the present invention is to provide a method, device, equipment and readable storage medium for generating additional reinforcement in a wall, which can efficiently and flexibly generate additional reinforcement in a wall.
[0005] According to one aspect of the present invention, a method for generating additional reinforcement in a wall is provided, the method comprising:
[0006] Receiving an instruction for adding an additional reinforcement graphic element to a target wall graphic element; wherein the instruction includes: preset additional reinforcement attribute information;
[0007] Calculate additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element;
[0008] According to the additional reinforcement size information and the additional reinforcement quantity information, each additional reinforcement graphic element corresponding to the additional reinforcement type information is generated in the target wall graphic element.
[0009] Optionally, the calculating the additional reinforcement size information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element includes:
[0010] When the additional rib type information is an anchoring type vertical additional rib, the preset exposed area length information is obtained from the additional rib attribute information; wherein the additional rib includes: an exposed area and an anchoring area, and the anchoring area includes: a bending section and a straight section;
[0011] The preset anchoring area height h1 and anchoring protection layer height h2 are obtained from the additional reinforcement attribute information, and the value of (h1-h2) is used as the bending section length information; wherein the anchoring area height h1 is used to define the distance from the intersection of the exposed area and the anchoring area to the edge of the wall element, and the anchoring protection layer height h2 is used to define the distance from the straight section to the edge of the wall element;
[0012] Obtaining a preset additional rib diameter d and a minimum straight section length w from the additional rib attribute information, and using the value of Max(n*d,w) as the straight section length information; wherein n is a positive integer;
[0013] The exposed area length information, the bent section length information and the straight section length information are used as additional rib size information.
[0014] Optionally, calculating the additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element includes:
[0015] Using the length of the target wall element as the layout range length L for arranging the additional reinforcement element;
[0016] Obtaining a preset additional rib starting distance Sd and an additional rib spacing distance D from the additional rib attribute information;
[0017] Calculate the additional reinforcement quantity information N according to the following formula:
[0018]
[0019] Optionally, generating, in the target wall element, each additional reinforcement graphic element corresponding to the additional reinforcement type information according to the additional reinforcement size information and the additional reinforcement quantity information, includes:
[0020] Obtaining the wall direction of the target wall element, and determining the starting position of the first through-bar element from the target wall element along the wall direction;
[0021] Obtaining a preset additional reinforcement spacing distance from the additional reinforcement attribute information, and setting a position along the wall direction and half the additional reinforcement spacing distance from the starting position as the starting layout position of the first additional reinforcement graphic element in the target wall graphic element;
[0022] Based on the initial layout position, the additional reinforcement spacing distance and the additional reinforcement quantity information, determining the layout positions of other additional reinforcement graphic elements in the target wall graphic element;
[0023] At each arrangement position, a corresponding additional rib graphic element is generated according to the additional rib size information.
[0024] Optionally, after generating each additional reinforcement graphic element corresponding to the additional reinforcement type information in the target wall graphic element according to the additional reinforcement size information and the additional reinforcement quantity information, the method further includes:
[0025] When an operation of adding a new additional reinforcement element is detected in the target wall element, an adding position of the new additional reinforcement element is determined based on the operation;
[0026] Determine whether an additional rib primitive already exists at the adding position;
[0027] If yes, a pop-up window is returned to prompt to redetermine the adding position; if no, a new additional element is added at the adding position according to the additional reinforcement size information of the additional reinforcement element already in the target wall element.
[0028] Optionally, after generating each additional reinforcement graphic element corresponding to the additional reinforcement type information in the target wall graphic element according to the additional reinforcement size information and the additional reinforcement quantity information, the method further includes:
[0029] When a moving operation for the target wall element is detected, the target wall element and all the additional rib elements in the target wall element are simultaneously moved according to the moving operation; or,
[0030] When a shape modification instruction for the target wall element is detected, the target wall element is modified according to the shape modification instruction, and an additional rib element is regenerated in the modified target wall element.
[0031] In order to achieve the above object, the present invention further provides a device for generating additional reinforcement in a wall, the device comprising:
[0032] A receiving module, used for receiving an instruction for adding an additional reinforcement graphic element to a target wall graphic element; wherein the instruction includes: preset additional reinforcement attribute information;
[0033] A calculation module, used for calculating additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element;
[0034] A generating module is used to generate each additional reinforcement graphic element corresponding to the additional reinforcement type information in the target wall graphic element according to the additional reinforcement size information and the additional reinforcement quantity information.
[0035] Optionally, the device further comprises:
[0036] The adding module is used to determine the adding position of the new additional reinforcement element based on the operation when an operation of adding a new additional reinforcement element is detected in the target wall element; judge whether an additional reinforcement element already exists at the adding position; if so, return a pop-up window to prompt to redetermine the adding position; if not, add the new additional reinforcement element at the adding position according to the additional reinforcement size information of the additional reinforcement element already in the target wall element.
[0037] In order to achieve the above-mentioned purpose, the present invention also provides a computer device, which specifically includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method for generating additional reinforcement in the wall introduced above are implemented.
[0038] In order to achieve the above object, the present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for generating additional reinforcement in a wall introduced above are implemented.
[0039] The method, device, equipment and readable storage medium for generating additional reinforcement in a wall provided by the present invention can automatically calculate additional reinforcement size information and additional reinforcement quantity information based on additional reinforcement attribute information added by a user in a target wall element and size information of the target wall element, and automatically generate each additional reinforcement element in the target wall element according to the additional reinforcement size information and additional reinforcement quantity information, without the need for the user to manually calculate the size information of the additional reinforcement, thereby reducing the amount of engineering work and improving the calculation efficiency and generation efficiency. In addition, the additional reinforcement arrangement diagram obtained after generating the additional reinforcement element provides convenience for the user to design and modify the additional reinforcement, thereby improving the design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0041] Figure 1 An optional flow chart of the method for generating additional reinforcement in a wall provided in the first embodiment;
[0042] Figure 2 A schematic diagram of additional ribs provided in Example 1;
[0043] Figure 3A top view of a wall element provided in Example 1;
[0044] Figure 4 A top view of a segmented wall element provided in Example 1;
[0045] Figure 5 A schematic diagram of the anchor type vertical additional reinforcement provided in Example 1;
[0046] Figure 6 A schematic diagram of calculating the number of additional ribs provided in Example 1;
[0047] Figure 7 The arrangement diagram of the steel bars in the target wall element provided in the first embodiment;
[0048] Figure 8 A top view including additional rib size information and additional rib quantity information provided in the first embodiment;
[0049] Fig. 9 A front view including additional rib size information and additional rib quantity information provided in the first embodiment;
[0050] Fig.10 A front view of a wall element with inclined edges provided in the first embodiment;
[0051] Fig.11 A schematic diagram of the process of drawing additional ribs provided in Example 1;
[0052] Fig.12 A top view of a wall element including through ribs and additional ribs provided in the first embodiment;
[0053] Fig.13 A schematic diagram of an optional structure of the device for generating additional reinforcement in a wall provided in the second embodiment;
[0054] Fig.14 A schematic diagram of an optional hardware architecture of a computer device provided in Example 3. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0056] Embodiment 1
[0057] The embodiment of the present invention provides a method for generating additional reinforcement in a wall, such as Figure 1As shown, the method specifically comprises the following steps:
[0058] Step S101: receiving an instruction for adding an additional reinforcement graphic element to a target wall graphic element; wherein the instruction includes: preset additional reinforcement attribute information.
[0059] Specifically, Figure 2 As shown, the additional reinforcement is a reinforcement added between the through reinforcements of the wall component, which is used to maintain the earthquake resistance and explosion resistance of the wall. When a command triggered by a user to add an additional reinforcement graphic element to a target wall graphic element is received, the additional reinforcement attribute information generated by the user according to the design requirements is obtained, and the type of the additional reinforcement graphic element is added in the additional reinforcement attribute information; the type of the additional reinforcement graphic element can be divided into the following three types according to the adding position of the additional reinforcement graphic element: 1) top additional reinforcement, 2) bottom additional reinforcement, 3) combination of top additional reinforcement and bottom additional reinforcement, such as Figure 3 As shown, different patterns of additional rib elements in the top view of the wall element represent different types of additional rib elements added to the wall element.
[0060] Further, such as Figure 4 As shown, after step S101, the method further includes:
[0061] Step A1: When there is more than one type of additional reinforcement elements provided on a target wall element, determining the adding positions of the additional reinforcement elements of different types in the target wall element.
[0062] Step A2: determining a segmentation position on the target wall element according to the adding position, and truncating the target wall element according to the segmentation position to obtain a plurality of segmented wall elements.
[0063] Step A3: sequentially determining the type of the additional reinforcement corresponding to each segmented wall element.
[0064] Step A4: rejoining all segmented wall elements after determining the type of additional reinforcement to be added to generate the target wall element.
[0065] In this embodiment, two adding logics are provided for users to add additional reinforcement elements to wall elements. One is to add additional reinforcement elements to wall elements with the same name by selecting the name of the wall element, and the other is to add additional reinforcement elements to the selected wall elements by selecting one or more wall elements, which provides users with high convenience in adding additional reinforcement elements to batches of wall elements. In addition, different types of additional reinforcement elements can be set in sections on the same target wall element, which meets the design requirements of setting multiple types of additional reinforcement elements on one wall element. Users can support inputting additional reinforcement attribute information of different positions, specifications, and types in wall elements according to common design scenarios. In summary, this embodiment can determine the type of additional reinforcement element in the target wall element according to the instruction of adding additional reinforcement element issued by the user, and automatically generate additional reinforcement elements on the target wall element, without the need to manually draw additional reinforcement elements, thereby improving the efficiency of generating additional reinforcement.
[0066] Step S102: Calculate additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element.
[0067] The additional reinforcement type information includes three dimensions: additional reinforcement direction, additional reinforcement shape, and additional reinforcement layout position. From the additional reinforcement direction, the additional reinforcement can be divided into: vertical additional reinforcement and horizontal additional reinforcement; from the additional reinforcement shape, the additional reinforcement can be divided into through-type additional reinforcement and anchoring type additional reinforcement; from the additional reinforcement layout position, the additional reinforcement can be divided into top additional reinforcement and bottom additional reinforcement. Each additional reinforcement graphic element is determined by the above three dimensions. For example: anchoring type vertical bottom additional reinforcement.
[0068] Specifically, the calculating the additional reinforcement size information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element includes:
[0069] Step B1: When the additional rib type information is an anchoring type vertical additional rib, obtain preset exposed area length information from the additional rib attribute information; wherein the additional rib includes: an exposed area and an anchoring area, and the anchoring area includes: a bent section and a straight section.
[0070] Specifically, the anchor type vertical additional reinforcement is an additional reinforcement added between every two adjacent through reinforcements in the target wall element, such as Figure 5As shown, the anchorage type vertical additional reinforcement is composed of an exposed area and an anchorage area. The exposed area is the part of the additional reinforcement exposed in the anchorage area of the wall in the wall element. The anchorage area is the part of the additional reinforcement bent and inserted into the wall element. The anchorage area can improve the seismic resistance and stability of the wall. The anchorage area includes: a bent section and a straight section. The bent section is a part of the additional reinforcement connected to the bottom of the exposed area of the additional reinforcement and the straight section. When calculating the length of the anchorage type vertical additional reinforcement, the preset exposed area length information can be obtained from the additional reinforcement attribute information, and then the length of the anchorage type vertical additional reinforcement can be obtained by calculating the bent section length information and the straight section length information.
[0071] Step B2: Obtain the preset anchoring area height h1 and anchoring protection layer height h2 from the additional reinforcement attribute information, and use the value of (h1-h2) as the bending section length information; wherein, the anchoring area height h1 is used to define the distance from the intersection of the exposed area and the anchoring area to the edge of the wall element, and the anchoring protection layer height h2 is used to define the distance from the straight section to the edge of the wall element.
[0072] Step B3: Obtain the preset additional rib diameter d and the minimum straight section length w from the additional rib attribute information, and use the value of Max(n*d,w) as the straight section length information, where n is a positive integer.
[0073] Among them, the Max(n*d,w) is because in the architectural design regulations, there is a minimum straight section length of the anchoring part. When the value of n*d is less than the minimum straight section length w, w is used as the straight section length information of the additional reinforcement. When the value of n*d is greater than or equal to the minimum straight section length w, n*d is used as the straight section length information of the additional reinforcement. Preferably, n is 6 and w is 150.
[0074] Step B4: Using the exposed area length information, the bent section length information and the straight section length information as additional rib size information.
[0075] Further, the additional reinforcement quantity information is calculated according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element, including:
[0076] Step C1: taking the length of the target wall element as the layout range length L for arranging additional reinforcement elements.
[0077] When calculating the vertical additional reinforcement in the wall element, Figure 6As shown, the layout range length L is the length of the wall element remaining after deducting the hidden column, constraint edge component, end intersection wall, and civil defense wall intersecting with the wall element from the horizontal length of the wall element. When calculating the horizontal additional reinforcement in the wall element, the layout range length L is the vertical height of the wall element after deducting the bottom plate height, top plate height, and top beam height intersecting with the wall element.
[0078] Step C2: Obtaining a preset additional rib starting distance Sd and additional rib spacing distance D from the additional rib attribute information.
[0079] As shown in the figure, after the generation of the through bars has been completed in the wall element, the starting distance of the additional bars is the sum of half of the spacing between two adjacent through bars and the starting distance of the through bars, and the spacing between the additional bars is the same as the spacing between two adjacent through bars.
[0080] Step C3: Calculate the additional reinforcement quantity information N according to the following formula:
[0081]
[0082] Among them, the additional reinforcement quantity information N is an integer obtained by rounding down the formula: (L-Sd*2)÷D. In the conventional additional reinforcement calculation process, the additional reinforcement quantity information N is often equal to the number of through bars in the target wall element minus 1. In addition, the additional reinforcement quantity information can be adaptively adjusted according to user needs based on actual conditions.
[0083] In this embodiment, the additional reinforcement size information and additional reinforcement quantity information are automatically calculated based on the size information of the wall element and the additional reinforcement attribute information, meeting the calculation of the additional reinforcement size information and additional reinforcement quantity information of three different situations: bottom additional reinforcement, top additional reinforcement, and the combination of top additional reinforcement and bottom additional reinforcement, so as to complete the user's needs of calculating the steel bar volume and arranging the cutting. There is no need for the user to manually calculate the size information of the additional reinforcement, which reduces the engineering workload and improves the calculation efficiency.
[0084] Step S103: generating, in the target wall element, each additional reinforcement graphic element corresponding to the additional reinforcement type information according to the additional reinforcement size information and the additional reinforcement quantity information.
[0085] The reinforcement arrangement diagram of the additional reinforcement element in the target wall element is as follows: Figure 7 As shown in the figure, the reinforcement layout diagram can meet the needs of users to intuitively view the location of additional reinforcement and perform secondary editing on the additional reinforcement. Figure 8 and Fig. 9 As shown, the additional reinforcement size information and additional reinforcement quantity information can be viewed in the top view and the main view of the target wall element in the layout diagram.
[0086] Specifically, the step S103 includes the following steps:
[0087] Step D1: Obtain the wall direction of the target wall element, and determine the starting position of the first through-bar element from the target wall element along the wall direction.
[0088] The wall direction of the target wall element is the direction set by the target wall element in the design drawing. After the wall direction is determined, the left and right sides of the target wall element are obtained based on the wall direction. When the user adds additional reinforcement to the target wall element, the additional reinforcement can be set to be added to the left or right side of the target wall element to limit the layout position of the additional reinforcement, making the design of the additional reinforcement more flexible. The starting position of the first through-bar element is the middle position between the first through-bar and the second through-bar along the wall direction in the target wall element.
[0089] Step D2: Obtain a preset additional reinforcement spacing distance from the additional reinforcement attribute information, and set a position along the wall direction and half the additional reinforcement spacing distance from the starting position as the starting layout position of the first additional reinforcement element in the target wall element.
[0090] The preset additional reinforcement spacing distance is the same as the spacing between two adjacent through reinforcements in the wall element.
[0091] Step D3: Based on the initial layout position, the additional reinforcement spacing distance and the additional reinforcement quantity information, the layout positions of other additional reinforcement elements are determined in the target wall element.
[0092] Step D4: Generate corresponding additional rib graphic elements at each layout position according to the additional rib size information.
[0093] Further, such as Fig.10 As shown, when there is an angle between the bottom edge of the target wall element and the ground, the method further includes:
[0094] Step E1: Obtain the layout position of each additional reinforcement element in the target wall element.
[0095] Step E2: When the bottom edge of the target wall element is not parallel to the ground, determine the layout position of the target additional reinforcement element added to the portion of the wall element that is not parallel to the ground in the vertical direction.
[0096] Among them, as shown in the figure, there are sump pits at the bottom of the wall in some wall elements or the bottom of the foundation of some wall elements is uneven, so the preset anchor area height of the wall element cannot be directly obtained, and it is necessary to obtain the actual anchor area height of each position according to the position of the additional reinforcement in the wall element that is not parallel to the ground, and then calculate the bending section length information of the additional reinforcement according to the actual anchor area height, so that the size calculation of the additional reinforcement is more flexible and quick, adapts to the actual design situation, and improves the calculation efficiency of the additional reinforcement size.
[0097] Step E3: sequentially obtain the height hx of the anchoring area on the straight line where the target additional reinforcement element is located and the height h2 of the anchoring protection layer from the target wall element, and use the value of (hx-h2) as the bending section length information of the target additional reinforcement element.
[0098] The anchoring area height hx is determined by the anchoring area height of the actual wall element.
[0099] Step E4: Obtain the preset additional rib diameter d and the minimum straight section length w from the additional rib attribute information, and use the value of Max(n*d,w) as the straight section length information.
[0100] Step E5: Acquire the exposed area length information of the target additional rib graphic element, and use the exposed area length information, the bending section length information and the straight section length information as the size information of the target additional rib graphic element.
[0101] In this embodiment, the additional reinforcement size information and additional reinforcement quantity information are automatically calculated based on the size information of the wall element and the additional reinforcement attribute information. When there is a sump at the bottom of the wall in some wall elements or the bottom of the foundation of some wall elements is uneven, the actual anchorage area height of each additional reinforcement is automatically identified, and then the length information of each additional reinforcement is calculated one by one without manual calculation, thereby solving the problems of inaccurate calculation of the additional reinforcement length information and low calculation efficiency when the bottom is uneven.
[0102] Further, such as Fig.11 As shown in the figure, after step S103, the method further includes:
[0103] Step F1: when an operation of adding a new additional reinforcement element is detected in the target wall element, an adding position of the new additional reinforcement element is determined based on the operation.
[0104] Step F2: determining whether an additional rib primitive already exists at the adding position;
[0105] Step F3: If yes, return to the pop-up window to prompt to redetermine the adding position; if no, add a new additional element at the adding position according to the additional reinforcement size information of the additional reinforcement element already in the target wall element.
[0106] Specifically, the step F2 includes:
[0107] Step F21: Determine that two endpoints of the newly added additional reinforcement element are detected in the target wall element.
[0108] Step F22: Determine whether an additional rib primitive already exists at the adding position of the first end point of the new additional rib primitive, and if so, determine whether an additional rib primitive already exists at the adding position of the second end point of the new additional rib primitive.
[0109] The new additional reinforcement element is simplified into two endpoints to simplify the judgment of whether the additional reinforcement element exists at the adding position in the target wall element.
[0110] In this embodiment, after the additional reinforcement is automatically generated in the target wall element, the user is provided with the logic for adding the customized drawing of the additional reinforcement. By judging whether there is an additional reinforcement element that has been generated at the same position, new additional reinforcement is customized according to the design requirements. The additional reinforcement is added to the wall element by combining automatic generation and manual generation, making the design process more flexible and efficient and meeting the personalized needs of different users.
[0111] Furthermore, after step S103, the method further includes:
[0112] Step G1: when a moving operation for the target wall element is detected, the target wall element and all the additional rib elements in the target wall element are simultaneously moved according to the moving operation; or,
[0113] Among them, the moving operation includes moving, copying, rotating and mirroring the target wall element. The moving operation does not change the size information, the number of additional reinforcements and the additional reinforcement adding position in the target wall element. The additional reinforcement and the target wall element are moved synchronously without the need to modify the additional reinforcement in the target wall element for the second time.
[0114] Step G2: when a shape modification instruction for the target wall element is detected, the target wall element is modified according to the shape modification instruction, and an additional rib element is regenerated in the modified target wall element.
[0115] Among them, Fig.12 As shown, the shape modification includes extending, shortening, trimming, interrupting, closing, etc. of the target wall element. The shape modification modifies the length of the target wall element, so the additional reinforcement element in the modified target wall element changes. It is necessary to regenerate the additional reinforcement element in the modified target wall element based on the additional reinforcement attribute information originally added in the target wall element.
[0116] In this embodiment, additional reinforcement size information and additional reinforcement quantity information can be calculated based on additional reinforcement attribute information added to the target wall element and size information of the target wall element, and each additional reinforcement element corresponding to the additional reinforcement type information is generated in the target wall element based on the additional reinforcement size information and additional reinforcement quantity information, and a layout diagram for displaying the additional reinforcement element is generated for users to view and modify at any time. At the same time, a modification logic is provided for users to customize the additional reinforcement based on design requirements, and additional reinforcement elements can be freely viewed, added, and modified in the target wall element at any time. In addition, when the target wall model changes, the additional reinforcement element in the target wall model will change accordingly with the change of the target wall model, which provides convenience for users' design modifications and improves design efficiency.
[0117] Embodiment 2
[0118] The embodiment of the present invention provides a device for generating additional reinforcement in a wall, such as Fig.13 As shown, the device specifically includes the following components:
[0119] The receiving module 1301 is used to receive an instruction for adding an additional reinforcement element to a target wall element; wherein the instruction includes: preset additional reinforcement attribute information;
[0120] A calculation module 1302 is used to calculate additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element;
[0121] The generating module 1303 is used to generate each additional reinforcement graphic element corresponding to the additional reinforcement type information in the target wall graphic element according to the additional reinforcement size information and the additional reinforcement quantity information.
[0122] The receiving module 1301 is used for:
[0123] When there is more than one type of additional reinforcement graphic elements set on a target wall graphic element, determining the adding positions of the additional reinforcement graphic elements of different types in the target wall graphic element;
[0124] Determine a segmentation position on the target wall element according to the adding position, and cut off the target wall element according to the segmentation position to obtain a plurality of segmented wall elements;
[0125] Determining in each segmented wall element the type of the additional reinforcement corresponding to the segmented wall element in turn;
[0126] All segmented wall elements after the type of additional reinforcement is determined to be added are rejoined to generate the target wall element.
[0127] Specifically, the calculation module 1302 is used to:
[0128] When the additional rib type information is an anchoring type vertical additional rib, the preset exposed area length information is obtained from the additional rib attribute information; wherein the additional rib includes: an exposed area and an anchoring area, and the anchoring area includes: a bending section and a straight section;
[0129] The preset anchoring area height h1 and anchoring protection layer height h2 are obtained from the additional reinforcement attribute information, and the value of (h1-h2) is used as the bending section length information; wherein the anchoring area height h1 is used to define the distance from the intersection of the exposed area and the anchoring area to the edge of the wall element, and the anchoring protection layer height h2 is used to define the distance from the straight section to the edge of the wall element;
[0130] Obtaining a preset additional rib diameter d and a minimum straight section length w from the additional rib attribute information, and using the value of Max(n*d,w) as the straight section length information; wherein n is a positive integer;
[0131] The exposed area length information, the bent section length information and the straight section length information are used as additional rib size information.
[0132] Furthermore, the calculation module 1302 is also used for:
[0133] Using the length of the target wall element as the layout range length L for arranging the additional reinforcement element;
[0134] Obtaining a preset additional rib starting distance Sd and an additional rib spacing distance D from the additional rib attribute information;
[0135] Calculate the additional reinforcement quantity information N according to the following formula:
[0136]
[0137] Specifically, the generation module 1303 includes:
[0138] Obtaining the wall direction of the target wall element, and determining the starting position of the first through-bar element from the target wall element along the wall direction;
[0139] Obtaining a preset additional reinforcement spacing distance from the additional reinforcement attribute information, and setting a position along the wall direction and half the additional reinforcement spacing distance from the starting position as the starting layout position of the first additional reinforcement graphic element in the target wall graphic element;
[0140] Based on the initial layout position, the additional reinforcement spacing distance and the additional reinforcement quantity information, determining the layout positions of other additional reinforcement graphic elements in the target wall graphic element;
[0141] At each arrangement position, a corresponding additional rib graphic element is generated according to the additional rib size information.
[0142] Furthermore, the generating module 1303 is used to:
[0143] When an operation of adding a new additional reinforcement element is detected in the target wall element, an adding position of the new additional reinforcement element is determined based on the operation;
[0144] Determine whether an additional rib primitive already exists at the adding position;
[0145] If yes, a pop-up window is returned to prompt to redetermine the adding position; if no, a new additional element is added at the adding position according to the additional reinforcement size information of the additional reinforcement element already in the target wall element.
[0146] Furthermore, the generating module 1303 is also used for:
[0147] Obtaining the layout position of each additional reinforcement element in the target wall element;
[0148] When the bottom edge of the target wall element is not parallel to the ground, determining the layout position of the target additional reinforcement element added to the portion of the wall element that is not parallel to the ground in the vertical direction;
[0149] Sequentially obtain the height hx of the anchoring area on the straight line where the target additional reinforcement element is located and the height h2 of the anchoring protection layer from the target wall element, and use the value of (hx-h2) as the bending section length information of the target additional reinforcement element;
[0150] Obtaining a preset additional rib diameter d and a minimum straight section length w from the additional rib attribute information, and using the value of Max(n*d,w) as the straight section length information;
[0151] The exposed area length information of the target additional rib graphic element is obtained, and the exposed area length information, the bent section length information and the straight section length information are used as the size information of the target additional rib graphic element.
[0152] Furthermore, the generating module 1303 includes:
[0153] a determining unit, configured to, when an operation of adding a new additional reinforcement element is detected in the target wall element, determine an adding position of the new additional reinforcement element based on the operation;
[0154] The judgment unit is used to judge whether an additional reinforcement graphic element already exists at the adding position; if so, a pop-up window is returned to prompt to redetermine the adding position; if not, a new additional graphic element is added at the adding position according to the additional reinforcement size information of the additional reinforcement graphic element already in the target wall graphic element.
[0155] The judging unit is used for:
[0156] Determine that two endpoints of a new additional reinforcement element are detected in the target wall element;
[0157] It is determined whether an additional rib primitive already exists at the adding position of the first end point of the new additional rib primitive. If so, it is determined whether an additional rib primitive already exists at the adding position of the second end point of the new additional rib primitive.
[0158] Furthermore, the generating module 1303 is further used for:
[0159] When a moving operation for the target wall element is detected, the target wall element and all the additional rib elements in the target wall element are simultaneously moved according to the moving operation; or,
[0160] When a shape modification instruction for the target wall element is detected, the target wall element is modified according to the shape modification instruction, and an additional rib element is regenerated in the modified target wall element.
[0161] Embodiment 3
[0162] This embodiment also provides a computer device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that can execute programs. Fig.14 As shown, the computer device 140 of this embodiment includes at least but not limited to: a memory 1401 and a processor 1402 that can communicate with each other via a system bus. It should be noted that Fig.14 Only computer device 140 is shown with components 1401 - 1402 , but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0163] In this embodiment, the memory 1401 (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 1401 can be an internal storage unit of the computer device 140, such as a hard disk or memory of the computer device 140. In other embodiments, the memory 1401 can also be an external storage device of the computer device 140, such as a plug-in hard disk equipped on the computer device 140, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 1401 can also include both the internal storage unit of the computer device 140 and its external storage device. In this embodiment, the memory 1401 is generally used to store the operating system and various application software installed on the computer device 140. In addition, the memory 1401 can also be used to temporarily store various types of data that have been output or are to be output.
[0164] In some embodiments, the processor 1402 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips that generate additional ribs in the wall. The processor 1402 is generally used to control the overall operation of the computer device 140.
[0165] Specifically, in this embodiment, the processor 1402 is used to execute the program of the method for generating additional reinforcement in the wall stored in the memory 1401, and the program of the method for generating additional reinforcement in the wall implements the following steps when being executed:
[0166] Receiving an instruction for adding an additional reinforcement graphic element to a target wall graphic element; wherein the instruction includes: preset additional reinforcement attribute information;
[0167] Calculate additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element;
[0168] According to the additional reinforcement size information and the additional reinforcement quantity information, each additional reinforcement graphic element corresponding to the additional reinforcement type information is generated in the target wall graphic element.
[0169] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.
[0170] Embodiment 4
[0171] This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored. When the computer program is executed by a processor, the following method steps are implemented:
[0172] Receiving an instruction for adding an additional reinforcement graphic element to a target wall graphic element; wherein the instruction includes: preset additional reinforcement attribute information;
[0173] Calculate additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element;
[0174] According to the additional reinforcement size information and the additional reinforcement quantity information, each additional reinforcement graphic element corresponding to the additional reinforcement type information is generated in the target wall graphic element.
[0175] The specific implementation process of the above method steps can be found in Example 1, and this embodiment will not be repeated here.
[0176] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0177] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0178] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0179] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for generating additional reinforcement in a wall, characterized in that: The method comprises: Receiving an instruction for adding an additional reinforcement graphic element to a target wall graphic element; wherein the instruction includes: preset additional reinforcement attribute information; Calculate additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element; Generating, in the target wall element, each additional reinforcement graphic element corresponding to the additional reinforcement type information according to the additional reinforcement size information and the additional reinforcement quantity information; The additional rib size information is obtained in the following manner, including: When the additional rib type information is an anchoring type vertical additional rib, the preset exposed area length information is obtained from the additional rib attribute information; wherein the additional rib includes: an exposed area and an anchoring area, and the anchoring area includes: a bending section and a straight section; The preset anchoring area height h1 and anchoring protection layer height h2 are obtained from the additional reinforcement attribute information, and the value of (h1-h2) is used as the bending section length information; wherein the anchoring area height h1 is used to define the distance from the intersection of the exposed area and the anchoring area to the edge of the wall element, and the anchoring protection layer height h2 is used to define the distance from the straight section to the edge of the wall element; Obtaining a preset additional rib diameter d and a minimum straight section length w from the additional rib attribute information, and using the value of Max(n*d,w) as the straight section length information; wherein n is a positive integer; The exposed area length information, the bent section length information and the straight section length information are used as additional rib size information.
2. The method for generating additional reinforcement in a wall according to claim 1, characterized in that: Calculating the additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element includes: Using the length of the target wall element as the layout range length L for arranging the additional reinforcement element; Obtaining a preset additional rib starting distance Sd and an additional rib spacing distance D from the additional rib attribute information; Calculate the additional reinforcement quantity information N according to the following formula:
3. The method for generating additional reinforcement in a wall according to claim 1, characterized in that: Generating, in the target wall element, each additional reinforcement graphic element corresponding to the additional reinforcement type information according to the additional reinforcement size information and the additional reinforcement quantity information, comprises: Obtaining the wall direction of the target wall element, and determining the starting position of the first through-bar element from the target wall element along the wall direction; Obtaining a preset additional reinforcement spacing distance from the additional reinforcement attribute information, and setting a position along the wall direction and half the additional reinforcement spacing distance from the starting position as the starting layout position of the first additional reinforcement graphic element in the target wall graphic element; Based on the initial layout position, the additional reinforcement spacing distance and the additional reinforcement quantity information, determining the layout positions of other additional reinforcement graphic elements in the target wall graphic element; At each arrangement position, a corresponding additional rib graphic element is generated according to the additional rib size information.
4. The method for generating additional reinforcement in a wall according to claim 1, characterized in that: After generating each additional reinforcement graphic element corresponding to the additional reinforcement type information in the target wall graphic element according to the additional reinforcement size information and the additional reinforcement quantity information, the method further includes: When an operation of adding a new additional reinforcement graphic element is detected in the target wall graphic element, an adding position of the new additional reinforcement graphic element is determined based on the operation; Determine whether an additional rib primitive already exists at the adding position; If yes, a pop-up window is returned to prompt to redetermine the adding position; if no, a new additional element is added at the adding position according to the additional reinforcement size information of the additional reinforcement element already in the target wall element.
5. The method for generating additional reinforcement in a wall according to claim 1, characterized in that: After generating each additional reinforcement graphic element corresponding to the additional reinforcement type information in the target wall graphic element according to the additional reinforcement size information and the additional reinforcement quantity information, the method further includes: When a moving operation for the target wall element is detected, the target wall element and all the additional rib elements in the target wall element are simultaneously moved according to the moving operation; or, When a shape modification instruction for the target wall element is detected, the target wall element is modified according to the shape modification instruction, and an additional rib element is regenerated in the modified target wall element.
6. A device for generating additional reinforcement in a wall, characterized in that: The device comprises: A receiving module, used for receiving an instruction for adding an additional reinforcement graphic element to a target wall graphic element; wherein the instruction includes: preset additional reinforcement attribute information; A calculation module, used for calculating additional reinforcement size information and additional reinforcement quantity information according to the additional reinforcement type information in the additional reinforcement attribute information and the size information of the target wall element; A generating module, configured to generate, in the target wall element, each additional reinforcement graphic element corresponding to the additional reinforcement type information according to the additional reinforcement size information and the additional reinforcement quantity information; Wherein, the computing module is also used for: When the additional rib type information is an anchoring type vertical additional rib, the preset exposed area length information is obtained from the additional rib attribute information; wherein the additional rib includes: an exposed area and an anchoring area, and the anchoring area includes: a bending section and a straight section; The preset anchoring area height h1 and anchoring protection layer height h2 are obtained from the additional reinforcement attribute information, and the value of (h1-h2) is used as the bending section length information; wherein the anchoring area height h1 is used to define the distance from the intersection of the exposed area and the anchoring area to the edge of the wall element, and the anchoring protection layer height h2 is used to define the distance from the straight section to the edge of the wall element; Obtaining a preset additional rib diameter d and a minimum straight section length w from the additional rib attribute information, and using the value of Max(n*d,w) as the straight section length information; wherein n is a positive integer; The exposed area length information, the bent section length information and the straight section length information are used as additional rib size information.
7. The device for generating additional reinforcement in a wall according to claim 6, characterized in that: The device also includes: The adding module is used to determine the adding position of the new additional reinforcement element based on the operation when an operation of adding a new additional reinforcement element is detected in the target wall element; judge whether an additional reinforcement element already exists at the adding position; if so, return a pop-up window to prompt to redetermine the adding position; if not, add the new additional reinforcement element at the adding position according to the additional reinforcement size information of the additional reinforcement element already in the target wall element.
8. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
