Three-dimensional model explosion decomposition method and device, storage medium and electronic equipment
By acquiring model node information to determine explosion attributes, performing hierarchical structure deconstruction and reorganization, and generating a 3D model exploded diagram, this technology solves the problems of convenience and flexibility in existing 3D model browsing software, and achieves efficient explosion decomposition without manual intervention.
Patent Information
- Application Number
- CN202310301576.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-03-20
AI Technical Summary
Existing 3D model browsing software for nuclear power plants requires manual intervention or operation, lacks convenience, and is difficult to flexibly perform model explosion decomposition, especially when the equipment model has high structural requirements.
This paper provides a method for explosive decomposition of 3D models. By obtaining model node information, it determines whether the model has an explosive attribute, performs hierarchical structure deconstruction and reconstruction, generates an exploded map, supports automatic recording and rendering process, and is applicable to models of any device.
It enables convenient 3D model explosion decomposition without client software, supports models from any device, and requires no manual intervention, offering high efficiency and flexibility.
Smart Images

Figure CN116363340B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of three-dimensional visualization technology, and more specifically, to a method, apparatus, storage medium, and electronic device for the explosive decomposition of three-dimensional models. Background Technology
[0002] With the introduction and development of digital and intelligent technologies in nuclear power engineering and operation units, 3D digital power plants are beginning to be applied to the construction and operation management of nuclear power projects. Currently, all nuclear power projects are conducting lower-level 3D design. These positive digital design results and accumulated model data provide crucial data support for the subsequent construction and operation management of the power plant. In particular, in power plant operation management, 3D design data can be used to build a mirrored power plant and, based on this, develop 3D visualization application components for nuclear power production and maintenance, such as equipment monitoring, condition assessment, fault diagnosis, maintenance simulation, and virtual disassembly and assembly. This provides on-site operators with intuitive, clear, and accurate auxiliary operation and training interfaces, and offers new solutions and tools for the digital and intelligent management of power plants.
[0003] Currently, nuclear power plant 3D model data is often produced based on industrial design software. Such design software is difficult to provide visualization support for the digital transfer, sharing, and application development of the model during the operation and maintenance phase. Additional 3D engines or platform components are needed to carry these model data and provide a lightweight visualization solution.
[0004] Currently, browsing power plant equipment models is mostly done in desktop industrial software or directly in design software. Because of their different purposes, design software prioritizes facilitating designers' work, and its visual interface, effects, and operating habits differ significantly from browsing and using the model. Viewing the internal structure of equipment models in design software often requires manually adjusting the positions of components to avoid them obscuring or overlapping each other, or obtaining internal camera views by showing / hiding a surface layer to observe its internal structure.
[0005] Therefore, current design software or desktop software used for model browsing largely rely on client software, and require manual intervention or operation during exploded decomposition, lacking convenience. Furthermore, existing solutions cannot perform exploded decomposition on all device models; they have high requirements for model structure and may even require pre-setting model results and decomposing according to specific patterns, lacking flexibility. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to provide a method, apparatus, storage medium and electronic device for explosive decomposition of three-dimensional models, in view of the deficiencies of the prior art.
[0007] The technical solution adopted by this invention to solve its technical problem is: constructing a three-dimensional model explosive decomposition method including the following steps:
[0008] Identify the 3D model to be decomposed;
[0009] Obtain the node information of the model nodes of the three-dimensional model to be decomposed;
[0010] Determine whether the model node has an explosion attribute based on the node information;
[0011] If not, then explosive decomposition will not be performed;
[0012] If so, then the 3D model to be decomposed is exploded based on the model nodes, and an exploded view of the 3D model to be decomposed is generated.
[0013] In the three-dimensional model explosion decomposition method of the present invention, the step of performing explosion decomposition on the three-dimensional model to be decomposed based on the model nodes and generating an exploded view of the three-dimensional model to be decomposed includes:
[0014] Based on the model nodes, the hierarchical structure of the 3D model to be decomposed is deconstructed to obtain deconstruction data;
[0015] Based on the deconstructed data, the hierarchical structure of the three-dimensional model to be decomposed is reconstructed to obtain reconstructed data;
[0016] Based on the reconstructed data, the model is rendered to obtain an exploded view of the 3D model to be decomposed.
[0017] In the three-dimensional model explosive decomposition method of the present invention, the deconstruction data is the smallest unit of the three-dimensional model to be decomposed;
[0018] The step of reconstructing the hierarchical structure of the three-dimensional model to be decomposed based on the deconstructed data to obtain reconstructed data includes:
[0019] The explosion particle size is set according to the deconstruction data; the explosion particle size is the smallest unit or a combination of the smallest units.
[0020] The deconstructed data is reconstructed based on the explosion particle size to obtain reconstructed nodes;
[0021] Configure management nodes;
[0022] Based on the management node and the reorganization node, the hierarchical structure of the three-dimensional model to be decomposed is reorganized to obtain the reorganized data.
[0023] In the three-dimensional model explosive decomposition method of the present invention, the method further includes:
[0024] During the process of reorganizing the hierarchical structure of the 3D model to be decomposed, it is determined whether the explosion offset information input by the user has been received.
[0025] If so, the flight distance of the corresponding explosion particle size is adjusted according to the explosion offset information.
[0026] In the three-dimensional model explosion decomposition method of the present invention, adjusting the flight distance corresponding to the explosion particle size according to the explosion offset information includes:
[0027] Obtain the raw coordinate data for each explosion particle size;
[0028] Based on the explosion offset information, the offset of each explosion particle size is obtained;
[0029] The flight distance corresponding to the explosion particle size is adjusted based on the original coordinate data and the offset.
[0030] In the three-dimensional model explosive decomposition method of the present invention, the method further includes:
[0031] Determine whether to activate the automatic recording of explosion decomposition function;
[0032] If so, the automatic recording explosion decomposition function will be activated and the explosion decomposition process of the three-dimensional model to be decomposed will be recorded.
[0033] In the three-dimensional model explosive decomposition method of the present invention, the process of recording the explosive decomposition of the three-dimensional model to be decomposed includes:
[0034] Record the explosive decomposition process of the three-dimensional model to be decomposed to obtain explosive decomposition process data;
[0035] Convert the data of the explosion decomposition process into a video file;
[0036] Save the video file.
[0037] The present invention also provides a three-dimensional model explosion decomposition device, comprising:
[0038] Model determination unit, used to determine the 3D model to be decomposed;
[0039] A node information acquisition unit is used to acquire the node information of the model nodes of the three-dimensional model to be decomposed;
[0040] A judgment unit is used to determine whether the model node has an explosion attribute based on the node information;
[0041] An execution unit is configured to not perform explosive decomposition when the model node is not an explosive attribute; and to perform explosive decomposition on the 3D model to be decomposed based on the model node when the model node is an explosive attribute, and generate an exploded view of the 3D model to be decomposed.
[0042] The present invention also provides a storage medium storing a computer program adapted for loading by a processor to execute the steps of the three-dimensional model explosive decomposition method as described above.
[0043] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the three-dimensional model explosive decomposition method as described above by calling the computer program stored in the memory.
[0044] The three-dimensional model explosion decomposition method, apparatus, storage medium, and electronic device of the present invention have the following beneficial effects: The method includes the following steps: determining the three-dimensional model to be decomposed; obtaining the node information of the model nodes of the three-dimensional model to be decomposed; determining whether the model nodes have explosion attributes based on the node information; if not, explosion decomposition is not performed; if so, explosion decomposition is performed on the three-dimensional model to be decomposed based on the model nodes, and an exploded view of the three-dimensional model to be decomposed is generated. The present invention can directly perform explosion decomposition of the three-dimensional model to be decomposed without relying on client software, and requires no manual intervention or operation during the explosion decomposition process, making it highly efficient and convenient. Furthermore, the explosion decomposition method of the present invention is applicable to three-dimensional models of any device, does not require pre-setting model results, and offers high flexibility in explosion decomposition. Attached Figure Description
[0045] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:
[0046] Figure 1 This is a flowchart illustrating the three-dimensional model explosive decomposition method provided in an embodiment of the present invention;
[0047] Figure 2 This is a schematic diagram of the structure of the three-dimensional model explosion decomposition device provided in the embodiment of the present invention. Detailed Implementation
[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0049] refer to Figure 1 In a preferred embodiment, the present invention provides a method for explosive decomposition of three-dimensional models, which is applicable to equipment-level three-dimensional models. This method constructs a three-dimensional model explosive decomposition based on existing nuclear power equipment-level three-dimensional model (design model) data, utilizing a three-dimensional lightweight rendering engine technology, with key equipment of a pressurized water reactor nuclear power plant as the starting point. A design three-dimensional model is a precise boundary description model containing a large amount of geometric information. Building complex systems and scenes under existing computer hardware and software conditions is not permissible. Three-dimensional lightweight technology solves this problem by helping to display model data in a lightweight manner on platforms such as desktops, mobile devices, and web pages, enabling visualization, interaction, sharing, and transfer of model data.
[0050] Specifically, such as Figure 1 As shown, the three-dimensional model explosive decomposition method includes the following steps:
[0051] Step S101: Determine the 3D model to be decomposed.
[0052] Specifically, the 3D model to be decomposed can be determined based on the model information input by the user (e.g., the name, ID, etc. of the 3D model to be decomposed). The model information can be input in several ways. For example, the user can directly enter the name of the 3D model to be decomposed in the operation interface / configuration interface, or the user can select and confirm it (wherein, all attribute information of the 3D model to be decomposed is pre-stored in the database, and can be directly confirmed after the user selects it in the operation interface).
[0053] Step S102: Obtain the node information of the model nodes of the 3D model to be decomposed.
[0054] Optionally, in this embodiment of the invention, the node information of the model node may include: the node ID of the model node.
[0055] The node information for the model nodes can be entered by the user after the 3D model to be decomposed is determined, or it can be directly retrieved from the database. For example, during operation, the user only needs to check the boxes in the configuration interface to configure the data. That is, when the user selects the corresponding 3D model to be decomposed, the system will directly display all relevant data of the 3D model to be decomposed in the configuration interface, and the user only needs to check the boxes.
[0056] Step S103: Determine whether the model node has an explosion attribute based on the node information; if not, then explosion decomposition is not performed.
[0057] Specifically, after obtaining the node information of the model nodes of the 3D model to be decomposed, all model nodes of the 3D model to be decomposed are traversed to filter out model nodes that belong to the explosion attribute and model nodes that do not belong to the explosion attribute. Among them, model nodes that do not belong to the explosion attribute do not need to be exploded, while model nodes that belong to the explosion attribute are exploded according to step S104.
[0058] Step S104: If so, then perform an exploded decomposition of the 3D model to be decomposed based on the model nodes, and generate an exploded view of the 3D model to be decomposed.
[0059] In this embodiment of the invention, the explosive decomposition of the 3D model to be decomposed based on model nodes and the generation of an exploded view of the 3D model to be decomposed includes: deconstructing the hierarchical structure of the 3D model to be decomposed based on model nodes to obtain deconstruction data; reorganizing the hierarchical structure of the 3D model to be decomposed based on the deconstruction data to obtain reorganized data; and rendering the model based on the reorganized data to obtain an exploded view of the 3D model to be decomposed.
[0060] Specifically, for equipment-level 3D models (using equipment models as an example below), these models are generally composed of component assembly relationships. After being exported from design software, they are imported into the 3D engine and managed visually using the design's built-in hierarchical structure. Therefore, the default hierarchical relationship is the component assembly relationship. Within this hierarchy, there are management nodes that group together unit items that are similar in spatial structure or functional attributes. These management nodes can be solid mesh models or virtual nodes.
[0061] Specifically, the management node of an entity is equivalent to having one or more sub-items attached under a unit item, and the hierarchical relationship is as follows:
[0062] Management node A (Management node A itself is an entity item model)
[0063] ---Entity A1;
[0064] ---Entity A2.
[0065] The virtual management node does not have an actual mesh model; it is an empty node with a name, and the hierarchical relationship is as follows:
[0066] Management Node B (Management Node B is a virtual node without model data)
[0067] ---Entity B1;
[0068] ---Entity B2.
[0069] In this embodiment of the invention, the purpose of hierarchical structure deconstruction is to remove the current hierarchical relationship logic, thereby deconstructing each hierarchical management node, releasing the entity management node separately as an independent entity object; while virtual management nodes can be directly deleted. The deconstructed data obtained after hierarchical structure deconstruction is as follows:
[0070] Entity A, Entity A1, Entity A2, Entity B1, and Entity B2.
[0071] After hierarchical deconstruction, all nodes in the deconstructed data are in an equal state, arranged in the original structural order, without hierarchical relationships, and all nodes in the deconstructed data are the smallest units. That is, the deconstructed data is the smallest unit of the 3D model to be decomposed. In other words, the deconstructed data includes all nodes of the 3D model to be decomposed, and each node is the smallest unit of the 3D model to be decomposed. Here, the smallest unit refers to the mesh data of the smallest component in the equipment model.
[0072] Furthermore, in this embodiment of the invention, after the hierarchical structure of the device model is deconstructed, the original hierarchical relationships are stored in a database for subsequent necessary reorganization. Each model node has unique identifier data (identifier type). This unique identifier data can be a device or component design attribute type, or it can be assigned a value according to corresponding coding rules. This unique identifier data ensures that after the hierarchical relationships of the device model are deconstructed, there are no index conflicts among all the smallest units, and the granularity can be set according to the identifier type.
[0073] In this embodiment of the invention, the process of reorganizing the hierarchical structure of the three-dimensional model to be decomposed based on the deconstruction data to obtain reorganized data includes: setting the explosion granularity based on the deconstruction data; reorganizing the deconstruction data according to the explosion granularity to obtain reorganized nodes; setting management nodes; and reorganizing the hierarchical structure of the three-dimensional model to be decomposed based on the management nodes and reorganized nodes to obtain reorganized data. The explosion granularity is either the smallest unit or a combination of smallest units.
[0074] Specifically, after the hierarchical structure is removed, all the smallest units are in a linear arrangement. At this point, any smallest unit or combination of smallest units can be configured with exploded granularity according to user needs. The user configures which smallest units need to be combined based on their requirements. The exploded granularity can be set based on the identifier type of the smallest unit.
[0075] Furthermore, after setting the granularity of the explosion, corresponding management nodes are set to house the recombined smallest unit combinations. Here, the management nodes are custom-defined (automatically generated and named), and these custom management nodes default to generating virtual nodes. Recombination can then be performed according to the user's recombining needs. The size of the explosion granularity directly reflects the level of the smallest component after the explosion. For example, the recombined hierarchical structure is as follows:
[0076] Node A' (virtual)
[0077] ---Entity A;
[0078] ---Entity A1.
[0079] Node B' (virtual)
[0080] ---Entity A1;
[0081] ---Entity B1.
[0082] Entity A2 (Independent Entity Node)
[0083] The reconstructed data (i.e., the exploded decomposition scheme) is: A'(A, A1), B'(A1, B1), A2. After obtaining this reconstructed data, it can be rendered using a 3D engine to obtain an exploded view of the 3D model to be decomposed. The 3D engine is a low-level support platform and components that perform low-level rendering of graphics or 3D model data and ultimately display it on the computer screen.
[0084] It should be noted that if the granularity of the explosion is not set, the original hierarchical structure will be applied by default during the reorganization stage. Only after the granularity of the explosion is set will the structure be reorganized according to the set granularity, and the hierarchical relationship information in the database will be updated at the same time.
[0085] Furthermore, in some embodiments, the three-dimensional model explosion decomposition method further includes: during the process of reorganizing the hierarchical structure of the three-dimensional model to be decomposed, determining whether explosion offset information input by the user is received; if so, adjusting the flight distance of the corresponding explosion particle size according to the explosion offset information.
[0086] The adjustment of the flight distance of the corresponding explosion particle size based on the explosion offset information includes: acquiring the original coordinate data of each explosion particle size; acquiring the offset of each explosion particle size based on the explosion offset information; and adjusting the flight distance of the corresponding explosion particle size based on the original coordinate data and the offset. Optionally, in this embodiment of the invention, the offset of the explosion particle size refers to the distance that each component flies out when the device model explodes and disintegrates, i.e., the degree of scattering.
[0087] Specifically, users can linearly adjust the offset of each explosive particle from its original coordinate position during explosion decomposition via interactive output. Visually, this is represented by the distance the exploded components fly away from their original positions. The specific method involves recording the original coordinate data of each explosive particle, then using linear interpolation to calculate and superimpose a corresponding offset (i.e., an offset vector) onto the original coordinate data, thereby achieving customized adjustment of the distance each explosive particle travels along its own axis. In this embodiment of the invention, the original coordinate data includes the axial information of the explosive particles.
[0088] Furthermore, in this embodiment of the invention, the three-dimensional model explosion decomposition method further includes: determining whether to activate the automatic recording explosion decomposition function; if so, activating the automatic recording explosion decomposition function and recording the explosion decomposition process of the three-dimensional model to be decomposed.
[0089] The process of recording the explosive decomposition of the 3D model to be decomposed includes: recording the explosive decomposition process of the 3D model to be decomposed and obtaining explosive decomposition process data; converting the explosive decomposition process data into a video file; and saving the video file.
[0090] Specifically, before the exploded decomposition operation, the user can choose whether to record the entire process. If the user chooses to record, the explosion decomposition process of the 3D model to be decomposed is automatically recorded and rendered into a universal video file. This video file is then saved to the local computer according to the file path information set by the user. By saving the video file locally, the device model structure decomposition process, device construction information sharing, descriptions, and offline viewing can be achieved.
[0091] Furthermore, in this embodiment of the invention, during the explosive decomposition process, basic three-dimensional operations can be performed on the three-dimensional model to be decomposed (wherein, three-dimensional operations include but are not limited to browsing operations such as point selection, translation, rotation, scaling, hiding, and transparency), displaying equipment details (such as the equipment's code, name, mounted files, maintenance history, etc., and after explosive decomposition, the fine internal structure and compositional relationships of the equipment can be seen). Finally, the generated exploded diagram can not only be displayed online but also supports offline transmission.
[0092] refer to Figure 2 The present invention also provides a three-dimensional model explosion decomposition device, which includes:
[0093] Model determination unit 201 is used to determine the three-dimensional model to be decomposed.
[0094] The node information acquisition unit 202 is used to acquire the node information of the model nodes of the three-dimensional model to be decomposed.
[0095] Judgment unit 203 is used to determine whether a model node has an explosion attribute based on node information.
[0096] The execution unit 204 is used to perform explosive decomposition when the model node is not an explosive attribute; and to perform explosive decomposition on the 3D model to be decomposed based on the model node when the model node is an explosive attribute, and generate an exploded map of the 3D model to be decomposed.
[0097] Specifically, the specific operational process of the various units in the three-dimensional model explosion decomposition device can be referred to the three-dimensional model explosion decomposition method described above, and will not be repeated here.
[0098] Furthermore, an electronic device according to the present invention includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program to implement the three-dimensional model explosive decomposition method as described above. Specifically, according to embodiments of the present invention, the processes described above with reference to the flowchart can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowchart. In such embodiments, when the computer program is downloaded, installed, and executed by an electronic device, it performs the functions defined in the methods of the embodiments of the present invention. The electronic device in the present invention can be a terminal such as a laptop, desktop computer, tablet computer, or smartphone, or it can be a server.
[0099] Furthermore, one type of storage medium of the present invention stores a computer program thereon, which, when executed by a processor, implements the three-dimensional model explosion decomposition method described above. Specifically, it should be noted that the storage medium described above in the present invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, wherein computer-readable program code is carried. The transmitted data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0100] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0101] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0102] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0103] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0104] The above embodiments are only for illustrating the technical concept and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement it accordingly. They do not limit the scope of protection of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should fall within the scope of the claims of the present invention.
Claims
1. A method for explosive decomposition of a three-dimensional model, characterized in that, Includes the following steps: Identify the 3D model to be decomposed; Obtain the node information of the model nodes of the three-dimensional model to be decomposed; Determine whether the model node has an explosion attribute based on the node information; If not, then explosive decomposition will not be possible; If so, then based on the model nodes, the 3D model to be decomposed is exploded, and an exploded view of the 3D model to be decomposed is generated, including: Based on the model nodes, the hierarchical structure of the 3D model to be decomposed is deconstructed to obtain deconstruction data; the deconstruction data is the smallest unit of the 3D model to be decomposed. The explosion particle size is set according to the deconstruction data; the explosion particle size is the smallest unit or a combination of smallest units. The deconstructed data is reconstructed based on the explosion particle size to obtain reconstructed nodes; Configure management nodes; Based on the management node and the reorganization node, the hierarchical structure of the three-dimensional model to be decomposed is reorganized to obtain reorganized data; Based on the reconstructed data, the model is rendered to obtain an exploded view of the 3D model to be decomposed.
2. The three-dimensional model explosive decomposition method according to claim 1, characterized in that, The method further includes: During the process of reorganizing the hierarchical structure of the 3D model to be decomposed, it is determined whether the explosion offset information input by the user has been received. If so, the flight distance of the corresponding explosion particle size is adjusted according to the explosion offset information.
3. The three-dimensional model explosive decomposition method according to claim 2, characterized in that, The step of adjusting the flight distance corresponding to the explosion particle size based on the explosion offset information includes: Obtain the raw coordinate data for each explosion particle size; Based on the explosion offset information, the offset of each explosion particle size is obtained; The flight distance corresponding to the explosion particle size is adjusted based on the original coordinate data and the offset.
4. The three-dimensional model explosive decomposition method according to claim 1, characterized in that, The method further includes: Determine whether to activate the automatic recording of explosion decomposition function; If so, the automatic recording explosion decomposition function will be activated and the explosion decomposition process of the three-dimensional model to be decomposed will be recorded.
5. The three-dimensional model explosive decomposition method according to claim 4, characterized in that, The process of recording the explosive decomposition of the three-dimensional model to be decomposed includes: Record the explosive decomposition process of the three-dimensional model to be decomposed to obtain explosive decomposition process data; Convert the data of the explosion decomposition process into a video file; Save the video file.
6. A three-dimensional model explosion decomposition device, characterized in that, include: Model determination unit, used to determine the 3D model to be decomposed; A node information acquisition unit is used to acquire the node information of the model nodes of the three-dimensional model to be decomposed; A judgment unit is used to determine whether the model node has an explosion attribute based on the node information; An execution unit is used to prevent explosive decomposition when the model node is not an explosive property. And when the model node has an explosion attribute, perform explosion decomposition on the three-dimensional model to be decomposed based on the model node, and generate an exploded view of the three-dimensional model to be decomposed; The step of performing explosive decomposition on the 3D model to be decomposed based on the model nodes and generating an exploded view of the 3D model to be decomposed includes: Based on the model nodes, the hierarchical structure of the 3D model to be decomposed is deconstructed to obtain deconstruction data; the deconstruction data is the smallest unit of the 3D model to be decomposed. The explosion particle size is set according to the deconstruction data; the explosion particle size is the smallest unit or a combination of smallest units. The deconstructed data is reconstructed based on the explosion particle size to obtain reconstructed nodes; Configure management nodes; Based on the management node and the reorganization node, the hierarchical structure of the three-dimensional model to be decomposed is reorganized to obtain reorganized data; Based on the reconstructed data, the model is rendered to obtain an exploded view of the 3D model to be decomposed.
7. A storage medium, characterized in that, The storage medium stores a computer program adapted for loading by a processor to perform the steps of the three-dimensional model explosive decomposition method as described in any one of claims 1 to 5.
8. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the three-dimensional model explosive decomposition method as described in any one of claims 1 to 5 by calling the computer program stored in the memory.
Citation Information
Patent Citations
Three-dimensional model professional explosion method based on BIM
CN115221589A
Three-dimensional model automatic explosion disassembling method based on three-dimensional engine
CN115344901A
