A method and apparatus for converting a 3D model of a pumped storage power station to a standard format.

By extracting 3DE model information of pumped storage power stations from the 3DE platform, constructing a lightweight BIM model data structure, and converting it into the BIS standard format, the problem of being unable to export the standard format of 3D models of pumped storage power stations in existing technologies is solved, realizing complete information conversion and efficient data sharing of the model.

CN122090018APending Publication Date: 2026-05-26国网电力工程研究院有限公司 +3
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
国网电力工程研究院有限公司
Filing Date
2025-12-18
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing technologies cannot effectively export standard formats for 3D models of pumped storage power stations, and the native export function cannot fully preserve the professional attribute information of the model.

Method used

By extracting 3DE model information of pumped storage power stations from the 3DE platform, a lightweight BIM model data structure is constructed, and a hierarchical element structure of the BIS standard is built based on this to realize the model conversion.

Benefits of technology

It achieves complete information conversion of 3D models of pumped storage power stations, breaks through the limitations of 3DE's native export function, improves data conversion efficiency, reduces manual intervention costs, and supports seamless data flow and sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122090018A_ABST
    Figure CN122090018A_ABST
Patent Text Reader

Abstract

This invention relates to the field of pumped storage power station simulation technology, specifically providing a method and apparatus for converting a 3D model of a pumped storage power station into a standard format. The method includes: extracting 3D model information of the pumped storage power station from a 3DE platform; constructing a lightweight BIM model data structure corresponding to the nodes of the 3D model in memory based on the 3D model information; constructing a hierarchical element structure according to the BIS standard based on the lightweight BIM model data structure; and exporting it as a standard format file of the pumped storage power station 3D model. This solution enables the export of a 3D model of a pumped storage power station into a standard format, overcoming the limitations of the native export function of 3DE, achieving full information conversion of the BIM model, ensuring that the geometric and attribute information of elements in the model is not lost, improving data conversion efficiency, reducing manual intervention costs, and achieving seamless data flow and shared application, meeting the data delivery and application needs of various scenarios in the infrastructure field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of pumped storage power station simulation technology, specifically to a method and apparatus for converting a three-dimensional model of a pumped storage power station to a standard format. Background Technology 3DE, or Dassault Systèmes' 3DExperience collaborative design platform, enables digital design management throughout the entire process of water conservancy and hydropower engineering projects. The platform features complex surface construction and parametric design capabilities, offering significant advantages in the engineering design field. It integrates design, simulation, and management functions, building a unified workflow and creating a convenient and efficient collaborative environment for engineering design management.

[0002] Building Information Standard (BIS) is an open data modeling standard proposed by Bentley Systems, designed to support information exchange and sharing in the architecture, engineering, construction, and operations (AECO) industry. It provides a standardized way for different software applications to represent and exchange Building Information Modeling (BIM) data.

[0003] The standard file format for 3D models of pumped storage power stations is a specific file format developed for storing and exchanging 3D models in the field of pumped storage, based on the BIS standard and drawing on related technologies from Bentley Systems iTwin.js. This standard file format allows for the efficient transmission of 3D geometry, material properties, and other metadata related to the construction project. It is suitable for handling large-scale, complex 3D models and integrates well with other products and third-party tools.

[0004] However, when exporting the standard format of a 3D model of a pumped storage power station from the 3DE model, the following three problems exist: (1) The 3DE platform’s native export function supports a limited number of standard formats and cannot export the standard format of the three-dimensional model of the pumped storage power station. (2) When exporting to a non-platform native format (3dxml) using the native export function, the professional attributes attached to the model cannot be exported; (3) When the 3DE model is exported to other formats through secondary development, it often depends on intermediate files. Summary of the Invention

[0005] To overcome the above-mentioned defects, this invention proposes a method and apparatus for converting the standard format of a three-dimensional model of a pumped storage power station.

[0006] Firstly, a method for converting a standard format of a three-dimensional model of a pumped-storage power station is provided, the method comprising: Extracting 3DE model information of pumped storage power stations from the 3DE platform; Based on the 3DE model information of the pumped storage power station, a lightweight BIM model data structure corresponding to the nodes of the 3DE model of the pumped storage power station is constructed in memory. Based on the lightweight BIM model data structure, a hierarchical element structure of the BIS standard is constructed and exported as a standard format file of a three-dimensional model of a pumped storage power station.

[0007] Preferably, the extraction of 3DE model information of the pumped storage power station on the 3DE platform includes: Connect to the PLM system through the secondary development interface of the 3DE platform; Extract the unique object identifier from the 3DE model of the pumped storage power station in the PLM system; Extract the root node of the 3DE model of the pumped storage power station in the PLM system, and recursively process all nodes of the 3DE model of the pumped storage power station starting from the root node to extract node information. The node information includes at least one of the following: node hierarchy structure, geometric data, attribute information, and appearance information.

[0008] Furthermore, the extracted node information includes: When extracting geometric data, the geometry is discretized to generate triangular meshes, wireframe point sets, and texture coordinates; When extracting attribute information, the public and extended attributes of the PLM object are obtained through a predefined attribute mapping table, and an attribute key-value pair storage structure is established. When extracting appearance information, obtain the model's color, transparency, line width, and line type parameters.

[0009] Preferably, the lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model constructed in memory based on the pumped storage power station 3DE model information includes: Define a basic node class as the parent class of all BIM model nodes, which includes child node management, name and path access, and spatial transformation matrix interface; Define an assembly product class that inherits from the base node class. This class represents the product node of the 3DE model of a pumped storage power station and includes a sub-part container, an assembly transformation matrix, and an attribute dictionary. Define a part class that inherits from the base node class. This class represents the part nodes of the 3DE model of a pumped storage power station and includes a local transformation matrix and an attribute dictionary. Define a feature set class to represent the set of entity and surface features of the 3DE model of a pumped storage power station; Define solid and surface classes to represent the three-dimensional geometric entities of the 3DE model of a pumped storage power station, including vertex coordinate arrays, normal vector arrays, texture coordinate arrays, wireframe point sets, and attribute dictionaries.

[0010] Preferably, the step of constructing a hierarchical element structure based on the lightweight BIM model data structure according to the BIS standard and exporting it as a standard format file for a pumped storage power station 3D model includes: Based on the imported lightweight BIM model data structure, design the corresponding schema file and import the schema into the bridge before data conversion; The bridging framework is used to complete the runtime environment initialization of the converter adapter ConnectorSacAdapter, register the domain, and import the schema and common model definitions. The lightweight BIM model is converted into BIM elements in a hierarchical structure through a bridge, following the hierarchical relationship of iModel→Subject→Partition→Model→Element. Generate a standard 3D model file for a pumped storage power station and verify the conversion quality.

[0011] Secondly, a device for converting a three-dimensional model of a pumped-storage power station to a standard format is provided, the device comprising: The extraction module is used to extract 3DE model information of pumped storage power stations from the 3DE platform. The construction module is used to construct the lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model in memory based on the pumped storage power station 3DE model information. The export module is used to construct a hierarchical element structure of the BIS standard based on the lightweight BIM model data structure, and export it as a standard format file of a three-dimensional model of a pumped storage power station.

[0012] Preferably, the extraction of 3DE model information of the pumped storage power station on the 3DE platform includes: Connect to the PLM system through the secondary development interface of the 3DE platform; Extract the unique object identifier from the 3DE model of the pumped storage power station in the PLM system; Extract the root node of the 3DE model of the pumped storage power station in the PLM system, and recursively process all nodes of the 3DE model of the pumped storage power station starting from the root node to extract node information. The node information includes at least one of the following: node hierarchy structure, geometric data, attribute information, and appearance information.

[0013] Furthermore, the extracted node information includes: When extracting geometric data, the geometry is discretized to generate triangular meshes, wireframe point sets, and texture coordinates; When extracting attribute information, the public and extended attributes of the PLM object are obtained through a predefined attribute mapping table, and an attribute key-value pair storage structure is established. When extracting appearance information, obtain the model's color, transparency, line width, and line type parameters.

[0014] Preferably, the lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model constructed in memory based on the pumped storage power station 3DE model information includes: Define a basic node class as the parent class of all BIM model nodes, which includes child node management, name and path access, and spatial transformation matrix interface; Define an assembly product class that inherits from the base node class. This class represents the product node of the 3DE model of a pumped storage power station and includes a sub-part container, an assembly transformation matrix, and an attribute dictionary. Define a part class that inherits from the base node class. This class represents the part nodes of the 3DE model of a pumped storage power station and includes a local transformation matrix and an attribute dictionary. Define a feature set class to represent the set of entity and surface features of the 3DE model of a pumped storage power station; Define solid and surface classes to represent the three-dimensional geometric entities of the 3DE model of a pumped storage power station, including vertex coordinate arrays, normal vector arrays, texture coordinate arrays, wireframe point sets, and attribute dictionaries.

[0015] Preferably, the step of constructing a hierarchical element structure based on the lightweight BIM model data structure according to the BIS standard and exporting it as a standard format file for a pumped storage power station 3D model includes: Based on the imported lightweight BIM model data structure, design the corresponding schema file and import the schema into the bridge before data conversion; The bridging framework is used to complete the runtime environment initialization of the converter adapter ConnectorSacAdapter, register the domain, and import the schema and common model definitions. The lightweight BIM model is converted into BIM elements in a hierarchical structure through a bridge, following the hierarchical relationship of iModel→Subject→Partition→Model→Element. Generate a standard 3D model file for a pumped storage power station and verify the conversion quality.

[0016] Thirdly, a computer device is provided, comprising: one or more processors; The processor is used to execute one or more programs; When the one or more programs are executed by the one or more processors, the method for converting the three-dimensional model of the pumped storage power station to a standard format is implemented.

[0017] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, wherein when the computer program is executed, a method for converting the standard format of the three-dimensional model of the pumped storage power station is implemented.

[0018] The above-described technical solutions of the present invention have at least one or more of the following beneficial effects: This invention provides a method and apparatus for converting a 3D model of a pumped-storage power station into a standard format. The method includes: extracting 3D model information of the pumped-storage power station from a 3DE platform; constructing a lightweight BIM model data structure corresponding to the nodes of the 3D model in memory based on the 3D model information; constructing a hierarchical element structure according to the BIS standard based on the lightweight BIM model data structure; and exporting the data as a standard format file for the pumped-storage power station 3D model. This solution enables the export of a 3D model of a pumped-storage power station into a standard format, overcoming the limitations of the native export function of 3DE, achieving full information conversion of the BIM model, ensuring no loss of geometric and attribute information of elements in the model, improving data conversion efficiency, reducing manual intervention costs, and achieving seamless data flow and shared application, thus meeting the data delivery and application needs of various scenarios in the infrastructure field. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of the main steps of the method for converting a three-dimensional model of a pumped storage power station to a standard format according to an embodiment of the present invention. Figure 2 This is a structural block diagram of a lightweight BIM model derived from a 3DE model according to an embodiment of the present invention. Detailed Implementation

[0020] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] Example 1 See appendix Figure 1 , Figure 1This is a schematic flowchart illustrating the main steps of a method for converting a three-dimensional model of a pumped storage power station to a standard format, according to an embodiment of the present invention. Figure 1 As shown, the method for converting the standard format of the three-dimensional model of the pumped storage power station in this embodiment of the invention mainly includes the following steps: Step S101: Extract the 3DE model information of the pumped storage power station from the 3DE platform; Step S102: Based on the 3DE model information of the pumped storage power station, construct the lightweight BIM model data structure corresponding to the nodes of the 3DE model of the pumped storage power station in memory; Step S103: Construct a hierarchical element structure of the BIS standard based on the lightweight BIM model data structure, and export it as a standard format file of the three-dimensional model of the pumped storage power station.

[0023] In this embodiment, the extraction of 3DE model information of the pumped storage power station on the 3DE platform includes: Connect to the PLM system through the secondary development interface of the 3DE platform; Extract the unique object identifier from the 3DE model of the pumped storage power station in the PLM system; Extract the root node of the 3DE model of the pumped storage power station in the PLM system, and recursively process all nodes of the 3DE model of the pumped storage power station starting from the root node to extract node information. The node information includes at least one of the following: node hierarchy structure, geometric data, attribute information, and appearance information.

[0024] In one implementation, the extraction of node information includes: When extracting geometric data, the geometry is discretized to generate triangular meshes, wireframe point sets, and texture coordinates; When extracting attribute information, the public and extended attributes of the PLM object are obtained through a predefined attribute mapping table, and an attribute key-value pair storage structure is established. When extracting appearance information, obtain the model's color, transparency, line width, and line type parameters.

[0025] In one specific implementation, step S101 is performed as follows: Step S11: Create a session and connect to the 3DE platform server database, and initialize session information through the 3DE secondary development interface CATPLMSessionServices.

[0026] Step S12: Input the name, version, type, and other information of the 3DE model. Retrieve the identifier of the unique object in the PLM system based on the object type and name, and use the CAARetrieveIDofUniquePLMObject interface to obtain the ID of the unique PLM object.

[0027] CAARetrieveIDofUniquePLMObject is a core method for uniquely identifying and retrieving PLM objects in a 3DEXPERIENCE PLM system. It ensures the uniqueness of query results by combining multiple attribute conditions. Input parameters include: a list of attribute names (such as PLM_ExternalID, revision, etc.), a list of corresponding attribute values, and the PLM object type (such as VPMReference representing the product root node). The output parameter returns a unique identifier.

[0028] Step S13: The root node of the 3DE model is stored through the CATIPLMNavReference interface in 3DE, which is used to access navigation information of PLM objects. CATIPLMNavReference is the core interface used in 3DE CAA secondary development to access reference nodes of PLM objects (such as products and parts), and it is a sub-interface of CATIPLMNavEntity. Its core functions include: accessing object attributes, traversing product structure, and obtaining reference relationships.

[0029] This invention obtains public attributes (such as name and version) through GetPublicAttributes and accesses knowledge engineering attributes (such as V_Name) by converting them to the CATICkeObject interface through QueryInterface. Additionally, this invention uses ListChildren to obtain and traverse child nodes (instances or references). The associated reference object is obtained by converting it to CATIPLMNavInstance through QueryInterface.

[0030] Step S14: Recursively process all nodes of the 3DE model starting from the root node, constructing a corresponding lightweight BIM model node object for each node (see step S20 for details). Retrieve entity information through CATIPLMNavEntity, obtain node attributes through the CATCkeObjectAttrReadServices interface, and store them in the attribute table by node ID and attribute name.

[0031] Specifically, this invention proposes a recursive node processing method for the PLM product structure tree of the 3DEXPERIENCE platform. This method traverses the product structure tree through the CATIPLMNavEntity interface, ensuring complete coverage of assembly nodes at all levels, including products, parts, and their sub-components.

[0032] During the recursive process, the system first obtains the PLM_ExternalID of the current node as a unique identifier key for subsequent attribute binding. Then, it extracts standard attributes such as name, version, and effective date through the CATCkeObjectAttrReadServices interface and stores them in the attribute container of the custom node object. Furthermore, it obtains the coordinate transformation matrix of each node through the IID_CATIMovable interface and binds it to the corresponding custom node object.

[0033] Step S15: Extract the geometric data of the display class nodes, traverse to the geometric container nodes and discretize the geometry to obtain the entity outline.

[0034] First, this invention performs part geometry container acquisition and initialization operations on all recursively accessed part nodes. The part container, which encapsulates the part's mechanical feature data, is retrieved through the CATIPLMNavRepReference interface. By querying the CATIMMiMechanicalFeature interface, the system can access the part's underlying geometry. The key to this step is successfully obtaining the CATIPLartRequest interface, which provides core operational capabilities for the part's geometry.

[0035] After obtaining the part container, the system extracts and iterates through all the geometry (Body) within the part using the GetAllBodies method. For each geometry, this invention employs the CATIBodyRequest interface for deep parsing. Through the GetResults method, the system can obtain all feature results contained within the geometry, including various geometric elements and their topological relationships. During the traversal process, the system intelligently filters out auxiliary features such as sketches, focusing on extracting solid geometric data with engineering significance.

[0036] Subsequently, based on the CATICGMBodyTessellator, dynamic SAG values ​​(surface discretization precision) are used to control the generation quality of the triangular mesh, ensuring that the model maintains accuracy while optimizing computational efficiency. In the geometric data processing stage, the system extracts geometric data such as vertex coordinates, normal vectors, and UV texture coordinates, and stores them using a vectorized structure to reduce memory usage. Furthermore, for the model contour lines, this invention utilizes the CATICGMCellTessellator to discretize the edges separately, extracting a precise set of contour points to improve the geometric information for subsequent data format conversion.

[0037] Step S16: Extract attribute and appearance information. This invention uses the QueryInterface method to obtain the CATICkeObject interface, which is used to access the knowledge engineering attributes of PLM objects. To effectively extract and transform attribute information, this invention defines a global attribute mapping table, which defines the knowledge engineering attributes of all PLM objects and their corresponding Chinese names. The predefined global attribute mapping table is traversed, and attribute values ​​are read one by one through the CATCkeObjectAttrReadServices interface. Differential processing is performed according to the attribute type: date-type attributes are converted to standardized time format strings (YYYY-MM-DD HH:MM:SS), while string-type attributes are stored directly in their original values. The extracted attributes are stored in the attrDesp container as key-value pairs, with the key being (PLM_ExternalID, attribute name), ensuring that attributes are strictly bound to objects.

[0038] In addition to common attributes, this invention breaks through the limitations of standard PLM interfaces, achieving complete collection of user-defined professional attributes and solving the technical pain point that 3DE native conversion tools cannot obtain non-standard attributes. This invention calls the GetListOfAttributes interface to obtain a list of all attribute names and values ​​of the PLM object, including extended attributes not predefined in the mapping. By comparing predefined fields in the global attribute mapping table, attributes are automatically divided into common attributes and extended attributes. Deep processing is then performed on the extended attributes: a) Obtain the localized name of the attribute using the GetAttributeNLSNameFromObject interface; b) Establish the association relationship of [original attribute name → localized name → attribute value]; c) Automatically filter temporary attributes that lack engineering semantics (such as system log fields).

[0039] This invention extracts the appearance information of all geometric nodes. The specific steps are as follows: Graphical Interface Acquisition: The CATIVisProperties interface is obtained from the input object through the QueryInterface method, which is used to access the graphical display properties of the model.

[0040] Model surface attribute extraction: Call the GetPropertiesAtt method to obtain mesh attributes, extract RGB color values ​​and store them as (R,G,B) components, and obtain the opacity attribute value.

[0041] Outline attribute extraction: Call the GetPropertiesAtt method to get the edge attributes, extract the RGB color value of the outline, get the line width (Width) attribute value, and get the line type (LineType) attribute value.

[0042] In this embodiment, the lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model constructed in memory based on the pumped storage power station 3DE model information includes: Define a basic node class as the parent class of all BIM model nodes, which includes child node management, name and path access, and spatial transformation matrix interface; Define an assembly product class that inherits from the base node class. This class represents the product node of the 3DE model of a pumped storage power station and includes a sub-part container, an assembly transformation matrix, and an attribute dictionary. Define a part class that inherits from the base node class. This class represents the part nodes of the 3DE model of a pumped storage power station and includes a local transformation matrix and an attribute dictionary. Define a feature set class to represent the set of entity and surface features of the 3DE model of a pumped storage power station; Define solid and surface classes to represent the three-dimensional geometric entities of the 3DE model of a pumped storage power station, including vertex coordinate arrays, normal vector arrays, texture coordinate arrays, wireframe point sets, and attribute dictionaries.

[0043] In one specific implementation, step S102 involves constructing a lightweight BIM model data structure in memory, as shown in the structure diagram below. Figure 2 As shown, the specific process is as follows: Step S21: Define the basic node class for the BIM model and create an abstract base class as the parent class for all BIM model nodes. Define basic interfaces including: child node management interface, name and path access interface, and spatial transformation matrix interface; set public attributes including: identifying node type and controlling visibility status. Step S22: Define a BIM model assembly product class (Product), inheriting from the basic node class to implement product assembly, corresponding to the product nodes in the 3DE model. Add storage structures to the basic node class, including: sub-part containers (which can contain part nodes or other assembly products), assembly transformation matrices, and attribute dictionaries. Functional methods include: assembly tree management, global coordinate transformation, and attribute management system.

[0044] The assembly transformation matrix is ​​a 4x4 transformation matrix representing the positional transformation of the assembled product model. The attribute dictionary represents the list of attributes attached to the assembled product. The assembly transformation matrix and attribute dictionary are managed by the global coordinate transformation and attribute management systems, respectively.

[0045] Step S23: Define the BIM model part class (Part), inheriting from the basic node class to implement mechanical parts, corresponding to the part nodes in the 3DE model. The added storage structures include: a child node container (which can contain multiple entities and surfaces), a local coordinate transformation matrix, and an attribute dictionary. Functional methods include: hierarchical structure management, spatial transformation settings, and attribute management system.

[0046] Step S24: Define a BIM model feature set class (MechanicalRoot), which inherits from the basic node class and serves as a container for entity and surface features or surface features. It is used to define entity and surface feature sets and surface feature sets, and the specific type is indicated by the type identifier field.

[0047] Step S25: Define BIM model entity and surface classes (Entity), inheriting from the basic node class and implementing the definition of 3D entities. The storage structure includes: vertex coordinate array, normal vector array, texture coordinate array, wireframe point set, and attribute dictionary. Functional methods include: geometric data setting / acquisition and attribute management.

[0048] The vertex, normal, and texture coordinate arrays represent the 3D coordinates of the vertices of the 3D entity, as well as the corresponding normal and texture coordinates, respectively. The wireframe point set represents the entity's bounding box. The attribute fields represent all the professional attributes contained in the entity.

[0049] In this embodiment, the step of constructing a hierarchical element structure based on the lightweight BIM model data structure according to the BIS standard and exporting it as a standard format file for a pumped storage power station 3D model includes: Based on the imported lightweight BIM model data structure, design the corresponding schema file and import the schema into the bridge before data conversion; The bridging framework is used to complete the runtime environment initialization of the converter adapter ConnectorSacAdapter, register the domain, and import the schema and common model definitions. The lightweight BIM model is converted into BIM elements in a hierarchical structure through a bridge, following the hierarchical relationship of iModel→Subject→Partition→Model→Element. Generate a standard 3D model file for a pumped storage power station and verify the conversion quality.

[0050] In one specific implementation, step S103 is performed as follows: Step S31, Preprocessing stage. The converter of this invention defines a static schema. Based on the data model of the imported data, a corresponding schema file is designed and imported into the converter before data conversion. An in-memory data model is designed. Based on the static schema file, a corresponding data structure is defined to facilitate the subsequent conversion of the original data into the in-memory data model and mapping it to BIM data.

[0051] Step S32, Initialization and Schema Definition. The bridging framework completes the runtime environment initialization of the transformation adapter iModelBridgeSacAdapter, registers the domain, and imports the schema and common model definition. Specifically, bridge initialization obtains the converter parameters through iModelBridgeSacAdapter. The _Initialize method of CustomBridge is called to initialize the system, register the domain, and import the custom schema, ensuring that the BIM file supports the target data model. _OnOpenBim is called to create and open the target BIM file and initialize the database connection.

[0052] Data source loading and dynamic schema generation. The custom database file is opened using `_OpenSource`, its data structure is parsed, and an intermediate data model in memory is generated. If the custom lightweight BIM model contains types not defined in the static schema, the corresponding ECClass definitions (such as dynamic attribute tables) are dynamically generated, and the required schema for the converter is updated using `_GetSchemas`.

[0053] Public model definition. The `_InitializeJob` function creates the `Subject` element and all its fixed infrastructure elements and models, including partitions, other theme types, document models, fixed categories, and other fixed definitions. The bridge can also add any domains needed in the future and import any ECSchema. Shared elements in the public model are defined in `_MakeDefinitionChanges`.

[0054] Step S33, Data Conversion Stage. The bridge converts the lightweight BIM model in memory into BIM elements according to the hierarchical structure, following the hierarchy of iModel→Subject→Partition→Model→Element. The core tasks of this stage include: (1) Graphic attribute conversion The associated graphical attribute data of each node in the lightweight BIM model in memory is recursively traversed and inserted. All graphical attributes in the source data are obtained and converted into the standard format of the pumped storage power station 3D model, such as color and line type, and then updated to the BIM database.

[0055] (2) Generation of components and geometry Iterate through all components, locate the schema marker based on the component information, obtain the corresponding category, class, and handler, and create bim elements (such as PhysicalElement, SpatialElement, etc.).

[0056] Set component properties, iterate through all properties of the component, determine the property type (boolean, integer, floating point, string), and perform unit mapping and conversion for properties with units. Properties in the static schema are directly inserted into the element, while properties in the dynamic schema are associated with the element through the Aspect.

[0057] Generate component geometry, obtain all symbols and geometric items of the component, group them by geometric category, and generate corresponding GeometryParts (Mesh, Curve, Solid, etc.) for each category. If the component has Placement, Transform, or other related information, associate them with the GeometryParts and update the BIM database accordingly. (3) Type and Relationship Processing If a component has a type definition, a type element (TypeDefinitionElement) is found or created, and the association between the component and the type is established. Hierarchical nesting is handled: a sub-model structure of Model→Element→SubModel→Element (e.g., assembly decomposition) is supported.

[0058] Step S34, Result Verification and Output. After the file is generated, two levels of verification are used to ensure the quality of the conversion: First, the iModelValidator tool is used to check the compliance of the file structure, including table relationship constraints and data integrity; then, the model is loaded on the 3D visualization platform to verify correct geometric rendering, attribute queryability, and hierarchical navigation functionality. The system will generate a conversion report, recording warnings (such as unmapped attributes) and errors (such as geometric repair records) during the processing. The final output standard file of the pumped storage power station 3D model will retain all valid information of the original BIM model, while meeting the optimization requirements of the 3D visualization platform for model performance (such as LOD switching smoothness, spatial query response time, etc.).

[0059] Example 2 Based on the same inventive concept, this invention also provides a device for converting the standard format of a three-dimensional model of a pumped storage power station, the device comprising: The extraction module is used to extract 3DE model information of pumped storage power stations from the 3DE platform. The construction module is used to construct the lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model in memory based on the pumped storage power station 3DE model information. The export module is used to construct a hierarchical element structure of the BIS standard based on the lightweight BIM model data structure, and export it as a standard format file of a three-dimensional model of a pumped storage power station.

[0060] Preferably, the extraction of 3DE model information of the pumped storage power station on the 3DE platform includes: Connect to the PLM system through the secondary development interface of the 3DE platform; Extract the unique object identifier from the 3DE model of the pumped storage power station in the PLM system; Extract the root node of the 3DE model of the pumped storage power station in the PLM system, and recursively process all nodes of the 3DE model of the pumped storage power station starting from the root node to extract node information. The node information includes at least one of the following: node hierarchy structure, geometric data, attribute information, and appearance information.

[0061] Furthermore, the extracted node information includes: When extracting geometric data, the geometry is discretized to generate triangular meshes, wireframe point sets, and texture coordinates; When extracting attribute information, the public and extended attributes of the PLM object are obtained through a predefined attribute mapping table, and an attribute key-value pair storage structure is established. When extracting appearance information, obtain the model's color, transparency, line width, and line type parameters.

[0062] Preferably, the lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model constructed in memory based on the pumped storage power station 3DE model information includes: Define a basic node class as the parent class of all BIM model nodes, which includes child node management, name and path access, and spatial transformation matrix interface; Define an assembly product class that inherits from the base node class. This class represents the product node of the 3DE model of a pumped storage power station and includes a sub-part container, an assembly transformation matrix, and an attribute dictionary. Define a part class that inherits from the base node class. This class represents the part nodes of the 3DE model of a pumped storage power station and includes a local transformation matrix and an attribute dictionary. Define a feature set class to represent the set of entity and surface features of the 3DE model of a pumped storage power station; Define solid and surface classes to represent the three-dimensional geometric entities of the 3DE model of a pumped storage power station, including vertex coordinate arrays, normal vector arrays, texture coordinate arrays, wireframe point sets, and attribute dictionaries.

[0063] Preferably, the step of constructing a hierarchical element structure based on the lightweight BIM model data structure according to the BIS standard and exporting it as a standard format file for a pumped storage power station 3D model includes: Based on the imported lightweight BIM model data structure, design the corresponding schema file and import the schema into the bridge before data conversion; The bridging framework is used to complete the runtime environment initialization of the converter adapter ConnectorSacAdapter, register the domain, and import the schema and common model definitions. The lightweight BIM model is converted into BIM elements in a hierarchical structure through a bridge, following the hierarchical relationship of iModel→Subject→Partition→Model→Element. Generate a standard 3D model file for a pumped storage power station and verify the conversion quality.

[0064] Example 3 Based on the same inventive concept, this invention also provides a computer device, which includes a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions from the computer storage medium to implement corresponding method flows or corresponding functions, thereby realizing the steps of the method for converting a three-dimensional model of a pumped storage power station to a standard format as described in the above embodiments.

[0065] Example 4 Based on the same inventive concept, this invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the method for converting a three-dimensional model of a pumped-storage power station to a standard format as described in the above embodiments.

[0066] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0067] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0068] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0069] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0070] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for converting a three-dimensional model of a pumped storage power station to a standard format, characterized in that, The method includes: Extracting 3DE model information of pumped storage power stations from the 3DE platform; Based on the 3DE model information of the pumped storage power station, a lightweight BIM model data structure corresponding to the nodes of the 3DE model of the pumped storage power station is constructed in memory. Based on the lightweight BIM model data structure, a hierarchical element structure of the BIS standard is constructed and exported as a standard format file of a three-dimensional model of a pumped storage power station.

2. The method as described in claim 1, characterized in that, The extraction of 3DE model information of pumped storage power stations from the 3DE platform includes: Connect to the PLM system through the secondary development interface of the 3DE platform; Extract the unique object identifier from the 3DE model of the pumped storage power station in the PLM system; Extract the root node of the 3DE model of the pumped storage power station in the PLM system, and recursively process all nodes of the 3DE model of the pumped storage power station starting from the root node to extract node information. The node information includes at least one of the following: node hierarchy structure, geometric data, attribute information, and appearance information.

3. The method as described in claim 2, characterized in that, The extracted node information includes: When extracting geometric data, the geometry is discretized to generate triangular meshes, wireframe point sets, and texture coordinates; When extracting attribute information, the public and extended attributes of the PLM object are obtained through a predefined attribute mapping table, and an attribute key-value pair storage structure is established. When extracting appearance information, obtain the model's color, transparency, line width, and line type parameters.

4. The method as described in claim 1, characterized in that, The lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model constructed in memory based on the pumped storage power station 3DE model information includes: Define a basic node class as the parent class of all BIM model nodes, which includes child node management, name and path access, and spatial transformation matrix interface; Define an assembly product class that inherits from the base node class. This class represents the product node of the 3DE model of a pumped storage power station and includes a sub-part container, an assembly transformation matrix, and an attribute dictionary. Define a part class that inherits from the base node class. This class represents the part nodes of the 3DE model of a pumped storage power station and includes a local transformation matrix and an attribute dictionary. Define a feature set class to represent the set of entity and surface features of the 3DE model of a pumped storage power station; Define solid and surface classes to represent the three-dimensional geometric entities of the 3DE model of a pumped storage power station, including vertex coordinate arrays, normal vector arrays, texture coordinate arrays, wireframe point sets, and attribute dictionaries.

5. The method as described in claim 1, characterized in that, The construction of a hierarchical element structure based on the lightweight BIM model data structure, and its export as a standard format file for a pumped storage power station 3D model, includes: Based on the imported lightweight BIM model data structure, design the corresponding schema file and import the schema into the bridge before data conversion; The bridging framework is used to complete the runtime environment initialization of the converter adapter ConnectorSacAdapter, register the domain, and import the schema and common model definitions. The lightweight BIM model is converted into BIM elements in a hierarchical structure through a bridge, following the hierarchical relationship of iModel→Subject→Partition→Model→Element. Generate a standard 3D model file for a pumped storage power station and verify the conversion quality.

6. A device for converting a three-dimensional model of a pumped storage power station to a standard format, characterized in that, The device includes: The extraction module is used to extract 3DE model information of pumped storage power stations from the 3DE platform. The construction module is used to construct the lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model in memory based on the pumped storage power station 3DE model information. The export module is used to construct a hierarchical element structure of the BIS standard based on the lightweight BIM model data structure, and export it as a standard format file of a three-dimensional model of a pumped storage power station.

7. The apparatus as claimed in claim 6, characterized in that, The extraction of 3DE model information of pumped storage power stations from the 3DE platform includes: Connect to the PLM system through the secondary development interface of the 3DE platform; Extract the unique object identifier from the 3DE model of the pumped storage power station in the PLM system; Extract the root node of the 3DE model of the pumped storage power station in the PLM system, and recursively process all nodes of the 3DE model of the pumped storage power station starting from the root node to extract node information. The node information includes at least one of the following: node hierarchy structure, geometric data, attribute information, and appearance information.

8. The apparatus as claimed in claim 7, characterized in that, The extracted node information includes: When extracting geometric data, the geometry is discretized to generate triangular meshes, wireframe point sets, and texture coordinates; When extracting attribute information, the public and extended attributes of the PLM object are obtained through a predefined attribute mapping table, and an attribute key-value pair storage structure is established. When extracting appearance information, obtain the model's color, transparency, line width, and line type parameters.

9. The apparatus as claimed in claim 6, characterized in that, The lightweight BIM model data structure corresponding to the nodes of the pumped storage power station 3DE model constructed in memory based on the pumped storage power station 3DE model information includes: Define a basic node class as the parent class of all BIM model nodes, which includes child node management, name and path access, and spatial transformation matrix interface; Define an assembly product class that inherits from the base node class. This class represents the product node of the 3DE model of a pumped storage power station and includes a sub-part container, an assembly transformation matrix, and an attribute dictionary. Define a part class that inherits from the base node class. This class represents the part nodes of the 3DE model of a pumped storage power station and includes a local transformation matrix and an attribute dictionary. Define a feature set class to represent the set of entity and surface features of the 3DE model of a pumped storage power station; Define solid and surface classes to represent the three-dimensional geometric entities of the 3DE model of a pumped storage power station, including vertex coordinate arrays, normal vector arrays, texture coordinate arrays, wireframe point sets, and attribute dictionaries.

10. The apparatus as claimed in claim 6, characterized in that, The construction of a hierarchical element structure based on the lightweight BIM model data structure, and its export as a standard format file for a pumped storage power station 3D model, includes: Based on the imported lightweight BIM model data structure, design the corresponding schema file and import the schema into the bridge before data conversion; The bridging framework is used to complete the runtime environment initialization of the converter adapter ConnectorSacAdapter, register the domain, and import the schema and common model definitions. The lightweight BIM model is converted into BIM elements in a hierarchical structure through a bridge, following the hierarchical relationship of iModel→Subject→Partition→Model→Element. Generate a standard 3D model file for a pumped storage power station and verify the conversion quality.

11. A computer device, characterized in that, include: One or more processors; The processor is used to execute one or more programs; When the one or more programs are executed by the one or more processors, the method for converting the standard format of the three-dimensional model of a pumped storage power station as described in any one of claims 1 to 5 is implemented.

12. A computer-readable storage medium, characterized in that, It contains a computer program, which, when executed, implements the method for converting the standard format of the three-dimensional model of a pumped storage power station as described in any one of claims 1 to 5.