Bridge structure modeling method based on pile number positioning transformation and feature point curve fitting
Patent Information
- Application Number
- CN202310238320.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2043-03-13
AI Technical Summary
协作过程中,由于桥梁的设计方案通常会反复修改和变更,则会造成三维模型的展现很难在多方实现同步
[0034] The method of this invention uses spline curves to fit horizontal and vertical curves, and achieves three-dimensional modeling of bridges through coordinate transformation. As long as the step size set during curve fitting is small enough, the fitted curve will be very close to the original curve.
Smart Images

Figure CN116383925B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of three-dimensional design technology for bridge engineering, specifically to a bridge structure modeling method based on stationing transformation and feature point curve fitting. Background Technology
[0002] Using two-dimensional drawings for bridge design cannot intuitively represent the bridge's three-dimensional structure, causing inconvenience and limitations for both design and construction. Currently, bridge design requirements are increasingly extending to the field of three-dimensional modeling, leading to the emergence of numerous 3D modeling software programs such as Catia and OpenCascade. However, the design process for these programs requires manual modeling. Manual modeling demands a high level of expertise and is difficult to learn. Therefore, in engineering design practice, the 3D modeling of bridge structures is often outsourced to specialized third parties through collaborative efforts. During this collaboration, because bridge designs are frequently modified and changed, it becomes difficult to synchronize the 3D model presentation across all parties.
[0003] If a new method for three-dimensional modeling of bridge structures can be proposed, and three-dimensional models can be obtained directly from two-dimensional drawings, then the participation of third parties will no longer be required, thereby avoiding the problem of model synchronization failure caused by multi-party collaboration. Summary of the Invention
[0004] The purpose of this invention is to provide a bridge structure modeling method based on stationing transformation and feature point curve fitting, which solves the problem of the current need for third-party modeling services, obtains a three-dimensional model using two-dimensional drawings, simplifies the design process, and saves design costs.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] A bridge structure modeling method based on stationing transformation and feature point curve fitting, the method comprising:
[0007] Set a step size and iterate through the horizontal and vertical curves of the bridge using that step size;
[0008] B-spline curves for horizontal and vertical curves are fitted respectively, and the three-dimensional coordinates and tangential vectors of the corresponding station numbers on the B-spline curves are obtained.
[0009] The three-dimensional coordinate system of the station number is determined based on the station number's coordinates and tangential vector.
[0010] Draw a two-dimensional graphic of the bridge, transform the two-dimensional graphic into a three-dimensional coordinate system, and obtain the coordinates of each point of the two-dimensional graphic in the three-dimensional coordinate system;
[0011] By traversing all station numbers, several two-dimensional graphics are obtained. At the same time, the coordinates of each point in these two-dimensional graphics in the three-dimensional coordinate system are obtained. A B-spline curve is fitted to obtain the three-dimensional structure of the bridge.
[0012] Furthermore, a step size is set to traverse the horizontal and vertical curves of the bridge, including:
[0013] Obtain the horizontal and vertical curves of the bridge;
[0014] Set the step size;
[0015] Traverse the horizontal curves of the bridge with a step size, incrementally extract each point on the horizontal curve, and obtain the coordinates of each point on the horizontal curve.
[0016] Traverse the vertical curves of the bridge with a step size, incrementally extract each point on the vertical curve, and obtain the coordinates of each point on the vertical curve.
[0017] Furthermore, B-spline curves for the horizontal and vertical curves are fitted separately to obtain the three-dimensional coordinates and tangential vectors of the corresponding station numbers on the B-spline curves, including:
[0018] Based on the coordinates of each point on the horizontal curve, fit the B-spline curve f of the horizontal curve. p Obtain the B-spline curve f p The coordinates (x1, y1) of the point corresponding to station a1 and the tangential vector v1 are given by (x1, y1, v1) = f. p (a1);
[0019] Based on the coordinates of each point on the vertical curve, fit the B-spline curve f of the vertical curve. s Obtain the B-spline curve f s The vertical coordinate value z1 of the point corresponding to station a1, z1 = f s (a1).
[0020] Furthermore, the three-dimensional coordinates and tangential vector of station a1 are (x1, y1, z1) and v1, respectively;
[0021] The three-dimensional coordinate system M1 of station a1 is determined by the three-dimensional coordinates and tangential vector of station a1.
[0022] Furthermore, a two-dimensional graphic of the bridge is drawn, and then transformed into a three-dimensional coordinate system to obtain the coordinates of each point in the two-dimensional graphic in the three-dimensional coordinate system, including:
[0023] Obtain the two-dimensional parameters of the bridge;
[0024] Draw a two-dimensional graphic of the bridge in the xoy plane based on the bridge's two-dimensional parameters;
[0025] The two-dimensional graphic is transformed into the three-dimensional coordinate system M1 at station a1 through matrix transformation;
[0026] Obtain the coordinates of each point of the two-dimensional graphic in the three-dimensional coordinate system M1.
[0027] Furthermore, by traversing all station numbers, several two-dimensional graphics are obtained. Simultaneously, the coordinates of each point in these two-dimensional graphics in the three-dimensional coordinate system are obtained. A B-spline curve is then fitted to obtain the three-dimensional structure of the bridge, including:
[0028] By traversing all station numbers, several two-dimensional graphs are obtained. Simultaneously, the coordinates of each point in these two-dimensional graphs in the three-dimensional coordinate system of each station number are obtained. A B-spline curve f is then fitted. i , i = 1, 2...n;
[0029] Based on the B-spline curve f i The three-dimensional structure T of the bridge was obtained.
[0030]
[0031] Furthermore, the chainage number is a unified number assigned to the bridge design foundation piles before construction, and is ordered along the length of the bridge.
[0032] Furthermore, each point in the two-dimensional graphic is a feature point of the bridge in the xoy plane, including straight line endpoints, oblique line endpoints, and curve endpoints.
[0033] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0034] The method of this invention uses spline curves to fit horizontal and vertical curves, and achieves three-dimensional modeling of bridges through coordinate transformation. As long as the step size set during curve fitting is small enough, the fitted curve will be very close to the original curve.
[0035] The method of this invention is easy to implement, can quickly perform three-dimensional modeling of bridges without the need for third-party participation, saves design costs, avoids the problem of inaccurate matching between two-dimensional drawings and three-dimensional graphics, and can obtain the coordinates of any point in the three-dimensional model, and can be generated simultaneously with the two-dimensional drawings. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained from these drawings without creative effort.
[0037] Figure 1 This is the flowchart of this method.
[0038] Figure 2 It is a schematic diagram of horizontal and vertical curves.
[0039] Figure 3 This is a cross-sectional view of a double T-beam.
[0040] Figure 4 This is a three-dimensional transformation diagram of the cross-section of a double T-beam.
[0041] Figure 5 It is a 3D model of a double T-beam. Detailed Implementation
[0042] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. Preferred embodiments of the invention are shown in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a thorough and complete understanding of the disclosure of the invention.
[0043] It should be noted that similar reference numerals and letters indicate similar items; therefore, once an item is defined in one embodiment, it does not need to be further defined and explained in subsequent embodiments. Furthermore, the terms "comprising" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0044] This invention provides a bridge structure modeling method based on stationing transformation and feature point curve fitting. It obtains the three-dimensional structure of the bridge from its two-dimensional graphics, achieving three-dimensional bridge modeling. Two-dimensional and three-dimensional drawings can be output simultaneously, and the coordinates of any point in the three-dimensional model can be obtained. It should be noted that although the method description mentions the order of steps, in some cases, they can be performed in a different order, and this should not be construed as a restriction on the order of steps. The steps can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, they can be performed in a different order.
[0045] like Figure 1 The method specifically includes the following steps:
[0046] S1: Set the step size, and traverse the horizontal and vertical curves of the bridge according to the step size, including:
[0047] S101: Obtain the horizontal and vertical curves of the bridge.
[0048] Horizontal curves are curves on a plane, placed where turns are needed, and their position on the plane is related to their location. Vertical curves are curves in the vertical direction, that is, curves on the longitudinal section, and are related to elevation differences. Horizontal and vertical curves are provided by bridge designers.
[0049] S102: Set the step size. To make the fitted curve as close as possible to the original curve, the step size should not be set too large. Multiple experiments are needed to select a suitable value.
[0050] S103: Traverse the horizontal curves of the bridge with a step size, incrementally extract each point on the horizontal curve, and obtain the coordinates of each point on the horizontal curve.
[0051] S104: Traverse the vertical curves of the bridge with a step size, incrementally extract each point on the vertical curve, and obtain the coordinates of each point on the vertical curve.
[0052] S2: Fit B-spline curves for the horizontal and vertical curves respectively, and obtain the three-dimensional coordinates and tangential vectors of the corresponding station numbers on the B-spline curves, including:
[0053] S201: Based on the coordinates of each point on the horizontal curve, fit the B-spline curve f of the horizontal curve. p Obtain the B-spline curve f p The coordinates (x1, y1) of the point corresponding to station a1 and the tangential vector v1 are given by (x1, y1, v1) = f. p (a1);
[0054] S202: Based on the coordinates of each point on the vertical curve, fit the B-spline curve f of the vertical curve. s Obtain the B-spline curve f s The vertical coordinate value z1 of the point corresponding to station a1, z1 = f s (a1).
[0055] The chainage number is a unified number assigned to the foundation piles before construction, and it is arranged along the length of the bridge.
[0056] S3: Determine the three-dimensional coordinate system of the station number based on its coordinates and tangential vector, including:
[0057] S301: The three-dimensional coordinates and tangential vector of station a1 are (x1, y1, z1) and v1, respectively;
[0058] S302: Determine the three-dimensional coordinate system M1 of station a1 using the three-dimensional coordinates and tangential vector of station a1.
[0059] S4: Draw a 2D graphic of the bridge, transform the 2D graphic into a 3D coordinate system, and obtain the coordinates of each point in the 3D coordinate system, including:
[0060] S401: Obtain the two-dimensional parameters of the bridge;
[0061] S402: Draw a two-dimensional graphic of the bridge in the xoy plane based on the bridge's two-dimensional parameters;
[0062] S403: Transform the two-dimensional graphic into the three-dimensional coordinate system M1 at station a1 through matrix transformation;
[0063] S404: Obtain the coordinates of each point in the two-dimensional graphic in the three-dimensional coordinate system M1.
[0064] S5: Traverse all station numbers to obtain several two-dimensional graphics, and simultaneously obtain the coordinates of each point in these two-dimensional graphics in the three-dimensional coordinate system. Fit a B-spline curve to obtain the three-dimensional structure of the bridge, including:
[0065] S501: Traverse all station numbers to obtain several two-dimensional graphics, and simultaneously obtain the coordinates of each point in these two-dimensional graphics in the three-dimensional coordinate system of each station number, and fit a B-spline curve f. i , i = 1, 2...n;
[0066] S502: Based on the B-spline curve f i The three-dimensional structure T of the bridge was obtained.
[0067]
[0068] This method is a way to fit horizontal and vertical curves using spline curves and achieve three-dimensional modeling of bridges through coordinate transformation. As long as the step size set during curve fitting is small enough, the fitted curve will be very close to the original curve.
[0069] This method is implemented using a route extraction module and a 3D drawing module. The 3D drawing module includes a parameter reading module, a 2D drawing module, and a 3D modeling module, specifically:
[0070] The route extraction module is used to implement steps S1, S2, and S3, and save the three-dimensional coordinates to a text file in the format of (x,y,z).
[0071] The parameter reading module is used to implement step S401, read the two-dimensional parameters of the bridge in JSON format, and simultaneously read the three-dimensional coordinates in text format, and save them to the cache.
[0072] The two-dimensional drawing module is used to implement steps S402, S403, S404, and S501.
[0073] The 3D modeling module is used to implement step S502.
[0074] Example:
[0075] The following specific drawing examples further illustrate this method:
[0076] Taking a double T-beam as an example, given the horizontal curve, vertical curve, and station number of the bridge, as well as the two-dimensional parameters of the double T-beam cross-section, construct its three-dimensional graphic.
[0077] Step 1: Bridge cross-section, horizontal and vertical curves (see...) Figure 2 and Figure 3 Extract points on horizontal and vertical curves in increments of 0.2m and save them to a file.
[0078] Step 2: Read the coordinates of the points, fit the B-spline curves of the horizontal curve and the vertical curve respectively, traverse the station numbers on the horizontal curve and the vertical curve respectively, and obtain the coordinates and tangential vectors of the points corresponding to the station numbers respectively.
[0079] Step 3: Read the two-dimensional parameters of the bridge and draw the cross-sectional view of the double-T beam on the xoy plane. Transform the double-T beam cross-sectional view to a three-dimensional coordinate system with the station number as the origin to obtain the point set of each feature point of the double-T beam. For example... Figure 3 The double-T beam has 16 characteristic points, including straight endpoints, inclined endpoints, and curved endpoints. Due to the long route, only a section of the route is shown in the diagram. Figure 4 .
[0080] Step 4: Fit each feature point set of the cross-section obtained in Step 3 into a B-spline curve, see... Figure 4 This yields a three-dimensional structure.
[0081] Those skilled in the art will understand that all or part of the functions of the above methods can be implemented in hardware or by computer programs. When all or part of the functions in the above embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, which may include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the above functions are implemented by executing the program with a computer. For example, the program can be stored in the memory of a device, and when the program in the memory is executed by the processor, all or part of the above functions can be implemented. In addition, when all or part of the functions in the above embodiments are implemented by computer programs, the program can also be stored in storage media such as a server, another computer, disk, optical disk, flash drive, or portable hard drive, and can be downloaded or copied to the memory of a local device, or the system of the local device can be updated. When the program in the memory is executed by the processor, all or part of the functions in the above embodiments can be implemented.
[0082] The above examples illustrate the present invention only to aid in understanding it and are not intended to limit the scope of the invention. Those skilled in the art can make various simple deductions, modifications, or substitutions based on the principles of this invention.
Claims
1. A bridge structure modeling method based on stationing transformation and feature point curve fitting, characterized in that: The method includes: Set a step size and iterate through the horizontal and vertical curves of the bridge using that step size; B-spline curves for horizontal and vertical curves are fitted respectively, and the three-dimensional coordinates and tangential vectors of the corresponding station numbers on the B-spline curves are obtained. The three-dimensional coordinate system of the station number is determined based on the station number's coordinates and tangential vector. Draw a two-dimensional graphic of the bridge, transform the two-dimensional graphic into a three-dimensional coordinate system, and obtain the coordinates of each point of the two-dimensional graphic in the three-dimensional coordinate system; By traversing all station numbers, several two-dimensional graphics are obtained. At the same time, the coordinates of each point in these two-dimensional graphics in the three-dimensional coordinate system are obtained. A B-spline curve is fitted to obtain the three-dimensional structure of the bridge. in: B-spline curves for the horizontal and vertical curves are fitted respectively, and the three-dimensional coordinates and tangential vectors of the corresponding station numbers on the B-spline curves are obtained, including: Based on the coordinates of each point on the horizontal curve, fit the B-spline curve of the horizontal curve. Obtain B-spline curves The corresponding station number Point coordinates and tangential vector , ; Based on the coordinates of each point on the vertical curve, fit the B-spline curve of the vertical curve. Obtain B-spline curves The corresponding station number The vertical coordinates of the point , ; The three-dimensional coordinate system of the station number is determined based on the station number's coordinates and tangential vector, including: Station number The three-dimensional coordinates and tangential vectors are respectively and ; By station number The three-dimensional coordinates and tangential vector are used to determine the station number. Three-dimensional coordinate system ; Draw a 2D diagram of the bridge, transform the 2D diagram to a 3D coordinate system, and obtain the coordinates of each point in the 3D coordinate system, including: Obtain the two-dimensional parameters of the bridge; Draw a two-dimensional graphic of the bridge in the xoy plane based on the bridge's two-dimensional parameters; Transform the two-dimensional graphic to station number using matrix transformation. Three-dimensional coordinate system middle; Obtain the coordinates of each point of a two-dimensional graphic in a three-dimensional coordinate system coordinates in , .
2. The method according to claim 1, characterized in that: Set a step size, and traverse the horizontal and vertical curves of the bridge by the step size, including: Obtain the horizontal and vertical curves of the bridge; Set the step size; Traverse the horizontal curves of the bridge with a step size, incrementally extract each point on the horizontal curve, and obtain the coordinates of each point on the horizontal curve. Traverse the vertical curves of the bridge with a step size, incrementally extract each point on the vertical curve, and obtain the coordinates of each point on the vertical curve.
3. The method according to claim 2, characterized in that: By traversing all station numbers, several two-dimensional graphics are obtained. Simultaneously, the coordinates of each point in these two-dimensional graphics in a three-dimensional coordinate system are obtained. A B-spline curve is then fitted to obtain the three-dimensional structure of the bridge, including: By iterating through all station numbers, several two-dimensional graphs are obtained. Simultaneously, the coordinates of each point in these two-dimensional graphs in the three-dimensional coordinate system of each station number are obtained, and a B-spline curve is fitted. , ; Based on B-spline curves The three-dimensional structure of the bridge was obtained. 。 4. The method according to claim 3, characterized in that: The chainage number refers to the unified numbering of the bridge foundation piles before construction, which is arranged along the length of the bridge.
5. The method according to claim 4, characterized in that: Each point in the two-dimensional graphic is a characteristic point of the bridge in the xoy plane, including straight line endpoints, oblique line endpoints, and curve endpoints.
Citation Information
Patent Citations
Ultrasonic diagnostic equipment
JP2010094197A
Modeling and designing method for elevated structure BIM model
WO2018040838A1