Bridge three-dimensional model construction method, terminal equipment and storage medium
By building bridge model generation scripts and libraries, and combining physical and positional parameters to generate bridge three-dimensional models, the spatial adaptability and safety hazards of two-dimensional modeling are solved, fast and accurate bridge three-dimensional modeling is achieved, and the reliability and safety of construction is improved.
Patent Information
- Application Number
- CN202510490515.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-08-08
AI Technical Summary
Traditional two-dimensional bridge modeling is difficult to accurately reflect the complex spatial relationship between bridge frames and on-site equipment, pipelines, etc., resulting in construction collisions and conflicts, poor adaptability, and the ability to fully consider dynamic loads and environmental factors, poses safety hazards and inadequate protection measures.
Build a bridge model to generate scripts, component libraries and appearance libraries, generate a bridge three-dimensional model through physical parameters and position parameters, and build a local coordinate system and rotation matrix during the continuous drawing process, automatically select bending components, perform obstacle avoidance modification and bridge connection, judge clearance requirements, and realize fast three-dimensional modeling.
It improves the reliability and accuracy of bridge frame modeling, avoids construction collisions, meets clearance requirements, and enhances the safety and adaptability of bridge frame structure.
Smart Images

Figure CN120449427A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of metallurgical engineering, and in particular to a method for constructing a three-dimensional bridge model, terminal equipment, and storage medium. Background Art
[0002] With the development of electrification in the metallurgical industry, the number of electrical equipment required has increased, and the number and complexity of cable trays used for laying cables have also increased. The rationality of cable tray design is closely related to the installation of cable trays on site and the progress of the entire project. Traditional two-dimensional cable tray modeling has the following defects:
[0003] (1) It is difficult to accurately reflect the complex spatial relationship between the bridge and on-site equipment, pipelines, etc., which can easily lead to collisions and conflicts during construction, increasing the difficulty and cost of adjustment;
[0004] (2) It has poor adaptability to scenarios with dense metallurgical equipment and limited space, which can easily lead to installation difficulties or fail to meet actual needs;
[0005] (3) Failure to fully consider factors such as dynamic loads and thermal expansion in the metallurgical environment can easily lead to insufficient strength of the bridge structure and pose safety hazards;
[0006] (4) Failure to consider fire prevention, anti-corrosion and other protective measures for the bridge may easily lead to damage to the cables or cause safety accidents. Summary of the Invention
[0007] In order to solve the above problems, the present invention proposes a method for constructing a three-dimensional bridge model, a terminal device and a storage medium.
[0008] The specific plan is as follows:
[0009] A method for constructing a three-dimensional bridge model comprises the following steps:
[0010] S1: Construct bridge model generation script, bridge component library and bridge shape library, including:
[0011] The bridge component library stores the physical parameters of various types of bridges;
[0012] The bridge shape library stores the shapes of various types of bridges;
[0013] The bridge model generation script is used to search for the corresponding bridge type from the bridge component library based on the physical parameters of the bridge, and based on the bridge code corresponding to the found bridge type, search for the bridge shape corresponding to the bridge code from the bridge shape library. Based on the found bridge shape, the starting point, end point and opening direction of the bridge position parameters are combined to generate a three-dimensional bridge model.
[0014] S2: After receiving the physical parameters and position parameters of the bridge to be generated, the bridge model generation script is called to generate a three-dimensional bridge model corresponding to the physical parameters at the position corresponding to the position parameters.
[0015] Furthermore, the physical parameters of the bridge include: bridge model, size, material, laying attributes and multi-layer bridge attributes, among which the laying attributes include voltage level, laying volume ratio and attributes of the partition plates in the bridge; the multi-layer bridge attributes include spacing, number of layers and offset.
[0016] Furthermore, the physical parameters of the bridge are input through the configuration window.
[0017] Furthermore, in the construction of the three-dimensional model of the bridge, when the bridge is continuously generated by continuous drawing, it also includes:
[0018] Construct a local three-dimensional coordinate system corresponding to each bridge, where the x-axis is along the bridge extension direction, the z-axis is along the bridge opening direction, and the y-axis is in the plane of the bridge cross section and perpendicular to the bridge opening direction;
[0019] Construct the initial rotation matrix corresponding to each bridge to record the directions of the three coordinate axes in the local three-dimensional coordinate system corresponding to each bridge;
[0020] Determine whether the vector pointing from the starting point to the end point corresponding to the bridge to which the selected end point belongs is perpendicular to the y-axis or z-axis of its previous adjacent bridge. If not, it is determined that a bent-through component cannot be generated between the bridge to which the selected end point belongs and its previous adjacent bridge, and a prompt is given to reselect the end point of the bridge.
[0021] Furthermore, after completing the three-dimensional modeling of the bridge, it also includes setting codes for each bridge, where different layers in a multi-layer bridge correspond to different codes; if two bridges are connected by a direct through-hole and there are no other branches on the connection path, the two bridges are set to use the same code; after completing the coding, a bridge list is constructed, each element in the bridge list corresponds to a bridge code, and the starting point, end point and opening direction of each bridge are recorded.
[0022] Furthermore, the generated bridge 3D model is edited, including obstacle avoidance modification, bridge connection and bridge transition connection;
[0023] In obstacle avoidance modification, the 3D bridge model is automatically offset according to the input offset parameters; the offset parameters include: obstacle avoidance direction, bending angle, offset start point, offset end point and offset position;
[0024] In the bridge connection, after receiving the selection information of the two bridges to be connected, the lengths of the two bridges are adjusted so that they just intersect, and the required bend components are generated at the intersection;
[0025] In the bridge transition connection, after receiving the selection information of the two bridges to be transitioned, the shortest distance between the endpoints of the two bridges is calculated, a new straight bridge is generated at the shortest distance, and a corresponding bent member is automatically generated at the connection between the new straight bridge and the two bridges.
[0026] Furthermore, after completing the bridge frame modeling, it also includes judging whether the constructed three-dimensional model of the bridge frame meets the clearance requirements. Specifically, after expanding the three-dimensional model of the environmental model to a range that includes the clearance requirements, it is judged whether the expanded three-dimensional model will collide with the three-dimensional model of the bridge frame. If so, it is determined that it does not meet the clearance requirements, and the collision area of the three-dimensional model of the bridge frame is marked as an area that does not meet the clearance requirements.
[0027] A terminal device for constructing a three-dimensional bridge model comprises a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method described above are implemented.
[0028] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method described above in an embodiment of the present invention.
[0029] The present invention adopts the above technical solution, which can facilitate designers to quickly perform three-dimensional modeling of the bridge frame, and can avoid the generation of the bridge frame based on the bending component generation principle during continuous drawing, thereby improving the reliability of the bridge frame modeling. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 Shown is a flow chart of a method according to a first embodiment of the present invention.
[0031] Figure 2 Shown is a schematic diagram of the bridge parameter configuration window in this embodiment. DETAILED DESCRIPTION
[0032] To further illustrate various embodiments, the present invention provides accompanying drawings. These drawings form part of the present disclosure and are primarily used to illustrate the embodiments and, in conjunction with the relevant description in the specification, to explain the operating principles of the embodiments. By referring to these drawings, those skilled in the art will be able to understand other possible implementations and the advantages of the present invention.
[0033] The present invention will now be further described with reference to the accompanying drawings and specific embodiments.
[0034] Example 1:
[0035] The embodiment of the present invention provides a method for constructing a three-dimensional bridge model. Figure 1 As shown, the method includes the following steps:
[0036] S1: Construct a bridge model generation script, a bridge component library, and a bridge shape library, wherein: the bridge component library stores the physical parameters of each type of bridge. The bridge shape library stores the shape of each type of bridge (the bridge component library and the bridge shape library are bound by bridge codes, and the shape is a three-dimensional shape). The bridge model generation script is used to search for the corresponding bridge type from the bridge component library based on the physical parameters of the bridge, and based on the bridge code corresponding to the found bridge type, search for the bridge shape corresponding to the bridge code from the bridge shape library, and generate a three-dimensional bridge model based on the found bridge shape and the starting point, end point, and opening direction in the bridge position parameters.
[0037] S2: After receiving the physical parameters and position parameters of the bridge to be generated, the bridge model generation script is called to generate a three-dimensional bridge model corresponding to the physical parameters at the position corresponding to the position parameters.
[0038] In this embodiment, the physical parameters of the bridge are used to determine the style and type of the bridge, including bridge model (such as T-type, tray type, trough type, etc.), size (width and height), material, laying properties and multi-layer bridge properties. These physical parameters are input through the configuration window, such as Figure 2 The physical parameters' layout attributes are used for cable laying. In this example, they include voltage level, layout volume ratio, and the properties of the separators in the cable tray. The physical parameters' multi-layer cable tray attributes include spacing, number of layers, and vertical and horizontal offsets. By setting these attributes, you can model multi-row, multi-layer (matrix) cable trays.
[0039] The position parameters of the bridge are used to determine the modeling position and direction of the bridge, including the starting point, end point and opening direction. In this embodiment, the position parameters are input by clicking the mouse at the corresponding position on the screen.
[0040] When constructing a three-dimensional bridge model, this can be achieved through continuous drawing, that is, continuously selecting the end points of adjacent bridges, which are used as the starting points of the next bridge. Since the end points selected during continuous drawing may not conform to the generation principles of curved components (two-way, three-way, multi-way, etc.) connecting two bridges, this embodiment further includes the following steps when continuously generating bridges by continuously drawing corresponding line segments of the bridges:
[0041] S101: Construct a local three-dimensional coordinate system corresponding to each bridge (each bridge has its own local three-dimensional coordinate system). The x-axis in the local three-dimensional coordinate system is along the extension direction of the bridge (i.e., the direction from the starting point to the end point), the z-axis is along the opening direction of the bridge (i.e., the direction of the trough for laying cables), and the y-axis is in the plane of the bridge section and perpendicular to the opening direction of the bridge.
[0042] S102: Constructing an initial rotation matrix corresponding to each bridge, for recording the directions of the three coordinate axes in the local three-dimensional coordinate system corresponding to each bridge.
[0043] S103: Determine whether the vector pointing from the starting point to the end point corresponding to the bridge to which the selected end point belongs is perpendicular to the y-axis or z-axis of its previous adjacent bridge (the bridge with the starting point of the bridge as the end point). If not, it is determined that no curved component can be generated between the bridge to which the selected end point belongs and its previous adjacent bridge (that is, the selected end point is invalid), and a prompt is given to reselect the end point of the bridge.
[0044] During the three-dimensional modeling process of the bridge, suitable curved components can be automatically selected and modeled.
[0045] After completing the 3D modeling of the cable trays, the process also involves assigning a code (ID) to each cable tray. Different layers in a multi-layer cable tray have different IDs. It's important to note that if two cable trays are directly connected and there are no other branches along the connecting path, both use the same ID. After the IDs are complete, a cable tray list is constructed. Each element in the list corresponds to a cable tray ID, and the starting point, end point, and opening direction of each cable tray are recorded.
[0046] After completing the 3D modeling of the bridge, you can also edit the constructed 3D model of the bridge, which mainly includes the following three situations.
[0047] (1) Obstacle avoidance modification, that is, the path of the bridge should be modified when it encounters an obstacle. This embodiment includes two situations: manual operation and automatic operation: in manual operation, it is necessary to receive the offset parameters such as the obstacle avoidance direction (horizontal direction or vertical direction) and (center line) bending angle (that is, the type of bending component) entered in the configuration window, and then receive the offset parameters such as the offset start point, offset end point and offset position entered in the window by clicking the mouse. After receiving all the offset parameters, the bridge is automatically offset from the input offset start point to the offset end point. In automatic operation, the software automatically identifies the positional relationship between the three-dimensional model of the bridge and other three-dimensional models. If there is a collision, the collision start point and end point are automatically calculated, and the offset that meets the requirements is automatically achieved based on the offset parameters such as the obstacle avoidance direction and bending angle entered in the configuration window.
[0048] (2) Bridge connection, which is applicable to two bridges whose extension lines can intersect. When implementing the bridge connection function, after receiving the user's selection information of the two bridges to be connected, the lengths of the two bridges are adjusted (extended or truncated) so that they just intersect, and the required bent member is generated at the intersection. If the two bridges are originally connected by a bent member, the original bent member is deleted and a new bent member is regenerated.
[0049] It should be noted that the above bridge connection operation also needs to meet the conditions of steps S101-S103.
[0050] (3) Bridge transition connection, that is, bridge transition connection is used between parallel bridges or bridges that are far apart. When implementing bridge transition connection, after receiving the user's selection information of the two bridges to be transitioned, the shortest distance between the endpoints of the two bridges is calculated, and a new straight bridge is generated at the shortest distance. The corresponding bent member is automatically generated at the connection between the new straight bridge and the two bridges.
[0051] Since there are clearance requirements between the bridge and existing environmental models (such as gas pipelines, stairs, corridors, etc.), after completing the bridge modeling, it is necessary to determine whether the corresponding clearance requirements are met. The judgment method adopted in this embodiment is: after expanding the three-dimensional model of the environmental model to a range that includes the clearance requirements (for gas pipelines, the radius is extended by the clearance length required for the clearance requirements; for stairs or corridors, one side is stretched by the clearance length required for the clearance requirements), it is determined whether the expanded three-dimensional model and the bridge three-dimensional model will collide. If so, it is determined that the clearance requirements are not met, and the collision area is marked as an area that does not meet the clearance requirements for subsequent modification.
[0052] Example 2:
[0053] The present invention also provides a terminal device for constructing a three-dimensional model of a bridge, comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the steps in the above-mentioned method embodiment of embodiment 1 of the present invention are implemented.
[0054] Furthermore, as an executable solution, the bridge three-dimensional model construction terminal device can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The bridge three-dimensional model construction terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the composition structure of the above-mentioned bridge three-dimensional model construction terminal device is only an example of the bridge three-dimensional model construction terminal device, and does not constitute a limitation on the bridge three-dimensional model construction terminal device. It may include more or fewer components than the above-mentioned components, or a combination of certain components, or different components. For example, the bridge three-dimensional model construction terminal device may also include input and output devices, network access devices, buses, etc., and the embodiments of the present invention do not limit this.
[0055] Furthermore, as an executable solution, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices. The general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the three-dimensional bridge model construction terminal device, and utilizes various interfaces and lines to connect various parts of the entire three-dimensional bridge model construction terminal device.
[0056] The memory can be used to store the computer programs and / or modules, and the processor realizes the various functions of the bridge three-dimensional model construction terminal device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created based on the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0057] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method in the embodiment of the present invention are implemented.
[0058] If the module / unit integrated in the terminal equipment for building the three-dimensional model of the bridge is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and software distribution medium, etc.
[0059] Although the present invention has been particularly shown and described in conjunction with preferred embodiments, it will be understood by those skilled in the art that various changes in form and details may be made to the present invention without departing from the spirit and scope of the invention as defined in the appended claims, and all such changes are within the scope of protection of the present invention.
Claims
1. A method for constructing a three-dimensional bridge model, characterized in that: The following steps are involved: S1: Construct bridge model generation script, bridge component library and bridge shape library, including: The bridge component library stores the physical parameters of various types of bridges; The bridge shape library stores the shapes of various types of bridges; The bridge model generation script is used to search for the corresponding bridge type from the bridge component library based on the physical parameters of the bridge, and based on the bridge code corresponding to the found bridge type, search for the bridge shape corresponding to the bridge code from the bridge shape library. Based on the found bridge shape, the starting point, end point and opening direction of the bridge position parameters are combined to generate a three-dimensional bridge model. S2: After receiving the physical parameters and position parameters of the bridge to be generated, the bridge model generation script is called to generate a three-dimensional bridge model corresponding to the physical parameters at the position corresponding to the position parameters.
2. The method for constructing a three-dimensional bridge model according to claim 1, wherein: The physical parameters of the bridge include: bridge model, size, material, laying attributes and multi-layer bridge attributes. The laying attributes include voltage level, laying volume ratio and the attributes of the partition plate in the bridge; the multi-layer bridge attributes include spacing, number of layers and offset.
3. The method for constructing a three-dimensional bridge model according to claim 1, wherein: The physical parameters of the bridge are entered through the configuration window.
4. The method for constructing a three-dimensional bridge model according to claim 1, wherein: In the construction of the bridge 3D model, when the bridge is continuously generated by continuous drawing, it also includes: Construct a local three-dimensional coordinate system corresponding to each bridge, where the x-axis is along the bridge extension direction, the z-axis is along the bridge opening direction, and the y-axis is in the plane of the bridge cross section and perpendicular to the bridge opening direction; Construct the initial rotation matrix corresponding to each bridge to record the directions of the three coordinate axes in the local three-dimensional coordinate system corresponding to each bridge; Determine whether the vector pointing from the starting point to the end point corresponding to the bridge to which the selected end point belongs is perpendicular to the y-axis or z-axis of its previous adjacent bridge. If not, it is determined that a bent-through component cannot be generated between the bridge to which the selected end point belongs and its previous adjacent bridge, and a prompt is given to reselect the end point of the bridge.
5. The method for constructing a three-dimensional bridge model according to claim 1, wherein: After completing the three-dimensional modeling of the bridge, it also includes setting codes for each bridge, where different layers in a multi-layer bridge correspond to different codes; if two bridges are connected by a direct connection and there are no other branches on the connection path, the two bridges are set to use the same code; after completing the coding, a bridge list is constructed, where each element in the bridge list corresponds to a bridge code, and the starting point, end point and opening direction of each bridge are recorded.
6. The method for constructing a three-dimensional bridge model according to claim 1, wherein: It also includes editing the generated bridge 3D model, including obstacle avoidance modification, bridge connection and bridge transition connection; In obstacle avoidance modification, the 3D bridge model is automatically offset according to the input offset parameters; The offset parameters include: obstacle avoidance direction, bending angle, offset start point, offset end point and offset position; In the bridge connection, after receiving the selection information of the two bridges to be connected, the lengths of the two bridges are adjusted so that they just intersect, and the required bend components are generated at the intersection; In the bridge transition connection, after receiving the selection information of the two bridges to be transitioned, the shortest distance between the endpoints of the two bridges is calculated, a new straight bridge is generated at the shortest distance, and a corresponding bent member is automatically generated at the connection between the new straight bridge and the two bridges.
7. The method for constructing a three-dimensional bridge model according to claim 1, wherein: After completing the bridge modeling, it also includes judging whether the constructed three-dimensional model of the bridge meets the clearance requirements. Specifically, after expanding the three-dimensional model of the environmental model to the range that includes the clearance requirements, it is judged whether the expanded three-dimensional model will collide with the three-dimensional model of the bridge. If so, it is determined that it does not meet the clearance requirements, and the collision area of the three-dimensional model of the bridge is marked as the area that does not meet the clearance requirements.
8. A terminal device for constructing a three-dimensional bridge model, characterized by: The method comprises a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.