Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a control method, a control device and a readable medium for virtual model operation, by the method in the embodiment of the invention, the file to be assembled is converted into a model format before the model is presented, the usability of the file to be assembled is ensured before the model is presented, the occupation of virtual space by invalid data is avoided, in addition, based on the input target power as a reference, the virtual space monitors the dynamic working condition of each component according to the target power and provides component parameters and component information of the replaceable component so as to intelligently present the selection of a target model, avoid various measurement and calculation by people, and present the working condition of the whole model assembly in the virtual space so as to facilitate the actual use of the whole model assembly, thereby improving the utilization rate of the virtual space.
In order to solve the technical problems, the embodiment of the invention provides a control method based on virtual model operation, which comprises the steps of obtaining a file library, selecting corresponding files to be assembled based on the file library, converting the files to be assembled into a model format, carrying out model three-dimensional presentation on the model format in a virtual space, establishing a connection relation among models in the virtual space to form a model assembly, wherein the model assembly is in a hanging state in the virtual space, lighting a power part based on the model assembly, unlocking power parameters of the power part to present a parameter interface, carrying out parameter trimming according to the parameter interface, presenting dynamic working conditions of each part in the operation process of the model assembly, inputting target power into the virtual space, monitoring the dynamic working conditions of each part according to the target power, and providing part parameters and part information of a replaceable part.
In addition, the embodiment of the invention also provides a control device based on virtual model operation, which comprises an acquisition module, a presentation module, a forming module, an unlocking module and a trimming module, wherein the acquisition module is used for acquiring a file library, selecting corresponding files to be assembled based on the file library, the presentation module is used for converting the files to be assembled into a model format and carrying out model stereoscopic presentation on the model format in a virtual space, the forming module is used for establishing a connection relation among all models in the virtual space to form a model assembly, the model assembly is in a hanging state in the virtual space, the unlocking module is used for lighting a power part corresponding to the model assembly and unlocking the power parameter of the power part to present a parameter interface, the trimming module is used for carrying out parameter trimming according to the parameter interface and presenting the dynamic working condition of all parts in the operation process of the model assembly, and the monitoring module is used for inputting target power into the virtual space, monitoring the dynamic working condition of all parts according to the target power and providing part parameters and part information of replaceable parts.
In addition, an embodiment of the present invention also provides a readable medium storing computer program instructions that, when executed by a computer, cause the computer to perform a method according to the above.
In the embodiment of the invention, a file library is acquired by the method in the embodiment of the invention, corresponding files to be assembled are selected based on the file library, the files to be assembled are converted into a model format, the model format is subjected to model three-dimensional presentation in a virtual space, a connection relation among various models is established in the virtual space to form a model assembly, wherein the model assembly is in a hanging state in the virtual space, a power component corresponding to the model assembly is lightened and a power parameter of the power component is unlocked based on the model assembly to present a parameter interface, parameter trimming is carried out according to the parameter interface, dynamic working conditions of various components are presented in the running process of the model assembly, target power is input into the virtual space, the virtual space monitors the dynamic working conditions of various components according to the target power, and component parameters and component information of the replaceable components are provided, the conversion of the model format of the files to be assembled is carried out before model presentation, usability of the files to be assembled is ensured to be determined before model presentation is avoided, the virtual space is occupied by invalid data, the connection relation among various model components is established, the dynamic power components can be conveniently triggered, the dynamic working conditions of various dynamic components are prevented from being formed in the running process of the model assembly, the dynamic components are conveniently triggered, the dynamic working conditions of various components are selected as the dynamic components can be conveniently represented, the target power conditions can be conveniently, the dynamic components can be dynamically controlled, the target components can be dynamically be conveniently, the target can be dynamically controlled, the target components can be dynamically be provided can be used as the target and can be conveniently be dynamically and can be conveniently calculated, and have the target power conditions are conveniently used, the working condition of the whole model assembly can be presented in the virtual space, so that the actual use of the whole model assembly is facilitated, and the utilization rate of the virtual space is improved.
Detailed Description
The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only part embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Examples
Referring to fig. 1, fig. 1 is a flow chart of a control method based on virtual model operation in an embodiment of the invention.
As shown in fig. 1, a control method based on virtual model operation, the method includes:
s11, acquiring a file library, and selecting a corresponding file to be assembled based on the file library;
in the implementation process of the invention, the specific steps can be as follows:
And S111, acquiring a file library, classifying each file in the file library to list unconverted file folders and converted file folders, wherein the file library is classified to facilitate space utilization and enable specific file selection between the unconverted file folders and the converted file folders.
S112, selecting a corresponding file to be assembled based on the converted folder;
s113, converting the files of the unconverted folder one by one and synchronizing the selection work of the converted folder;
s114, connecting the unconverted folder and the converted folder, and temporarily reserving the files which are being converted in the unconverted folder in a connecting channel of the unconverted folder and the converted folder;
s115, when the file conversion of the communication channel is completed, the file enters the converted folder from the communication channel.
The method comprises the steps of classifying file libraries, forming unconverted folders and converted folders, selecting corresponding files to be assembled based on the converted folders, synchronously converting the files in the unconverted folders one by one in the file selection process of the converted folders, temporarily reserving the files in the unconverted folders in the communication channels of the unconverted folders and the converted folders so as to facilitate gradual conversion of the files of the unconverted folders, and ensuring gradual increase of the number of the converted folders so as to facilitate further selection of the files in the converted folders.
S12, converting the file to be assembled into a model format, and carrying out model three-dimensional presentation on the model format in a virtual space;
in the implementation process of the invention, the specific steps can be as follows:
S121, identifying file formats of the files to be assembled, such as stp format and IG format;
S122, converting the file format of the file to be assembled into a model format, and storing the three-dimensional data of the file to be assembled in an attached file of the file to be assembled;
And S123, carrying out model stereoscopic presentation in the virtual space according to the auxiliary file, and materializing the three-dimensional data, wherein the model presented by the auxiliary file is in an unlocking state.
The method comprises the steps of identifying the format of a file to be assembled, converting the format into a corresponding model format in advance, storing three-dimensional data of the file to be assembled in an auxiliary file of the file to be assembled, wherein the auxiliary file is used as a use file of a virtual space at the moment, and the file to be assembled still exists in a converted folder, so that other users can synchronously use the file to be assembled, all files of the converted folder can be synchronously used by the other users, synchronous use of the converted folder in different spaces is realized, and virtualization of models by each space is not influenced.
In addition, the model is three-dimensionally presented in the virtual space according to the auxiliary file, and three-dimensional data is materialized, at this time, the model presented by the auxiliary file is in an unlocked state, the model in the unlocked state can be changed in appearance based on pulling of a user, and the form of the component can be regulated and controlled in a specific form, so that the change of the model in the unlocked state is ensured.
S13, establishing connection relations among all models in a virtual space to form a model assembly, wherein the model assembly is in a hanging state in the virtual space;
in the implementation process of the invention, the specific steps can be as follows:
S131, presenting in the same virtual space based on the selected accessory files;
S132, butting the calibration positions of the models in the virtual space to establish a connection relationship between the models, wherein in the butting process of the models, if the adjacent two models are found to have butting barriers, the butting positions of the adjacent two models are adjusted, or the appearance of the barrier positions of the adjacent two models is changed to ensure the butting of the adjacent two models;
s133, if the butting relation of all the models is determined, forming a model assembly;
and S134, suspending the model component based on regulation and control of the virtual space, establishing a plurality of view angles of the virtual space, and monitoring the working condition of each side surface of the model component based on the view angles.
In the process of butting the models, if the adjacent two models are found to have a butting obstacle, the butting position of the adjacent two models is adjusted, or the appearance of the obstacle of the adjacent two models is changed, so that the butting of the adjacent two models is ensured. In addition, the model component is suspended based on the regulation and control of the virtual space, a plurality of view angles of the virtual space are established, and the working condition of each side face of the model component is monitored based on the view angles, so that the monitoring of each view angle is carried out without the rotation of the model.
S14, lighting up the power component based on the model component, and unlocking the power parameters of the power component to present a parameter interface;
In the implementation process of the invention, the specific steps can be that each power component in the model assembly is identified, the corresponding power component is lightened based on the model assembly, the power parameter of the power component is obtained, the limitation on the power parameter of the power component is unlocked to unlock the power parameter of the power component, a parameter interface is presented in a virtual space based on the power parameter of the power component, a test interface is branched along the parameter interface, the test interface and the parameter interface are located on the same plane at the moment, and the test interface is changed based on the parameter change of the parameter interface.
The method comprises the steps of marking a power component, regulating and controlling the action condition of a model assembly based on the parameter change of the power component, obtaining the regulated and controlled change condition of the model assembly, obtaining the power parameter of the power component, unlocking the limitation of the power parameter of the power component to unlock the power parameter of the power component, presenting a parameter interface in a virtual space based on the power parameter of the power component, and branching out a test interface along the parameter interface, wherein the test interface and the parameter interface are located on the same plane at the moment, and the test interface is changed based on the parameter change of the parameter interface.
S15, parameter trimming is carried out according to the parameter interface, and dynamic working conditions of all parts are presented in the running process of the model assembly;
In the implementation process of the invention, the method comprises the specific steps of carrying out parameter trimming according to the parameter interface and carrying out data adjustment on the parameter interface, converting the adjusted data and endowing the dynamic component of the model assembly with kinetic energy, branching out a test interface along the parameter interface, wherein the test interface and the parameter interface are positioned on the same plane, the test interface is changed based on parameter change of the parameter interface, and the working condition of the dynamic component is presented at the test interface and fed back to the operation process of the model assembly, and the dynamic working condition of each component is presented.
The testing interface presents the working condition of the power component at the testing interface, feeds back the working condition to the running process of the model assembly and presents the dynamic working condition of each component, thereby dynamically monitoring the dynamic working condition of each component at the testing interface and synchronizing the changing condition of the components of the testing interface based on the parameter change of the testing interface.
S16, based on the action change between the target model and the replaced target model, presenting the action completion rate.
In the implementation process of the invention, specific steps comprise inputting target power into the virtual space, shunting the target power to the working condition of each component in the virtual space, monitoring the dynamic working condition of each component according to the target power by the virtual space, dynamically improving the working performance of each component, replacing the component and presenting a replaceable component if the working performance of the component is within a limit range, wherein component parameters and component information of the replaceable component are provided, replacing the replaceable component to the model assembly, and carrying out adapting adjustment on the model assembly based on the replaceable component to improve the connection condition of the replaceable component and the components adjacent to the replaceable component, and if the model assembly is completely replaced, integrally testing the working power of the model assembly, and ensuring that the working power reaches the target power and the working performance of each component in the model assembly is within a reasonable range.
The working conditions of all the components are influenced on the premise of target power, the target power is split into the working conditions of all the components in the virtual space, and therefore the model assembly can meet the target power in the whole under the condition that the target power is met by all the components, wherein if the model assembly is replaced, the working power of the model assembly is tested in the whole, the working power is guaranteed to reach the target power, and the single component is prevented from being in a limit range.
In addition, if the working performance of the component is within the limit range, replacing the component and presenting a replaceable component, wherein component parameters and component information of the replaceable component are provided; the replaceable component is replaced to the model assembly, and the model assembly is adaptively adjusted based on the replaceable component so as to improve the connection condition of the replaceable component and the adjacent component.
In the embodiment of the invention, a file library is obtained by the method in the embodiment of the invention, corresponding files to be assembled are selected based on the file library, the files to be assembled are converted into a model format, the model format is subjected to model three-dimensional presentation in a virtual space, a connection relation among various models is established in the virtual space to form a model assembly, wherein the model assembly is in a hanging state in the virtual space, a power component corresponding to the model assembly is lightened based on the model assembly, power parameters of the power component are unlocked to present a parameter interface, parameter trimming is carried out according to the parameter interface, dynamic working conditions of various components are presented in the running process of the model assembly, target power is input into the virtual space, the virtual space monitors the dynamic working conditions of various components according to the target power, and provides component parameters and component information of replaceable components, the conversion of the model format is carried out on the files to ensure that the usability of the files to be assembled is determined before the model presentation, the model occupies the virtual space, the connection relation among various virtual components is established, the dynamic power components can be conveniently triggered by the model assembly, the dynamic working conditions of various components are formed in the running process of the model assembly, the dynamic power component can be conveniently triggered, the dynamic working conditions of various components are selected as the dynamic working conditions of the dynamic components are prevented from being triggered, the dynamic working conditions of various components can be conveniently displayed in the running process of the model assembly, the dynamic components are triggered, the dynamic working conditions can be conveniently is conveniently controlled, the dynamic conditions are selected, the dynamic conditions can be dynamically and the dynamic conditions are based on the dynamic components are dynamically monitored, and the target conditions can be dynamically and can be conveniently replaced, the working condition of the whole model assembly can be presented in the virtual space, so that the actual use of the whole model assembly is facilitated, and the utilization rate of the virtual space is improved.
Examples
Referring to fig. 5, fig. 5 is a schematic structural diagram of a control device based on virtual model operation according to an embodiment of the invention.
As shown in fig. 5, a control apparatus for virtual-based model operation includes:
The acquisition module 21 is used for acquiring a file library, and selecting corresponding files to be assembled based on the file library;
The presentation module 22 is used for converting the file to be assembled into a model format and carrying out model stereoscopic presentation on the model format in a virtual space;
a forming module 23, configured to establish a connection relationship between each model in a virtual space, so as to form a model assembly, where the model assembly is in a suspension state in the virtual space;
An unlocking module 24 for illuminating the power component based on the model assembly and unlocking the power parameters of the power component to present a parameter interface;
The trimming module 25 is used for trimming parameters according to the parameter interface and presenting the dynamic working condition of each component in the running process of the model assembly;
The monitoring module 26 is used for inputting target power into the virtual space, and the virtual space monitors the dynamic working condition of each component according to the target power and provides component parameters and component information of the replaceable component.
Examples
Referring to fig. 6, an electronic device 40 according to this embodiment of the present invention is described below with reference to fig. 6. The electronic device 40 shown in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 6, the electronic device 40 is in the form of a general purpose computing device. The components of the electronic device 40 may include, but are not limited to, the at least one processing unit 41 described above, the at least one memory unit 42 described above, and a bus 43 connecting the various system components, including the memory unit 42 and the processing unit 41.
Wherein the storage unit stores program code that is executable by the processing unit 41 such that the processing unit 41 performs the steps according to various exemplary embodiments of the present invention described in the above-described "example method" section of the present specification.
The memory unit 42 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 421 and/or cache memory 422, and may further include Read Only Memory (ROM) 423.
The storage unit 42 may also include a program/utility 424 having a set (at least one) of program modules 425, such program modules 425 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus 43 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
Electronic device 40 may also communicate with one or more external devices (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with electronic device 40, and/or any device (e.g., router, modem, etc.) that enables electronic device 40 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 45. Also, electronic device 40 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 46. As shown in fig. 6, the network adapter 46 communicates with other modules of the electronic device 40 over the bus 43. It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in connection with electronic device 40, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the storage medium may include a Read Only Memory (ROM), a random access Memory (RAM, randomAccess Memory), a magnetic disk or an optical disk, etc. And which stores computer program instructions which, when executed by a computer, cause the computer to perform a method according to the above.
In addition, the control method, the control device and the readable medium for virtual model operation provided in the embodiments of the present invention are described in detail, and specific examples are adopted to illustrate the principles and the embodiments of the present invention, and the description of the above embodiments is only for helping to understand the method and the core idea of the present invention, and meanwhile, for those skilled in the art, according to the idea of the present invention, there are changes in the specific embodiments and the application scope, so the content of the present invention should not be construed as limiting the present invention.