Modeling method and system of bridge digital twin model based on unreal engine
By creating a bridge model on the Revit platform and using the Datasmith and V-Ray plugins to import the model into Unreal Engine for unified material management, the problems of poor interactivity and low modeling efficiency in the bridge operation and maintenance phase of BIM technology are solved, and the construction of a fast and efficient digital twin model of a bridge is achieved.
Patent Information
- Application Number
- CN202410899709.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing technologies, BIM technology suffers from poor interactivity during the bridge operation and maintenance phase, a cumbersome modeling process, the inability to directly convert material and coordinate information, and high hardware requirements, resulting in low efficiency.
A bridge digital twin modeling method based on Unreal Engine is adopted. The bridge model is built through the Revit platform, and the Datasmith and V-Ray plugins are used to import the model into Unreal Engine to achieve unified material management and automated processing. The modeling is carried out quickly by working in collaboration with multiple modules.
It enables the rapid creation of digital twin models of bridges, improves modeling efficiency and accuracy, reduces hardware requirements, enhances user experience and modeling costs, and strengthens the value of BIM technology in the operation and maintenance phase.
Smart Images

Figure CN119047118A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of digital twins, and in particular relates to a modeling method and system for a bridge digital twin model based on an Unreal Engine. Background Art
[0002] BIM technology (Building Information Modeling) is often used in the design and construction phase of building engineering, but it often cannot fully realize its value in the later operation and maintenance phase. Users must download the corresponding operating software to browse the building model and structural information. On the one hand, the interactivity of BIM technology is far from meeting the needs of existing users, and on the other hand, the relevant information in BIM cannot be updated in real time based on the data. Digital twin technology has gradually developed to the stage of technology application. Its characteristics of expressing physical entities and usage conditions information as virtual models and interacting with users can make up for the shortcomings of BIM technology.
[0003] At present, there are still many unresolved technical problems in simulating the real physical world in the virtual world, but the powerful rendering function and convenient interactive features of the game engine can meet some of the needs of digital twins. In the Unreal Engine platform, the modeling process is too cumbersome, and the field information such as materials and coordinates in the bridge BIM model cannot be directly converted and needs to be re-established, which is inefficient. Summary of the invention
[0004] In view of the technical problems in the above-mentioned prior art, the present invention proposes a modeling method and system for a bridge digital twin model based on Unreal Engine, which solves the problems of poor interaction between digital models and users, overly cumbersome modeling process of digital twin models, and excessively high requirements for hardware equipment, further exerting the value of BIM technology in the operation and maintenance stage of bridges.
[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:
[0006] A modeling method for a bridge digital twin model based on Unreal Engine includes the following steps:
[0007] S1. Complete the establishment of the full professional model of the bridge in Revit and save it in the file in the RVT format provided by Revit;
[0008] S2, the task scheduling module selects the rvt project file and sends a command to the rvt logic export module;
[0009] S3. After receiving the command from the task scheduling module, the RVT logic export module will receive the RVT project file sent by the task scheduling module, generate the corresponding script file that can be executed on the Revit software platform according to the project file, and communicate with Revit after installing the Datasmith plug-in through OLE. Revit opens the corresponding RVT project file by calling the script file and exports the selected bridge digital model as a .udatasmith file. Finally, the RVT logic export module sends the .udatasmith file to the task scheduling module through network communication.
[0010] S4. The task scheduling module receives the .udatasmith file sent by the rvt logic export module and transmits it to the Unreal Engine logic import module. After receiving the file, the Unreal Engine logic import module dynamically generates a corresponding automation processing script, which is a C++ script that can be run on the Unreal Engine platform. The C++ script includes the following operations: importing the data contained in the .udatasmith file, establishing the corresponding blueprint class resources, and generating mesh data according to the imported data to fill the blueprint endpoint mesh component content;
[0011] S5. After receiving the optimization command from the task scheduling module, the unified material management module first uses the V-Ray plug-in on the Revit platform to optimize the upper structure material, lower structure material, bridge ancillary facilities material, and bridge deck pavement material of the digital twin bridge, and classifies all bridge model materials into one parent material; then it exports the data and sends it to the task scheduling module, which then imports it into the Unreal Engine platform through the Unreal Engine logic import module. At this time, the digital twin bridges in the Unreal Engine platform are unified under the same parent material, and sub-material branches can continue to be created under each sub-material.
[0012] Further, as a preferred technical solution of the present invention, in S2, the task scheduling module is responsible for the automatic scheduling of the entire process and the file transfer work; the task scheduling module is connected to other modules through network communication.
[0013] Further as a preferred technical solution of the present invention, in the S3, the Datasmith plug-in is a tool plug-in provided by epic, the development company of the Unreal Engine, which imports the entire pre-constructed scenes and complex combinations into the Unreal Engine, and the plug-in supports a wide range of 3D design applications and file formats.
[0014] A system for modeling a bridge digital twin model based on Unreal Engine, comprising:
[0015] The task scheduling module is used to discover and select the required rvt project files, and is responsible for the scheduling work between the rvt logic export module and the Unreal Engine logic import module, issuing commands and receiving files;
[0016] The rvt logic export module generates a revit executable script file based on the rvt project file sent by the task scheduling module. The script file is called in revit to open the rvt project file to generate a bridge 3D model. After that, the built bridge 3D model is selected. The Datasmith plug-in is used to export the file as a .udatasmith file and promptly feed it back to the task scheduling module for the next step of scheduling.
[0017] The Unreal Engine logic import module dynamically processes the script after receiving the .udatasmith file and related commands sent by the task scheduling module, starts a new project on the Unreal Engine platform, creates a blank level, and imports the .udatasmith file into the Blueprint Actor;
[0018] The unified material management module uses the V-Ray plug-in to optimize the materials, classifies the bridge model materials into a master material, and directly adjusts the material type, brightness and saturation in the master material.
[0019] The modeling method and system of a bridge digital twin model based on Unreal Engine described in the present invention adopt the above technical solution and have the following technical effects compared with the prior art:
[0020] (1) The present invention can realize the rapid establishment of a bridge digital twin model through blueprint design and multi-module automated collaborative work.
[0021] (2) The present invention relies on Revit to perform digital modeling of the bridge, and can import field information such as steel bar type and concrete type in the bridge model into the Unreal Engine, allowing users to browse more conveniently without installing large-scale software.
[0022] (3) The modeling mode of the present invention is replicable, and the blueprint design can be applied in batches to the construction of multiple bridge digital twin models, which greatly improves the modeling efficiency. At the same time, it improves the modeling accuracy compared to directly using the bridge model provided by the platform in the Unreal Engine.
[0023] (4) Relying on the powerful rendering function of the Unreal Engine platform, the digital twin platform can have better visual effects and improve user experience.
[0024] (5) Compared with the traditional Unreal Engine modeling method, there is no need to deconstruct the scene and assemble parts to form independent data blocks, and then pass each data block to the game engine separately through the FBX import pipeline, and then reassemble the scene in the Unreal Editor. The present invention can reuse the resources and layouts that have been built in Revit, which is efficient and convenient and fast for importing three-dimensional coordinates and source materials. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of a flow chart of an embodiment of the present invention;
[0026] Figure 2 This is a schematic diagram of a material unification module according to an embodiment of the present invention;
[0027] Figure 3 A bridge model established in Revit according to an embodiment of the present invention;
[0028] Figure 4 Blueprint resources established for the embodiment of the present invention;
[0029] Figure 5 A material management solution established in accordance with an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The present invention is explained in detail below in conjunction with the accompanying drawings and taking a digital twin model of a bridge as an example, so that those skilled in the art can have a deeper understanding of the present invention and be able to implement it. However, the reference examples below are only used to explain the present invention and are not intended to be limiting of the present invention.
[0031] like Figure 1 As shown, a modeling method of a bridge digital twin model based on Unreal Engine includes the following steps:
[0032] S1: Complete the establishment of a full professional model of the bridge in Revit and save it in a file in the RVT format that comes with Revit.
[0033] S2: The task scheduling module selects the rvt project file and sends a command to the rvt logic export module. The task scheduling module is responsible for the automatic scheduling of the entire process and file transfer. The task scheduling module is connected to other modules through network communication.
[0034] S3: After receiving the command from the task scheduling module, the RVT logic export module will receive the RVT project file sent by the task scheduling module, generate the corresponding script file that can be executed on the Revit software platform according to the project file, and communicate with Revit after installing the Datasmith plug-in through OLE. Revit can open the corresponding RVT project file by calling the script file and export the selected bridge digital model as a .udatasmith file. Finally, the RVT logic export module sends the .udatasmith file to the task scheduling module through network communication. Among them, the Datasmith export plug-in is a tool plug-in provided by Epic, the development company of Unreal Engine, which can import the entire pre-constructed scene and complex combination into the Unreal Engine, and the plug-in supports a wide range of 3D design applications and file formats. The Datasmith plug-in can make the process of converting design content by the RVT logic export module smarter and more convenient. The content imported by the Datasmith plug-in can achieve the best runtime performance in the game engine and add more intelligent runtime behavior.
[0035] S4: The task scheduling module receives the .udatasmith file sent by the rvt logic export module and transmits it to the Unreal Engine logic import module. After receiving the file, the Unreal Engine logic import module will dynamically generate the corresponding automatic processing script, which is a C++ script that can be run on the Unreal Engine platform. The C++ script contains the following operations: importing the data contained in the .udatasmith file, establishing the corresponding blueprint class resources, and generating mesh data based on the imported data to fill the blueprint endpoint mesh component content. In this process, the coordinate position, mapping features, and various structural materials of the digital twin bridge model established in Revit will all be retained in the Unreal Engine platform and presented in the form of a blueprint in the Unreal Engine.
[0036] S5: After receiving the optimization command from the task scheduling module, the unified material management module first uses the V-Ray plug-in on the Revit platform to optimize the upper structure material, lower structure material, bridge ancillary facilities material, and bridge deck pavement material of the digital twin bridge, and classifies all bridge model materials into one parent material. Then the exported data is sent to the task scheduling module, which is then imported into the Unreal Engine platform through the Unreal Engine logic import module. At this time, the digital twin bridges in the Unreal Engine platform are unified under the same parent material, and sub-material branches can continue to be created under each sub-material. Figure 2 As shown in the figure, by adjusting the parent material, the material type, brightness and saturation of all parts of the bridge can be directly adjusted, which greatly improves the efficiency of material modification and reduces the requirements for hardware performance.
[0037] The task scheduling module in the present invention is used to discover and select the required rvt project files, and is responsible for the scheduling work between the rvt logic export module and the Unreal Engine logic import module; the second is the rvt logic export module, which will receive commands from the task scheduling module, convert the rvt model file into a .udatasmith file, and finally the exported .udatasmith file will be fed back to the task scheduling module for the next step of scheduling; the second is the Unreal Engine logic import module, which receives the .udatasmith file sent from the task scheduling module, generates the corresponding processing script file according to the .udatasmith file, and then creates a scene in the Unreal Engine platform by calling commands and imports the bridge three-dimensional model; the second is the material unified management module, which quickly modifies the imported model material and reduces the performance requirements for hardware equipment. The present invention realizes the rapid modeling of the bridge digital twin model through the collaborative work of multiple modules.
[0038] The task scheduling module in the present invention can effectively identify the rvt project file, and issue commands and receive files to the rvt logic export module and the Unreal Engine logic import module. The rvt logic export module can generate a revit executable script file according to the rvt project file sent by the task scheduling module, call the script file in revit to open the rvt project file to generate a bridge three-dimensional model, select the built bridge three-dimensional model, use the Datasmith plug-in to export the file as a .udatasmith file and timely feedback to the task scheduling module. The Unreal Engine logic import module dynamically processes the script after receiving the .udatasmith file and related commands sent by the task scheduling module, starts a new project on the Unreal Engine platform, creates a blank level, and imports the .udatasmith file in the blueprint Actor. Among them, the three-dimensional coordinates and material textures of the three-dimensional model of the bridge in revit will be synchronously retained in the Unreal Engine platform. Material unified management module: use the V-Ray plug-in to optimize the material, classify the bridge model material as a master material, and directly adjust the material type, brightness and saturation in the master material. Improve the efficiency of material modification and reduce the requirements for hardware performance.
[0039] The present invention can realize rapid modeling and efficient debugging of bridge digital twin models, and reflect the data of real bridges in digital models. It greatly reduces the construction cost of digital twin platforms, improves modeling efficiency, and increases the utilization value of bridge BIM models.
[0040] The present invention converts the original Revit bridge model into a digital twin bridge in the Unreal Engine through the collaborative work of multiple modules including a task scheduling module, an RVT logic export module, an Unreal Engine logic import module, and a material unified management module, and quickly establishes blueprint resources to complete the conversion of corresponding materials and textures, thereby avoiding the need to manually deconstruct scenes and assemblies to form independent data blocks, and then individually transmit each data block to the game engine through the FBX import pipeline, and then reassemble the scene in the Unreal Editor, thereby reducing modeling costs, improving modeling efficiency, and reducing corresponding expenses.
[0041] To illustrate the present invention, a tied arch bridge is used as an example to illustrate the implementation scheme. First, the arch bridge foundation modeling is completed in Revit, including the control section of the main beam, piers, abutments, as well as the concrete strength, steel bar strength, steel bar arrangement, etc. Figure 3 ; Then select the completed RVT file in the Task Scheduling Module and transfer it to the RVT Logic Export Module. In the RVT Logic Export Module, use the Datasmith plugin to export the RVT project file as a .udatasmith file and transfer it back to the Task Scheduling Module; then use the Unreal Engine Logic Import Module to generate the corresponding script file in the Unreal Engine based on the .udatasmith file and create a blueprint class resource. Figure 4 Finally, the task scheduling module issues an optimization command to the material unified management module, and uses the V-Ray plug-in to classify and manage various types of materials of the tied arch bridge. The generated classification scheme is shown in Figure 5 .
[0042] The specific implementation scheme described above further describes in detail the purpose, technical scheme and beneficial effects of the present invention. It should be understood that the above is only a specific implementation scheme of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes and modifications made by any technician in the field without departing from the concept and principle of the present invention should fall within the scope of protection of the present invention.
Claims
1. A modeling method for a bridge digital twin model based on Unreal Engine, characterized in that: The following steps are involved: S1. Complete the establishment of the full professional model of the bridge in Revit and save it in the file in the RVT format provided by Revit; S2, the task scheduling module selects the rvt project file and sends a command to the rvt logic export module; S3. After receiving the command from the task scheduling module, the RVT logic export module will receive the RVT project file sent by the task scheduling module, generate the corresponding script file that can be executed on the Revit software platform according to the project file, and communicate with Revit after installing the Datasmith plug-in through OLE. Revit opens the corresponding RVT project file by calling the script file and exports the selected bridge digital model as a .udatasmith file. Finally, the RVT logic export module sends the .udatasmith file to the task scheduling module through network communication. S4. The task scheduling module receives the .udatasmith file sent by the rvt logic export module and transmits it to the Unreal Engine logic import module. After receiving the file, the Unreal Engine logic import module dynamically generates a corresponding automation processing script, which is a C++ script that can be run on the Unreal Engine platform. The C++ script includes the following operations: importing the data contained in the .udatasmith file, establishing the corresponding blueprint class resources, and generating mesh data according to the imported data to fill the blueprint endpoint mesh component content; S5. After receiving the optimization command from the task scheduling module, the unified material management module first uses the V-Ray plug-in on the Revit platform to optimize the upper structure material, lower structure material, bridge ancillary facilities material, and bridge deck pavement material of the digital twin bridge, and classifies all bridge model materials into one parent material; then it exports the data and sends it to the task scheduling module, which then imports it into the Unreal Engine platform through the Unreal Engine logic import module. At this time, the digital twin bridges in the Unreal Engine platform are unified under the same parent material, and sub-material branches can continue to be created under each sub-material.
2. The modeling method of the bridge digital twin model based on Unreal Engine according to claim 1, characterized in that: In S2, the task scheduling module is responsible for the automatic scheduling of the entire process and file transfer; the task scheduling module is connected to other modules through network communication.
3. The modeling method of the bridge digital twin model based on Unreal Engine according to claim 2 is characterized in that: In the S3, the Datasmith plug-in is a tool plug-in provided by Epic, the developer of the Unreal Engine, which imports entire pre-constructed scenes and complex combinations into the Unreal Engine, and the plug-in supports a wide range of 3D design applications and file formats.
4. A system based on the modeling method of the bridge digital twin model based on Unreal Engine according to any one of claims 1 to 3, characterized in that: include: The task scheduling module is used to discover and select the required rvt project files, and is responsible for the scheduling work between the rvt logic export module and the Unreal Engine logic import module, issuing commands and receiving files; The rvt logic export module generates a revit executable script file based on the rvt project file sent by the task scheduling module. The script file is called in revit to open the rvt project file to generate a bridge 3D model. After that, the built bridge 3D model is selected. The Datasmith plug-in is used to export the file as a .udatasmith file and promptly feed it back to the task scheduling module for the next step of scheduling. The Unreal Engine logic import module dynamically processes the script after receiving the .udatasmith file and related commands sent by the task scheduling module, starts a new project on the Unreal Engine platform, creates a blank level, and imports the .udatasmith file into the Blueprint Actor; The unified material management module uses the V-Ray plug-in to optimize the material, classifies the bridge model material into a master material, and directly adjusts the material type, brightness and saturation in the master material.
Citation Information
Patent Citations
Digital twin city model data monomerization implementation method and device based on unreal engine, and storage medium
CN112632681A
Foundation pit construction risk assessment method and system based on digital twin simulation platform
CN115936437A
Three-dimensional model manufacturing method and system based on virtual engine
CN116681835A
Digital twinborn visualization method and platform based on unreal and GIS double engines
CN117216857A
Cited By
Digital twinning method for predicting bearing performance of screw pile in real time
CN119691870A
