Abstract
In order to accurately describe the position of the main inertia axis of the rod in the finite element analysis, and determine the direction of the bolt when machining the spatial rigid frame rod, the Euler angle calculation method of the spatial rigid frame displacement method of the reticulated shell rod is established, and the Euler angle calculation formulas of the cylindrical reticulated shell and the spherical reticulated shell are derived. Unlike conventional approaches in commercial software (e.g., 3DCAD and BIM) that require labor-intensive extraction processes, our method provides precise analytical solutions that significantly improve computational efficiency for large complex structures. The formula shows that the Euler angles of cylindrical reticulated shell members is related to the azimuths and longitudinal distances between the two ends, and the Euler angles of spherical reticulated shell members is related to the difference between the azimuth angle of the two ends of the member and the inclination angle of the two ends. The Euler angle is calculated by the proposed formula, and the finite element models of cylindrical reticulated shell, spherical reticulated shell and hyperbolic paraboloid reticulated shell are established respectively. It can be found that the proposed formula makes the reticulated shell members and the curved surface fit well, and the position of section of spatial beam element can be conveniently determined. This analytical approach overcomes the limitations of existing software solutions by providing direct, accurate Euler angle determination without iterative calculations, particularly beneficial for complex structural designs.
Introduction
Reticulated shell is a curved mesh structure with high stiffness, large span and various appearance types, which is widely used in practical engineering.1–3 A great deal of research has been carried out on the structural properties of reticulated shells and many analytical theories have been developed.4–8 In recent years, novel and efficient analytical methods have emerged one after another, bringing the study of reticulated shells into a new stage: refined member models.9,10 have been applied to dynamic characterization; discrete element method11,12 has been applied to stability analysis; isoparametric line method 13 and particle swarm algorithms 14 have been applied to morphology studies. In addition, with the development of assembled buildings, assembled semi-rigid connections applied to reticulated shells have become a new research interest.15–18
The matrix displacement method is a special finite element method that is mainly used to analyze reticulated shells. 19 Its general procedure is: through coordinate transformation, the element stiffness matrices of the discrete independent beam elements are integrated into the overall stiffness matrix of the structure, and then the performance of the structure is obtained by solving the overall stiffness matrix. For each beam element, the element local coordinate system Õ-X̃ỸZ̃ is established with the rod axis as the X̃-axis. In order to facilitate the integration of the overall stiffness matrix, the current finite element software sets the Ỹ-axis of the local coordinate system of all the elements to be parallel to the XOY plane of the overall coordinate system. For rods with non-circular cross sections, the direction of the main axis of inertia of the cross section (Y̅-axis) usually does not coincide with the direction of the Ỹ-axis, and the angle between them is known as the Euler angle α.20,21
According to the basic theory of the finite element method, 19 for a reticulated shell with non-circular cross-section, the Euler angles will have an effect on the overall stiffness matrix of the structure. In particular, the effect is more pronounced for rods with large differences in moments of inertia in the two directions of the cross-section. In FEM, force and stiffness matrices are transformed between the local and global coordinate systems. The rotation matrix used in this calculation can be defined by knowing two orthogonal vectors without calculating the Euler angles. However, in practical engineering, the calculation of Euler angles is very critical. On the one hand, with the help of the Euler angles, it is possible to determine the orientation of the bolts attached to the rods; on the other hand, by setting the appropriate Euler angles, it is possible to make one face of the rod with non-circular cross-section fit perfectly to the curved surface of the reticulated shell (Figure 1). When beams and slabs fit perfectly, the beams can better support the roof slabs, especially for ribbed concrete thin-shell structures,22,23 where it is necessary to ensure the co-working of beams and slabs. It is worth noting that there are usually numerous rods in a reticulated shell, each with a specific Euler angle, and the calculation of the Euler angle is more difficult especially for complex free-form reticulated shells. In FEM, the orientation of rods is often determined by estimation, resulting in the numerical simulation and the practical engineering is not completely consistent. In building design, although the degree to which the local coordinate system is skewed relative to the overall coordinate system is also considered, extracting the Euler angles of each member from commercial software, such as 3DCAD and BIM, is very labor intensive, which will bring a significant amount of computational efforts for analyzing large complex structures. Therefore, it is of great significance to propose an efficient method for calculating Euler angles.

Connection details of reticulated shell members and roof panels.
By analyzing the relative position relationship between the reticulated shell rods and the target surface, this paper establishes a general calculation method for the Euler angles of reticulated shell rods. In particular, formulas for calculating the Euler angles of cylindrical and spherical reticulated shell rods are derived. Furthermore, the Euler angles of the reticulated shell rods with regular and irregular surfaces are calculated respectively by means of the proposed formulae, and the finite element model is developed using ANSYS finite element software to validate the proposed formulas.
Generic calculation of Euler angles for reticulated shell rods
As shown in Figure 2, under the global coordinate system O-XYZ, the equation of the reticulated shell surface is z = f (x, y), and point i is on the surface with coordinates (xi, yi, zi). Plane Σi is the tangent plane of the reticulated shell surface through point i. According to the spatial geometric theory, the normal vector of the plane Σi is

Tangent plane of reticulated shell surface.
As shown in Figure 3, for the beam ij of the reticulated shell with point i as the end point, the local element coordinate system O̅-X̅Y̅Z̅ based on the principal inertia axes is established with the coordinate origin O̅ at point i, where the X̅-axis is along the axis ij, the Y̅-axis is along the main inertia axis of the beam section, and the Z̅-axis is determined by the right-hand rule. Similarly, in this paper, the Y̅-axis is chosen to ensure that the angle between the Z̅-axis and the Z-axis is less than or equal to 90°. In order for the beam ij to fit perfectly with the reticulated shell surface at end i, the red edge at the end of the beam lies in the tangent plane Σi, when the Y̅-axis of the local element coordinate system O̅-X̅Y̅Z̅ is parallel to the surface Σi, that is

Relationship between the position of reticulated shell element and tangent plane Σi.
Figure 4 shows the local element coordinate system Õ-X̃ỸZ̃ for the beam ij, where the point i is the local origin, the X̃-axis coincides with the X̃-axis, the Ỹ-axis is parallel to the XOY-plane of the global coordinate system, and the Z̃-axis is determined by the right-hand rule. Similarly, the Ỹ-axis is chosen to ensure that the angle of the Z̃-axis and the Z-axis is less than or equal to 90°. The angle between the Y̅-axis and the Ỹ-axis is represented by Euler angle α, as shown in Figure 5. The angle is defined as positive when changing from the Y̅-axis to the Ỹ-axis according to the right-hand rule.

Beam element in local coordinate system Õ-X̃ỸZ̃.

Euler angle α which is the angle between the Y̅-axis and the Y͂-axis.
As shown in Figure 5, the geometric relationship can be expressed as |
The Euler angle αi derived from equation (1) only ensures that the beam ij fits to the reticulated shell surface at the end i, and then, when the beam fits to the reticulated shell surface at the end j, the Euler angle can also be obtained. (xj,yj,zj) is the coordinate of point j in the global coordinate system O-XYZ, and the normal vector of the tangent plane Σj of the reticulated shell surface at point j is
When αi≠αj, in order to take both ends of i, j into account, the average value α of αi and αj is taken as the Euler angle of the beam ij, α = 1/2(αi + αj).
Calculation of Euler angles for typical reticulated shell
Cylindrical reticulated shell
Figure 6 shows a meter grid type cylindrical reticulated shell that contains three types of rods: diagonally placed rods e1, longitudinal rods e2, and annularly oriented rods e3. All possible forms of rods for the cylindrical reticulated shell can be represented as e1, e2, or e3. The center of the projected arc of the reticulated shell in the XOZ plane is point O and the radius is R. Expressing the coordinates of the points on the cylindrical plane in a cylindrical coordinate system gives the normal vector of the tangent plane of the cylindrical plane at point i, that is,
Then
Substituting equation (3) and equation (4) into equation (1), the Eulerian angle αi of the beam ij fitting the cylindrical surface at end i can be obtained. Similarly, the Euler angle αj can be given, where
According to the right-hand rule, for the rods on the θ > 0 side, α is positive when the angle between the X̃(X̅)-axis of the rod and the Y-axis is obtuse; for the rods on the θ < 0 side, α is positive when the angle between the X̃(X̅)-axis of the rod and the Y-axis is acute. It can be found through the Euler angle calculation formula for cylindrical reticulated shell rods that for rods between θi and θj, the Euler angle is the same when the distance d is the same. In particular, for the longitudinal rod e2, since θi=θj, |

Cylindrical reticulated shell.
Spherical reticulated shell
Figure 7 shows a rib-and-ring diagonal rod type spherical reticulated shell that contains three types of rods: diagonally placed rod e1, annularly oriented rod e2, and meridionally oriented rod e3. Similarly, all possible forms of rods for the spherical reticulated shell can be represented as e1, e2, or e3. In the spherical coordinate system, the normal vector of the tangent plane of the sphere at point i can be obtained as
Then
Substituting equation (6) and equation (7) into equation (1), the Eulerian angle αi of the beam ij fitting the spherical surface at end i can be obtained. Similarly, the Euler angle αj can be given, where
It can be found that for a spherical reticulated shell,
For the meridional rod e3, since θi = θj, |

Spherical reticulated shell.
Numerical examples
For cylindrical reticulated shells and spherical reticulated shells, the Euler angles can be obtained directly by substituting the coordinate parameters of the rods into the proposed analytical equations; for other irregular free-form surfaces, the normal vector of the tangent plane of the surface and the local coordinate system of the rod are first established, and the Euler angle is obtained according to equation (1). Then the finite element models of cylindrical reticulated shell, spherical reticulated shell and hyperbolic parabolic reticulated shell are established respectively to verify the proposed formulations. The finite element models will be developed in ANSYS 16.0 using BEAM180 elements with steel material properties: elastic modulus 210 GPa and Poisson’s ratio 0.3. The mesh sizes will be adaptively adjusted based on model dimensions to ensure spatial clarity of rods.
Finite element model of cylindrical reticulated shell
As shown in Figure 6, the cylindrical reticulated shell with cross-and-saltire shaped grid is equidistantly divided into 6 segments along the ring, with an azimuthal increment Δθ of 20° for each segment, radius R = 10 m and l = 4 m. The beam is a rectangular section of 400 × 600 and the angle between the X̃ (X̅)-axis of each rod and the Y-axis of the global coordinate system is acute. The Euler angles of each rod are calculated by the proposed method and the results are shown in Table 1. Define the deviation parameter γ to describe the degree of fit between the rod and the surface.
Euler angle and deviation parameter of rod in cylindrical reticulated shell with cross-and-saltire shaped grid, where the single number denotes the longitudinal rod corresponding to the number in Figure 6, and the double number represents the diagonally placed rod corresponding to between these two numbers in Figure 6.

Finite element model of cylindrical reticulated shell with cross-and-saltire shaped grid.
In contrast, if 3DCAD or similar software is used to manually extract the Euler angles of the members, it is necessary to first find a reference point on the member, then draw reference lines, and measure the spatial angle between the reference lines. The proposed method, given the node coordinates of the shell members, allows the Euler angles of each member to be quickly calculated by directly substituting the formula, which is clearly more convenient than manual measurement.
To further verify the influence of Euler angles on computational accuracy, a control model is established where Euler angles are neglected by aligning the Y̅-axis of all beam elements parallel to the XOY plane of the global coordinate system. A concentrated load of 1000 kN is applied along the negative Z-direction at all connections of the reticulated shell. The deformations of both models under loading are calculated and compared (Figures 9 and 10). The results demonstrate that neglecting Euler angles leads to an 8.6% reduction in mid-span deflection, confirming the essential requirement for accurate Euler angle calculation in practical engineering applications.

Z-direction displacement component of the cylindrical reticulated shell with Euler angles considered.

Z-direction displacement component of the cylindrical reticulated shell without Euler angles considered.
Finite element model of spherical reticulated shell
As shown in Figure 7, a spherical rib-circle inclined reticulated shell with a radius of 10 m is divided into 9 equal parts at 30° (azimuth) along the ring direction, and unfolded into 3 segments at 20° (inclination) along the longitudinal direction. The beam is a rectangular section of 250 × 400 and the X̃(X̅)-axis of all the rods and the θ-axis of the spherical coordinate system are in opposite directions. The Euler angles and the deviation parameters calculated by the proposed method of each rod are shown in Table 2. It can be found that the annularly oriented rods fit perfectly and the maximum of deviation parameter for the diagonally placed rods is 2.4%. The shell has a large whole degree of fit. Then substituting the obtained Euler angles into the finite element model, as shown in Figure 11, the results show that the rods and spherical surfaces fit well at each position.
Euler angle and deviation parameter of spherical rib-circle inclined reticulated shell, where the single number denotes the annularly oriented rod corresponding to the number in Figure 7, and the double number represents the diagonally placed rod corresponding to between these two numbers in Figure 7.

Finite element model of spherical rib-circle inclined reticulated shell.
Finite element model of hyperbolic paraboloid reticulated shell
Figure 12 shows a hyperbolic paraboloid reticulated shell with orthogonal-diagonal arranged grid, where the side of the square is 10 m long and the difference in height between the highest and lowest point is 5 m. The beam is a rectangular section of 400×600. The surface equation of the hyperbolic paraboloid can be expressed as
For the point i(xi,yi,zi) on the paraboloid, the normal vector to the tangent plane of the paraboloid through the point can be expressed as
Substituting equation (11) into equation (1), the Euler angles of the rods can be obtained. For example, for the red rod e in the reticulated shell shown in Figure 12, the coordinates of the rod ends are i(1.77, 1.77, 0) and j(3.5, 1.77, 0.45). For endpoint i,

Hyperbolic paraboloid reticulated shell.
The Euler angles and the deviation parameters are calculated for the rods in the intervals x ⩽ 0 and y ⩾ 0, which shows in Table 3. The rest can be obtained based on the symmetry. It can be found that the maximum of deviation parameter is 2.8%. The shell has a large whole degree of fit. Then substituting the obtained Euler angles into the finite element model, as shown in Figure 13, the results show that the rods and paraboloid fit well at each position.
Euler angle and deviation parameter of rod in Hyperbolic paraboloid reticulated shell.

Finite element model of Hyperbolic paraboloid reticulated shell.
The above examples are modeled by AYSYS software, and for other commercial software such as ABAQUS and SAP, the Euler angle calculation method proposed in this paper is equally applicable.
Conclusions
An effective method for calculating the Euler angles of reticulated shell rods is proposed in this study. Particularly, the calculation formulae for Euler angles of cylindrical reticulated shell and spherical reticulated shell are derived. The results show that the Euler angles of the cylindrical reticulated shell rod are determined by the values of the azimuthal angles θi, θj, and the distance d of the rod endpoints along the Y-direction; the Euler angles of the spherical reticulated shell rod are determined by the difference between the azimuth angles θi, θj, and the values of the inclination angles φi, φj.
The Euler angles of the cylindrical reticulated shell with cross-and-saltire shaped grid, spherical rib-circle inclined reticulated shell, and hyperbolic paraboloid reticulated shell with orthogonal-diagonal arranged grid are calculated respectively by the proposed method, and the finite element models are established. From the numerical examples, it can be found that the rods and the surface of reticulated shell fit well at each position, and the numerical results confirm those obtained by the proposed method. For free-form surfaces, the Euler angle calculation method proposed makes it easy to locate the cross-section of the space beam.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was funded by the Fundamental Research Funds of Zhejiang University of Science and Technology (2025QN031).
