A fast conversion method for heterogeneous CAD hull models for SPD system

By constructing the SPD system model data ontology and using OWL and Protege tools to establish the assembly hierarchy, the problems of data loss and consistency checking in the conversion of heterogeneous CAD models in the existing technology are solved, and the DXF model in the SPD system and the CATIA system are realized. Distortion-free conversion of 3DXML models improves the efficiency and accuracy of data exchange.

CN112434376BActive Publication Date: 2024-09-06HUDONG ZHONGHUA SHIPBUILDINGGROUP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011382902.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-01
Publication Date
2024-09-06
Estimated Expiration
2040-12-01

AI Technical Summary

Technical Problem

Existing heterogeneous CAD model conversion methods, such as STEP-based methods, have limitations such as data loss and consistency checks, making it difficult to achieve distortion-free conversion while retaining the assembly relationships of the hull model.

Method used

By building the SPD system model data ontology, including geometric information, feature information, dimensions and tolerances, using OWL and Protege tools to establish the assembly hierarchy, realizing ontology-based data expression and storage, and completing heterogeneous CAD through read and write interfaces Conversion of hull model.

Benefits of technology

The distortion-free conversion of the DXF model in the SPD system and the 3DXML model in the CATIA system is achieved, improving the exchange efficiency and accuracy of hull model data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112434376B
    Figure CN112434376B
Patent Text Reader

Abstract

The present invention relates to a fast conversion method for heterogeneous CAD hull models for SPD systems, the method comprising the following steps: S1, constructing an SPD system model data ontology, the model data ontology comprising geometric information, feature information, dimensions and tolerances, and engineering annotations of the model; S2, parsing the heterogeneous CAD hull model to be converted, filling the parsed heterogeneous CAD hull model data into the SPD system model data ontology, and completing the ontology instance construction; S3, obtaining the write interface of the target CAD model, retrieving the information required for the target CAD model from the SPD system model data ontology and inputting it into the write interface of the CAD model data, and completing the heterogeneous CAD hull model conversion. The present invention defines a multi-scale data set of a hull CAD model by constructing an ontology, thereby realizing ontology-based product information retrieval, and finally completing the conversion of the heterogeneous CAD hull model, that is, realizing the distortion-free conversion of the DXF model in the SPD system and the 3DXML model in the CATIA system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of ship design, and in particular to a fast conversion method for a heterogeneous CAD hull model used in an SPD system. Background Art

[0002] The Ship Product Design (SPD) system is a design software system with independent intellectual property rights that improves my country's innovative capabilities in ship design and construction. The system is a three-dimensional CAD graphics platform with independent intellectual property rights developed based on OpenGL, with functions such as hull structure design, piping design, duct design, electrical design, iron and steel equipment design, and painting production design. The solid and parametric modeling technology in the SPD system provides a powerful means for establishing a ship product model with a complete topological relationship. Considering that the SPD system is widely used in the design and manufacturing process of my country's shipbuilding industry, a convenient way is needed to exchange information between the SPD system and heterogeneous CAD systems. The data and information integration of heterogeneous CAD can be realized through the data interface between the SPD system and other systems, which can create technical conditions for collaborative design of different manufacturers.

[0003] In the shipbuilding industry, different components or products may use different CAD modeling software, and different companies may use different CAD modeling systems due to different needs or functions. Multi-source heterogeneous models are not conducive to the exchange and reuse of hull model data, and the workload of re-modeling is huge. Realizing the conversion of heterogeneous hull models is conducive to improving the development and design efficiency of ship products.

[0004] At present, the transformation methods of heterogeneous CAD models mainly include direct transformation and transformation methods based on neutral files. The transformation methods based on neutral files have been widely used. Representative neutral file standards include: Graphics Exchange Specification (IGES) and Standard for Exchange of Product Model Data (STEP). In addition, commonly used neutral files include Web Ontology Language (OWL). The STEP language performs well in converting geometric data, but during the conversion process, non-geometric data related to design intent, such as modification history, constraints and features, may be lost. The STEP method has certain limitations in consistency checking, computer readability and computer understandability, CAD model data loss, data generated during the design process, semantic interpretation, representation and exchange capabilities, logic-based reasoning capabilities, and integration of different classification methods.

[0005] Therefore, it is necessary to achieve distortion-free conversion of hull models between SPD and heterogeneous CAD systems while retaining the assembly relationship of the hull model. Summary of the invention

[0006] In order to achieve the above technical objectives, the present invention provides a method for rapid conversion of heterogeneous CAD hull models for SPD systems, which defines the multi-scale data set of the hull CAD model through an ontology, expresses and stores the hull model data in a structured and semantic manner, thereby realizing ontology-based product information retrieval and ultimately completing the conversion of heterogeneous CAD hull models.

[0007] The technical objectives of the present invention are achieved through the following technical solutions:

[0008] A method for quickly converting a heterogeneous CAD hull model for an SPD system, the method comprising the following steps:

[0009] S1. Constructing the SPD system model data ontology, wherein the model data ontology includes the model's geometric information, feature information, dimensions and tolerances, and engineering annotations;

[0010] S2. Write a reading and writing interface for CAD model data, parse the heterogeneous CAD hull model to be converted through the reading interface of CAD model data, and fill the parsed heterogeneous CAD hull model data into the SPD system model data ontology through the writing interface of CAD model data to complete the ontology instance construction;

[0011] S3. Obtain the writing interface of the target CAD model, retrieve the information required by the target CAD model from the SPD system model data body and input it into the writing interface of the target CAD model data, and complete the conversion of the heterogeneous CAD hull model.

[0012] Furthermore, the construction of the SPD system model data ontology is based on the model ontology representation of OWL and the CAD model assembly hierarchy established based on the ontology construction tool Protege.

[0013] Furthermore, the assembly hierarchy includes an assembly layer, a part layer, a feature layer, and a geometric element layer from top to bottom.

[0014] Furthermore, the SPD system model data ontology takes the hull model as the parent class, the assembly as the subclass of the hull model, and the assembly itself or the part class as the subclass of the assembly. The hull model, assembly and part class each have their own name attribute.

[0015] Furthermore, the part class includes two subclasses: geometry class and attribute class. The geometry class includes two subclasses: category and triangle face set. The subclasses of the attribute class include material, quality, and envelope size.

[0016] Furthermore, the analysis includes SPD system hull model analysis and CATIA system hull model analysis; wherein the SPD system hull model analysis includes DXF file analysis and XML file analysis, the DXF file stores the geometric data of the hull model, and the XML file stores the assembly hierarchy of the hull model.

[0017] Furthermore, when parsing the DXF file, the chart layer, block segment and entity segment in the DXF table segment are obtained, and the color and line type of each layer are extracted in the chart layer of the DXF table segment; the layer, attributes and position of the block in the drawing are extracted in the block segment; and the geometric information and the layer of each entity are extracted in the entity segment.

[0018] Furthermore, the assembly hierarchy structure is stored in the assembly and part classes, and the assembly hierarchy structure of the hull model is obtained by traversing the assembly and part classes in the XML document.

[0019] Furthermore, the CATIA system hull model analysis includes:

[0020] S4, decompress the 3DXML file in the CATIA system to obtain the Manifest file;

[0021] S5. Parse the Manifest file to read the assembly hierarchy, parse the 3DXML file to read the face information and assembly hierarchy, and parse the 3dxml file to read the graphic data and its attribute information.

[0022] Furthermore, ontology instance construction includes:

[0023] S6. Acquire hull data through a CAD model data reading interface, including the assembly level of the hull and geometric information corresponding to the assembly level;

[0024] S7, filling the name of the hull model into the name attribute of the hull model;

[0025] S8, reading the assembly level of the hull, and filling the names of the assemblies and parts in each assembly level into the name attributes of the assemblies and parts respectively;

[0026] S9. Fill the categories and triangles of each part into the subclass triangle set and category of the part class respectively to complete the construction of the ontology instance.

[0027] The beneficial effect of the present invention lies in that, by constructing an ontology to define a multi-scale data set of a hull CAD model, the hull model data is expressed and stored in a structured and semantic manner, thereby realizing ontology-based product information retrieval and ultimately completing the conversion of heterogeneous CAD hull models, that is, realizing the mutual conversion between DXF models in the SPD system and 3DXML models in the CATIA system. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is the CAD model related information required for constructing the SPD system model data ontology in the present invention.

[0029] Figure 2 It is a schematic diagram of the assembly hierarchy structure of the CAD model in the present invention.

[0030] Figure 3 It is a framework diagram of hull model conversion in a heterogeneous CAD system in the present invention.

[0031] Figure 4 It is a data organization structure diagram of the hull model of the SPD system in the present invention.

[0032] Figure 5 It is the organizational structure diagram of the CATIA system hull model data in the present invention.

[0033] Figure 6 It is the organizational structure diagram of the SPD system model data ontology in the present invention.

[0034] Figure 7 It is a flow chart of the geometric data reading of the hull model of the SPD system in the present invention.

[0035] Figure 8 It is a flow chart of writing geometric data of the hull model of the SPD system in the present invention.

[0036] Fig. 9 It is a flow chart of reading assembly data of the hull model of the SPD system in the present invention.

[0037] Fig.10 It is a flow chart of writing assembly data of the SPD system hull model in the present invention.

[0038] Fig.11 It is a flow chart of reading hull model data of CATIA system in the present invention.

[0039] Fig.12 It is a flow chart of writing CATIA system hull model data in the present invention.

[0040] Fig.13 It is a flow chart of ontology instance construction in the present invention. DETAILED DESCRIPTION

[0041] The technical solution of the present invention is further described below in conjunction with specific embodiments:

[0042] In order to realize the mutual conversion between DXF model in SPD system and 3DXML model in CATIA system without distortion, the present invention provides a fast conversion method for heterogeneous CAD hull model in SPD system. The method is based on the construction of SPD system model data ontology, defines the multi-level data set of CAD model through ontology, and then uses SPD system model data ontology as the data mode of CAD model, thereby realizing ontology-based data expression, storage and retrieval, and finally completing the conversion of heterogeneous CAD model. Figure 3 shown.

[0043] A method for quickly converting a heterogeneous CAD hull model for an SPD system, the method comprising the following steps:

[0044] 1. It is necessary to construct the SPD system model data ontology (ontology for short). Ontology is a formal expression of concepts and the relationships between concepts in a specific field. Ontology Web Language (OWL) is a language for defining and instantiating ontologies and is used to describe the semantics of ontologies. In the method of expressing ontology based on OWL language, it is necessary to construct the SPD system model data ontology, extract the corresponding information according to the specific CAD model file standard, and obtain the relevant content of the CAD data set, mainly including the geometric information, feature information, engineering annotations, dimensions and tolerances of the product model, such as Figure 1 The ontology includes not only the geometric information of the product model, but also non-geometric information such as features and constraints with design intent. The 3D annotations in the dimensions and tolerances can express information such as the datum, tolerance, and processing requirements.

[0045] The ontology component tool Protege is used to establish the assembly hierarchy of the CAD model. Protege is a graphical ontology development tool that supports rich knowledge models. Users do not need to master the specific ontology representation language when using Protege. They only need to construct the domain ontology model at the conceptual level. The software can also export text representation formats such as OWL. The ontology can be constructed through this tool.

[0046] Define CAD model entities, such as Figure 2As shown in the figure, add assembly layer, part layer, feature layer, geometric element layer and other layers. The subclasses of the assembly layer are the subassembly layers and part layers. Each part layer contains the feature layer as its subclass, and the subclass of the feature layer is its geometric element layer. The geometric element layer contains the bottom-level geometric elements, such as points, lines, arcs, etc., and records the coordinates of the points, the length of the lines, the angle and radius of the arcs, etc. The feature layer contains modified features and sketch-based features. Common sketch-based features include stretching and rotation, common features such as through holes, blind holes, bosses, grooves, etc.; common modified features include chamfers, fillets, draft, etc.

[0047] The hull model in the SPD system is represented by DXF data, and the hull model in CATIA is represented by 3DXML data; the DXF file consists of six parts: header segment (HEADER), table segment (TABLES), block segment (BLOCKS), entity segment (ENTITIES), class segment (CLASSES) and object segment (OBJECTS). Among them, the block segment records the block name, current layer name, block type, block insertion base point and all members of the block. The triangular face data is stored in the block segment; the 3DXML file follows the XML syntax, contains multiple documents, and is compressed by the ZIP algorithm. The assembly information is in the file with the extension name of 3dxml, and the graphic data and attribute information are in the file with the extension name of 3drep. In the SPD system, the geometric data of the hull model is stored in the DXF file, and the assembly hierarchy is stored in the XML file. DXF distinguishes the different components of the hull model by segment name and stores the geometric information in the block segment. The hull model consists of multiple sections, each of which consists of multiple flat panels, curved panels, and stiffeners. The panel, as a hull structural unit, consists of many plate parts and profile parts. The XML document records the assembly hierarchy of the hull model and non-geometric information such as quality and material. Figure 4 shown.

[0048] In the CATIA system, the storage format of the hull model is the 3DXML data file format. The data of the hull model in the CATIA system is expressed and stored in a tree-like hierarchical structure. Parts are the lowest-level objects in the hull model, which are composed of entities such as plates and profiles. The entities contain geometric information and non-geometric information; components are objects assembled from multiple parts, which record the connection relationship between parts; products are composed of multiple components and parts, and a product can also have multiple sub-products, such as Figure 5 shown.

[0049] When constructing the SPD system model data ontology, in the hull model, in addition to geometric information such as coordinates, dimensions, and geometric elements, it also includes non-geometric information such as features, constraints, and assembly relationships. This information must be fully expressed when the ontology is constructed.

[0050] The model data entity of the component required here has the hull model (Hull-Model) as the parent class, and the subclass of the hull model is the assembly (Assembly). The subclass of the assembly can be the assembly itself or the part class (Part). The hull model, assembly and part class each have their own name attribute, and the name attribute corresponds to the name of the assembly or part. The part class includes two subclasses: the geometric class (Geometric) and the attribute class (Attributes). The geometric class includes two subclasses: classification (Classification) and triangle face set (Primitives). Among them, common categories include flat plates, curved plates, stiffeners, brackets, patch plates, pillars, profiles, angle steels, etc.; triangle face sets are used to store all the triangles that make up the geometric shape; attributes are used to store information such as the material, quality, and envelope size of the part, such as Figure 6 shown.

[0051] 2. To generate the corresponding model file through the ontology model, it is necessary to parse the model of the specific CAD system first, which is divided into SPD system hull model parsing and CATIA system hull model parsing:

[0052] The hull model parsing of the SPD system is divided into DXF file parsing and XML file parsing. A DXF file consists of several groups, each of which occupies two lines. The first line is the group code, and the second line is the group value. The group code indicates the code of the data type, and the group value is a specific numerical value. The combination of the two represents the meaning and value of a data. Commonly used group codes include: 0 indicates the text string of the entity type, 2 indicates the name (such as attribute label, block name, etc.), 8 indicates the layer name, and 10, 20, and 30 indicate the X coordinate value, Y coordinate value, and Z coordinate value of the point respectively.

[0053] In the process of heterogeneous model conversion, in order to improve the conversion efficiency, it is not necessary to extract all the information of DXF. It is only necessary to obtain the diagram layer in the block segment, entity segment and table segment to obtain the geometric data of the model. The color and line type of each layer are extracted in the diagram layer, the layer where the block is located, the attributes and the position in the drawing are extracted in the block segment, and the geometric information such as the starting point and end point of the straight line and the center and radius of the circle and the layer where each entity is located are extracted in the entity segment.

[0054] The hull model in the present invention only needs to obtain the names of each segment of the hull and the triangular facets that constitute the segment. Therefore, after obtaining all the contents in the block segment through the Block string, the 3DFACE therein is screened out to obtain all the triangular facets, and the normal vectors of the facets can be calculated through the vertices of the triangular facets.

[0055] According to the file specifications of heterogeneous CAD models, a reading interface for CAD model data is written. The DXF file of the SPD system hull model is read through the reading interface for CAD model data, and then the group code and associated value are read, and group data analysis is performed to identify the segment name. If it is a HEADER segment, the model name and envelope size are read; if it is an ENTITIES segment, the graphic object is read; if it is a BLOCKS segment, the primitive information such as triangle facets and vertices is read. Finally, the parsed SPD hull model geometry data is extracted, such as Figure 7 As shown, the DXF file is essentially composed of codes and associated values. The code, usually called a group code, indicates the type of value that follows it, and the associated value is located after the corresponding group code and is the data value corresponding to the group code.

[0056] After obtaining the parsed SPD hull model geometry data, the data is passed to the DXF file generation interface, and the data is written into the HEADER segment, BLOCKS segment, and ENTITIES segment in sequence, and the DXF file is exported, such as Figure 8 shown.

[0057] The hull model attribute XML file output by the SPD system contains the assembly hierarchy of the hull model and non-geometric information such as quality, material, and annotations. In the present invention, only the assembly hierarchy is extracted. The attribute XML document of SPD is a tree structure. The assembly hierarchy of the hull model is stored under two elements: assemblies (Assemblys) and parts (Parts). The child element of Assembly is named HullAssembly, and the ID of this element is the name of the hull model sub-assembly; the child element of Parts is named HullPart, and the ID of this element is the name of the part in the hull model. Both HullAssembly and HullPart have a child element named ParentID, which is used to record the parent assembly of the sub-assembly or part. By traversing the Assemblies and Parts in the hull attribute XML document of SPD, the assembly hierarchy of the hull model can be obtained, such as Fig. 9 shown.

[0058] In the CATIA system, the assembly hierarchy of the hull model is stored in the Manifest file, which also follows the XML syntax. The ProductStructure element in the Manifest file records the assembly hierarchy of the hull model. This element expresses the structure of the hull through two sub-elements, Reference3D and Instance3D. These two sub-elements each have id and name attributes. The id is used for labeling, and the name is used to record the name of the sub-assembly or part.

[0059] Reference3D represents an object that can be repeatedly referenced, and Instance3D represents an instanced object corresponding to Reference3D. In the child elements of Instance3D, the IsAggregatedBy element indicates which reference the instance is a component of, and the IsInstanceOf element indicates which reference the instance is an instance of. Traverse all child elements of ProductStructure and add them to the assembly tree to obtain the assembly hierarchy of the hull.

[0060] When the SPD system assembly hierarchy is written, Fig.10 As shown, open the writing interface of the XML file, obtain the assembly structure of the hull model, create a block element and write it into the ID of the assembly, create the Assemblys element and the Parts element, read the assembly structure tree in sequence, if the assembly is read, create the sub-element HullAssembly of the Assemblys, if the assembly is not read, create the sub-element HullPart of the Parts element;

[0061] After creating the sub-element HullAssembly of Assemblies, determine whether the assembly is a top-level assembly. If so, export the XML file. If not, add the ParentID attribute to the assembly, and then determine whether the assembly structure tree has been traversed. If so, export the XML file. If not, continue to read the assembly structure tree in sequence.

[0062] After creating the child element HullPart of the Parts element, add the ParentID attribute to the assembly, and then determine whether the assembly structure tree has been traversed. If so, export the XML file. If not, continue to read the assembly structure tree in sequence.

[0063] The analysis of the CATIA system hull model is divided into three steps: file decompression, assembly information analysis and graphic data analysis:

[0064] First, decompress the 3DXML file through the Zlib library, and then decompress it to get the Manifest file. The assembly hierarchy of the file is stored in this file. Read the assembly hierarchy; parse the 3drep file. The graphic data and attribute information are in the file with the extension 3drep. Read the graphic data and attribute information. Parse the 3DXML file. The file contains the patch information. Read the patch information, such as Fig.11 shown.

[0065] When writing the hull model data in the CATIA system, the assembly hierarchy information, graphic data and attribute information, and patch information of the hull model data are written into the Manifest file, the 3drep file, and the 3dxml file respectively. Then, the Manifest file, the 3drep file, and the 3dxml file are compressed and exported to the 3DXML file, such as Fig.12 As shown, CATIA has an open source model reading and writing interface, which will not be described in detail in the present invention.

[0066] When creating an entity instance, after obtaining the hull data, that is, the assembly hierarchy and geometric information of the hull, through the corresponding CAD system, the entity instance can be created, such as Fig.13 As shown:

[0067] The hull data is obtained through the CAD system model reading interface, and the name of the hull model is filled into the attribute name of the hull model (Hull-Model). Then the assembly hierarchy of the hull is read, and corresponding Assembly classes and Part classes are created for each first-level sub-assembly of the hull, and the names of each assembly or part are filled into the name attribute. The first-level assembly is traversed, and all sub-elements under the assembly are traversed to determine whether the sub-element is a part. If so, a Part class is created and the name attribute is filled. The part type and triangle patch are filled in the sub-classes Classification and Primitives of the part class respectively, until the sub-elements and first-level assemblies of the assembly are traversed, the instantiation of the entity can be completed, such as Fig.13 shown.

[0068] 3. Through the model reading area and writing interface of the previous SPD system and CATIA system, the hull model data is parsed and then stored in the ontology. After the instantiation of the ontology is completed, the ontology can be used to convert it into any CAD model. After obtaining the writing interface of the target CAD model, the corresponding information in the instantiated ontology is retrieved and input into the writing interface of the CAD model data to complete the conversion of the heterogeneous CAD hull model.

[0069] This embodiment is only a further explanation of the present invention, not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but as long as it is within the scope of the claims of the present invention, it will be protected by the patent law.

Claims

1. A fast conversion method for heterogeneous CAD hull models for SPD systems, It is characterized in that The method comprises the following steps: Step 1: construct the SPD system model data ontology, wherein the model data ontology includes the model's geometric information, feature information, dimensions and tolerances, and engineering annotations; the construction of the SPD system model data ontology includes the OWL-based model ontology representation and the CAD model assembly hierarchy established based on the ontology construction tool Protege; The SPD system model data ontology takes the hull model as the parent class, the assembly as the subclass of the hull model, and the assembly itself or the part class as the subclass of the assembly. The hull model, assembly and part class each have their own name attribute; the part class includes two subclasses, namely, the geometry class and the attribute class; the geometry class includes two subclasses, namely, the category and the triangle face set; the subclasses of the attribute class include material, mass and envelope size; Step 2: Write the reading and writing interfaces of the CAD model data, parse the heterogeneous CAD hull model to be converted through the reading interface of the CAD model data, and fill the parsed heterogeneous CAD hull model data into the SPD system model data ontology through the writing interface of the CAD model data to complete the ontology instance construction; The parsing includes SPD system hull model parsing and CATIA system hull model parsing, wherein the SPD system hull model parsing includes DXF file parsing and XML file parsing, wherein the DXF file stores geometric data of the hull model, and the XML file stores the assembly hierarchy of the hull model; When parsing the DXF file, the chart layer, block segment and entity segment in the DXF table segment are obtained, the color and line type of each layer are extracted from the chart layer of the DXF table segment; the layer, attributes and position of the block in the graphic are extracted from the block segment; and the geometric information and the layer of each entity are extracted from the entity segment; The ontology instance construction includes: S6. Acquire hull data through a CAD model data reading interface, including the assembly level of the hull and geometric information corresponding to the assembly level; S7, filling the name of the hull model into the name attribute of the hull model; S8, reading the assembly level of the hull, and filling the names of the assemblies and parts in each assembly level into the name attributes of the assemblies and parts respectively; S9, filling the categories and triangular facets of each part into the subclass triangular facet set and category of the part class respectively, completing the ontology instance construction; Step 3: Obtain the write interface of the target CAD model, retrieve the information required by the target CAD model from the SPD system model data body and input it into the write interface of the target CAD model data to complete the conversion of the heterogeneous CAD hull model.

2. A method for rapid conversion of heterogeneous CAD hull models for SPD systems according to claim 1, It is characterized in that The assembly hierarchy structure includes an assembly layer, a part layer, a feature layer and a geometric element layer from top to bottom.

3. A method for rapid conversion of heterogeneous CAD hull models for SPD systems according to claim 1, It is characterized in that The assembly hierarchy structure is stored in the assembly and part classes, and the assembly and part classes in the XML document are traversed to obtain the assembly hierarchy structure of the hull model.

4. A method for rapid conversion of heterogeneous CAD hull models for SPD systems according to claim 1, It is characterized in that The CATIA system hull model analysis includes: S4, decompress the 3DXML file in the CATIA system to obtain the Manifest file; S5. Parse the Manifest file to read the assembly hierarchy, parse the 3DXML file to read the face information and assembly hierarchy, and parse the 3dxml file to read the graphic data and its attribute information.