Dynamic hierarchical decoupling type three-dimensional model data construction method, equipment and medium
Through the dynamic hierarchical decoupling three-dimensional model data construction method, the problems of complex model organizational relationships and frequent data changes in three-dimensional model management are solved, efficient and flexible data management is achieved, and design and production efficiency is improved.
Patent Information
- Application Number
- CN202510964929.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-14
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-07-14
AI Technical Summary
There are problems in existing three-dimensional model management with complex model organizational relationships, high hardware requirements and frequent data changes, resulting in insufficiency in design and production, and increased project management complexity and cost.
Through the dynamic hierarchical decoupling three-dimensional model data construction method, including file preprocessing, dynamic hierarchical structure construction, mapping relationship establishment, part object decoupling storage and version control, dynamic management and synchronization of part objects are realized.
It improves the management and processing efficiency of three-dimensional model files, enhances the accuracy and reliability of the model, ensures the consistency and dynamics of data, and improves the work efficiency of engineering design, production and quality control.
Smart Images

Figure CN120495534A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of model data technology, and in particular relates to a method, device and medium for constructing dynamic layered decoupling three-dimensional model data. Background Art
[0002] In the manufacturing industry, the application of 3D models has been widely used in every aspect of the process, from design and simulation to production, greatly improving product development efficiency and quality. However, with the development of technology and the deepening of its application, the current 3D model management faces a series of severe challenges.
[0003] First, the complexity of model organization became a bottleneck restricting development. Assemblies and parts have numerous one-to-many and many-to-one relationships. This complex hierarchical structure not only makes model management and maintenance extremely difficult, but also easily leads to data inconsistencies and alignment issues. For example, when modifying an assembly design, failing to accurately track all related parts can lead to design errors or production issues, impacting the progress and quality of the entire project.
[0004] Secondly, traditional 3D model management methods typically require importing the entire product model into CAD software to capture all information. This not only places extremely high demands on hardware resources, but also creates a complex and time-consuming process. Hardware performance limitations often become an insurmountable obstacle when working with large, complex models. Companies are forced to invest heavily in high-performance computing equipment, but this still fails to completely resolve the operational complexity and time-consuming nature of these systems, severely impacting design and production efficiency.
[0005] Finally, in real-world applications, frequent data changes present another pressing challenge. Due to the lack of an effective file association recognition mechanism, relying solely on model files for management makes data updates and version management extremely difficult. Each data change requires manual synchronization of multiple related files, which is inefficient and error-prone. This not only impacts team collaboration but also increases the complexity and cost of project management. Especially in today's world where rapid iteration and collaborative work are increasingly important, this inefficient data management approach has become a key constraint on business development.
[0006] In summary, the main challenges facing the current application of 3D models in the manufacturing industry are complex model organization, high hardware requirements, and frequent data changes. These issues not only severely hinder design and production efficiency but also significantly increase the complexity and cost of project management. Therefore, there is an urgent need for an efficient and flexible technical solution to address these challenges and improve the management and application of 3D models to meet the rapidly evolving needs of modern manufacturing. Summary of the Invention
[0007] The purpose of the present invention is to provide a method for constructing dynamic layered decoupled three-dimensional model data to solve the problems of complex model organization relationships and inconvenient data management in the application of three-dimensional models.
[0008] The present invention is achieved through the following technical solutions: A method for constructing dynamic layered decoupling 3D model data includes the following steps: S01. 3D model file preprocessing, including format conversion, data cleaning, and unified coordinate system processing of 3D model files; S02. Define different hierarchies, construct a dynamic hierarchical structure of the three-dimensional model, and establish a mapping relationship between each component object in the model and the hierarchy. The position of each component object in the hierarchy and its relationship with other component objects are determined through the mapping relationship. S03, parsing the mapping relationship in step S02, identifying all part objects in the component object, and obtaining attribute information of each part object, storing the extracted part objects and their attribute information according to a preset data structure, and constructing a three-dimensional model database; S04. Retrieve the specified version of 3D model data from the 3D model database, generate a model file list of the specified version, and reconstruct the 3D model data from the top layer to the bottom layer based on the retrieved 3D model data according to the acquired model reconstruction sequence information.
[0009] In some embodiments of the present invention, in step S01 , the 3D model files are converted into the same format, the file names of the 3D model files are not changed after data cleaning, and the 3D model files adopt the same coordinate system.
[0010] In some embodiments of the present invention, the levels defined in step S02 include product level, component level, and part level.
[0011] In some embodiments of the present invention, step S02 further includes the step of verifying the correctness and integrity of the constructed hierarchical structure, and identifying and recording incorrectly mapped components.
[0012] In some embodiments of the present invention, step S02 further includes the steps of obtaining historical data of model changes, and storing the historical data of model changes, all different versions of model data, and mapping relationships corresponding to different versions of model data in a version control library.
[0013] In some embodiments of the present invention, in step S04 , a specified version is retrieved from all version information in the version control library, and the three-dimensional model data of the specified version is obtained.
[0014] In some embodiments of the present invention, when reconstructing the three-dimensional model data in step S04, the attribute information of each part is extracted from the three-dimensional model database, the part attribute information is organized according to a hierarchical structure, and the attribute information of all parts is summarized in a total data table.
[0015] In another aspect, the present invention further provides an electronic device, comprising: processor; and, a memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the dynamic hierarchical decoupling three-dimensional model data construction method by executing the executable instructions.
[0016] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which implements the dynamic hierarchical decoupled three-dimensional model data construction method when executed by a processor.
[0017] Compared with the prior art, the present invention has the following advantages and beneficial effects: The present invention utilizes dynamic hierarchical management tools and version control systems to construct and manage hierarchical structures, ensuring that changes to assemblies and parts can be seamlessly synchronized; through a dynamic parsing engine and attribute management tools, dynamic decoupling storage of part objects is achieved, improving the flexibility and efficiency of data management; with the help of dynamic version confirmation, dynamic hierarchy reconstruction and dynamic attribute data aggregation tools, the retrieval and application capabilities of model data are enhanced, ensuring the real-time and accuracy of data.
[0018] By optimizing the construction process, the present invention not only improves the management and processing efficiency of three-dimensional model files, but also enhances the accuracy and reliability of the model, solves the problem of rigid data mapping caused by separate changes to assemblies and parts, ensures the consistency and dynamics of data, provides strong technical support for engineering design, production and manufacturing, and quality control, and significantly improves overall work efficiency and data management capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 Schematic diagram of the process of constructing dynamic layered decoupled 3D model data according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. It should also be noted that, for ease of description, only parts related to the present application, not all of the contents, are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0022] In order to enhance the ability to organize 3D model data and realize effective management and efficient application of 3D model files, the present invention ensures the compatibility and consistency of model files through file format conversion, data cleaning and coordinate system integration; utilizes dynamic hierarchical management tools and version control systems to build and manage hierarchical structures to ensure that changes to assemblies and parts can be seamlessly synchronized; through dynamic parsing engines and attribute management tools, dynamic decoupling storage of part objects is realized to improve the flexibility and efficiency of data management; with the help of dynamic version confirmation, dynamic hierarchy reconstruction and dynamic attribute data summary tools, the retrieval and application capabilities of model data are enhanced to ensure the real-time and accuracy of data.
[0023] Specifically, the present invention associates the component drawing number with the sub-component drawing number to associate a component with multiple versions of sub-components. Different versions are just specific instances of the sub-component drawing number, thereby realizing dynamic storage of part objects.
[0024] Current PDM systems all implement the storage and management of 3D digital models based on files, but only involve the storage and management of CAD files themselves, lacking independent storage of CAD files. In the present invention, part objects are stored separately, achieving decoupled storage of part objects.
[0025] In the original PDM system, when calling a part object, the data contained in the part object is still stored in the CAD file, requiring manual identification of the part information using CAD software and then extracting the data contained in the part object. The present invention can directly call the part object by modeling and managing the data contained in the 3D digital model.
[0026] In some embodiments of the present invention, a method for constructing dynamic layered decoupled three-dimensional model data includes the following steps: S01. 3D model file preprocessing S011. File format conversion: convert various 3D model file formats (such as STL, OBJ, FBX, etc.) into a unified internal format for subsequent processing.
[0027] S012. Data cleaning: Identify and remove redundant data, erroneous data, and unnecessary details in 3D models to simplify the model structure.
[0028] S013. Unify the coordinate system; ensure that all models use a unified coordinate system so that they can be correctly aligned during assembly and combination.
[0029] S02. Use document mapping relationships to build dynamic hierarchies S021. Define the hierarchical structure; define different levels such as product level, component level, part level, etc. according to model complexity and application requirements.
[0030] S022. Establish multi-version dynamic mapping relationships: Based on the assembly model, establish a mapping relationship for each model component, clarifying its position in the hierarchical structure and its relationship with other components. The mapping relationships established for model components include the relationship between the component and other components and parts. For example, if component A contains component B, part C, and part D, a one-to-many mapping relationship is established using the component and part drawing numbers. Components and parts are represented differently in CAD files, with components generally represented as products and parts as parts.
[0031] The hierarchical structure here refers to the design bill of materials (BOM), or the structure tree in the 3D model, which clarifies the position of the component in the hierarchical structure to clarify where the component is contained in the entire product.
[0032] Use a version control system to record the history of each change and support backtracking and comparing differences between different versions.
[0033] S023. Hierarchical Verification: Verify the correctness and completeness of the hierarchical structure and ensure that all components are correctly mapped to the hierarchical structure.
[0034] S03. Decoupling storage of associated part objects S031. Document mapping result analysis: Analyze the document mapping relationship constructed in step S02, conduct in-depth analysis of the assembly file, and identify each part object in detail to determine the specific location, function, and relationship of the part instance object in the assembly structure.
[0035] S032. Part attribute collection: obtain attribute information of each part object, including but not limited to material type, size, weight, color, etc.
[0036] Extract part annotations, design intent, and other metadata from 3D model files or associated databases as part object attribute information.
[0037] S033. Part object storage: The extracted part objects and their attribute information are stored in a database or file system according to a predetermined data structure, ensuring that each part object is stored independently to facilitate separate management and updating of each part object.
[0038] S04. Model data retrieval application S041. Version confirmation: retrieve information of all available versions from the 3D model database and determine the specific version to be retrieved.
[0039] S042. Hierarchical Rebuild: Determine the order of rebuild, starting from the top-level assembly and rebuilding the entire assembly step by step, ensuring that each part is correctly placed according to the specified version and location.
[0040] The hierarchy is rebuilt through the mapping relationship of model components, and the corresponding version is found according to the actual scenario. For example, in process design, it is necessary to compile process documents according to the latest status, which requires data from related three-dimensional models. In this case, it is necessary to obtain the latest version of the data for each part, reorganize the latest version of the data through the latest versions of the components according to the mapping relationship, and construct the latest structural hierarchy.
[0041] S043. Aggregate attribute data: Extract attribute information for each part from the 3D model database. Organize the attribute data hierarchically and aggregate all part attribute information into a master data table to facilitate querying and analyzing the 3D model.
[0042] By optimizing the construction process, not only the management and processing efficiency of 3D model files is improved, but also the accuracy and reliability of the model can be enhanced. In particular, through dynamic hierarchical management, version control, dynamic parsing and storage, the problem of rigid data mapping caused by changes to assemblies and parts is solved, ensuring the consistency and dynamism of data, providing strong technical support for engineering design, production and manufacturing, and quality control, and significantly improving overall work efficiency and data management capabilities.
[0043] By introducing dynamic hierarchical management tools, version control systems, dynamic parsing engines, distributed storage systems, real-time data update and query tools, automated data cleaning and verification tools, visual management tools, modular design and API interfaces, flexible adjustment and real-time verification of assembly and part hierarchical relationships are achieved, ensuring data consistency and traceability.
[0044] The following describes in detail the method for constructing dynamic layered decoupled three-dimensional model data according to the present invention in conjunction with specific embodiments.
[0045] In this embodiment, the three-dimensional model file is format converted, data cleaned, and the coordinate system is unified, a dynamic hierarchical structure is constructed and version control is performed, and the part objects and their attributes are parsed and stored to construct a dynamic hierarchical decoupled three-dimensional model, thereby achieving efficient retrieval and application of model data.
[0046] The construction of a dynamic layered decoupling 3D model includes the following steps: Step S01: Preprocessing the 3D model file, including: Receive 3D model files in multiple formats, such as component A (.stl), component B (.obj), etc. Use 3D modeling software to convert all files to a unified format (such as step); the converted file names are component_A.step, component_B.step, component_C.step, etc.
[0047] Use scripts and other data processing tools to clean the data, including removing redundant data. The cleaned model file retains its original file name.
[0048] Use scripting tools to ensure that all model files use a unified coordinate system (for example, a right-handed coordinate system). If model files use different coordinate systems, perform the corresponding coordinate system conversion, and the converted model files retain the original file names.
[0049] Step S02: constructing a dynamic hierarchy using document mapping relationships; including: Define the hierarchical structure and define different levels according to the complexity of the model and application requirements, such as product level (the entire assembly), component level (the main components in the assembly, such as component A, component B, component C, etc.), and part level (specific parts in the assembly, such as screws and washers in component A, etc.).
[0050] Use a version control system to establish a mapping relationship for each model component, clarify its position in the hierarchical structure and its relationship with other components, record the historical data of each change, and support backtracking and comparison of differences between different versions.
[0051] Store historical data changes in a version control repository, which contains all different versions of the model file and their mappings. Because components and subcomponents are associated through mappings, when a component has multiple versions, each version has a different composition, so it is necessary to store mappings for each version. For example, if a component has versions A, B, and C, and you need to rebuild version A, you need to obtain the mapping for version A and the corresponding subcomponents.
[0052] Then, use a validation tool to verify the correctness and completeness of the hierarchy to ensure that all components are correctly mapped to the hierarchy. Identify and document any incorrectly mapped components to ensure the correctness of the hierarchy.
[0053] Step S03: Decoupling and storing associated part objects The script parses the document mapping established in step S02, performs in-depth analysis of the assembly model file, and identifies each part object in detail to determine the specific location, function, and relationship of the part instance objects in the assembly structure. The script reads the mapping relationship file established in step S02, parses the detailed information of each component, and generates a parsing result file containing detailed information for each part.
[0054] Use database query tools to extract each part's attribute information from the 3D model file or associated database, including material type, size, weight, color, etc., as well as part annotations, design intent, and other metadata, and generate an attribute information file containing detailed attribute information for each part.
[0055] Then, the extracted part objects and their attribute information are stored in a database or file system according to a predetermined data structure, ensuring that each part object is stored independently for easy individual management and updating.
[0056] Step S04: Model data retrieval application; including: Using a version control system, all available versions of 3D model data are retrieved from a 3D model database, a specific version to be retrieved is determined, and a model file list of the specific version is generated.
[0057] Using the script, based on the obtained model reconstruction order information, the 3D model is rebuilt from the top level down step by step, ensuring that each part is correctly placed according to the specified version and position, and generating a reconstructed assembly model file.
[0058] The model reconstruction sequence information obtained includes how many level 1 nodes exist under a product, how many level 2 nodes exist under each level 1 node, and so on until no child nodes exist.
[0059] The reconstructed assembly model file here refers to the data hierarchical relationship containing each node, which is similar to the EBOM information of a certain time period. It is convenient to re-extract all 3D model data based on the established model file when designing the process file later.
[0060] The attribute information of each part is extracted from the 3D model database, organized according to the hierarchical structure, and the attribute information of all parts is summarized into a master data table for easy query and analysis.
[0061] In another aspect, the present invention further provides an electronic device, comprising: processor; and, a memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the dynamic hierarchical decoupling three-dimensional model data construction method by executing the executable instructions.
[0062] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which implements the dynamic hierarchical decoupled three-dimensional model data construction method when executed by a processor.
[0063] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the scope of protection of the present invention.
Claims
1. A method for constructing dynamic layered decoupling 3D model data, characterized in that: The following steps are involved: S01. 3D model file preprocessing, including format conversion, data cleaning, and unified coordinate system processing of 3D model files; S02. Define different hierarchies, construct a dynamic hierarchical structure of the 3D model, and establish a mapping relationship between each component object in the model and the hierarchy. The position of each component object in the hierarchy and its relationship with other component objects are determined through the mapping relationship. S03, parsing the mapping relationship in step S02, identifying all part objects in the component object, and obtaining attribute information of each part object, storing the extracted part objects and their attribute information according to a preset data structure, and constructing a three-dimensional model database; S04. Retrieve the specified version of 3D model data from the 3D model database, generate a model file list of the specified version, and reconstruct the 3D model data from the top layer to the bottom layer based on the retrieved 3D model data according to the acquired model reconstruction sequence information.
2. The method for constructing dynamic layered decoupled 3D model data according to claim 1, characterized in that: In step S01 , the 3D model files are converted into the same format, the file names of the 3D model files are not changed after data cleaning of the 3D model files, and the 3D model files are made to use the same coordinate system.
3. The method for constructing dynamic layered decoupled 3D model data according to claim 1, characterized in that: The levels defined in step S02 include product level, component level, and part level.
4. The method for constructing dynamic layered decoupled 3D model data according to claim 1, wherein: Step S02 also includes the step of verifying the correctness and integrity of the constructed hierarchical structure, and identifying and recording incorrectly mapped components.
5. The method for constructing dynamic layered decoupled 3D model data according to claim 1, wherein: Step S02 also includes the steps of obtaining historical data of model changes, and storing the historical data of model changes, all different versions of model data, and mapping relationships corresponding to different versions of model data in a version control library.
6. The method for constructing dynamic layered decoupled 3D model data according to claim 5, characterized in that: In step S04, a specified version is retrieved from all version information in the version control library, and the three-dimensional model data of the specified version is obtained.
7. The method for constructing dynamic layered decoupled 3D model data according to claim 1, characterized in that: When reconstructing the three-dimensional model data in step S04, the attribute information of each part is extracted from the three-dimensional model database, the attribute information of the part is organized according to the hierarchical structure, and the attribute information of all parts is summarized into a total data table.
8. An electronic device, characterized in that include: processor; as well as, a memory for storing executable instructions of the processor; The processor is configured to execute the dynamic hierarchical decoupling three-dimensional model data construction method according to any one of claims 1 to 7 by executing the executable instructions.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for constructing dynamic layered decoupled three-dimensional model data according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Unstructured three-dimensional model data analytical algorithm
CN104268179A
Method and device for transforming civil engineering structure model in PDMS into data of XML format
CN106528939A
Unstructured data analysis method for three-dimensional inspection model of three-dimensional modeling software
CN111462327A
Product file management method and system based on BOM management mode
CN117687960A
Product model data structured processing method, electronic equipment and storage medium
CN120234328A
Cited By
Scheme data organization method of CAD application system
CN121071968A