Model surrounding shell generation method and device and related equipment
By generating a suitable bounding shell during the model preprocessing stage, the problem of low efficiency in protecting the model after 3D printing is solved, which improves the protection and logistics delivery efficiency during the printing stage and saves printing materials.
Patent Information
- Application Number
- CN202512004265.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-29
- Publication Date
- 2026-03-17
AI Technical Summary
Existing technologies for protecting and packaging 3D printed models have low logistics delivery efficiency. It is necessary to generate a suitable bounding shell during the model preprocessing stage to improve protection and delivery efficiency.
In the model preprocessing stage, a bounding shell adapted to the model is generated, including traversing triangular mesh data, obtaining the bottom rectangle of the axis-aligned bounding box, expanding the flat plate base rectangle, generating a rectangular reference ring band, and triangular meshing, to form a bounding shell with empty windows.
During the printing stage, a bounding shell is generated to protect the model body, reducing the complexity of the model package, improving the efficiency of logistics packaging and delivery, and saving printing materials.
Smart Images

Figure CN121670985A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of 3D printing technology, specifically relating to a method, apparatus and related equipment for generating model bounding shells. Background Technology
[0002] Currently, in the field of 3D printing technology, the model is usually disassembled after the model slicing is completed and printed, and then fully wrapped and protected to deal with possible bumps and damage during logistics. However, this logistics packaging and delivery efficiency is low.
[0003] To improve the protection of the model ontology and increase delivery efficiency, a model bounding shell generation method is needed. This method generates the model bounding shell during the model preprocessing stage, thereby generating the model protective shell at the same time as printing the model. This reduces the complexity of the model package and improves the efficiency of logistics packaging and delivery. Summary of the Invention
[0004] This application provides a method, apparatus, and related equipment for generating a model bounding shell. In the model preprocessing stage, a bounding shell adapted to the model size can be generated, thereby enabling the generation of a bounding shell protecting the model body in the subsequent printing stage. This reduces the complexity of the model package and improves the efficiency of logistics packaging and delivery.
[0005] A first aspect of this application provides a method for generating a model bounding shell, comprising: Traverse the model's triangular mesh data; Get the rectangle that aligns the model's axis to the bottom of the bounding box; The rectangle is expanded outward according to the preset base spacing L1 to obtain a flat base rectangular frame; The rectangular frame of the flat base is raised by a preset height H1 to obtain the grid frame of the flat base; On the plane where height H1 is located, the rectangle is expanded outward according to the preset safety gap L2 to obtain the expanded reference rectangle frame; The outer reference rectangle is offset and expanded according to the preset offset thickness L3 to obtain a rectangular reference annular band; The rectangular reference annular band is raised to a preset height H2 to obtain a grid frame surrounding the shell; The grid framework of the flat plate base and the grid framework of the surrounding shell are triangularly meshed to generate a flat plate base and a surrounding shell composed of triangular meshes.
[0006] Furthermore, the model bounding shell generation method further includes: A pre-defined shape of an empty window is generated on the model's bounding shell using Boolean operations; Stores triangular mesh data for the flat substrate and the surrounding shell.
[0007] Preferably, the preset shaped window includes: an arched hole, a circular hole, a semi-circular hole, an elliptical hole, a square hole, a triangular hole, a star-shaped hole, a grid hole, or an array of holes.
[0008] Preferably, the offset expansion of the outer reference rectangle according to the preset offset thickness L3 to obtain the rectangular reference ring can be carried out in the following ways: offset expansion to one side, or offset expansion to both sides at equal distances, or offset expansion to both sides at unequal distances.
[0009] Preferably, L1 is greater than or equal to the sum of L2 and L3; the preset height H2 is greater than or equal to the height of the axis-aligned bounding box.
[0010] A second aspect of this application provides a model bounding shell generation apparatus, comprising: The grid data traversal module is used to traverse the model's triangular grid data; The bounding box bottom rectangle acquisition module is used to obtain the rectangle that aligns the model's axis to the bottom of the bounding box; A flat plate base rectangle acquisition module is used to expand the rectangle outward according to a preset base spacing L1 to obtain a flat plate base rectangle. A flat plate base grid frame acquisition module is used to raise the rectangular frame of the flat plate base by a preset height H1 to obtain the grid frame of the flat plate base. The module for obtaining the outer expansion reference rectangle is used to expand the rectangle on the plane where the height H1 is located according to the preset safety gap L2 to obtain the outer expansion reference rectangle. The rectangular reference annular band acquisition module is used to offset and expand the outer reference rectangle according to the preset offset thickness L3 to obtain the rectangular reference annular band. The surrounding shell grid frame acquisition module is used to raise the rectangular reference annular band by a preset height H2 to obtain the surrounding shell grid frame. The flat plate base and bounding shell generation module is used to triangulate the grid frame of the flat plate base and the grid frame of the bounding shell to generate a flat plate base and bounding shell composed of triangular meshes.
[0011] Furthermore, the model bounding shell generation device further includes: The empty window generation module is used to generate empty windows of preset shapes on the model's bounding shell through Boolean operations; A flat substrate and bounding shell storage module is used to store triangular mesh data of the flat substrate and bounding shell.
[0012] A third aspect of this application provides an electronic device, including: At least one processing unit; and a storage unit communicatively connected to the at least one processing unit; wherein, The storage unit stores instructions that can be executed by the at least one processing unit. When the at least one processing unit executes the instructions, it implements the steps of the model bounding shell generation method as described in the first aspect above.
[0013] A fourth aspect of this application provides a non-transitory computer-readable storage medium storing a computer program that, when executed by a processing unit, implements the steps of the model bounding shell generation method described in the first aspect above.
[0014] A fifth aspect of this application provides a computer program product comprising computer instructions that, when executed by a computer, implement the steps of the model bounding shell generation method described in the first aspect above.
[0015] Compared with the prior art, the beneficial effects of the present invention are:
[0016] 1. Using the method provided in the embodiments of this application, a bounding shell adapted to the model can be generated based on the size of the model during the preprocessing stage, so that a bounding shell protecting the model body can be printed in the subsequent printing stage.
[0017] 2. Using the method provided in the embodiments of this application, a bounding shell protecting the model body can be printed in the subsequent printing stage based on the size of the model. Compared with the detailed protective packaging required for complex models without a protective shell, the bounding shell printed by this method can reduce the complexity of the model packaging and correspondingly improve the efficiency of logistics packaging and delivery.
[0018] 3. Using the method provided in the embodiments of this application, a bounding shell with a window can also be generated. This structure with a window can save printing material while generating the required bounding shell. Attached Figure Description
[0019] Figure 1 This is a flowchart of the model bounding shell generation method in an embodiment of this application.
[0020] Figure 2 This is a structural diagram of the model bounding shell generation device according to an embodiment of this application.
[0021] Figure 3 This is a schematic diagram illustrating the acquisition of an axis-aligned bounding box for this application.
[0022] Figure 4 This application provides a schematic diagram of obtaining a rectangular frame for a flat substrate and a rectangular reference annular band. Figure 1 .
[0023] Figure 5 This application provides a schematic diagram of obtaining a rectangular frame for a flat substrate and a rectangular reference annular band. Figure 2 .
[0024] Figure 6 A schematic diagram of the flat substrate and the surrounding shell is generated for this application.
[0025] Figure 7 This is a schematic diagram showing an array of circular holes generated on the bounding shell of the model in this application.
[0026] Figure 8 This is a schematic diagram showing an arched hole generated on the bounding shell of the model in this application.
[0027] Figure 9 The image shows the actual software rendering of the circular hole array generated on the bounding shell of the model in this application.
[0028] Figure 10 The image shows the actual software rendering of the arched holes generated on the bounding shell of the model in this application.
[0029] Figure 11 The electronic device structure diagram is shown to implement the model bounding shell generation method of the embodiments of this application.
[0030] Figure 12 This is a schematic diagram of the bounding shell of the electronic device generation model in an embodiment of this application.
[0031] Figure 13 A structural block diagram of a 3D printing device for realizing the model bounding shell generation method of this application.
[0032] Figure 14 This is a schematic diagram showing the slicing and printing of the bounding shell of the model in this application.
[0033] Labeling Explanation: Electronic device 7; 3D printing equipment 8; Mobile storage device 9; Processing unit 71; Storage unit 72; Computer program 73; Controller 81; Memory 82; Printing control program 83; Stamp model 301; Axis-aligned bounding box 302; Platform 303; Bounding box bottom rectangle 304; Flat base rectangle 305; Outer datum rectangle 306; Extended boundary 307; Rectangular datum ring band 308; Bounding shell 401; Flat base 402; Empty window 501; Mesh data traversal module 100; Bounding box bottom rectangle acquisition module 200; Flat base rectangle acquisition module 300; Flat base grid frame acquisition module 400; Outer datum rectangle acquisition module 500; Rectangular datum ring band acquisition module 600; Bounding shell grid frame acquisition module 700; Flat base and bounding shell generation module 800; Empty window generation module 900; Flat base and bounding shell storage module 1000. Detailed Implementation
[0034] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0035] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof. It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application.
[0036] Figure 1 This is a flowchart of the model bounding shell generation method according to an embodiment of this application. As shown in the figure, the model bounding shell generation method of this application includes the following steps: S100. Traverse the model's triangular mesh data; S200. Obtain the rectangle at the bottom of the model's axis-aligned bounding box; S300. Expand the rectangle outward according to the preset base spacing L1 to obtain a flat base rectangular frame; S400. Raise the rectangular frame of the flat plate base by a preset height H1 to obtain the grid frame of the flat plate base; S500. On the plane where height H1 is located, the rectangle is expanded outward according to the preset safety gap L2 to obtain the expanded reference rectangle frame; S600. Based on the preset offset thickness L3, the outer reference rectangle is offset and expanded to obtain a rectangular reference annular band; S700. Raise the rectangular reference annular band to a preset height H2 to obtain a grid frame surrounding the shell; S800. Triangulate the grid frame of the flat plate base and the grid frame of the surrounding shell to generate a flat plate base and a surrounding shell composed of triangular meshes.
[0037] The method of offsetting and expanding the outer reference rectangle according to the preset offset thickness L3 to obtain the rectangular reference ring can include: offsetting and expanding to one side, or offsetting and expanding to both sides at equal distances, or offsetting and expanding to both sides at unequal distances.
[0038] Wherein, L1 is greater than or equal to the sum of L2 and L3; the preset height H2 is greater than or equal to the height of the axis-aligned bounding box.
[0039] In addition, the model bounding shell generation method of this application also includes optional steps: S900. Generate a pre-defined empty window on the model's bounding shell using Boolean operations; S1000. Stores triangular mesh data of the flat plate base and the surrounding shell.
[0040] The preset shaped opening includes: an arched opening, a circular opening, a semi-circular opening, an elliptical opening, a square opening, a triangular opening, a star-shaped opening, a grid opening, or an array of openings.
[0041] Figure 2 This is a structural diagram of the model bounding shell generation apparatus according to an embodiment of this application. As shown in the figure, the model bounding shell generation apparatus of this application includes: Mesh data traversal module 100 is used to traverse the model triangular mesh data; The bounding box bottom rectangle acquisition module 200 is used to acquire the rectangle that is aligned with the bottom of the model's axis bounding box; The flat base rectangle acquisition module 300 is used to expand the rectangle outward according to the preset base spacing L1 to obtain the flat base rectangle. The flat plate base grid frame acquisition module 400 is used to raise the flat plate base rectangle by a preset height H1 to obtain the grid frame of the flat plate base. The module 500 for obtaining the outer expansion reference rectangle is used to expand the rectangle on the plane where the height H1 is located according to the preset safety gap L2 to obtain the outer expansion reference rectangle. The rectangular reference ring band acquisition module 600 is used to offset and expand the outer reference rectangle according to the preset offset thickness L3 to obtain the rectangular reference ring band. The surrounding shell grid frame acquisition module 700 is used to raise the rectangular reference annular band by a preset height H2 to obtain the surrounding shell grid frame. The flat plate base and bounding shell generation module 800 is used to triangulate the grid frame of the flat plate base and the grid frame of the bounding shell to generate a flat plate base and bounding shell composed of triangular meshes.
[0042] In addition, the model bounding shell generation apparatus of this application further includes: The empty window generation module 900 is used to generate an empty window of a preset shape on the model's bounding shell through Boolean operations; The flat substrate and surrounding shell storage module 1000 is used to store the triangular mesh data of the flat substrate and surrounding shell.
[0043] Figure 3 This is a schematic diagram illustrating the process of obtaining the axis-aligned bounding box in this application. As shown in the figure, when the stamp model 301 is placed on the platform 303, the vertex coordinates of the axis-aligned bounding box can be obtained based on the triangular vertices in the triangular mesh data of the stamp model 301. Specifically, the maximum and minimum coordinates in the X-axis direction can be queried and obtained from all the triangular vertices of the stamp model 301, and the maximum and minimum coordinates in the Y-axis direction can be queried and obtained. This allows for the determination of... Figure 1 The rectangle at the bottom of the axis-aligned bounding box as described in step S200.
[0044] Figure 4 This application provides a schematic diagram of obtaining a rectangular frame for a flat substrate and a rectangular reference annular band. Figure 1 As shown in the figure, after obtaining the bottom rectangle 304 of the bounding box in the figure, the rectangle can be expanded outward according to the preset base spacing L1 to obtain the flat base rectangle 305; then according to... Figure 1 As shown in step S400, the rectangular frame 305 of the flat substrate can be raised to a preset height H1 to obtain the desired height. Figure 6 The grid frame of the flat substrate 402 shown.
[0045] Furthermore, after obtaining the bottom rectangle 304 of the bounding box in the figure, the outer expansion reference rectangle 306 can be obtained by offsetting and expanding the bottom rectangle 304 of the bounding box on the plane where the height H1 is located according to the preset safety gap L2. Since the outer expansion reference rectangle 306 in this figure is offset and expanded outward on one side, the outer expansion reference rectangle 306 in the figure obtains the outer expansion boundary 307 after offset and expanding outward by the safety gap L2. Correspondingly, the area enclosed by the outer expansion reference rectangle 306 and the expansion boundary 307 in the figure is the rectangular reference annular band 308. In particular, the safety gap L2 is the minimum safe distance between the model body and the bounding shell to be generated. The purpose of setting this safety gap is to prevent damage to the model body when the bounding shell is removed.
[0046] Figure 5 This application provides a schematic diagram of obtaining a rectangular frame for a flat substrate and a rectangular reference annular band. Figure 2 As shown in the figure, similarly, after obtaining the bottom rectangle 304 of the bounding box in the figure, the rectangle can be expanded outward according to the preset base spacing L1 to obtain the flat base rectangle 305; then according to... Figure 1 As shown in step S400, the rectangular frame 305 of the flat substrate can be raised to a preset height H1 to obtain the desired height. Figure 6 The grid frame of the flat substrate 402 shown.
[0047] Furthermore, after obtaining the bottom rectangle 304 of the bounding box in the figure, the outer expansion reference rectangle 306 can be obtained by offsetting and expanding the bottom rectangle 304 of the bounding box on the plane where the height H1 is located according to the preset safety gap L2. Since the outer expansion reference rectangle 306 in this figure is offset and expanded at equal intervals to both sides, the outer expansion reference rectangle 306 in the figure obtains the inner and outer expansion boundaries 307 after offset and expanding at equal intervals to both sides by the safety gap L2. Correspondingly, the area enclosed by the inner and outer expansion boundaries 307 in the figure is the rectangular reference annular band 308. Similarly, the purpose of setting the safety gap L2 is to prevent damage to the model body when removing the bounding shell.
[0048] Figure 6 A schematic diagram of the flat substrate and surrounding shell generated for this application is shown. As illustrated, in... Figure 4 or Figure 5 Based on the above, raising the rectangular frame 305 of the flat base by a preset height H1 can obtain the grid frame of the flat base 402 shown in this figure. On the upper surface of the flat base 402, i.e., the plane where the preset height H1 is located, raising the rectangular reference ring band 308 by a preset height H2 can obtain the grid frame of the enclosure shell 401 shown in this figure. In particular, if the preset height H2 is equal to the height of the axis-aligned enclosure box 302, lateral damage to the model can be avoided; if the preset height H2 is greater than the height of the axis-aligned enclosure box 302, scratches on the top of the model can also be avoided.
[0049] Based on this, then according to Figure 1 In step S800, the grid frame of the flat substrate 402 and the grid frame of the bounding shell 401 are triangularly meshed to generate a flat substrate and a bounding shell composed of triangular meshes; thus, the flat substrate 402 and the bounding shell 401 composed of triangular meshes required for slicing printing can be obtained. In particular, the bounding shell in this figure is a solid bounding shell without empty windows.
[0050] Figure 7 This is a schematic diagram showing an array of circular holes generated on the bounding shell of the model in this application. As shown in the figure, in Figure 6 After obtaining the flat substrate 402 and the bounding shell 401 composed of the triangular mesh required for slicing printing, according to... Figure 1 In step S900, a window 501 of a preset shape can be generated on the model enclosure shell 401 through Boolean operations. Accordingly, the window 501 of the preset shape on the front and rear shells of the enclosure shell 401 in this figure is an array of holes composed of multiple circular holes. Correspondingly, arched holes, circular holes, semi-circular holes, elliptical holes, square holes, triangular holes, star-shaped holes, or grid holes can also be used.
[0051] Figure 8This is a schematic diagram showing the arched holes generated on the bounding shell of the model in this application. As shown in the figure, in Figure 6 After obtaining the flat substrate 402 and the bounding shell 401 composed of the triangular mesh required for slicing printing, according to... Figure 1 As shown in step S900, a pre-defined shape of window 501 can be generated on the model's bounding shell 401 through Boolean operations; correspondingly, in this figure, the pre-defined shape of window 501 on the surrounding shell of the bounding shell 401 adopts an arched hole with parabolic characteristics. Specifically, setting this window-connected structure on the bounding shell can save printing material while generating the required bounding shell.
[0052] Figure 9 This is a software rendering of the actual circular hole array generated on the bounding shell of the model in this application. As shown in the figure, this image corresponds to... Figure 7 This illustrates that the surrounding shell 401 has multiple circular holes arranged in an array to form windows 501. It can also be seen that the surrounding shell 401 is connected to the flat substrate 402.
[0053] Figure 10 This is a software rendering of the arched holes generated on the bounding shell of the model in this application. As shown in the figure, this image corresponds to... Figure 8 The illustration shows that the surrounding shell 401 has arched openings with parabolic features forming windows 501 on its perimeter. It also shows that the stamp model 301 is connected to the flat base 402, and the surrounding shell 401 is also connected to the flat base 402. This secures the three components together, ensuring that even after printing, the stamp model 301, flat base 402, and surrounding shell 401 remain fixed together, providing lateral protection for the stamp model 301. This, in turn, improves logistics packaging and delivery efficiency when more delicate packaging protection is not required.
[0054] Figure 11 The electronic device structure diagram for implementing the model bounding shell generation method of this application is shown in the figure. As shown, the electronic device 7 in this figure is exemplified by having a processing unit 71. As shown, an electronic device 7 includes a processing unit 71 and a storage unit 72; wherein the storage unit 72 stores a computer program 73 or instructions executable by the processing unit 71, and the computer program 73 or instructions are executed by the processing unit 71 to enable the processing unit 71 to perform actions such as... Figure 1 The steps in the process.
[0055] Storage unit 72, which is the third aspect of this application, provides a non-transitory computer-readable storage medium; wherein, storage unit 72 stores instructions executable by at least one processing unit 71, so that when at least one processing unit 71 executes, it performs as follows: Figure 1 The steps in the process.
[0056] Storage unit 72 is defined as a non-transitory computer-readable storage medium, which can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as those implemented during execution. Figure 1 The processing unit 71 executes various server functions and data processing by running the non-transient computer program 73, instructions, and modules stored in the storage unit 72, thereby achieving the above-mentioned functions. Figure 1 The corresponding embodiments involve steps involving a computer and a processing unit.
[0057] Storage unit 72 may include a stored program area and a stored data area, wherein the stored program area may store the operating system and applications required for at least one function; the stored data area may store data created when the electronic device 7 is used. Furthermore, storage unit 72 may include a high-speed random access memory unit, and may also include non-transient storage units, such as at least one disk storage unit, flash memory device, or other non-transient solid-state storage unit. In some embodiments, storage unit 72 may optionally include storage units remotely located relative to processing unit 71, these remote storage units being connected via a network to the electronic device performing model bounding shell generation. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0058] Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, application-specific integrated circuits (ASICs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processing unit, which may be a dedicated or general-purpose programmable processing unit, capable of receiving data and instructions from a storage system, at least one input unit, and at least one output device, and transmitting data and instructions to the storage system, the at least one input unit, and the at least one output device.
[0059] These computer programs 73 (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processing unit and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms “machine-readable medium” and “computer-readable medium” refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, storage unit, programmable logic device (PLD)) used to provide machine instructions and / or data to a programmable processing unit, including machine-readable media that receive machine instructions determined to be machine-readable signals. The term “machine-readable signal” refers to any signal used to provide machine instructions and / or data to a programmable processing unit.
[0060] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.
[0061] Figure 12 This is a schematic diagram of the electronic device generating a model bounding shell according to an embodiment of this application. As shown in the figure, the user runs a model preprocessing software program through the electronic device 7 to generate a bounding shell to protect the model body based on the model's mesh data, the size of the axis-aligned bounding box, and the corresponding preset parameters. Subsequently, the stored overall three-dimensional data of the model body, the flat substrate, and the bounding shell are sliced to obtain the sliced image data required for the printing stage.
[0062] Figure 13 The structural block diagram of a 3D printing device for implementing the model bounding shell generation method of this application is shown in the figure. As shown, a 3D printing device 8 includes a controller 81 and a memory 82; wherein the memory 82 stores a printing control program 83 or instructions that can be executed by the controller 81. The printing control program 83 or instructions are executed by the controller 81 to enable the controller 81 to perform actions such as... Figure 1 The steps in this process are because the 3D printing device 8 can also embed the program functions of the model bounding shell generation method of this application as needed.
[0063] Figure 14 This diagram illustrates the slicing and printing process after the bounding shell of the model in this application is generated. As shown, the user uses a mobile storage device 9 to import the sliced image data obtained after slicing into the 3D printing device 8 for exposure printing, thereby obtaining an overall printed model entity composed of the model body, the flat base, and the bounding shell.
[0064] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method of model enclosure shell generation, the method comprising: include: Traverse the model's triangular mesh data; Get the rectangle that aligns the model's axis to the bottom of the bounding box; The rectangle is expanded outward according to the preset base spacing L1 to obtain a flat base rectangular frame; The rectangular frame of the flat base is raised by a preset height H1 to obtain the grid frame of the flat base; On the plane where height H1 is located, the rectangle is expanded outward according to the preset safety gap L2 to obtain the expanded reference rectangle frame; The outer reference rectangle is offset and expanded according to the preset offset thickness L3 to obtain a rectangular reference annular band; The rectangular reference annular band is raised to a preset height H2 to obtain a grid frame surrounding the shell; The grid framework of the flat plate base and the grid framework of the surrounding shell are triangularly meshed to generate a flat plate base and a surrounding shell composed of triangular meshes.
2. The model enclosure generation method of claim 1, wherein, Also includes: A pre-defined shape of an empty window is generated on the model's bounding shell using Boolean operations; Stores triangular mesh data for the flat substrate and the surrounding shell.
3. The model enclosure generation method of claim 2, wherein, The preset shaped openings include: arched openings, circular openings, semi-circular openings, elliptical openings, square openings, triangular openings, star-shaped openings, grid openings, or arrays of openings.
4. The model enclosure generation method of claim 1, wherein, The method of offsetting and expanding the outer reference rectangle according to the preset offset thickness L3 to obtain the rectangular reference ring can include: offsetting and expanding to one side, or offsetting and expanding to both sides at equal distances, or offsetting and expanding to both sides at unequal distances.
5. The model enclosure generation method of claim 1, wherein, The L1 is greater than or equal to the sum of the L2 and the L3; the preset height H2 is greater than or equal to the height of the axis-aligned bounding box.
6. A model enclosure generation apparatus characterized by comprising: include: Grid The data traversal module is used to traverse the model's triangular mesh data; The bounding box bottom rectangle acquisition module is used to obtain the rectangle that aligns the model's axis to the bottom of the bounding box; A flat plate base rectangle acquisition module is used to expand the rectangle outward according to a preset base spacing L1 to obtain a flat plate base rectangle. A flat plate base grid frame acquisition module is used to raise the rectangular frame of the flat plate base by a preset height H1 to obtain the grid frame of the flat plate base. The module for obtaining the outer expansion reference rectangle is used to expand the rectangle on the plane where the height H1 is located according to the preset safety gap L2 to obtain the outer expansion reference rectangle. The rectangular reference annular band acquisition module is used to offset and expand the outer reference rectangle according to the preset offset thickness L3 to obtain the rectangular reference annular band. The surrounding shell grid frame acquisition module is used to raise the rectangular reference annular band by a preset height H2 to obtain the surrounding shell grid frame. The flat plate base and bounding shell generation module is used to triangulate the grid frame of the flat plate base and the grid frame of the bounding shell to generate a flat plate base and bounding shell composed of triangular meshes.
7. The model hull generating apparatus according to claim 6, wherein Also includes: The empty window generation module is used to generate empty windows of preset shapes on the model's bounding shell through Boolean operations; A flat substrate and bounding shell storage module is used to store triangular mesh data of the flat substrate and bounding shell.
8. An electronic device, comprising: include: At least one processing unit; and a storage unit communicatively connected to the at least one processing unit; wherein, The storage unit stores instructions executable by the at least one processing unit, and the at least one processing unit implements the steps of the model bounding box generation method as claimed in claim 1 or 2 when executing the instructions.
9. A non-transitory computer-readable storage medium, comprising: The non-transitory computer readable storage medium stores a computer program, and the computer program implements the steps of the model bounding box generation method as claimed in claim 1 or 2 when executed by a processing unit.
10. A computer program product, characterised in that, The computer program product comprises computer instructions, and the computer instructions implement the steps of the model bounding box generation method as claimed in claim 1 or 2 when executed by a computer.