Method, device and equipment for determining three-dimensional model of steel bars of arched buildings
By cutting and segmenting the 3D model of the arched building, the steel bar lines are generated that better fit the actual shape, which solves the problem of the large gap between the arched building steel bar model and the actual building shape in the existing technology, and achieves a more accurate calculation of the steel bar amount. and build.
Patent Information
- Application Number
- CN202011563734.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-12-25
AI Technical Summary
The existing 3D model of arched building steel bars is displayed in straight lines, which is difficult to fit the actual building shape, resulting in a large gap with the actual building.
By cutting the 3D model of the arched building, it is divided into at least two parts, the steel bar lines are determined respectively, and the 3D steel bar model is generated based on these steel bar lines, and the cutting surface is used to cut multiple times to better fit the building shape.
This ensures that the three-dimensional model of the steel bars is more consistent with the actual shape of the arched building, improving the accuracy of the calculation of the amount of steel bars and the fit of the construction.
Smart Images

Figure CN112598794B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building design, and in particular to a method, a device and equipment for determining a three-dimensional model of steel bars of an arched building. Background Art
[0002] Arched beams are usually required for building designs with arched, spherical, or conical slabs as roofs. Arched beams are also required for support above arched windows on shear walls. Arched beams are built with steel bars, so the three-dimensional steel bar model of the arched building needs to fit the actual shape of the building, and the required amount of steel bars needs to be calculated based on the actual construction situation. However, the existing three-dimensional steel bar models of arched buildings are all displayed in straight lines, which are difficult to fit the actual building shape, resulting in a large gap between the final three-dimensional steel bar model of the arched building and the actual building. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method, device and apparatus for determining a three-dimensional model line of steel bars of an arched building, so as to solve the problem that the three-dimensional model of steel bars of the arched building is too different from the actual building.
[0004] According to the first aspect, an embodiment of the present invention provides a method for determining a three-dimensional model of steel bars of an arched building, comprising the following steps: cutting the three-dimensional model of the arched building to divide the three-dimensional model of the arched building into at least two parts; respectively determining the stress-bearing reinforcement steel bar lines corresponding to the at least two parts; and generating a three-dimensional model of steel bars based on the stress-bearing reinforcement steel bar lines.
[0005] The method for determining the three-dimensional model of the steel bars of an arched building provided in an embodiment of the present invention cuts the three-dimensional model of the arched building into at least two parts, determines the steel bars corresponding to the at least two parts respectively, and generates the three-dimensional model of the steel bars based on the calculated steel bars. The method obtains the steel bars corresponding to each cut part of the three-dimensional model of the arched building by cutting the three-dimensional model of the arched building, calculates the three-dimensional model of the steel bars corresponding to the three-dimensional model of the arched building through the steel bars of each cut part, and displays the constructed three-dimensional model of the steel bars in a three-dimensional display, so as to avoid a large gap between the three-dimensional model of the steel bars and the actual building, and ensures that the constructed three-dimensional model of the steel bars is more in line with the actual shape of the arched building.
[0006] In combination with the first aspect, in a first implementation of the first aspect, the cutting of the arched building three-dimensional model to divide the arched building three-dimensional model into at least two parts includes: obtaining a reference steel bar line of the arched building three-dimensional model; determining a cutting surface of the arched building three-dimensional model based on the reference steel bar line; and cutting the arched building three-dimensional model into at least two parts through the cutting surface.
[0007] The method for determining the three-dimensional model of the steel bars of the arched building provided by the embodiment of the present invention obtains the reference steel bar line of the arched building, determines the cutting surface of the three-dimensional model of the arched building based on the reference steel bar line, and cuts the three-dimensional model of the arched building using the cutting surface to obtain at least two cutting parts corresponding to the three-dimensional model of the arched building. The three-dimensional model of the arched building is cut multiple times using the cutting surface to ensure that the obtained steel bar line is more consistent with the actual shape of the arched building, thereby ensuring that the three-dimensional model of the steel bars calculated by the steel bar line is more consistent with the actual shape of the arched building.
[0008] In combination with the first embodiment of the first aspect, in the second embodiment of the first aspect, determining the cutting surface of the arched building three-dimensional model based on the reference steel bar line includes: identifying the arched building three-dimensional model, determining the degree of bending on both sides of the arched building three-dimensional model; judging whether the degree of bending on both sides is greater than a preset bending degree; when the degree of bending on both sides is greater than the preset bending degree, determining the cutting surface corresponding to the arched building three-dimensional model based on the degree of bending on both sides and the reference steel bar line.
[0009] In combination with the second embodiment of the first aspect, in the third embodiment of the first aspect, when the bending degree on both sides is greater than the preset bending degree, based on the bending degree on both sides and the reference steel bar line, determining the cutting surface corresponding to the arched building three-dimensional model, including: determining the target reinforcement line corresponding to the arched building three-dimensional model based on the reference steel bar line; obtaining the arrangement position points of the force-bearing steel bar line of the arched building three-dimensional model; determining the cutting surface corresponding to the arched building three-dimensional model based on the target reinforcement line and the arrangement position points.
[0010] In combination with the third embodiment of the first aspect, in the fourth embodiment of the first aspect, determining the cutting surface corresponding to the arched building three-dimensional model based on the target reinforcement line and the arrangement position point includes: calculating the first tangent vector of the arrangement position point of the stress-bearing reinforcement line on the target reinforcement line; based on the first tangent vector, determining the cutting surface corresponding to the arched building three-dimensional model.
[0011] In combination with the fourth implementation of the first aspect, in the fifth implementation of the first aspect, based on the first tangent vector, determining the cutting surface corresponding to the arched building three-dimensional model, including: taking the first tangent vector as the first direction vector, calculating the rotation vector corresponding to the first direction vector rotated 90° counterclockwise; calculating the cross product of the first direction vector and the rotation vector to obtain the second direction vector; based on the first direction vector and the second direction vector, obtaining the cutting surface corresponding to the arched building three-dimensional model.
[0012] In combination with the second embodiment of the first aspect, in the sixth embodiment of the first aspect, the cutting surface of the arched building three-dimensional model is determined based on the reference steel bar line, and further includes: when the bending degree on both sides is less than the preset bending degree, determining the target reinforcement line corresponding to the arched building three-dimensional model based on the reference steel bar line; and determining the cutting surface corresponding to the arched building three-dimensional model based on the target reinforcement line and a second tangent vector corresponding to the target reinforcement line.
[0013] In combination with the sixth implementation of the first aspect, in the seventh implementation of the first aspect, determining the cutting surface corresponding to the arched building three-dimensional model based on the target reinforcement line and the second tangent vector corresponding to the target reinforcement line includes: determining the second tangent vector consistent with the direction of the target reinforcement line based on the starting point and the end point of the target reinforcement line; using the second tangent vector as the first direction vector, and using the vertical direction of the three-dimensional coordinate system as the second direction vector; and obtaining the cutting surface corresponding to the arched building three-dimensional model based on the first direction vector and the second direction vector.
[0014] The method for determining the three-dimensional model of steel bars of an arched building provided in an embodiment of the present invention obtains the degree of bending on both sides of the arched building and constructs corresponding cutting surfaces based on the different degrees of bending on both sides to avoid the problem that the arched building cannot be cut vertically using the cutting surfaces, thereby ensuring that the cut body obtained by cutting the arched building can be correctly projected to obtain steel bar lines that conform to the actual shape of the arched building.
[0015] In combination with any one of the first to seventh embodiments of the first aspect, in the eighth embodiment of the first aspect, generating the three-dimensional model of the steel bar based on the stressed reinforcement steel bar line includes: identifying the stressed reinforcement steel bar line to determine the line type of the stressed reinforcement steel bar line, the line type including a straight line and / or an arc line; generating the three-dimensional model of the steel bar based on the line type and the cutting surface.
[0016] In combination with the eighth implementation of the first aspect, in the ninth implementation of the first aspect, for a straight stress-bearing reinforcement steel bar line, generating the reinforcement three-dimensional model based on the line type includes: obtaining the starting point and the end point of the straight stress-bearing reinforcement steel bar line; and obtaining the reinforcement three-dimensional model based on the starting point and the end point of the straight stress-bearing reinforcement steel bar line and the coordinate system where the cutting surface is located.
[0017] In combination with the ninth implementation manner of the first aspect, in the tenth implementation manner of the first aspect, the three-dimensional model of the steel bar is obtained based on the starting point and end point of the straight line stress-bearing reinforcement steel bar line and the coordinate system where the cutting surface is located, including: mapping the starting point and end point of the straight line stress-bearing reinforcement steel bar line to the coordinate system where the cutting surface is located, and respectively calculating the first three-dimensional starting point and the first three-dimensional end point corresponding to the starting point and the end point of the straight line stress-bearing reinforcement steel bar line; connecting the first three-dimensional starting point and the first three-dimensional end point to obtain the three-dimensional line corresponding to the straight line stress-bearing reinforcement steel bar line; arranging the three-dimensional lines within the reinforcement layout range corresponding to the three-dimensional model of the arched building to generate the three-dimensional model of the steel bar.
[0018] In combination with the eighth implementation of the first aspect, in the eleventh implementation of the first aspect, for the arc-shaped stress-bearing reinforcement steel bar line, generating the three-dimensional model of the reinforcement bar based on the line type includes: obtaining the starting point, end point and center of the arc-shaped stress-bearing reinforcement steel bar line; based on the starting point, end point and center of the arc-shaped stress-bearing reinforcement steel bar line and the coordinate system where the cutting surface is located, obtaining the three-dimensional model of the reinforcement bar.
[0019] In combination with the eleventh embodiment of the first aspect, in the twelfth embodiment of the first aspect, the three-dimensional model of the steel bar is obtained based on the starting point, end point and center of the arc-shaped stress-bearing reinforcement steel bar line and the coordinate system where the cutting surface is located, including: mapping the starting point, end point and center of the arc-shaped stress-bearing reinforcement steel bar line to the coordinate system where the cutting surface is located, and respectively calculating the second three-dimensional starting point, second three-dimensional end point and three-dimensional center of the circle corresponding to the starting point, end point and center of the arc-shaped stress-bearing reinforcement steel bar line; based on the three-dimensional center of the circle, connecting the second three-dimensional starting point and the second three-dimensional end point to form a three-dimensional line corresponding to the arc-shaped stress-bearing reinforcement steel bar line; arranging the three-dimensional lines within the reinforcement layout range corresponding to the three-dimensional model of the arched building to generate the three-dimensional model of the steel bar.
[0020] The method for determining the three-dimensional model of steel bars of an arched building provided in an embodiment of the present invention identifies the line type of the stressed steel bar line, calculates the three-dimensional points corresponding to the steel bar line according to the cutting surface coordinate system according to different line types, connects the three-dimensional points to generate the three-dimensional lines of the steel bar line, thereby ensuring that the three-dimensional lines are more in line with reality, and arranges each three-dimensional line in sequence within the reinforcement range of the three-dimensional model of the arched building to obtain the three-dimensional model of steel bars corresponding to the arched building, thereby ensuring that the three-dimensional model of steel bars is more in line with the actual shape of the arched building.
[0021] In combination with the third embodiment or the sixth embodiment of the first aspect, in the thirteenth embodiment of the first aspect, determining the target reinforcement line corresponding to the arched building based on the reference steel bar line includes: determining the midpoint of the reference steel bar line based on the reference steel bar line, and calculating the third tangent vector of the midpoint on the reference steel bar line; determining the target reinforcement line according to the third tangent vector and the reinforcement range of the three-dimensional model of the arched building.
[0022] In combination with the thirteenth embodiment of the first aspect, in the fourteenth embodiment of the first aspect, the target reinforcement line is determined based on the third tangent vector and the reinforcement range of the arched building three-dimensional model, including: rotating the third tangent vector 90°, and constructing a straight line segment with the midpoint of the reference steel bar line as the starting point; extending the intersection of the straight line segment and the reinforcement range, connecting the intersection of the straight line segment and the reinforcement range, and obtaining an original reinforcement line corresponding to the reference steel bar line; determining the target reinforcement line based on the original reinforcement line and the force-bearing steel bar line.
[0023] In combination with the fourteenth embodiment of the first aspect, in the fifteenth embodiment of the first aspect, the target reinforcement lines are determined based on the original reinforcement lines and the stressed reinforcement lines, comprising: using a preset algorithm to determine a first range corresponding to the original reinforcement lines and a second range corresponding to the stressed reinforcement lines; based on the first range and the second range, determining the intersection point of the first range and the second range; and adjusting the original reinforcement lines based on the intersection point to determine the target reinforcement lines corresponding to the reinforcement range of the three-dimensional model of the arched building.
[0024] The method for determining the three-dimensional steel model of an arched building provided by an embodiment of the present invention determines the midpoint of the reference steel line based on the reference steel line, and calculates the tangent vector of the midpoint on the reference steel line, determines the original reinforcement line according to the tangent vector and the reinforcement range of the arched building, and adjusts the original reinforcement line according to a preset algorithm to determine the target reinforcement line, so as to ensure the accuracy of the reinforcement line length, and further ensure the arrangement position of the force-bearing steel line determined based on the target reinforcement line, so that the arrangement position of the force-bearing steel line is more accurate, so that the amount of steel required for the arched building can be accurately calculated, and it is ensured that the calculated amount of steel meets the corresponding amount of steel of the actual building.
[0025] In combination with the first aspect, in the sixteenth implementation of the first aspect, respectively determining the stressed reinforcement lines corresponding to the at least two parts includes: respectively obtaining the projection polygons corresponding to the at least two parts; based on the projection polygons, respectively determining the upper and lower edges corresponding to the at least two parts; using the upper and lower edges corresponding to the at least two parts as the stressed reinforcement lines corresponding to the at least two parts, respectively, wherein the stressed reinforcement lines are two-dimensional stressed reinforcement lines.
[0026] The method for determining the three-dimensional model of the steel bars of the arched building provided by the embodiment of the present invention cuts the three-dimensional model of the arched building with a cutting plane to obtain a projection polygon of the side of the three-dimensional model of the arched building, and determines the upper and lower edges based on the projection polygon, and uses the upper and lower edges as the stress reinforcement lines. The method uses the projection polygon to determine the stress reinforcement lines, ensuring that the stress reinforcement lines conform to the actual shape of the arched building.
[0027] According to the second aspect, an embodiment of the present invention provides a device for determining a three-dimensional model of steel bars of an arched building, comprising: a segmentation module, used to cut the three-dimensional model of the arched building, and divide the three-dimensional model of the arched building into at least two parts; a determination module, used to respectively determine the stress-bearing reinforcement lines corresponding to the at least two parts; and a generation module, used to generate the three-dimensional model of the steel bars based on the stress-bearing reinforcement lines.
[0028] The device for determining the three-dimensional model of steel bars of an arched building provided in an embodiment of the present invention obtains steel bar lines corresponding to each cut portion of the three-dimensional model of the arched building by cutting the three-dimensional model of the arched building, obtains the three-dimensional model of steel bars corresponding to the three-dimensional model of the arched building by calculating the steel bar lines of each cut portion, and displays the constructed three-dimensional model of steel bars in three dimensions, thereby avoiding a large gap between the three-dimensional model of steel bars and the actual building, and ensuring that the constructed three-dimensional model of steel bars better conforms to the actual shape of the arched building.
[0029] According to a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for determining a three-dimensional model of steel bars of an arched building as described in the first aspect or any embodiment of the first aspect by executing the computer instructions.
[0030] According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for determining a three-dimensional model of steel bars of an arched building as described in the first aspect or any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 is a flow chart of a method for determining a three-dimensional model of steel bars of an arched building of an embodiment;
[0033] Figure 2 is another flow chart of a method for determining a three-dimensional model of steel bars of an arched building of an embodiment;
[0034] Figure 3 is another flow chart of a method for determining a three-dimensional model of steel bars of an arched building of an embodiment;
[0035] Figure 4 is a schematic diagram of a reference reinforcement line of an arched building of an embodiment;
[0036] Figure 5 is a schematic diagram of determining the first direction vector and the second direction vector of an embodiment;
[0037] Figure 6 It is a structural block diagram of a device for determining a three-dimensional model of steel bars of an arched building in an embodiment;
[0038] Figure 7 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention;
[0039] Figure 8 It is a schematic diagram of a reinforced three-dimensional model of an arched building according to an embodiment. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0041] Arched beams are usually constructed with steel bars, so the 3D model of the steel bars of an arched building needs to fit the actual shape of the building, and the required amount of steel bars needs to be calculated based on the actual construction situation. However, the existing 3D models of arched buildings are all displayed in straight lines, which is difficult to fit the actual shape of the building, resulting in a large gap between the final 3D model of the steel bars of the arched building and the actual building.
[0042] Based on this, the technical solution constructs a cutting surface, uses the cutting surface to cut the arched building to obtain the stress-bearing reinforcement steel wire corresponding to the three-dimensional model of the arched building, and calculates the three-dimensional model of the reinforcement through the stress-bearing reinforcement steel wire, thereby ensuring that the three-dimensional model of the reinforcement is more in line with the actual shape of the arched building.
[0043] According to an embodiment of the present invention, an embodiment of a method for determining a three-dimensional model of steel bars of an arched building is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] In this embodiment, a method for determining a three-dimensional model of steel bars of an arched building is provided, which can be used in the above-mentioned electronic devices, such as mobile phones, computers, tablet computers, etc. Figure 1 is a flow chart of a method for determining a three-dimensional model of steel bars of an arched building according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0045] S11, cutting the arched building three-dimensional model, dividing the arched building three-dimensional model into at least two parts.
[0046] The three-dimensional model of an arched building is a model of the actual shape of an arched building. When constructing an arched building, it is usually necessary to construct a three-dimensional model of the arched building so that construction technicians can construct the arched building according to the three-dimensional model. The forming of the arched building needs to rely on arched beams for support, and the arched beams are generally built with steel bars. In order to obtain a three-dimensional steel bar model that fits the actual building, the three-dimensional model of the arched building can be cut by cutting the cutting surface to divide the three-dimensional model of the arched building into at least two parts. Specifically, the reinforcement range of the three-dimensional model of the arched building can be obtained, and the distance between two adjacent steel bars can be set. Each time a stress-bearing steel bar line is generated, the three-dimensional model of the arched building is cut once, and then the three-dimensional model of the arched building can be cut into multiple parts.
[0047] S12, respectively determining the stress-bearing reinforcement lines corresponding to at least two parts.
[0048] At least two cut bodies, i.e., two parts, can be obtained by cutting the three-dimensional model of the arched building. Each cut body obtained by cutting is projected sideways to obtain a corresponding projection polygon, and the projection polygon is used as a stress reinforcement line to ensure that each stress reinforcement line fits the actual shape of the arched building.
[0049] S13, generating a three-dimensional steel bar model based on the stress-bearing reinforcement line.
[0050] The stress-bearing reinforcement steel line is a projected polygon, that is, the stress-bearing reinforcement steel line obtained at this time is a two-dimensional line. Simply put, the stress-bearing reinforcement steel line at this time is only a line segment with a horizontal coordinate X value and a vertical coordinate Y value in a two-dimensional coordinate system. Based on this, the stress-bearing reinforcement steel line can be mapped to a three-dimensional coordinate system, and the Z value corresponding to each stress-bearing reinforcement steel line is determined to obtain a three-dimensional line corresponding to each stress-bearing reinforcement steel line, and arranged according to the arrangement position within the reinforcement range corresponding to the three-dimensional model of the arched building. Among them, the arrangement position is the spacing distance between adjacent steel bars, and the spacing distance can be determined based on the experience of technicians in this field, and is not specifically limited here. The reinforcement range is the range of the surface arch building where the stress-bearing reinforcement steel lines are arranged, and the surface arch building component is the downward projection of the three-dimensional model of the arched building. The number of three-dimensional lines that need to be arranged can be determined based on the width of the reinforcement range and the spacing distance. A certain number of three-dimensional lines are arranged within the reinforcement range according to the arrangement position to obtain a three-dimensional steel model corresponding to the three-dimensional model of the arched building, such as Figure 8 shown.
[0051] The method for determining the three-dimensional model of the steel bars of the arched building provided in this embodiment cuts the three-dimensional model of the arched building into at least two parts, determines the steel bars corresponding to the at least two parts respectively, and generates the three-dimensional model of the steel bars based on the calculated steel bars. The method obtains the steel bars corresponding to each cut part of the three-dimensional model of the arched building by cutting the three-dimensional model of the arched building, calculates the three-dimensional model of the steel bars corresponding to the three-dimensional model of the arched building through the steel bars of each cut part, and displays the constructed three-dimensional model of the steel bars in three dimensions, so as to avoid a large gap between the three-dimensional model of the steel bars and the actual building, and ensures that the constructed three-dimensional model of the steel bars is more in line with the actual shape of the arched building.
[0052] In this embodiment, a method for determining a three-dimensional model of steel bars of an arched building is provided, which can be used in the above-mentioned electronic devices, such as mobile phones, computers, tablet computers, etc. Figure 2 is a flow chart of a method for determining a three-dimensional model of steel bars of an arched building according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0053] S21, cutting the arched building three-dimensional model to divide the arched building three-dimensional model into at least two parts.
[0054] Specifically, the above step S21 may include the following steps:
[0055] S211, obtaining a reference steel bar line of the three-dimensional model of the arched building.
[0056] The reference reinforcement line is the reinforcement line generated when arranging the stress reinforcement. When constructing a 3D model of an arched building, you first need to arrange the corresponding stress reinforcement according to the arched building. For example, the stress reinforcement of the arched plate is arranged from left to right in sequence. The reference reinforcement line is the reinforcement line that divides the stress reinforcement in half. Figure 4 shown.
[0057] S212: determining a cutting surface of the three-dimensional model of the arched building based on the reference steel bar line.
[0058] The cutting surface is a vertical cutting surface of the arched building 3D model. The median perpendicular line of the reference reinforcement line can be determined by the determined reference reinforcement line, and the median perpendicular line is used as the reinforcement line of the arched building 3D model, and the force-bearing reinforcement can be arranged along the reinforcement line. Based on the reinforcement line, the vertical cutting surface of the arched building 3D model is constructed, and the arched building 3D model is cut.
[0059] S213, cutting the arched building three-dimensional model into at least two parts through a cutting surface.
[0060] The arched building 3D model can be cut into at least two parts by using a cutting plane. Then, a plurality of cut bodies corresponding to the arched building 3D model can be obtained. Specifically, the number of stress reinforcement lines to be arranged can be determined by the reinforcement range of the arched building 3D model and the distance between two adjacent reinforcements. Each time a stress reinforcement line is arranged, the arched building 3D model is cut once, and then the arched building 3D model can be cut into multiple parts.
[0061] Specifically, the above step S212 may include the following steps:
[0062] (1) Identify the three-dimensional model of the arched building and determine the degree of curvature on both sides of the three-dimensional model of the arched building.
[0063] Both sides of the arched building will have a certain degree of curvature, so the two sides of the arched building three-dimensional model corresponding to the arched building will also have a certain degree of curvature. When the curvature of the two sides is large, when cutting with a vertical cutting surface, the part of the arched building three-dimensional model with a large curvature cannot be cut, resulting in the side projection polygon obtained by cutting the arched building three-dimensional model with a vertical surface being wrong. Therefore, it is necessary to obtain the curvature of the two sides of the arched building when constructing the cutting surface. The electronic device can obtain the curvature of the two sides corresponding to the arched building three-dimensional model by identifying the arched building three-dimensional model and analyzing the arched building three-dimensional model.
[0064] (2) Determine whether the bending degree on both sides is greater than the preset bending degree.
[0065] The preset bending degree is the bending degree of the arched building three-dimensional model corresponding to the complete side projection polygon that can be obtained by cutting the arched building three-dimensional model with a vertical plane. The preset bending degree can be determined according to the length of the reinforcement line of the arched building three-dimensional model. The present application does not specifically limit the preset bending degree. The bending degrees on both sides of the arched building three-dimensional model are compared with the preset bending degree to determine whether the bending degrees on both sides are greater than the preset bending degree. When the bending degrees on both sides are greater than the preset bending degree, step (3) is executed; otherwise, steps (4) and (5) are executed.
[0066] (3) Based on the bending degree on both sides and the reference steel bar line, determine the cutting surface corresponding to the three-dimensional model of the arched building.
[0067] When the curvature on both sides is greater than the preset curvature, it may be difficult to cut the two sides of the arched building using a vertical cutting plane. Therefore, an oblique cutting plane can be constructed according to the reference steel bar line of the arched building 3D model to cut the arched building 3D model. The specific steps are as follows:
[0068] (31) The target reinforcement line corresponding to the three-dimensional model of the arched building is determined based on the reference reinforcement line.
[0069] The target reinforcement line is the line along which the steel bars are arranged. The steel bars will be arranged along the target reinforcement line. The target reinforcement line is perpendicular to the reference reinforcement line. By performing a vertical calculation on the reference reinforcement line, the target reinforcement line corresponding to the arched building can be obtained. The specific steps are as follows:
[0070] (311) Based on the reference steel bar line, determine the tangent vector of the midpoint of the reference steel bar line on the reference steel bar line.
[0071] The electronic device can determine the midpoint of the reference steel bar line based on the reference steel bar line, and calculate a third tangent vector of the midpoint on the reference steel bar line, wherein the third tangent vector is parallel to the reference steel bar line.
[0072] (312) The target reinforcement line is determined according to the third tangent vector and the reinforcement range of the arched building.
[0073] The calculated tangent vector is rotated, specifically, it can be rotated 90° clockwise or 90° counterclockwise, to obtain a rotation vector corresponding to the tangent vector. The rotation vector is extended to both sides until the rotation vector intersects with the reinforcement range of the arched building. The intersection points corresponding to the rotation vector and the reinforcement range of the arched building on both sides are obtained, and the intersection points corresponding to the reinforcement range on both sides are connected to obtain the target reinforcement line.
[0074] Specifically, the above step (312) may include the following steps:
[0075] (i) Rotate the third tangent vector 90° and construct a straight line segment with the midpoint of the reference reinforcement line as the starting point.
[0076] After the third tangent vector is rotated 90° clockwise or 90° counterclockwise, the midpoint of the reference steel bar line is used as the starting point to extend the rotated third tangent vector to obtain a straight line segment. Specifically, the length interval (mm) of the straight line segment can be (0, 100], which is not specifically limited here and can be determined by those skilled in the art according to actual needs.
[0077] (ii) Extend the intersection of the straight line segment and the reinforcement range, connect the intersection points of the straight line segment and the reinforcement range, and obtain the original reinforcement line corresponding to the reference reinforcement line.
[0078] The straight line segment is extended to both sides until it intersects with the reinforcement range, the intersection points of the two ends of the straight line segment and the reinforcement range are obtained, and the two intersection points of the two ends of the straight line segment and the reinforcement range are connected. Specifically, one intersection point of the straight line segment and the reinforcement range is used as the starting point, and the other intersection point is used as the end point. The starting point and the end point are connected to obtain the original reinforcement line corresponding to the reference steel bar line.
[0079] (iii) Determine the target reinforcement line based on the original reinforcement line and the stress-bearing reinforcement line.
[0080] According to the range of the stress reinforcement line and the range of the original reinforcement line, the original reinforcement line is adjusted to obtain the target reinforcement line corresponding to the three-dimensional model of the arched building. Specifically, the following steps may be included:
[0081] (a) Determine the first range corresponding to the original reinforcement line and the second range corresponding to the projected polygon using a preset algorithm. The preset algorithm is a packing box algorithm, and the first bounding box corresponding to the original reinforcement line and the second bounding box corresponding to the projected polygon are determined based on the packing box algorithm. Taking the lower edge of the projected polygon as an example, the first bounding box corresponding to the original reinforcement line and the second bounding box corresponding to the lower edge are determined based on the packing box algorithm.
[0082] (b) Based on the first range and the second range, determine the intersection point of the first range and the second range. Specifically, based on the first bounding box corresponding to the original reinforcement line and the second bounding box corresponding to the projected polygon, the overlapping area of the first packaging box and the second packaging box can be determined. Obtain the intersection point of the first packaging box and the second packaging box in the determined overlapping area.
[0083] (c) Adjusting the original reinforcement line based on the intersection point to determine the target reinforcement line corresponding to the reinforcement range of the arched building three-dimensional model. Specifically, judging whether the length range of the original reinforcement line is consistent with the length range of the second packaging box through the intersection point of the first packaging box and the second packaging box, when the length range of the original reinforcement line is inconsistent with the length range of the second packaging box, adjusting the original reinforcement line, specifically, the original reinforcement line can be extended or shortened. By adjusting the original reinforcement line, the target reinforcement line corresponding to the reinforcement range of the arched building is obtained.
[0084] (32) Obtain the arrangement position points of the stress reinforcement lines of the three-dimensional model of the arched building.
[0085] Since the number of times the stress-bearing reinforcement lines need to be arranged for an arched building is the same as the number of times the oblique cutting surfaces are constructed, the oblique cutting surfaces corresponding to each arrangement position point may be different. Therefore, when constructing the oblique cutting surfaces, it is necessary to obtain the arrangement position points of the stress-bearing reinforcement lines and construct different oblique cutting surfaces at different arrangement position points.
[0086] (33) Based on the target reinforcement lines and arrangement position points, determine the cutting surface corresponding to the arched building 3D model.
[0087] The electronic device can calculate the vector of the tangent direction of the arrangement position point of the stress reinforcement line on the target reinforcement line, that is, the first tangent vector of the arrangement position point on the target reinforcement line, and calculate the vector perpendicular to the first tangent vector, and generate the cutting surface corresponding to the arched building three-dimensional model through the tangent vector and the vector perpendicular to the first tangent vector. The specific steps are as follows:
[0088] (331) Taking the first tangent vector as the first direction vector, calculate the rotation vector corresponding to the first direction vector rotating 90° counterclockwise.
[0089] The first tangent vector is used as the first direction vector, and the first direction vector is rotated counterclockwise by 90° to obtain a rotation vector corresponding to the first direction vector, that is, a normal vector of the first direction vector, which is also a vector perpendicular to the first direction vector.
[0090] (332) Calculate the cross product of the first direction vector and the rotation vector to obtain the second direction vector.
[0091] A cross product is performed on the first direction vector and its corresponding rotation vector, and a calculation result obtained by the cross product is used as the second direction vector.
[0092] (333) Based on the first direction vector and the second direction vector, a cutting surface corresponding to the arched building three-dimensional model is obtained.
[0093] Based on the first direction vector and the second direction vector, an oblique cutting plane can be constructed and used as the cutting plane of the arched building. Figure 5As shown in the figure, assuming that point C is the arrangement position point of the stress reinforcement line to be calculated, first obtain the tangent direction vector OD of point C on the target reinforcement line, then rotate the OD vector 90° counterclockwise to generate a vector OE, and then perform cross product of the OD vector and the OE vector to calculate the vector OF. Construct a cutting surface with vector OF and vector OD, and use it as the cutting surface of the arched building.
[0094] (4) Determine the target reinforcement line corresponding to the three-dimensional model of the arched building based on the reference reinforcement line.
[0095] When the bending degree on both sides is less than the preset bending degree, the arched building can be cut using a vertical cutting plane. The target reinforcement line is the line along which the steel bars are arranged, and the steel bars will be arranged along the target reinforcement line. The target reinforcement line is perpendicular to the reference steel bar line. By performing a vertical operation on the reference steel bar line, the target reinforcement line corresponding to the arched building can be obtained. For detailed descriptions, please refer to the above-mentioned related descriptions, which will not be repeated here.
[0096] (5) Based on the target reinforcement line and the second tangent vector corresponding to the target reinforcement line, determine the cutting surface corresponding to the three-dimensional model of the arched building.
[0097] The electronic device can identify the target reinforcement line, determine the direction of the target reinforcement line, calculate the second tangent vector in the same direction as the direction of the target reinforcement line, and use the second tangent vector as the first direction vector. Obtain a vector perpendicular to the second tangent vector as the second direction vector, combine the first direction vector and the second direction vector to generate a cutting surface corresponding to the arched building three-dimensional model, and the specific steps are as follows:
[0098] (51) Based on the start point and the end point of the target reinforcement line, a second tangent vector consistent with the direction of the target reinforcement line is determined.
[0099] The electronic device can identify the target reinforcement line and determine the starting point and end point corresponding to the target reinforcement line. The direction of the target reinforcement line can be determined by taking the starting point or end point of the target reinforcement line as the reference point. According to the starting point and end point of the target reinforcement line, a second tangent vector having the same direction as the direction of the target reinforcement line can be calculated, and the second tangent vector is used as the first direction vector.
[0100] (52) The second tangent vector is used as the first direction vector, and the vertical direction of the three-dimensional coordinate system is used as the second direction vector.
[0101] The second tangent vector is used as the first direction vector to determine the vertical vector corresponding to the first direction vector, that is, the vertical direction of the three-dimensional coordinate system. For example, the vertical direction Z axis of the three-dimensional coordinate system (X, Y, Z) is used as the second direction vector.
[0102] (53) Based on the first direction vector and the second direction vector, a cutting surface corresponding to the three-dimensional model of the arched building is obtained.
[0103] Based on the first direction vector and the second direction vector, a cutting plane can be constructed, and the cutting plane is used as the cutting plane of the arched building. For example, AB is a reinforcement line, where A is the starting point of the reinforcement line and B is the end point of the reinforcement line. With point A as the reference point, the tangent vector MN of point B on AB is obtained, where the direction of the tangent vector MN is consistent with the direction of the reinforcement line, the Z axis is the second direction vector, and the magnitude range of the first direction vector and the second direction vector is (-100000, 100000). Construct the cutting plane of the arched building based on the first direction vector and the second direction vector.
[0104] It should be noted that the cutting surface can also be constructed according to the stress reinforcement line. Take any point on the stress reinforcement line and calculate the tangent vector (first direction vector) of the point on the stress reinforcement line. Rotate the tangent vector 90° counterclockwise to obtain the normal vector (second direction vector) perpendicular to the tangent vector. Based on the obtained tangent vector and normal vector, the cutting surface of the arched building can be constructed.
[0105] S22, respectively determine the stress-bearing reinforcement lines corresponding to at least two parts. For detailed description, please refer to the relevant description of step S12 in the above embodiment, which will not be repeated here.
[0106] S23, generating a three-dimensional steel bar model based on the stress-bearing steel bar line. For detailed description, please refer to the relevant description of step S13 in the above embodiment, which will not be repeated here.
[0107] The method for determining the three-dimensional model of the steel bars of the arched building provided in this embodiment obtains the reference steel bar line of the arched building, determines the cutting surface of the three-dimensional model of the arched building based on the reference steel bar line, and uses the cutting surface to cut the three-dimensional model of the arched building to obtain at least two cutting parts corresponding to the three-dimensional model of the arched building. The three-dimensional model of the arched building is cut multiple times using the cutting surface to ensure that the obtained steel bar line is more consistent with the actual shape of the arched building, thereby ensuring that the three-dimensional model of the steel bars calculated by the steel bar line is more consistent with the actual shape of the arched building. By obtaining the degree of curvature on both sides of the arched building, the corresponding cutting surface is constructed based on the different degrees of curvature on both sides to avoid the problem that the arched building cannot be cut vertically using the cutting surface, thereby ensuring that the cutting body obtained by cutting the arched building can be correctly projected to obtain the steel bar line that conforms to the actual shape of the arched building.
[0108] The midpoint of the reference reinforcement line is determined based on the reference reinforcement line, and the tangent vector of the midpoint on the reference reinforcement line is calculated. The original reinforcement line is determined according to the tangent vector and the reinforcement range of the arched building, and the original reinforcement line is adjusted according to a preset algorithm to determine the target reinforcement line, so as to ensure the accuracy of the reinforcement line length, and then ensure the arrangement position of the force-bearing reinforcement line determined based on the target reinforcement line, so that the arrangement position of the force-bearing reinforcement line is more accurate, so that the amount of reinforcement required for the arched building can be accurately calculated, and it is ensured that the calculated amount of reinforcement meets the corresponding amount of reinforcement of the actual building.
[0109] In this embodiment, a method for determining a three-dimensional model of steel bars of an arched building is provided, which can be used in the above-mentioned electronic devices, such as mobile phones, computers, tablet computers, etc. Figure 3 is a flow chart of a method for determining a three-dimensional model of steel bars of an arched building according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0110] S31, cutting the arched building 3D model into at least two parts. For detailed description, please refer to the relevant description of step S21 in the above embodiment, which will not be repeated here.
[0111] S32, respectively determining the stress-bearing reinforcement lines corresponding to at least two parts.
[0112] Specifically, the above step S32 may include the following steps:
[0113] S321, respectively obtain projection polygons corresponding to at least two parts.
[0114] By using the cutting plane constructed as above to cut the arched building three-dimensional model, at least two cut bodies corresponding to the arched building three-dimensional model can be obtained, and by performing side projection on the cut bodies corresponding to each part, projection polygons corresponding to each part of the arched building three-dimensional model can be obtained.
[0115] S322: Based on the projected polygon, determine upper sidelines and lower sidelines corresponding to at least two parts respectively.
[0116] The projection polygons obtained by projecting the cut body corresponding to each part to the side include an upper sideline and a lower sideline. The electronic device can determine the upper sideline and the lower sideline corresponding to the projection polygon by identifying the projection polygon.
[0117] S323, using the upper side line and the lower side line corresponding to the at least two parts as the stress reinforcement steel bar line corresponding to the at least two parts, wherein the stress reinforcement steel bar line is a two-dimensional stress reinforcement steel bar line.
[0118] The stress reinforcement line includes the surface reinforcement and the bottom reinforcement. Here, the upper edge of the projected polygon recognized by the electronic device is used as the surface reinforcement, and the lower edge is used as the bottom reinforcement. The stress reinforcement line here is a projected polygon, so the stress reinforcement line is a two-dimensional line.
[0119] S33, generating a three-dimensional steel bar model based on the stress-bearing reinforcement line.
[0120] Specifically, the above step S33 may include the following steps:
[0121] S331, identifying the stress-bearing reinforcement line and determining the line type of the stress-bearing reinforcement line, wherein the line type includes a straight line and / or an arc line.
[0122] The stress reinforcement line is a side projection polygon after the arch building is cut, and the side projection polygon conforms to the actual shape of the arch building. The stress reinforcement line may include an arc or a straight line. When the electronic device obtains the stress reinforcement line, it can identify the stress reinforcement line and determine the line type of the stress reinforcement line.
[0123] S332 generates a three-dimensional model of steel bars based on line types and cutting surfaces.
[0124] Based on the different line types of the stress reinforcement steel bars, the stress reinforcement steel bars of different line types are mapped to the coordinate system where the cutting surface is located, and then the three-dimensional line of the stress reinforcement steel bar of this line type in the coordinate system where the cutting surface is located can be determined. The obtained three-dimensional lines are arranged within the reinforcement range to generate a three-dimensional steel bar model corresponding to the three-dimensional model of the arched building.
[0125] Specifically, for a straight-line stress-bearing reinforcement wire, the above step S332 may include the following steps:
[0126] (i) Obtain the starting and ending points of the straight reinforcement lines.
[0127] The electronic device identifies the stress reinforcement steel bar line and determines whether the stress reinforcement steel bar line is a straight stress reinforcement steel bar line, an arc stress reinforcement steel bar line, or a combination of a straight stress reinforcement steel bar line and an arc stress reinforcement steel bar line. When the electronic device determines that the stress reinforcement steel bar line is a straight stress reinforcement steel bar line, it identifies the starting point and the end point of the straight stress reinforcement steel bar line, and then determines the starting point coordinates and the end point coordinates of the straight stress reinforcement steel bar line.
[0128] (ii) A three-dimensional model of the reinforcement is obtained based on the starting and ending points of the straight reinforcement line and the coordinate system of the cutting surface.
[0129] Since the straight stress-bearing reinforcement line is a two-dimensional line segment, that is, its starting point and end point only have X and Y values in the two-dimensional coordinate system (X, Y), it is necessary to convert it into a three-dimensional line, that is, map it to the three-dimensional coordinate system (X, Y, Z) where the cutting surface is located, calculate the Z value corresponding to the stress-bearing reinforcement line, generate a three-dimensional line, and arrange the three-dimensional line to generate a three-dimensional steel bar model.
[0130] Specifically, the implementation steps are as follows:
[0131] (a) The starting point and the end point of the straight stress-bearing reinforcement line are mapped to the coordinate system where the cutting surface is located, and the first three-dimensional starting point and the first three-dimensional end point corresponding to the starting point and the end point of the straight stress-bearing reinforcement line are calculated respectively.
[0132] The coordinate system of the cutting surface is a three-dimensional coordinate system (X, Y, Z), and the starting point coordinates and the end point coordinates of the straight stress-bearing reinforcement line are mapped to the coordinate system of the cutting surface. Taking the coordinate system (X, Y, Z) of the cutting surface as the reference, the Z value of the cutting surface coordinate system is used as the Z value of the starting point and the end point of the straight stress-bearing reinforcement line, and the three-dimensional coordinates corresponding to the starting point and the end point of the straight stress-bearing reinforcement line are obtained, that is, the first three-dimensional starting point and the first three-dimensional end point.
[0133] (b) Connect the first 3D starting point and the first 3D end point to obtain the 3D line corresponding to the straight stress-bearing reinforcement line.
[0134] The first three-dimensional starting point and the first three-dimensional end point corresponding to the stress reinforcement line are connected to generate a three-dimensional line corresponding to the straight stress reinforcement line. The three-dimensional line corresponding to each stress reinforcement line can be obtained by sequential calculation.
[0135] (c) Arrange the 3D lines within the reinforcement range corresponding to the 3D model of the arched building to generate a 3D steel bar model.
[0136] By arranging the three-dimensional lines in sequence according to the arrangement positions within the reinforcement range corresponding to the three-dimensional model of the arched building, a three-dimensional model of reinforcement corresponding to the three-dimensional model of the arched building can be obtained.
[0137] For arc-shaped stress-bearing reinforcement wires, the above step S332 may include the following steps:
[0138] (i) Obtain the starting point, end point and center of the arc-shaped reinforcement line.
[0139] When the electronic device determines that the stress-bearing reinforcement steel line is an arc-shaped stress-bearing reinforcement steel line, the starting point and the end point of the arc-shaped stress-bearing reinforcement steel line are identified, and the center point of the arc-shaped stress-bearing reinforcement steel line is determined based on the starting point and the end point of the arc-shaped stress-bearing reinforcement steel line, and then the starting point coordinates, the end point coordinates and the center point coordinates of the arc-shaped stress-bearing reinforcement steel line are determined.
[0140] (ii) A three-dimensional model of the steel bar is obtained based on the starting point, end point, center point of the arc-shaped stress-bearing reinforcement line and the coordinate system of the cutting surface.
[0141] Since the arc-shaped stress-bearing reinforcement line is a two-dimensional line segment, that is, its starting point, end point and center of the circle only have X and Y values in the two-dimensional coordinate system (X, Y), it is necessary to convert it into a three-dimensional line, that is, map it to the three-dimensional coordinate system (X, Y, Z) where the cutting surface is located, calculate the Z value corresponding to the stress-bearing reinforcement line, generate a three-dimensional line, and arrange the three-dimensional line to generate a three-dimensional steel bar model.
[0142] Specifically, the implementation steps are as follows:
[0143] (a) The starting point, end point and center of the arc-shaped stress-bearing reinforcement line are mapped to the coordinate system where the cutting surface is located, and the second three-dimensional starting point, second three-dimensional end point and three-dimensional center of the arc-shaped stress-bearing reinforcement line corresponding to the starting point, end point and center of the circle are calculated respectively.
[0144] The coordinate system where the cutting surface is located is a three-dimensional coordinate system, and the starting point coordinates, end point coordinates and center coordinates of the arc-shaped stress reinforcement line are mapped to the coordinate system where the cutting surface is located. Taking the coordinate system (X, Y, Z) of the cutting surface as the reference, the Z value of the cutting surface coordinate system is used as the Z value of the starting point and end point of the arc-shaped stress reinforcement line, and the three-dimensional coordinates corresponding to the starting point and end point of the arc-shaped stress reinforcement line are obtained, that is, the second three-dimensional starting point and the second three-dimensional end point, and the three-dimensional center of the circle corresponding to the center coordinates is calculated according to the second three-dimensional starting point and the second three-dimensional end point.
[0145] (b) Based on the 3D center of the circle, connect the second 3D starting point and the second 3D end point to form a 3D line corresponding to the arc-shaped stress-bearing reinforcement line.
[0146] With the three-dimensional center as the center of the circle, the second three-dimensional starting point and the second three-dimensional end point are connected to obtain a spatial arc between the second three-dimensional starting point and the second three-dimensional end point, that is, a three-dimensional line corresponding to the arc-shaped stress-bearing reinforcement line.
[0147] (c) Arrange the 3D lines within the reinforcement range corresponding to the 3D model of the arched building to generate a 3D steel bar model.
[0148] By arranging the three-dimensional lines in sequence according to the arrangement positions within the reinforcement range corresponding to the three-dimensional model of the arched building, a three-dimensional model of reinforcement corresponding to the three-dimensional model of the arched building can be obtained.
[0149] The method for determining the three-dimensional model of the steel bars of an arched building provided in an embodiment of the present invention cuts the three-dimensional model of the arched building with a cutting surface to obtain a projection polygon of the side of the three-dimensional model of the arched building, determines the upper and lower edges based on the projection polygon, and uses the upper and lower edges as the stress-bearing reinforcement lines. The method uses the projection polygon to determine the stress-bearing reinforcement lines, thereby ensuring that the stress-bearing reinforcement lines conform to the actual shape of the arched building. By identifying the line type of the stress-bearing reinforcement lines, the three-dimensional points corresponding to the reinforcement lines are calculated according to the cutting surface coordinate system according to different line types, and the three-dimensional points are connected to generate the three-dimensional lines of the reinforcement lines, thereby ensuring that the three-dimensional lines are more in line with reality, and the three-dimensional lines are arranged in sequence within the reinforcement range of the three-dimensional model of the arched building to obtain the three-dimensional model of the steel bars corresponding to the arched building, thereby ensuring that the three-dimensional model of the steel bars conforms to the actual shape of the arched building.
[0150] In this embodiment, a device for determining a three-dimensional model of a steel bar of an arched building is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0151] This embodiment provides a device for determining a three-dimensional model of steel bars of an arched building. Figure 6 As shown, including:
[0152] The segmentation module 41 is used to segment the arched building 3D model into at least two parts. For details, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0153] The determination module 42 is used to determine the stress-bearing reinforcement lines corresponding to at least two parts respectively. For details, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0154] The generating module 43 is used to generate a three-dimensional steel bar model based on the stress-bearing steel bar line. For details, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0155] The device for determining the three-dimensional model of steel bars of an arched building provided in the present embodiment obtains steel bar lines corresponding to each cut portion of the three-dimensional model of the arched building by cutting the three-dimensional model of the arched building, obtains the three-dimensional model of steel bars corresponding to the three-dimensional model of the arched building by calculating the steel bar lines of each cut portion, and displays the constructed three-dimensional model of steel bars in three dimensions, thereby avoiding a large gap between the three-dimensional model of steel bars and the actual building, and ensuring that the constructed three-dimensional model of steel bars better conforms to the actual shape of the arched building.
[0156] The device for determining the three-dimensional model of the steel bars of the arched building in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0157] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0158] The embodiment of the present invention also provides a mobile terminal having the above Figure 6 A device for determining a three-dimensional model of steel bars of the arched building shown.
[0159] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a terminal provided by an optional embodiment of the present invention, such as Figure 7 As shown, the terminal may include: at least one processor 501, such as a CPU (Central Processing Unit), at least one communication interface 503, a memory 504, and at least one communication bus 502. The communication bus 502 is used to realize the connection and communication between these components. The communication interface 503 may include a display screen (Display), a keyboard (Keyboard), and the optional communication interface 503 may also include a standard wired interface and a wireless interface. The memory 504 may be a high-speed RAM memory (Random Access Memory) or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 504 may optionally be at least one storage device located away from the aforementioned processor 501. The processor 501 may be combined with Figure 6 In the described device, the memory 504 stores an application program, and the processor 501 calls the program code stored in the memory 504 to execute any of the above method steps.
[0160] The communication bus 502 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The communication bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0161] Among them, the memory 504 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 504 may also include a combination of the above types of memory.
[0162] The processor 501 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.
[0163] The processor 501 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0164] Optionally, the memory 504 is also used to store program instructions. The processor 501 can call the program instructions to implement the present application Figures 1 to 3 The method for determining the three-dimensional model of the steel bars of the arched building shown in the embodiment.
[0165] The embodiment of the present invention further provides a non-transitory computer storage medium, the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method of the method for determining the three-dimensional model of the steel bars of the arched building in any of the above method embodiments. The storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above types of memory.
[0166] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for determining a three-dimensional model of steel bars of an arched building, characterized in that: The steps include: Cutting the three-dimensional model of an arched building to divide the three-dimensional model of the arched building into at least two parts includes: obtaining a reference steel bar line of the three-dimensional model of the arched building; determining a cutting surface of the three-dimensional model of the arched building based on the reference steel bar line; cutting the three-dimensional model of the arched building into at least two parts through the cutting surface; the reference steel bar line is a steel bar line generated when arranging the stress reinforcement and used to divide the stress reinforcement into two halves; determining the cutting surface of the three-dimensional model of the arched building based on the reference steel bar line includes: using the perpendicular midline of the reference steel bar line as the reinforcement line of the three-dimensional model of the arched building, constructing a vertical cutting surface of the three-dimensional model of the arched building based on the reinforcement line, and cutting the three-dimensional model of the arched building based on the vertical cutting surface to obtain the cutting surface; Determining the stress reinforcement steel bar lines corresponding to the at least two parts respectively, comprising: performing side projection on the cutting bodies corresponding to the at least two parts, and obtaining the projection polygons corresponding to the at least two parts respectively; determining the upper side lines and the lower side lines corresponding to the at least two parts respectively based on the projection polygons; using the upper side lines and the lower side lines corresponding to the at least two parts as the stress reinforcement steel bar lines corresponding to the at least two parts, wherein the stress reinforcement steel bar lines are two-dimensional stress reinforcement steel bar lines and the stress reinforcement steel bar lines include surface reinforcement and bottom reinforcement, the upper side line of the projection polygon is used as the surface reinforcement, and the lower side line of the projection polygon is used as the bottom reinforcement; A three-dimensional steel bar model is generated based on the stress-bearing steel bar line.
2. The method according to claim 1, characterized in that The step of determining the cutting surface of the arched building three-dimensional model based on the reference steel bar line further includes: Identifying the three-dimensional model of the arched building, and determining the curvature degree of two sides of the three-dimensional model of the arched building; Determining whether the bending degrees of the two sides are greater than a preset bending degree; When the bending degrees at both sides are greater than a preset bending degree, a cutting surface corresponding to the three-dimensional model of the arched building is determined based on the bending degrees at both sides and the reference steel bar line.
3. The method according to claim 2, characterized in that When the bending degrees of the two sides are greater than a preset bending degree, determining a cutting surface corresponding to the three-dimensional model of the arched building based on the bending degrees of the two sides and the reference steel bar line includes: Determine a target reinforcement line corresponding to the three-dimensional model of the arched building based on the reference reinforcement line; Obtaining the arrangement position points of the stress reinforcement lines of the three-dimensional model of the arched building; Based on the target reinforcement line and the arrangement position point, a cutting surface corresponding to the arched building three-dimensional model is determined.
4. The method according to claim 3, characterized in that The step of determining a cutting surface corresponding to the arched building three-dimensional model based on the target reinforcement line and the arrangement position point includes: Calculate the first tangent vector of the arrangement position point of the stress reinforcement line on the target reinforcement line; Based on the first tangent vector, a cutting plane corresponding to the arched building three-dimensional model is determined.
5. The method according to claim 4, characterized in that Determining a cutting surface corresponding to the arched building three-dimensional model based on the first tangent vector includes: Taking the first tangent vector as a first direction vector, calculating a rotation vector corresponding to rotating the first direction vector 90° counterclockwise; Calculate the cross product of the first direction vector and the rotation vector to obtain a second direction vector; Based on the first direction vector and the second direction vector, a cutting surface corresponding to the arched building three-dimensional model is obtained.
6. The method according to claim 2, characterized in that The step of determining the cutting surface of the arched building three-dimensional model based on the reference steel bar line further includes: When the bending degrees of the two sides are less than the preset bending degrees, determining a target reinforcement line corresponding to the three-dimensional model of the arched building based on the reference reinforcement line; Based on the target reinforcement line and a second tangent vector corresponding to the target reinforcement line, a cutting surface corresponding to the arched building three-dimensional model is determined.
7. The method according to claim 6, characterized in that The step of determining a cutting surface corresponding to the arched building three-dimensional model based on the target reinforcement line and a second tangent vector corresponding to the target reinforcement line includes: Based on the starting point and the end point of the target reinforcement line, determining a second tangent vector consistent with the direction of the target reinforcement line; Taking the second tangent vector as the first direction vector, and taking the vertical direction of the three-dimensional coordinate system as the second direction vector; Based on the first direction vector and the second direction vector, a cutting surface corresponding to the arched building three-dimensional model is obtained.
8. The method according to any one of claims 1 to 7, characterized in that: The step of generating the three-dimensional steel bar model based on the stress-bearing steel bar line comprises: Identify the stress-bearing reinforcement line and determine the line type of the stress-bearing reinforcement line, wherein the line type includes a straight line and / or an arc line; Based on the line type and the cutting surface, the three-dimensional model of the steel bar is generated.
9. The method according to claim 8, characterized in that For a straight stress-bearing steel bar line, generating the steel bar three-dimensional model based on the line type includes: Obtaining the starting point and the end point of the straight stress-bearing reinforcement line; Based on the starting point and the end point of the straight stress-bearing reinforcement line and the coordinate system where the cutting surface is located, the three-dimensional model of the reinforcement is obtained.
10. The method according to claim 9, characterized in that The three-dimensional model of the steel bar is obtained based on the starting point and the end point of the straight stress-bearing steel bar line and the coordinate system where the cutting surface is located, including: Mapping the starting point and the end point of the straight stress-bearing reinforcement line to the coordinate system where the cutting surface is located, and respectively calculating the first three-dimensional starting point and the first three-dimensional end point corresponding to the starting point and the end point of the straight stress-bearing reinforcement line; Connecting the first three-dimensional starting point and the first three-dimensional end point to obtain a three-dimensional line corresponding to the straight-line stress-bearing reinforcement line; The three-dimensional lines are arranged within the reinforcement range corresponding to the three-dimensional model of the arched building to generate the three-dimensional model of the reinforcement.
11. The method according to claim 8, characterized in that For an arc-shaped stress-bearing reinforcement line, generating the reinforcement three-dimensional model based on the line type includes: Obtaining the starting point, end point and center of the arc-shaped stress-bearing reinforcement line; Based on the starting point, end point and center of the arc-shaped stress-bearing reinforcement line and the coordinate system where the cutting surface is located, the three-dimensional model of the reinforcement is obtained.
12. The method according to claim 11, characterized in that The three-dimensional model of the steel bar is obtained based on the starting point, end point and center of the arc-shaped stress-bearing steel bar line and the coordinate system where the cutting surface is located, including: Mapping the starting point, end point and center of the arc-shaped stress-bearing reinforcement line to the coordinate system where the cutting surface is located, and respectively calculating the second three-dimensional starting point, second three-dimensional end point and three-dimensional center of the arc-shaped stress-bearing reinforcement line corresponding to the starting point, end point and center of the circle; Based on the three-dimensional center of the circle, connecting the second three-dimensional starting point and the second three-dimensional end point to form a three-dimensional line corresponding to the arc-shaped stress-bearing reinforcement line; The three-dimensional lines are arranged within the reinforcement range corresponding to the three-dimensional model of the arched building to generate the three-dimensional model of the reinforcement.
13. The method according to claim 3 or 6, characterized in that: The step of determining a target reinforcement line corresponding to the arched building based on the reference reinforcement line includes: Based on the reference steel bar line, determining a third tangent vector of the midpoint of the reference steel bar line on the reference steel bar line; The target reinforcement line is determined according to the third tangent vector and the reinforcement range of the arched building three-dimensional model.
14. The method according to claim 13, characterized in that The step of determining the target reinforcement line according to the third tangent vector and the reinforcement range of the arched building three-dimensional model includes: Rotate the third tangent vector by 90°, and construct a straight line segment with the midpoint of the reference steel bar line as the starting point; Extending the intersection of the straight line segment and the reinforcement range, connecting the intersection of the straight line segment and the reinforcement range, and obtaining an original reinforcement line corresponding to the reference reinforcement line; Based on the original reinforcement line and the stress-bearing reinforcement line, the target reinforcement line is determined.
15. The method according to claim 14, characterized in that The step of determining the target reinforcement line based on the original reinforcement line and the stress-bearing reinforcement line comprises: Determine a first range corresponding to the original reinforcement line and a second range corresponding to the stress reinforcement line by using a preset algorithm; Based on the first range and the second range, determining an intersection point between the first range and the second range; The original reinforcement line is adjusted based on the intersection point to determine a target reinforcement line corresponding to the reinforcement range of the arched building three-dimensional model.
16. A device for determining a three-dimensional model of steel bars of an arched building, characterized in that: include: A segmentation module, for cutting the three-dimensional model of an arched building, and dividing the three-dimensional model of the arched building into at least two parts, comprising: obtaining a reference steel bar line of the three-dimensional model of the arched building; determining a cutting surface of the three-dimensional model of the arched building based on the reference steel bar line; and cutting the three-dimensional model of the arched building into at least two parts through the cutting surface; the reference steel bar line is a steel bar line generated when arranging the stress reinforcement and used to divide the stress reinforcement into two halves; the determining the cutting surface of the three-dimensional model of the arched building based on the reference steel bar line comprises: using the perpendicular midline of the reference steel bar line as the reinforcement line of the three-dimensional model of the arched building, and constructing a vertical cutting surface of the three-dimensional model of the arched building based on the reinforcement line, and cutting the three-dimensional model of the arched building based on the vertical cutting surface to obtain the cutting surface; A determination module, for respectively determining the stress reinforcement lines corresponding to the at least two parts, comprising: performing side projection on the cutting bodies corresponding to the at least two parts, and respectively obtaining projection polygons corresponding to the at least two parts; based on the projection polygons, respectively determining the upper and lower edges corresponding to the at least two parts; using the upper and lower edges corresponding to the at least two parts as the stress reinforcement lines corresponding to the at least two parts, wherein the stress reinforcement lines are two-dimensional stress reinforcement lines and the stress reinforcement lines include surface reinforcement and bottom reinforcement, the upper edge line of the projection polygon is used as the surface reinforcement, and the lower edge line of the projection polygon is used as the bottom reinforcement; A generation module is used to generate a three-dimensional steel bar model based on the stressed steel bar line.
17. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for determining the three-dimensional model of steel bars of an arched building as described in any one of claims 1 to 15 by executing the computer instructions.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for determining the three-dimensional model of steel bars of an arched building according to any one of claims 1 to 15.
