Lightweight integration method for three-dimensional model of ship product
By using the data integration framework and the three-dimensional model lightweight conversion interface in PDM, the three-dimensional CAD model is converted into a lightweight file, which solves the problems of low loading efficiency of large and complex ship 3D models in PDM and is not smooth in visual browsing, achieving efficient integrated management and lightweight browsing, and improving the efficiency of conveying design information.
Patent Information
- Application Number
- CN202510148247.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-06-20
AI Technical Summary
The three-dimensional CAD model of large and complex ships is low in loading efficiency in PDM, and the visual browsing of the entire ship model is not smooth, which makes it difficult for designers to browse online, affecting the effective communication of design information.
By using the data integration framework in PDM, the three-dimensional model data structure standard representation, modeling and parsing, and the three-dimensional CAD model data is converted into lightweight files through the three-dimensional model lightweight conversion interface, mounted in the model structure tree, and embedded in the three-dimensional model lightweight browser to realize the lightweight browsing of the three-dimensional CAD model.
It realizes efficient integrated management and lightweight browsing of three-dimensional CAD models in PDM, which improves loading efficiency and visual browsing fluency, facilitates designers to view online, and improves the efficiency of design information transmission.
Smart Images

Figure CN120180581A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of ship digitization, and particularly relates to a method for lightweight integration of a three-dimensional model of a ship product. Background Art
[0002] The number of components of a large and complex ship reaches tens of millions, the amount of three-dimensional model data is huge, the loading efficiency of the whole ship model is low and the visual browsing is not smooth, which is not conducive to designers to browse the three-dimensional model online and restricts the effective transmission of ship design information.
[0003] By analyzing the data relationship between three-dimensional CAD models, a data model is established to realize the data integration of three-dimensional CAD models. By defining the data format of lightweight files and integrating a visual browser, lightweight processing and visual browsing of three-dimensional CAD models can be realized, which is convenient for designers to view the lightweight three-dimensional CAD models online.
[0004] Due to the large number of components of large and complex ships and the difficulty of full-scale loading of complex three-dimensional models, there are three problems in the lightweight integration management and browsing of ship three-dimensional CAD models in the prior art:
[0005] 1) How to realize the data integration of three-dimensional CAD models in PDM;
[0006] 2) How to define the data format after lightweighting of three-dimensional CAD models;
[0007] 3) How to realize the lightweight browsing of three-dimensional CAD models in PDM. Summary of the Invention
[0008] The purpose of the present invention is to provide a method for lightweight integration of a three-dimensional model of a ship product, which realizes the integrated management and lightweight browsing of three-dimensional CAD models in PDM, with high reliability and stable operation.
[0009] To solve the above technical problems, the technical solution of the present invention is: a method for lightweight integration of a three-dimensional model of a ship product, including the following steps:
[0010] Input the model data in the three-dimensional CAD model into the Product Data Management System (PDM);
[0011] In PDM, represent, model and parse the three-dimensional model data structure through a data integration framework and store the data; convert the model data of the three-dimensional CAD model into a lightweight file through a three-dimensional model lightweight conversion interface; mount the lightweight file of the three-dimensional CAD model in the model structure tree of PDM and embed a three-dimensional model lightweight browser to realize the lightweight browsing of the three-dimensional CAD model in PDM.
[0012] The data integration framework is used to define the data structure template of the 3D model, sort out the data relationships of the 3D CAD model, establish 3D CAD professional data in the PDM for data modeling, and parse the imported 3D CAD data according to the established data model.
[0013] The 3D model data structure template is used to accurately represent the data table attributes of the 3D CAD model and the inheritance and association relationships between tables, objectify the model data of the 3D CAD model, represent the model class name through the class area, represent the inheritance relationship between classes and other model classes through the inheritance area, represent each attribute in the model class through the attribute area, and represent the association relationship between model classes through the association area.
[0014] In the process of 3D model modeling and data parsing, the 3D CAD model provides model data in the forms of STEP and XML; among them, STEP data is used to store geometric information, XML data is used to store data information, and STEP data is embedded in the XML file in text form; the data modeling carried out in the PDM follows the ship general information model standard.
[0015] After the process of 3D model modeling and data parsing is completed, the model data is stored, and the specific steps are as follows:
[0016] S1. Import the data structure defined by the 3D model data structure template, and generate component library data according to the established 3D CAD data model;
[0017] S2. Parse the tags of the XML file to match the 3D CAD data structure established in the PDM;
[0018] S3. Parse the STEP data in the XML file, extract it as a STEP file and store it in the PDM, and associate it with the established data model.
[0019] The 3D model lightweight conversion interface converts the model data of the 3D CAD model into a lightweight file through the 3D model lightweight conversion service, and the lightweight ratio is 1 / 10 - 1 / 30 of the model data.
[0020] The specific steps of the 3D model lightweight conversion service are as follows:
[0021] Load the original model;
[0022] Obtain the assembly relationship, unit data, transformation matrix data, color data and display the position-related data among them;
[0023] Obtain the model brep data, perform triangular mesh division according to the brep data, and approximately represent the original model using the triangular mesh model;
[0024] Obtain view data, PMI data, and file attribute data, and save the model structure data, color data, assembly unit data, assembly file attribute data, view data, PMI data, triangular mesh data, part unit data, brep data, and part file attribute data as a lightweight file.
[0025] The lightweight file includes components and assemblies; among them, the component is a single model file, which at least includes the geometric primitives, custom attributes, and PMI of the component; the assembly at least includes the assembly sub-nodes, PMI, custom attributes, assembly modeling, and assembly deformation of the assembly.
[0026] A 3D model lightweight browsing interface is used to implement the hierarchical and regional assembly loading and lightweight browsing of 3D lightweight models, and the lightweight model loading and browsing are smooth;
[0027] The 3D model lightweight browsing interface is divided into three regions: left, middle, and right. The left side is the model tree structure, the middle is the lightweight model display interface, and the right side is the attribute viewing page; the 3D lightweight model assembly is realized through the assemblies in the lightweight file; the functions of the 3D model lightweight browsing at least include annotation, measurement, sectioning, explosion, node positioning, model rendering, structure tree, and annotation set display.
[0028] A computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any one of the above are implemented.
[0029] Compared with the prior art, the beneficial effects of the present invention are:
[0030] The present invention performs 3D model data structure representation, modeling and parsing, and data storage through the data integration framework in PDM; converts the model data of the 3D CAD model into a lightweight file through the 3D model lightweight conversion interface; mounts the lightweight file of the 3D CAD model in the model structure tree of PDM, and embeds a 3D model lightweight browser to realize the lightweight browsing of the 3D CAD model in PDM, solving the problem of integrated display of large and complex 3D CAD models in PDM, with high reliability and good browsing performance; the present invention standardizes the data modeling standard of 3D CAD models and the 3D model lightweight file standard, providing convenience for the management and browsing of 3D models in PDM. Description of the Drawings
[0031] Figure 1 It is a schematic diagram of the 3D model lightweight integration of a ship product according to an embodiment of the present invention;
[0032] Figure 2 It is a schematic diagram of an XML file of the 3D CAD pipeline specialty in an embodiment of the present invention;
[0033] Figure 3 This is an example model diagram of the pipeline specialty in PDM in the embodiments of the present invention;
[0034] Figure 4 This is a schematic diagram of the lightweight conversion interface of the 3D model in the embodiments of the present invention;
[0035] Figure 5 This is a schematic diagram of the lightweight browsing interface of the 3D model in PDM in the embodiments of the present invention. Detailed implementation manners
[0036] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0037] The technical solution of the present invention is as follows:
[0038] A method for lightweight integration of 3D models of ship products, which realizes the representation, modeling and parsing of 3D model data structures and data storage through a 3D model data management integration framework in PDM, and uses a 3D model lightweight conversion interface to convert the original 3D CAD model into a lightweight file. Mount the 3D CAD model lightweight file in the model structure tree of PDM, and embed a 3D model lightweight browser to realize the lightweight browsing of the 3D CAD model in PDM.
[0039] Using the 3D model data management integration framework, define a 3D model data structure template, sort out the data relationships of the 3D CAD model, establish 3D CAD professional data in PDM for data modeling, and parse the imported 3D CAD data according to the established data model.
[0040] The 3D model data structure template can accurately represent the table attributes of the 3D model and the inheritance and association relationships between tables, objectify the 3D CAD data, represent the model class name through the class area, represent the inheritance relationship between the class and other model classes through the inheritance area, represent each attribute in the model class through the attribute area, and represent the association relationship between model classes through the association area;
[0041] In the process of 3D model modeling and data parsing, the 3D CAD provides 3D CAD model data in the forms of STEP and XML, where STEP stores geometric information and XML stores data information, and the STEP data is embedded in the XML file in text form;
[0042] In the process of 3D model modeling and data parsing, the data modeling carried out in PDM follows the Ship Common Information Model (SCIM) standard.
[0043] After completing the 3D CAD data modeling and parsing, the specific steps for storing the 3D model data are as follows:
[0044] S1. Import the data structure defined by the 3D model data structure template, and generate component library data according to the established 3D CAD data model;
[0045] S2. Parse the tags of the XML file to match the 3D CAD data structure established in PDM;
[0046] S3. Parse the STEP data in the XML file, extract it as a STEP file and store it in PDM, and associate it with the established data model.
[0047] The 3D model lightweight conversion interface converts the original 3D CAD model into a lightweight file through the 3D model lightweight conversion service, and the lightweight ratio can reach 1 / 10 - 1 / 30 of the original model.
[0048] The 3D model lightweight conversion service has been integrated into the PDM software. Select the model node on the model tree, click the model conversion button to call the 3D model lightweight conversion service for 3D model lightweight processing, and mount the lightweight model on the model object.
[0049] The specific steps of the 3D model lightweight conversion service include:
[0050] Load the original model;
[0051] Obtain the assembly relationship, unit data, transformation matrix data, color data and display the position-related data among them;
[0052] Obtain the model brep data, perform triangular mesh division according to the brep data, and use the triangular mesh model to approximately represent the original model;
[0053] Obtain the view data, PMI data, file attribute data, and save the model structure data, color data, assembly unit data, assembly file attribute data, view data, PMI data, triangular mesh data, part unit data, brep data, part file attribute data as a lightweight file.
[0054] The lightweight file includes components and assemblies. The component is a single model file, containing geometric primitives, custom attributes, PMI and other information of the component; the assembly contains assembly sub-nodes, PMI, custom attributes, assembly modeling, assembly deformation and other information.
[0055] Develop a 3D model lightweight browsing interface in PDM to achieve the assembly loading and lightweight browsing of sub-assemblies and regions of 3D lightweight models, with smooth loading and browsing of lightweight models.
[0056] The 3D model lightweight browsing interface is divided into three regions: left, middle, and right. The left side is a model tree structure, the middle is a lightweight model display interface, and the right side is an attribute viewing page.
[0057] The assembly of the 3D lightweight model is achieved through the assembly parts in the lightweight file.
[0058] The 3D model lightweight browsing includes functions such as annotation, measurement, sectioning, explosion, node positioning, model rendering, structure tree, and annotation set display.
[0059] According to the requirements of the 3D model data management integration framework, analyze the data structure of the 3D CAD pipeline specialty using the 3D model data structure template to determine the attributes, inheritance relationships, and association relationships of the model data. Refer to the SCIM standard and establish a data model for the pipeline specialty in PDM by combining the unique structure of the 3D CAD specialty data, as Figure 2 shown.
[0060] 3D CAD exports the model data of the pipeline specialty into XML and STEP formats, parses it, and divides the XML file into project data ( <pipe:xmlinfo>Label), pallet data( <pipe:modelfiles>Labels), and the data constituting the tray assembly, and then divide the tray assembly part. The model data of the pipeline specialty can be associated with the data model established by PDM, and relevant component objects can be generated. Finally, parse the STEP data in the XML file ( <pipe:stepgraph>(Label), convert the geometric information into a separate file and store it in the PDM, and associate it with the data model instance, as Figure 3 shown.
[0061] The PDM integrates a 3D model lightweight conversion service, as Figure 4 shown. Select the model node in the model structure tree and click "Model Conversion" to convert the original 3D model into a lightweight model and mount it on the model structure tree.
[0062] A lightweight browsing interface for 3D models has been developed in the PDM, as Figure 5 shown.
[0063] Click on the section and area nodes mounted on the left model structure tree, right-click to display the model, and the lightweight model can be viewed in the middle model browsing window. The property bar on the right can display the basic properties of the model, and the model operation buttons at the bottom middle can implement functions such as model annotation, measurement, sectioning, explosion, and rendering.
[0064] It is easy for those skilled in the art to understand that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.< / pipe:stepgraph> < / pipe:modelfiles> < / pipe:xmlinfo>
Claims
1. A lightweight integration method for a three-dimensional model of a ship product, characterized in that: The following steps are involved: Input the model data in the 3D CAD model into the product data management system PDM; In PDM, the data integration framework is used to represent the 3D model data structure, model and analyze it, and store the data; The model data of the 3D CAD model is converted into a lightweight file through the 3D model lightweight conversion interface; Mount the lightweight file of the 3D CAD model in the model structure tree of PDM, and embed the lightweight browser of the 3D model to realize lightweight browsing of the 3D CAD model in PDM.
2. A method for lightweight integration of three-dimensional models of ship products according to claim 1, characterized in that: The data integration framework is used to define a 3D model data structure template, sort out the data relationship of the 3D CAD model, establish 3D CAD professional data in PDM for data modeling, and parse the imported 3D CAD data according to the established data model.
3. A method for lightweight integration of three-dimensional models of ship products according to claim 2, characterized in that: The three-dimensional model data structure template is used to accurately represent the data table attributes of the three-dimensional CAD model and the inheritance and association relationships between tables, and objectify the model data of the three-dimensional CAD model. The model class name is represented by the class area, the inheritance area represents the inheritance relationship between the class and other model classes, the attribute area represents each attribute in the model class, and the association area represents the association relationship between the model classes.
4. A method for lightweight integration of three-dimensional models of ship products according to claim 3, characterized in that: In the process of 3D modeling and data analysis, the 3D CAD model provides model data in the form of STEP and XML; among them, STEP data is used to store geometric information, XML data is used to store data information, and STEP data is embedded in the XML file in the form of text; the data modeling performed in PDM follows the ship general information model standard.
5. A method for lightweight integration of three-dimensional models of ship products according to claim 4, characterized in that: After the 3D modeling and data analysis process is completed, the model data is stored. The specific steps include: S1, importing the data structure defined by the 3D model data structure template, and generating component library data according to the established 3D CAD data model; S2, parsing the tags of the XML file to match the 3D CAD data structure established in the PDM; S3. Parse the STEP data in the XML file, extract it as a STEP file and store it in PDM, and associate it with the established data model.
6. A lightweight integration method for a three-dimensional model of a ship product according to claim 1, characterized in that: The 3D model lightweight conversion interface converts the model data of the 3D CAD model into a lightweight file through the 3D model lightweight conversion service. The lightweight ratio is 1 / 10-1 / 30 of the model data.
7. The method for lightweight integration of three-dimensional models of ship products according to claim 1, characterized in that: The specific steps of the 3D model lightweight conversion service include: Load the original model; Obtain assembly relations, unit data, transformation matrix data, color data and display position-related data; Get the model brep data, perform triangular mesh division according to the brep data, and use the triangular mesh model to approximate the original model; Obtain view data, PMI data, and file attribute data, and save model structure data, color data, assembly unit data, assembly file attribute data, view data, PMI data, diagonal grid data, part unit data, brep data, and part file attribute data as lightweight files.
8. The method for lightweight integration of three-dimensional models of ship products according to claim 1, characterized in that: The lightweight file includes parts and assemblies; wherein the parts are single model files, including at least the geometric entities, custom properties and PMI of the parts; the assemblies include at least the assembly sub-nodes, PMI, custom properties, assembly modeling and assembly deformation of the assembly.
9. The method for lightweight integration of three-dimensional models of ship products according to claim 1, characterized in that: The 3D model lightweight browsing interface is used to realize the assembly loading and lightweight browsing of the 3D lightweight model's sub-segments and regions, and the lightweight model loading and browsing are smooth; The lightweight browsing interface of the three-dimensional model is divided into three areas: left, middle and right. The left side is the model tree structure, the middle is the lightweight model display interface, and the right side is the property viewing page; the assembly of the three-dimensional lightweight model is realized through the assembly parts in the lightweight file; the functions of the lightweight browsing of the three-dimensional model include at least annotation, measurement, sectioning, explosion, node positioning, model rendering, structure tree and annotation set display.
10. A computer-readable storage medium having a computer program stored thereon, 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 9 are implemented.
Citation Information
Cited By
A ship three-dimensional model lightening method based on multi-modal collaborative simplification
CN122695145A