Mechanical disassembly and assembly animation generation method and device of mechanical equipment and storage medium

By obtaining the configuration file of the disassembly and assembly step of the mechanical equipment and generating an animation path, the problem of low accuracy and efficiency of the disassembly and assembly animation generation method of the mechanical equipment is solved, and efficient and accurate animation generation is achieved, which is a maintenance and training and virtualization of mechanical equipment. The demo provides strong support.

CN119295609APending Publication Date: 2025-01-10WSGRI SMART CITY(WUHAN) ENGINEERING TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411208917.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The existing mechanical equipment disassembly and assembly animation generation methods have low accuracy and efficiency, which is mainly due to the large number of models and irregular modeling, which leads to cumbersome programming, which affects the development speed.

Method used

By obtaining the model configuration file corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembly and assembly, defining each step of operation, adding interaction methods and generating an animation path, and combining the preset preview mode to generate a mechanical disassembly and assembly animation.

Benefits of technology

It realizes efficient and accurate generation of mechanical disassembly and assembly animations that meet the disassembly and assembly needs, improves the support for teaching, training and on-site operations, and saves time for developers and communicators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119295609A_ABST
    Figure CN119295609A_ABST
Patent Text Reader

Abstract

The invention relates to a mechanical disassembly and assembly animation generation method and device of mechanical equipment and a storage medium, and belongs to the technical field of mechanical overhaul, and the method comprises the steps that based on a configuration file corresponding to a target model, an interaction mode of the target model is added; the target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and assembled for maintenance; based on the interaction mode, generating an animation path corresponding to the target model; and based on a preset preview mode and the animation path, generating a mechanical dismounting animation of the mechanical equipment to be dismounted and maintained. According to the mechanical assembly and disassembly animation generation method of the mechanical equipment, the system can efficiently and accurately generate the mechanical assembly and disassembly animation meeting the assembly and disassembly maintenance requirements by reading the configuration file, adding the interaction mode, generating the animation path and previewing the animation, the mechanical assembly and disassembly animation generation process is complete, and the mechanical assembly and disassembly animation generation efficiency is improved. Powerful support is provided for teaching, training and on-site operation, and important application values are provided for scenes such as maintenance training, operation instructions and virtual demonstration of mechanical equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mechanical maintenance, and in particular to a method, device and storage medium for generating mechanical disassembly and assembly animation of mechanical equipment. Background Art

[0002] Existing virtual simulation technology usually uses some modeling software to model mechanical simulation equipment, create animations, etc., and then imports the model into the relevant production platform or system for interactive development.

[0003] However, since some mechanical equipment has a large number of parts, the number of models increases. When developing virtual disassembly, assembly and maintenance training for some complex machinery, the large number of models and non-standard modeling make it very cumbersome for programmers to write programs for virtual maintenance training of complex machinery. In addition, it involves the movement of some machines. The project manager communicates with the mechanical technicians to determine the movement mode of the machine, and then communicates with the programmers repeatedly to determine the development effect. The development speed is affected to a certain extent, resulting in low accuracy and efficiency of the existing mechanical disassembly and assembly animation generation method for mechanical equipment. Summary of the invention

[0004] In view of this, it is necessary to provide a method, device and storage medium for generating mechanical disassembly and assembly animation of mechanical equipment, so as to solve the problem of low accuracy and efficiency of existing mechanical disassembly and assembly animation generation of mechanical equipment.

[0005] In order to solve the above problems, the present invention provides a method for generating mechanical disassembly and assembly animation of mechanical equipment, comprising: Based on the configuration file corresponding to the target model, the interaction mode of the target model is added; the target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired; Based on the interaction mode, generating an animation path corresponding to the target model; Based on the preset preview mode and the animation path, a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled, assembled and repaired is generated.

[0006] In a possible implementation, adding the interaction mode of the target model based on the configuration file corresponding to the target model includes: Based on the configuration file, generating a text label corresponding to the target model; the text label includes the name of the target model; Based on the text label, an interaction mode of the target model is added.

[0007] In a possible implementation, the configuration file includes: Step number, operation content, operation model name, operation type and duration.

[0008] In a possible implementation, the interaction method includes: Click to play the mechanical disassembly and assembly animation, click to drag the model to the specified position, the model disappears and the model is displayed.

[0009] In a possible implementation, generating an animation path corresponding to the target model based on the interaction mode includes: Based on the interaction mode, determining an operation type corresponding to the target model; Based on the operation type corresponding to the target model, generating a path point of the target model; Based on the path points, an animation path corresponding to the target model is obtained.

[0010] In a possible implementation, the preset preview mode includes at least one of the following: Sequential disassembly, explosive disassembly and animated disassembly.

[0011] The present invention also provides a mechanical disassembly and assembly animation generating device for mechanical equipment, comprising: An adding module is used to add an interaction mode of the target model based on a configuration file corresponding to the target model; the target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired; A first generating module, used for generating an animation path corresponding to the target model based on the interaction mode; The second generating module is used to generate a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled and repaired based on a preset preview mode and the animation path.

[0012] On the other hand, the present invention also provides an electronic device, including a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the mechanical disassembly and assembly animation generation method of the mechanical equipment described in any of the above implementations.

[0013] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for generating a mechanical disassembly and assembly animation of a mechanical device described in any of the above-mentioned implementations is implemented.

[0014] On the other hand, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method for generating mechanical disassembly and assembly animation of a mechanical device as described in any of the above implementations.

[0015] The beneficial effects of the present invention are as follows: the mechanical disassembly and assembly animation generation method, device and storage medium of the mechanical equipment provided by the present invention obtain the configuration file of the model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and overhauled, and the configuration file defines each operation required for the target model in the disassembly and assembly and overhaul process, so as to add the interaction mode of the target model according to the configuration file, and thus generate the animation path corresponding to the target model according to the interaction mode. By combining reading the configuration file, adding the interaction mode, generating the animation path and previewing the animation, the system can efficiently and accurately generate the mechanical disassembly and assembly animation that meets the disassembly and assembly and overhaul needs. The complete mechanical disassembly and assembly animation generation process provides strong support for teaching, training and on-site operation, and has important application value for scenarios such as maintenance training, operating instructions and virtual demonstrations of mechanical equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A method flow chart of an embodiment of a method for generating mechanical assembly and disassembly animation of a mechanical device provided by the present invention; Figure 2 An architectural diagram of an embodiment of an editor system for mechanical disassembly, assembly and maintenance training provided by the present invention; Figure 3 A schematic structural diagram of an embodiment of a device for generating mechanical assembly and disassembly animation of a mechanical device provided by the present invention; Figure 4 A schematic structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0018] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0019] In the description of the embodiments of the present invention, unless otherwise specified, "multiple" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone.

[0020] The descriptions of "first", "second", etc. involved in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the technical features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0021] Figure 1 A method flow chart of an embodiment of a method for generating mechanical assembly and disassembly animation of a mechanical device provided by the present invention, as shown in FIG. Figure 1 As shown, the method for generating mechanical disassembly and assembly animation of mechanical equipment includes: S101, based on a configuration file corresponding to a target model, adding an interaction mode of the target model; the target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and overhauled; S102, generating an animation path corresponding to the target model based on the interaction mode; S103: Generate a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled and repaired based on a preset preview mode and the animation path.

[0022] It should be noted that the execution subject of the mechanical disassembly and assembly animation generation method of mechanical equipment provided by the present invention can be an editor system, and the editor system is a software application for creating, editing and managing text, image, audio or video content.

[0023] In S101, based on a configuration file corresponding to a target model, an interaction mode of the target model is added; the target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired.

[0024] The model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired, i.e. the target model, can be established through 3D modeling software. The moving parts of the model are determined during production, and the models are grouped and named according to specific movement requirements. The naming is unique, i.e. each different model has a different name.

[0025] As a guide file, the configuration file defines in detail each step of the operation required for the target model during the disassembly, assembly and maintenance process, which may include key information such as the operation sequence and specific actions. According to the definition in the configuration file, add corresponding interaction methods to the model of each step. These interaction methods may include clicking to trigger animation, dragging to a specific location, and the disappearance and appearance of the model.

[0026] In S102, an animation path corresponding to the target model is generated based on the interaction mode.

[0027] For interactive methods involving animation playback, such as clicking to trigger animation, one or more animation path points need to be generated for the target model. These path points define the movement trajectory of the model when executing the animation. The path points are determined based on the action description in the configuration file and the starting and ending positions of the model. Users can manually add and adjust these path points through the editor to ensure the naturalness and accuracy of the animation.

[0028] In S103, based on the preset preview mode and the animation path, a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled, assembled and repaired is generated.

[0029] The system provides multiple preview modes, such as sequential disassembly, explosive disassembly, and animated disassembly. Users can select the appropriate preview mode according to actual needs. Combining the defined animation path and the selected preview mode, the system automatically generates the mechanical disassembly animation. This process may include calculating the motion trajectory of the model, processing animation transitions, synchronizing sound effects, etc.

[0030] This allows users to preview the generated animation. If they find any problems or are dissatisfied, they can return to the editor to make adjustments, which can include modifying the animation path, adjusting the interaction method, or reselecting the preview mode.

[0031] Compared with the prior art, the method for generating mechanical disassembly and assembly animation of mechanical equipment provided in an embodiment of the present invention obtains the configuration file of the model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled, assembled and repaired, and the configuration file defines each operation required for the target model in the disassembly and assembly process, so as to add the interaction mode of the target model according to the configuration file, and thus generate the animation path corresponding to the target model according to the interaction mode. By combining reading the configuration file, adding the interaction mode, generating the animation path and previewing the animation, the system can efficiently and accurately generate the mechanical disassembly and assembly animation that meets the disassembly and assembly requirements. The complete mechanical disassembly and assembly animation generation process provides strong support for teaching, training and on-site operation, and has important application value for scenarios such as maintenance training, operating instructions and virtual demonstrations of mechanical equipment.

[0032] In some embodiments of the present invention, the adding of the interaction mode of the target model based on the configuration file corresponding to the target model includes: Based on the configuration file, generating a text label corresponding to the target model; the text label includes the name of the target model; Based on the text label, an interaction mode of the target model is added.

[0033] The editor system runs on the unity3d engine, which is a 3d creation engine. By importing the created model into the engine, adjusting the scene effect, starting the system, and importing the configuration file into the system, the system will identify the model in each step and match it with the model in the scene. After the matching is completed, the text label of each model will be automatically generated.

[0034] Text labels can be displayed intuitively in the editor to facilitate users to identify and select models.

[0035] The text label content is the model name in the configuration file. If the model itself has no collision body (the collision body is a means for the system to click on the model and interact, usually made in the engine), the system will automatically generate a collision body of a certain size on the model according to the matching model.

[0036] Through text labels, users can quickly locate the corresponding target model. The association between text and model ensures the accuracy of operation. And according to the operation type specified in the configuration file (such as playing animation, dragging, disappearing, etc.), users can add corresponding interaction methods for the target model with text labels.

[0037] The mechanical disassembly and assembly animation generation method of mechanical equipment provided by the embodiment of the present invention can ensure that each model can correctly interact with the user and the entire disassembly and assembly process can be carried out in accordance with the predetermined steps and sequence by generating text labels of the target model based on the configuration file and adding interaction methods based on these labels. This method not only improves the flexibility and configurability of the system, but also makes the simulation and demonstration of the disassembly and assembly process more intuitive and easy to understand.

[0038] In some embodiments of the present invention, the configuration file includes: Step number, operation content, operation model name, operation type and duration.

[0039] In some embodiments of the present invention, the interaction method includes: Click to play the mechanical disassembly and assembly animation, click to drag the model to the specified position, the model disappears and the model is displayed.

[0040] For example, a configuration file may be prepared according to the specific needs of model disassembly or overhaul. The configuration file is an xls file. The specific steps of equipment disassembly or overhaul are written in the configuration file. The steps may be formed after communication between the on-site project manager and the owner.

[0041] There are requirements for the format and content of the configuration file, which consists of step number, operation content, operation model name, operation type, and duration.

[0042] The step numbers indicate the steps of disassembly, assembly or maintenance.

[0043] The operation content refers to the specific operation content that should be performed in this step.

[0044] Operation model name means that the step needs to operate the model name, and the model name must match the name of the model being modeled.

[0045] The operation type refers to the specific operation type required for the model in this step. There are four specific operation types: one is to click to play the mechanical disassembly and assembly animation, the second is to click and drag the model to the specified position, the third is the model disappearing, and the fourth is the model displaying.

[0046] Duration represents how long the step will last when playing the animation. It is only used when the step type is to play mechanical motion animation.

[0047] The interaction method matches the four types of operations in the above configuration files, including clicking to play mechanical disassembly and assembly motion animation, clicking to drag the model to the specified position, model disappearance, and model display.

[0048] In some embodiments of the present invention, generating an animation path corresponding to the target model based on the interaction mode includes: Based on the interaction mode, determining an operation type corresponding to the target model; Based on the operation type corresponding to the target model, generating a path point of the target model; Based on the path points, an animation path corresponding to the target model is obtained.

[0049] You can directly click on the target model to add an interaction method for the model, or you can search for the name of the target model in the system's search bar and click to add an interaction method for the model. There are four interaction methods, which match the four operation types in the configuration file. Interaction methods are added for the models involved in each step. The third and fourth interaction methods are automatically generated by the system, and users only need to add the first two.

[0050] When adding steps for model disassembly and assembly animation, the user needs to drag the model of the specified step to generate specified animation path points for the model. There can be multiple path points, and the user needs to add the path points in sequence. These path points are the path points that the model will pass through when playing the animation. The animation time is automatically generated by the configuration file.

[0051] When adding a model, click and drag the model to disassemble and assemble to the specified position. You only need to add the starting and ending positions of the model.

[0052] According to the generated path points, these points are smoothly connected to obtain the complete moving path of the target model in the animation, that is, the animation path corresponding to the target model is obtained.

[0053] The mechanical disassembly and assembly animation generation method of mechanical equipment provided by the embodiment of the present invention generates an accurate and smooth animation path for a target model according to the user's interaction mode and configuration information, thereby providing a high-quality mechanical disassembly and assembly animation demonstration.

[0054] In some embodiments of the present invention, the preset preview mode includes at least one of the following: Sequential disassembly, explosive disassembly and animated disassembly.

[0055] After adding all the models, you can start the preview mode, which includes three forms of interaction. The three preview modes correspond to three buttons respectively, which can be switched at any time. After switching, all models return to the initial position, and then the corresponding preview and display can be performed.

[0056] (1) Sequential disassembly and assembly. After clicking on sequential disassembly and assembly, there will be buttons for interaction, and the model will be highlighted according to the steps to prompt the user to click or drag the model for interaction.

[0057] Clicking or dragging is implemented by the collision body of the model and the ray detection of the mouse. In the sequence of different steps, the system will automatically close the collision body of other step models except the current object to avoid accidental touch.

[0058] At the same time, the system has a prompt bar that will prompt the specific content of the current operation steps, which is automatically generated by the configuration file.

[0059] The process of sequential disassembly and assembly includes the disassembly process and the assembly process. Both processes require the specification of the starting point and the end point of the model path. The starting point of disassembly is the initial position of the model, and the end point is the position after disassembly. The starting point of assembly is the position after disassembly, and the end point is the initial position of the model. The two form a closed loop in the same disassembly and assembly program. At the same time, you can also use custom paths to implement only the disassembly function or only the assembly function.

[0060] When the step is to click to play the mechanical disassembly and assembly motion animation, the user clicks on the model corresponding to the current step, and the model will automatically move to the last path point along the path created in the above steps, and then proceed to the next step or the user clicks the next button, and the model of this step will also automatically move to the last path point along the path created in the above steps.

[0061] When the step is to click and drag the model to disassemble and assemble to the specified position, after clicking the model, a transparent copy of the model will be generated at the final position created in the above steps. The user then needs to drag the model to the copy position and the copy disappears before proceeding to the next step. Alternatively, the user clicks the next step and the model will move directly to the final position and the copy disappears.

[0062] When the step is to make the model disappear by clicking it, the model will disappear directly when the user clicks on the model or clicks on the next step.

[0063] When the step is to click on the model to display, the user clicks Next and the model is displayed.

[0064] (2) Explosion and disassembly. When you click the Explosion and Disassembly button, all models will be displayed in exploded view according to the path points or final positions created in the above steps. Click the button again and all models will return to their original positions.

[0065] Explosive disassembly and assembly requires pre-specification of the steps for the disassembled parts, that is, the end point of the model movement in the explosive disassembly and assembly mode is the end point of the point created in the step path. If there are both disassembly and assembly parts in the entire disassembly and assembly program, the model movement position of the explosive disassembly and assembly only uses the end point of the disassembly path point, and does not use the end point in the assembly process.

[0066] (3) Animated disassembly and assembly: the system will automatically execute the disassembly and assembly process according to the steps.

[0067] Animated disassembly automatically executes each step of the sequential disassembly process step by step without user interaction.

[0068] The method for generating mechanical assembly and disassembly animation of mechanical equipment provided by the embodiment of the present invention can meet the needs of different users by providing multiple preset preview modes.

[0069] The method for generating mechanical disassembly and assembly animations of mechanical equipment provided by the embodiment of the present invention standardizes the model making of disassembly and assembly and maintenance of mechanical equipment, and uniformly and standardizedly names the models of mechanical parts that need to be moved, with the names corresponding to the models one-to-one, so as to facilitate programmers to write programs. It solves the problem of slow development speed of programmers, and solves the problem that after the communication between the project manager and the on-site mechanical technicians is completed, the project manager can complete the process simulation of mechanical equipment maintenance or disassembly and assembly on the project site by himself, so as to quickly communicate the details repeatedly to Party A or the owner's personnel, and speed up the process of program development. The process of virtual simulation of mechanical maintenance and disassembly is standardized to adapt to the scenarios of different equipment and even different fields, making the virtual simulation process of disassembly and maintenance faster and more convenient, and realizing streamlined customization.

[0070] In addition, the present invention also provides an editor system for mechanical maintenance and disassembly training, which is used to quickly generate mechanical disassembly animation, mechanical simulation interaction program and demonstration effect. Figure 2 The architecture diagram of an embodiment of the editor system for mechanical disassembly, assembly and maintenance training provided by the present invention is as follows: Figure 2 As shown, the editor system includes courseware publishing, operation and preview, courseware data and basic data functions.

[0071] The basic data includes model name, model location data, disassembly and assembly steps, step contents, disassembly and assembly coordinates, disassembly and assembly type and viewing angle coordinates, etc.

[0072] Courseware data includes data initialization, data model binding, Excel raw data import and Jason data saving.

[0073] Operations and previews include custom viewing angles, editing and preview switching, custom movement trajectories, custom rotation trajectories, trajectory line display, click models and preview effects, etc.

[0074] Courseware publishing includes explosive disassembly and assembly, sequential disassembly and assembly, animated disassembly and assembly, step-by-step prompts and multi-platform publishing.

[0075] The present invention is based on an object-oriented method for separating models from data. The three-dimensional model and the maintenance and disassembly courseware data are relatively independent. Custom operations are performed on the maintenance or disassembly steps. After the custom operations, the configuration file can be quickly generated and matched with the model. What you see is what you get. The custom effect can be quickly previewed. If you are satisfied, you can publish it. If you are not satisfied, you can perform the operation again to modify it.

[0076] The workflow of the editor system for mechanical disassembly, assembly and maintenance training provided by the present invention is as follows: S201. Use 3D modeling software to create machinery that needs to be disassembled and repaired. Determine the moving parts of the model during production, and group and name the models according to specific movement requirements. The naming is unique, that is, each different model has a different name.

[0077] S202. Prepare a configuration file according to the specific needs of model disassembly or overhaul. The configuration file is an xls file. The specific steps of equipment disassembly or overhaul are written in the configuration file. The steps are generally formed after communication between the on-site project manager and the owner.

[0078] There are requirements for the format and content of the configuration file, which consists of step number, operation content, operation model name, operation type, and duration.

[0079] The step numbers represent the steps for disassembly or maintenance; Operation content refers to the specific operation content that should be performed in this step; The operation model name refers to the name of the operation model required in this step, and the model name needs to match the name of the model built in S201; Operation type refers to the specific operation type of the model required for this step. There are three specific operation types: one is to click to play the mechanical disassembly and assembly animation, the second is to click and drag the model to the specified position, the third is to make the model disappear, and the fourth is to display the model; Duration represents how long the step will last when playing the animation. It is only used when the step type is to play mechanical motion animation.

[0080] S203. This system runs based on the unity3d engine, which is a 3d creation engine. Import the created model into the engine, adjust the scene effect, start this system, and import the configuration file in S202 into this system. The system will identify the model in each step and match it with the model in the scene. After the matching is completed, a text label for each model will be automatically generated. The content of the text label is the model name in the configuration file. If the model itself has no collision body (the collision body is a means for the system to click on the model and interact, and is usually made in the engine), the system will automatically generate a collision body of a certain size on the model according to the matched model. The size of the collision body is determined by the mesh size attribute of the model itself.

[0081] S204, open editing. After opening editing, you can directly click on the model to add an interactive path for the model, or search for the name of the model in the system search bar and click to add an interactive path for the model. There are four types of interactive paths, which match the four types of operations in the configuration file in S202. Add interactive paths for the models involved in each step respectively. The interactive paths have been defined in the xls file before importing into the system. When importing into the system, you only need to add the first two paths. The third and fourth interactive paths will be automatically generated by the system.

[0082] When adding steps for model disassembly and assembly animation, the user needs to drag the model of the specified step to generate specified animation path points for the model. There can be multiple path points, and the user needs to add the path points in sequence. These path points are the path points that the model will pass through when playing the animation. The animation time is automatically generated by the configuration file.

[0083] When adding a model, click and drag the model to disassemble and assemble to the specified position. You only need to add the starting and ending positions of the model.

[0084] S205. Open preview. After adding all the models, you can open the preview mode. The preview mode includes three forms of interaction.

[0085] S205.1. The first is sequential disassembly and assembly. After clicking on sequential disassembly and assembly, there will be buttons for the previous step and the next step for interaction. At the same time, the model will be highlighted according to the steps to prompt the user to click or drag the model for interaction. At the same time, the system will have a prompt bar to prompt the specific content of the current operation step, which is automatically generated by the configuration file in S202.

[0086] When the step is to click to play the mechanical disassembly and assembly motion animation, the user clicks on the model corresponding to the current step, and the model will automatically move to the last path point along the path created in S204, and then proceed to the next step or the user clicks the next button, and the model of this step will also automatically move to the last path point along the path created in S204.

[0087] When the step is to click and drag the model to disassemble and assemble to the specified position, after clicking the model, a transparent copy of the model will be generated at the final position created in this step in S204, and then the user needs to drag the model to the copy position, and the copy disappears before proceeding to the next step, or the user clicks the next step, the model will move directly to the final position, and the copy disappears.

[0088] When the step is to make the model disappear by clicking it, the model will disappear directly when the user clicks on the model or clicks on the next step.

[0089] When the step is to click on the model to display, the user clicks Next and the model is displayed.

[0090] S205.2. The second is explosion and disassembly. When the explosion and disassembly button is clicked, all models will be displayed in an exploded view according to the path points or final positions created in S204. Click the button again and all models will return to their original positions.

[0091] S205.3. The third is animated disassembly and assembly. The system will automatically perform the disassembly and assembly process according to the steps.

[0092] S206. After the preview is completed, if you are satisfied, you can return to the editor to save and demonstrate directly next time. If you are not satisfied, you can return to the editing interface to re-edit the steps. After saving, a step file will be generated. The step file is in .json format. The step file records all customized steps. At the same time, a plug-in can be generated. The plug-in can combine the .json step file with a specific model for demonstration in other scenarios.

[0093] S207. Using the .json file and plug-in generated in S206, demonstrations can be performed in other scenarios, and the maintenance and disassembly processes of multiple different mechanical equipment can be integrated into one scenario.

[0094] The mechanical disassembly and assembly animation generation method of mechanical equipment provided by the embodiment of the present invention first standardizes modeling and model names to help standardize the modeling process, and the models and names can be matched, which is convenient for programmers and operators to query and operate parts.

[0095] The existing production process of virtual maintenance and disassembly of mechanical equipment is relatively cumbersome, and it will take longer time if the model is not standardized. Animation or corresponding operation scripts need to be written for each moving part. However, this system can quickly complete each step of the model by simply dragging and dropping the model, saving a lot of development time for developers and communication time between project managers and on-site personnel.

[0096] The completed model can not only be displayed directly, but also integrated into the display of multiple devices in other development scenarios, saving developers' time. At the same time, if you need to modify the steps, you only need to return to this system to re-operate and save the corresponding step file, and use the step file to quickly change the content.

[0097] The mechanical disassembly and assembly animation generation method of the mechanical equipment provided by the present invention is described in detail below in conjunction with the disassembly and assembly and maintenance of specific mechanical equipment.

[0098] Taking the coal mill as an example, there are 56 disassembly steps in total, and each step corresponds to a specific model. Taking some of the 56 disassembly steps as an example, first import the model, and then import its xls configuration file. The configuration file is shown in Table 1.

[0099] Table 1: Configuration files

[0100] In Table 1, the first column is the step number, the second column is the operation content, the third column is the operation model name, the fourth column is the operation type, and the fifth column is the duration. The 0, 1, 2, and 3 in the fourth column represent click to play the mechanical disassembly and assembly animation, click to drag the model to the specified position, click to disappear the model, and click to display the model.

[0101] Import the model and configuration file into the system, and the system will automatically generate text labels on the model that needs to be operated.

[0102] After clicking to start editing, find the model of the specified step and customize the path points or start and end positions of each step in turn.

[0103] After defining each step, enter the preview mode to view the customized effect of the model step. The preview effect is displayed in three modes: sequential disassembly, explosive disassembly, and animated disassembly. During sequential disassembly, the model will be highlighted and the specific content of the step will be prompted at the top of the screen. When you click the model or the next step, the model will execute the pre-set step content.

[0104] If manual disassembly is required during sequential disassembly, a copy of the corresponding model will appear at the custom position after clicking the corresponding model, prompting you that the model needs to be manually dragged to the specified position.

[0105] After clicking on Explode and Disassemble, the model will show the exploded view, and the end point of the model's exploded view is also customized.

[0106] At this point, the disassembly and assembly process of a model is basically completed, and the overall time spent is greatly shortened. Users only need to focus on how to express the steps of model disassembly and assembly, and there is no need to consider the form of program coding in the early design process, avoiding rework caused by repeated development, and greatly reducing the development and production time of virtual mechanical equipment maintenance and disassembly. Finally, if you need to save the results of the disassembly and assembly steps or use the customized disassembly and assembly process of the mechanical equipment in other scenes, you only need to reuse the saved .json file in other projects or scenes to quickly move the project file. At the same time, this effect supports both PC and VR virtual reality clients, and the interaction method is basically the same.

[0107] In order to better implement the mechanical disassembly and assembly animation generation method of the mechanical equipment in the embodiment of the present invention, based on the mechanical disassembly and assembly animation generation method of the mechanical equipment, the embodiment of the present invention further provides a mechanical disassembly and assembly animation generation device for the mechanical equipment. Figure 3 A schematic diagram of the structure of an embodiment of a mechanical disassembly and assembly animation generating device for mechanical equipment provided by the present invention is shown in FIG. Figure 3 As shown, the mechanical disassembly and assembly animation generating device 300 of the mechanical equipment includes: An adding module 310 is used to add an interaction mode of the target model based on a configuration file corresponding to the target model; the target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired; A first generating module 320, configured to generate an animation path corresponding to the target model based on the interaction mode; The second generating module 330 is used to generate a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled and repaired based on a preset preview mode and the animation path.

[0108] The mechanical disassembly and assembly animation generating device 300 of the mechanical equipment provided in the above embodiment can implement the technical solution described in the mechanical disassembly and assembly animation generating method embodiment of the mechanical equipment. The specific implementation principles of the above modules or units can refer to the corresponding contents in the mechanical disassembly and assembly animation generating method embodiment of the mechanical equipment, which will not be repeated here.

[0109] like Figure 4 As shown, the present invention also provides an electronic device 400. The electronic device 400 includes a processor 401, a memory 402 and a display 403. Figure 4 Only some components of the electronic device 400 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0110] In some embodiments, the processor 401 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 402, such as the mechanical disassembly and assembly animation generation method of the mechanical equipment in the present invention.

[0111] In some embodiments, processor 401 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, processor 401 may be local or remote. In some embodiments, processor 401 may be implemented in a cloud platform. In some embodiments, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.

[0112] In some embodiments, the memory 402 may be an internal storage unit of the electronic device 400, such as a hard disk or memory of the electronic device 400. In other embodiments, the memory 402 may also be an external storage device of the electronic device 400, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the electronic device 400.

[0113] Furthermore, the memory 402 may include both an internal storage unit of the electronic device 400 and an external storage device. The memory 402 is used to store application software installed in the electronic device 400 and various data.

[0114] In some embodiments, the display 403 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (OLED) touch device, etc. The display 403 is used to display information on the electronic device 400 and to display a visual user interface. The components 401-403 of the electronic device 400 communicate with each other via a system bus.

[0115] In one embodiment, when the processor 401 executes the mechanical disassembly and assembly animation generation program of the mechanical device in the memory 402, the following steps may be implemented: Based on the configuration file corresponding to the target model, the interaction mode of the target model is added; the target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired; Based on the interaction mode, generating an animation path corresponding to the target model; Based on the preset preview mode and the animation path, a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled, assembled and repaired is generated.

[0116] It should be understood that: when the processor 401 executes the mechanical disassembly and assembly animation generation program of the mechanical equipment in the memory 402, in addition to the above functions, other functions can also be realized. For details, please refer to the description of the corresponding method embodiment above.

[0117] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 400 mentioned, and the electronic device 400 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 400 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0118] Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, it can implement the steps or functions in the mechanical disassembly and assembly animation generation method of mechanical equipment provided in the above-mentioned method embodiments.

[0119] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the steps or functions in the mechanical disassembly and assembly animation generation method of the mechanical equipment provided in the above-mentioned method embodiments.

[0120] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0121] The mechanical disassembly and assembly animation generation method, device and storage medium of the mechanical equipment provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for generating mechanical disassembly and assembly animation of mechanical equipment, characterized in that: include: Based on the configuration file corresponding to the target model, add the interaction mode of the target model; The target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired; Based on the interaction mode, generating an animation path corresponding to the target model; Based on the preset preview mode and the animation path, a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled, assembled and repaired is generated.

2. The method for generating mechanical assembly and disassembly animation of mechanical equipment according to claim 1, characterized in that: The configuration file corresponding to the target model is based on which the interaction mode of the target model is added, including: Based on the configuration file, generating a text label corresponding to the target model; the text label includes the name of the target model; Based on the text label, an interaction mode of the target model is added.

3. The method for generating mechanical assembly and disassembly animation of mechanical equipment according to claim 1, characterized in that: The configuration file includes: Step number, operation content, operation model name, operation type and duration.

4. The method for generating mechanical assembly and disassembly animation of mechanical equipment according to claim 1, characterized in that: The interaction methods include: Click to play the mechanical disassembly and assembly animation, click to drag the model to the specified position, the model disappears and the model is displayed.

5. The method for generating mechanical assembly and disassembly animation of mechanical equipment according to claim 4, characterized in that: The step of generating an animation path corresponding to the target model based on the interaction mode includes: Based on the interaction mode, determining an operation type corresponding to the target model; Based on the operation type corresponding to the target model, generating a path point of the target model; Based on the path points, an animation path corresponding to the target model is obtained.

6. The method for generating mechanical assembly and disassembly animation of mechanical equipment according to claim 1, characterized in that: The preset preview mode includes at least one of the following: Sequential disassembly, explosive disassembly and animated disassembly.

7. A mechanical disassembly and assembly animation generating device for mechanical equipment, characterized in that: include: An adding module, used for adding an interaction mode of the target model based on a configuration file corresponding to the target model; The target model is a model corresponding to the disassembly and assembly steps of the mechanical equipment to be disassembled and repaired; A first generating module, used for generating an animation path corresponding to the target model based on the interaction mode; The second generating module is used to generate a mechanical disassembly and assembly animation of the mechanical equipment to be disassembled and repaired based on a preset preview mode and the animation path.

8. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the mechanical disassembly and assembly animation generation method of a mechanical device as described in any one of claims 1 to 6.

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 generating a mechanical disassembly and assembly animation of a mechanical device as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating a mechanical disassembly and assembly animation of a mechanical device as claimed in any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Video generation method and electronic equipment

    CN122601949A

  • Video generation method and electronic device

    CN122601949B