A three-dimensional model conversion method

CN114187430BActive Publication Date: 2024-09-24CHINA HELICOPTER RES & DEV INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111382547.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2024-09-24
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

Existing 3D model conversion methods cannot maintain the integrity and consistency of the model, resulting in abnormal operation in new tools or scene simulation software, high error rates, low efficiency, and inability to fully display the model.

Method used

By grouping and rendering the three-dimensional model as a whole and components, and importing it into the model conversion software for format conversion, modification and compilation, we ensure that the model has a complete appearance in the scene simulation software, the center point is accurate, and the components are controllable, and secondary rendering is implemented to complete the conversion.

Benefits of technology

It achieves the integrity and controllability of the three-dimensional model, improves the accuracy and efficiency of scene simulation, and ensures the authenticity and integrity of the model in any state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114187430B
    Figure CN114187430B
Patent Text Reader

Abstract

The present invention provides a three-dimensional model conversion method, comprising: rendering a first helicopter whole machine model for the first time to obtain a second helicopter whole machine model; importing the second helicopter whole machine model into model conversion software to obtain a third helicopter whole machine model; importing the third helicopter whole machine model into a model conversion tool to form a fourth helicopter whole machine model; importing the fourth helicopter whole machine model into scene simulation software; if preset conditions are met, re-modifying and compiling the code of the components of the fourth helicopter whole machine model to obtain a fifth helicopter whole machine model; importing the fifth helicopter whole machine model into AGI STK software to check whether the components of the fifth helicopter whole machine model operate normally; if the components of the fifth helicopter whole machine model operate normally, rendering the second helicopter whole machine model for the second time to complete the conversion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of three-dimensional model processing, and in particular relates to a three-dimensional model conversion method. Background Art

[0002] Nowadays, there are many kinds of 3D model design tools, which vary greatly between different companies, and the file data generated are also different. As a key technology for scene simulation and collaborative design, 3D model conversion aims to remove the limitations of multiple tools and multiple data formats, so that the converted 3D model can run normally in new 3D design tools or scene simulation software, while ensuring the integrity and consistency of the converted 3D model. The complexity and structural diversity of large 3D models put forward higher requirements for achieving model integrity during the conversion process.

[0003] At present, the common 3D model conversion method is mainly based on model conversion tools. In this method, the converted model files are limited to viewing, and the integrity of the converted model cannot be maintained. It also does not support model component modification and scene simulation. The conversion method based on model conversion tools is as follows:

[0004] This method first converts the 3D model into a data file format, imports it into the model conversion tool in physical file mode, checks whether the 3D effect of the 3D model is normal and whether the structure is complete in the model conversion tool, and then exports it in physical file mode. Finally, open the physical file of the converted 3D model in a new 3D design tool or perform scene simulation in a scene simulation tool.

[0005] The shortcomings of this method include: when the converted model is imported into the 3D design tool, the structure is incomplete, it cannot be loaded, data is lost and the center point is deviated. In the scene simulation software, the model is uncontrollable, and the model components cannot be defined and simulated. This method has a high error rate, low efficiency, and the model cannot be fully displayed. Summary of the invention

[0006] In view of the above technical problems, the present invention provides a three-dimensional model conversion method, which is applied to electronic equipment and includes:

[0007] Performing a first rendering on the first helicopter whole machine model to obtain a second helicopter whole machine model; wherein the three-dimensional model components include a main rotor, a tail rotor, a fuselage and a radar;

[0008] Importing the second helicopter whole machine model into the model conversion software to obtain the third helicopter whole machine model; wherein the model conversion software includes DEEP Exploration software;

[0009] Importing the third helicopter whole machine model into a model conversion tool to form a fourth helicopter whole machine model; wherein the model conversion tool includes an LwConvert tool, and the fourth helicopter whole machine model is an editable model;

[0010] Importing the fourth helicopter whole machine model into the scene simulation software to check whether the fourth helicopter whole machine model meets the preset conditions; wherein the scene simulation software includes AGI STK software;

[0011] If the preset conditions are met, re-modify and recompile the code of the components of the fourth helicopter whole machine model to obtain a fifth helicopter whole machine model;

[0012] Importing the fifth helicopter whole machine model into the AGI STK software to check whether the components of the fifth helicopter whole machine model operate normally;

[0013] If the components of the fifth helicopter whole machine model operate normally, the second helicopter whole machine model is rendered a second time and the conversion is completed.

[0014] Preferably, before rendering the three-dimensional model component of the helicopter for the first time, the method further comprises:

[0015] Reorganizing the three-dimensional model components of the helicopter to obtain a first helicopter complete model;

[0016] The first helicopter complete machine model is numbered, and the main rotor, the tail rotor, the fuselage and the radar are individually numbered.

[0017] Preferably, the second helicopter whole machine model is a model that has been rendered for the first time.

[0018] Preferably, the step of importing the second helicopter whole machine model into the model conversion software comprises:

[0019] The dislocated parts in the second helicopter complete model are reorganized and numbered.

[0020] Preferably, the second helicopter whole machine model is different from the third helicopter whole machine model.

[0021] Preferably, the step of checking whether the fourth helicopter complete machine model meets a preset condition further comprises:

[0022] If the preset conditions are not met, the fourth helicopter model is re-imported into the DEEPExploration software; wherein the preset conditions include complete display in the AGI STK software.

[0023] Preferably, the second rendering is performed in the AGI STK software.

[0024] Preferably, the step of checking whether the components of the fifth helicopter complete machine model operate normally further comprises:

[0025] If the components of the fifth helicopter whole machine model do not operate normally, the components of the fifth helicopter whole machine model are modified and compiled again.

[0026] Beneficial technical effects of the present invention:

[0027] Through 3D model conversion and processing, the overall structure and each partial structure are grouped separately, and the components are controllable, usable and modifiable, which avoids model errors and component loss of control, retains the authenticity and integrity of the 3D model, and greatly improves the simulation accuracy of the 3D model in any state in scene simulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 The present invention provides a flow chart of a method for converting a three-dimensional model of a helicopter under scene simulation. DETAILED DESCRIPTION

[0029] The present invention proposes a 3D model conversion method for model conversion between different 3D design tools, and recompiles the converted model components for better application in 3D scene design tools. This method eliminates the disadvantages of 3D model components being immovable and inflexible, enhances the simulation effect of the 3D model in the simulation scene, makes the 3D model more realistic, and brings the simulation results closer to reality.

[0030] The technical solution of the present invention:

[0031] A three-dimensional model conversion method, characterized in that it comprises the following steps:

[0032] First, use 3D model design tools to design and organize 3D models to prepare for model processing and conversion;

[0033] Second, the designed 3D model structures are reorganized, and the 3D model structure is grouped as a whole and the simulation part structure is grouped separately;

[0034] Third, while the structures of the various parts of the 3D model are being reorganized, the overall and various parts of the structure are rendered for the first time to complete the preliminary effect of the 3D model;

[0035] Fourth, import the model conversion software to convert the existing model format into the required model format. The format conversion will cause structural changes, so in the model conversion stage, the 3D model is reorganized as a whole and each part of the structure is grouped separately;

[0036] Fifth, import it into the model conversion tool and convert it into a model that can be used by the scene simulation tool, and the model can be modified and compiled;

[0037] Sixth, import the converted 3D model into the scene simulation software to check whether the appearance integrity, structure, center point and orientation of the 3D model meet the requirements;

[0038] Seventh, if the 3D model has an incomplete appearance, missing structure, misplaced center point, or incorrect orientation, re-adjust the overall grouping and the grouping of each part structure in the model conversion software, and import it into the scene simulation software for inspection again;

[0039] Eighth, after the conversion process of the three-dimensional model meets the conditions, each simulation component is re-modified and encoded to control the use of the components;

[0040] Ninth, import the model into the scene simulation software, check if the compiled model components cannot be controlled, and readjust the component code;

[0041] Tenth, the converted 3D model is imported into the model conversion software for secondary rendering, and the finished product is exported. At this point, the 3D model conversion process is completed.

[0042] Key points of the present invention:

[0043] 1) The 3D model is grouped as a whole and its components are grouped separately to form a 3D model with a clearer structure and overall clarity. The center point of the reorganized model is readjusted, and the 3D coordinates (x, y, and z axes) are modified to ensure that the center point coordinates are at the center of the 3D model. The position coordinates of the 3D model are adjusted, and the angles in the X, Y, and Z directions are modified to ensure that the spatial position exported by the 3D model is consistent with the spatial position of the 3D model in the scene simulation.

[0044] 2) Modification and recompilation of 3D model components. During the simulation process, the components of the 3D model mainly operate in translation and rotation. The translation operation requires coding, and the translation is performed in the three directions of X, Y, and Z in the three-dimensional space, and the translation distance parameters are set. For rotation, it is necessary to determine the center axis of rotation, set two points on the center axis, and rotate along the axis from 0 to 360 degrees to achieve controllable 3D model components, more perfectly display the 3D model, and improve the accuracy of the simulation. Specific implementation method:

[0046] 1) Use 3D data models created by 3D design tools such as CATIA, UG, and 3DMAX to group the model as a whole and regroup the structures of each part during the design phase, define the component structure required for the simulation process, determine the center point position, and render the model before saving it as a physical file.

[0047] 2) Import the saved 3D model into the model conversion tool DEEP Exploration, and continue to check the overall structure of the 3D model under DEEP Exploration. The 3D model file may be misaligned in the structure in DEEP Exploration, so the 3D model is regrouped and reconstructed to ensure the consistency of the reconstructed model with the original model.

[0048] 3) The .lwo model file obtained from step 2) needs to be further converted into an .mdl editable model through the LwConvert tool. The .mdl file can be read by STK and used for scene simulation.

[0049] 4) Import the model obtained in step 3) into the scene simulation software AGI STK to check whether the appearance integrity, structure, center point, and azimuth angle of the 3D model meet the requirements. When it is found that the appearance of the model after inspection is complete, the center point is deviated, and the orientation is incorrect. This is because the deviation of the center point is due to the inconsistency between the orientation defined by the CATIA coordinates, center point and STK coordinates and center point, and the azimuth angle deviation. At this time, we need to redefine it. In the model properties, translate the overall X, Y, and Z aspects so that the midpoint of the 3D coordinate system is at the center of the model. The deviation of the azimuth angle requires rotation operations with X, Y, and Z as the axes. After multiple adjustments and importing into STK for inspection, the overall model processing is finally completed.

[0050] 5) By modifying the .mdl file, we can achieve the scaling, translation and rotation of the 3D model components. Before defining and modifying the components, first define the component name. The rules for defining the component name are as follows:

[0051] Articulation<Articulation Name>

[0052] <Articulation Command> <command Name>

[0053] <Minimum Value><Start Value><Maximum value>

[0054] End Articulation

[0055] After defining the component name, write the component scaling command: Scale <sx> <sy> <sz>or UniformScale <xyz>, the scale command changes the size of a defined component. Scale defines a scale factor for each axis, and UniformScale defines a uniform scale factor for all axes. For the translation command: Translate <tx> <ty> <tz>, the translation command moves the position of the object along the X, Y, and Z axes, and the rotation is: Rotate <rx> <ry> <rz>, the Rotate command rotates the component along the X, Y, and Z axes. We control the model components in STK by modifying and compiling the .mdl file.

[0056] 6) Import the 3D model processed in step 5) into STK and check whether the model components are available. If the expected effect cannot be achieved, continue to modify the code for adjustment.

[0057] 7) Based on the complete and usable 3D model obtained in step 6), a second rendering is performed to make the model closer to reality and achieve the best simulation effect. Thus, a complete 3D model conversion process is completed.

[0058] Embodiment 1:

[0059] Taking the three-dimensional model conversion method of a helicopter under scene simulation as an example, in the combat scene simulation modeling of a helicopter, it is necessary to meet the requirement that the three-dimensional model of the helicopter can be displayed in detail in the combat scene, and the three-dimensional model conversion is performed according to the method of the present invention. The model has been used for scene simulation in multiple environments. Now take this scene as an example to illustrate the implementation process of the method. The implementation flow chart is shown in Figure 1 :

[0060] 1) During the development of the helicopter, Dassault CATIA 3D design tool was used to design the 3D digital prototype model. In CATIA, the component structure required for the simulation process was defined, the center point position was determined, and the model was rendered and saved as a physical file.

[0061] 2) Import the saved 3D model into the model conversion software DEEP Exploration, and continue to check the overall structure of the helicopter model under DEEPExploration. The helicopter model file may be misplaced in the structure in DEEPExploration, so the helicopter model is regrouped to ensure the consistency of the reorganized model with the original model.

[0062] 3) The .lwo helicopter model file obtained from step 2) needs to be further converted into an .mdl editable model through the LwConvert tool. The .mdl file can be read by AGI STK and used for scene simulation.

[0063] 4) Import the helicopter model obtained in step 3) into the scene simulation software AGI STK to check the appearance integrity, structure, center point, and azimuth angle of the helicopter model. If the conditions are not met, we need to redefine it. In the model properties, translate the X, Y, and Z aspects of the whole model so that the midpoint of the three-dimensional coordinate system is at the center of the model. The deviation of the azimuth angle requires rotation with X, Y, and Z as the axes. After multiple adjustments and importing STK for inspection, the overall processing of the helicopter model is finally completed.

[0064] 5) By modifying the .mdl file, we can achieve the scaling, translation and rotation of the helicopter model rotor parts. Before defining and modifying the parts, first define the rotor parts. After defining the part names, write the part scaling by writing the scaling command: Scale <sx> <sy> <sz>or UniformScale <xyz>, the scaling command changes the size of the rotor component, and the rotation command: Rotate <rx> <ry> <rz>The rotation command rotates the component along the X, Y and Z axes. After the rotor midpoint is defined, the rotor rotates along the midpoint axis. By modifying and compiling the rotor control command code, the model components can be freely controlled in AGI STK.

[0065] 6) Import the model parts processed in step 5) into AGI STK to check whether the model rotor parts are usable. If the expected effect cannot be achieved, continue to modify the code for adjustment.

[0066] 7) Based on the complete and available helicopter model obtained in step 6), a second rendering is performed to make the model closer to reality and achieve the best simulation effect. Thus, a complete helicopter 3D model conversion process is completed.< / rz> < / ry> < / rx> < / xyz> < / sz> < / sy> < / sx> < / rz> < / ry> < / rx> < / tz> < / ty> < / tx> < / xyz> < / sz> < / sy> < / sx>

Claims

1. A three-dimensional model conversion method, It is characterized in that The method is applied to an electronic device, comprising: Performing a first rendering on the first helicopter whole machine model to obtain a second helicopter whole machine model; wherein the three-dimensional model components include a main rotor, a tail rotor, a fuselage and a radar; Importing the second helicopter whole machine model into the model conversion software to obtain a third helicopter whole machine model; wherein the model conversion software includes DEEP Exploration software; Importing the third helicopter whole machine model into a model conversion tool to form a fourth helicopter whole machine model; wherein the model conversion tool includes an LwConvert tool, and the fourth helicopter whole machine model is an editable model; Importing the fourth helicopter whole machine model into the scene simulation software to check whether the fourth helicopter whole machine model meets the preset conditions; wherein the scene simulation software includes AGI STK software; If the preset conditions are met, re-modify and recompile the code of the components of the fourth helicopter whole machine model to obtain a fifth helicopter whole machine model; Importing the fifth helicopter whole machine model into the AGI STK software to check whether the components of the fifth helicopter whole machine model operate normally; If the components of the fifth helicopter whole machine model operate normally, the second helicopter whole machine model is rendered a second time and the conversion is completed.

2. The method according to claim 1, It is characterized in that Before the first rendering of the helicopter's 3D model components, it also includes: Reorganizing the three-dimensional model components of the helicopter to obtain a first helicopter complete model; The first helicopter complete machine model is numbered, and the main rotor, the tail rotor, the fuselage and the radar are individually numbered.

3. The method according to claim 2, It is characterized in that The second helicopter whole machine model is a model after the first rendering.

4. The method according to claim 3, It is characterized in that The step of importing the second helicopter whole machine model into the model conversion software comprises: The dislocated parts in the second helicopter complete model are reorganized and numbered.

5. The method according to claim 4, It is characterized in that The second helicopter whole machine model is different from the third helicopter whole machine model.

6. The method according to claim 1, It is characterized in that The checking whether the fourth helicopter complete machine model meets the preset conditions also includes: If the preset conditions are not met, the fourth helicopter model is re-imported into the DEEP Exploration software; wherein the preset conditions include complete display in the AGI STK software.

7. The method according to claim 1, It is characterized in that The second rendering is performed in the AGI STK software.

8. The method according to claim 1, It is characterized in that The step of checking whether the components of the fifth helicopter complete machine model operate normally further includes: If the components of the fifth helicopter whole machine model do not operate normally, the components of the fifth helicopter whole machine model are modified and compiled again.