A method for reverse axis modeling of building structure
By segmenting the building structure and using centroid points and normal vectors to generate the axis, the problems of low efficiency and large errors in traditional axis modeling are solved, and efficient and accurate inverse axis modeling of the building structure is achieved.
Patent Information
- Application Number
- CN202011526404.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-12-22
AI Technical Summary
The traditional building structure axis modeling method is inefficient and prone to human errors, especially when processing large models, resulting in low modeling efficiency and accuracy.
By segmenting the building structure, converting it into a solid mesh structure, calculating centroid points, establishing normal vectors and point French planes, projecting vertices to generate axes, grouping and calculating midpoints, and looping through to generate the axes of the building structure.
It improves the efficiency and accuracy of reverse axis modeling of building structures and reduces errors caused by human eye fatigue, especially in large-scale projects.
Smart Images

Figure CN112632675B
Abstract
Description
Technical Field
[0001] The invention relates to the field of structural component modeling in the construction industry, and in particular to a reverse axis modeling method for a building structure. Background Art
[0002] With the rise of cultural tourism projects in my country, the shapes of architectural structures are becoming more and more colorful. For buildings that have been built, in order to verify and analyze their structural engineering, it is usually necessary to re-establish the line model of the components, so as to conduct finite element analysis, and use this as the positioning reference for drawing construction drawings of components; the dimension reference for component processing and the reference for on-site positioning and verification of component construction and installation. Therefore, whether the axis modeling is accurate is related to the safety and accuracy of subsequent construction and is of great significance. The traditional axis modeling method is manual modeling, that is, relying on the eyesight to use the capture function of the software to manually establish auxiliary lines and solve the axis coordinates. When the model volume is large, the efficiency is very low, and the human eye will become tired, so there may be human errors due to manual capture.
[0003] Therefore, how to provide a high-efficiency and high-precision reverse axis modeling method for building structures is a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0004] The present invention provides a method for reverse axis modeling of a building structure to solve the above technical problems.
[0005] In order to solve the above technical problems, the present invention provides a method for reverse axis modeling of a building structure, comprising the following steps:
[0006] Step 1: Divide the building structure into sections;
[0007] Step 2: for the first section, convert the steel structure in the building structure into a solid grid structure, and obtain the vertices of the solid grid structure;
[0008] Step 3: Calculate the centroid points of all vertices;
[0009] Step 4: Establish a normal vector according to the centroid point and any of the vertices, and establish a point normal plane;
[0010] Step 5: Project the vertex onto the point normal plane, and establish a projection vector from the projection point to each vertex;
[0011] Step 6: Divide the vertices into two groups based on whether the directions of the projection vector and the normal vector are the same;
[0012] Step 7: Calculate the midpoints of each vertex in the two groups respectively and record them as the two endpoints of a line segment;
[0013] Step 8: Connect the two endpoints to obtain the axis of the first section of the building structure;
[0014] Step 9: Loop through each segment in the building structure to obtain the axis of the building structure.
[0015] Preferably, in step 4, the method for establishing the normal vector and the point normal plane is: taking the centroid point as the starting point and any selected vertex as the end point, draw a vector, which is recorded as the normal vector; the plane where the centroid point is located and perpendicular to the normal vector is recorded as the point normal plane.
[0016] Preferably, in step 5, the method for establishing the projection vector is: taking the projection point as the starting point and the vertex corresponding to the projection point as the end point, and the drawn vector is recorded as the projection vector.
[0017] Preferably, in step 6, the grouping method is: storing the vertices in the form of three-dimensional coordinates in two containers.
[0018] Compared with the prior art, the building structure reverse axis modeling method provided by the present invention has the following advantages:
[0019] 1. The present invention can be implemented by programming means, and the axis of the steel component can be quickly generated by cycling each steel component grid of the building structure, which greatly improves the work efficiency;
[0020] 2. The modeling of the central axis of the present invention does not rely on the human eye, which greatly reduces the errors caused by work fatigue and visual fatigue, improves the modeling accuracy, and its effect is more obvious for large projects. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a flow chart of a method for reverse axis modeling of a building structure in a specific implementation manner of the present invention;
[0022] Figure 2a to Figure 2g They are respectively structural comparison schematic diagrams of various steps in a method for reverse axis modeling of a building structure in a specific implementation manner of the present invention.
[0023] In the figure: 10-single steel structure member, 20-vertex, 30-centroid point, 40-normal vector, 50-point normal plane, 60-projection point, 70-projection vector, 80-endpoint, 90-axis line. DETAILED DESCRIPTION
[0024] In order to describe the technical solution of the above invention in more detail, specific embodiments are listed below to demonstrate the technical effect; it should be emphasized that these embodiments are used to illustrate the present invention but are not limited to the scope of the present invention.
[0025] The invention provides a method for reverse axis modeling of a building structure, such as Figure 1 to Figure 2g As shown, the following steps are included:
[0026] Step 1: Divide the building structure into sections. The specific sectioning method can be divided according to the specific shape of the building structure. For example, a complete steel structure component is regarded as a section. Please refer to Figure 2a , that is, taking a single steel structure member 10 as an example to illustrate the entire modeling process;
[0027] Step 2: Please refer to Figure 2b , converting the steel structure in the building structure into a solid grid structure, and obtaining the vertices 20 of the solid grid structure. At this time, the data (such as coordinates) of all the vertices 20 are mixed together without being classified;
[0028] Step 3: Please refer to Figure 2c , calculating the centroid point 30 of all vertices 20, wherein the centroid point 30 is the geometric center of the cross-sectional figure formed by all vertices 20;
[0029] Step 4: Please refer to Figure 2d , a normal vector 40 is established according to the centroid point 30 and any one of the vertices 20, and a point normal plane 50 is established. Specifically, the method for establishing the normal vector 40 and the point normal plane 50 is as follows: a vector is drawn with the centroid point 30 as the starting point and any one of the selected vertices 20 as the end point, and the vector is recorded as the normal vector 40; the plane where the centroid point 30 is located and is perpendicular to the normal vector 40 is recorded as the point normal plane 50;
[0030] Step 5: Please refer to Figure 2e , projecting the vertex 20 onto the point normal plane 50, and establishing a projection vector 70 from the projection point 60 to each vertex 20. Specifically, the method of establishing the projection vector 70 is as follows: taking the projection point 60 as the starting point, according to the one-to-one association relationship between the vertex 20 and the projection point 60, taking the vertex 20 corresponding to the projection point 60 as the end point, and the drawn vector is recorded as the projection vector 70;
[0031] Step 6: Please continue to refer to Figure 2e , based on whether the projection vector 70 and the normal vector 40 have the same direction, the vertices 20 are divided into two groups, that is, the vertices 20 corresponding to the projection vector 70 with the same direction as the normal vector 40 are divided into one group, and the vertices 20 corresponding to the projection vector 70 with the opposite direction to the normal vector 40 are divided into another group, so as to complete the classification of the vertices 20. The specific grouping method is: the vertices 20 are stored in two containers in the form of three-dimensional coordinates, which is convenient for storage and subsequent extraction;
[0032] Step 7: Please refer to Figure 2f, respectively calculate the midpoints of each vertex 20 in the two groups, and respectively record them as the two endpoints 80 of a line segment, that is, extract the coordinates of all vertices 20 in one container, calculate the coordinates of the midpoint of each vertex 20, mark it as an endpoint 80, extract the coordinates of all vertices 20 in the other container, and calculate the other endpoint 80;
[0033] Step 8: Please refer to Figure 2g , connecting the two end points 80 to obtain the axis 90 of the first section of the building structure;
[0034] Step 9: Loop through each segment in the building structure to obtain the axis of the building structure.
[0035] The above modeling method can multiply the modeling efficiency and modeling accuracy in the reverse axis modeling and verification of building structures; at the same time, it can reduce human errors caused by work fatigue and visual fatigue, and its effect is more obvious for large projects.
[0036] In summary, the reverse axis modeling method of the building structure provided by the present invention includes the following steps: step 1: segmenting the building structure; step 2: for the first segment, converting the steel structure in the building structure into a solid grid structure, and obtaining the vertices 20 of the solid grid structure; step 3: calculating the centroid point 30 of all vertices 20; step 4: establishing a normal vector 40 according to the centroid point 30 and any one of the vertices 20, and establishing a point normal plane 50; step 5: projecting the vertex 20 onto the point normal plane 50, and establishing a projection vector 70 from the projection point 60 to each vertex 20; step 6: dividing the vertices 20 into two groups based on whether the directions of the projection vector 70 and the normal vector 40 are the same; step 7: respectively calculating the midpoints of each vertex 20 in the two groups, and recording them as two endpoints 80 of a line segment; step 8: connecting the two endpoints 80 to obtain the axis 90 of the first segment of the building structure; step 9: looping through each segment in the building structure to obtain the axis of the building structure. The present invention can quickly generate the axis of a building structure, thereby improving the efficiency and accuracy of axis modeling.
[0037] Obviously, those skilled in the art can make various changes and modifications to the invention without departing from the spirit and scope of the invention. Thus, if these modifications and variations of the invention fall within the scope of the claims of the invention and their equivalents, the invention is also intended to include these modifications and variations.
Claims
1. A method for reverse axis modeling of a building structure, characterized in that: The steps include: Step 1: Divide the building structure into sections; Step 2: for the first section, convert the steel structure in the building structure into a solid grid structure, and obtain the vertices of the solid grid structure; Step 3: Calculate the centroid point of all vertices, where the centroid point is the geometric center of the cross-sectional figure composed of all vertices; Step 4: Establish a normal vector according to the centroid point and any one of the vertices, and establish a point normal plane, where the point normal plane is a plane where the centroid point is located and is perpendicular to the normal vector; Step 5: Project all the vertices onto the point normal plane, and establish projection vectors from the projection point to each vertex; Step 6: Divide the vertices into two groups based on whether the directions of the projection vector and the normal vector are the same; Step 7: Calculate the center points of all vertices in the two groups respectively and record them as the two endpoints of a line segment; Step 8: Connect the two endpoints to obtain the axis of the first section of the building structure; Step 9: Loop through each segment in the building structure to obtain the axis of the building structure.
2. The method for reverse axis modeling of a building structure according to claim 1, characterized in that: In step 4, the method for establishing the normal vector and the point normal plane is: taking the centroid point as the starting point and any selected vertex as the end point, a vector is drawn and recorded as the normal vector.
3. The method for reverse axis modeling of a building structure according to claim 1, characterized in that: In step 5, the method for establishing the projection vector is: taking the projection point as the starting point and the vertex corresponding to the projection point as the end point, and the drawn vector is recorded as the projection vector.
4. The method for reverse axis modeling of a building structure according to claim 1, characterized in that: In step 6, the grouping method is: storing the vertices in the form of three-dimensional coordinates in two containers.
