3D model placement method and system, computer equipment and storage medium
By presetting sub-volumes in the 3D printing build volume and optimizing the position of the divider to place the 3D model, the problem of easy loss of small objects is solved, and centralized management and efficient finding of objects are achieved.
Patent Information
- Application Number
- CN202411037182.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-09-27
AI Technical Summary
Smaller 3D objects are easily lost during the 3D printing process because they are difficult to find in the unsintered powder material.
By sequentially placing multiple 3D models in preset sub-volumes in the build volume and encapsulating them in separators, the placement of the separators and remaining models is optimized to ensure that the printed objects are concentrated in the separators for convenience turn up.
It effectively avoids the loss of 3D objects and improves the efficiency and reliability of object management after printing.
Smart Images

Figure CN118700543A
Abstract
Description
Technical Field
[0001] The present application relates to the field of 3D printing technology, and specifically to a 3D model placement method, a 3D printing method, a 3D model placement system, a computer device, a computer-readable storage medium, and a computer program product. Background Art
[0002] 3D printing is a rapid prototyping technology. 3D printing equipment uses solidifiable materials such as powdered metal, plastic and resin to construct objects by printing layer by layer according to the data to be printed. The data to be printed can be formed by slicing, path planning and other operations on multiple 3D models arranged in a specific way.
[0003] For 3D printing methods using powder materials such as selective laser sintering (SLS) and binder jetting, the unsintered powder can provide support for the printed object, eliminating the need to set up supports for the object. Therefore, during the 3D model placement stage, multiple 3D models can be placed in three dimensions in the build volume of the corresponding printing space.
[0004] In the related art, multiple smaller 3D models are dispersedly placed in the building volume. After printing is completed, when taking out the 3D objects corresponding to the smaller 3D models, these 3D objects are difficult to find in the unsintered powder due to their small size, resulting in the 3D objects being accidentally discarded.
[0005] In view of this, how to optimize the placement of 3D models to avoid accidental discarding of 3D objects is a technical problem that needs to be urgently solved by those skilled in the art. Summary of the invention
[0006] In view of the shortcomings of the above-mentioned related technologies, the purpose of the present application is to provide a 3D model placement method, a 3D printing method, a 3D model placement system, a computer device, a computer-readable storage medium and a computer program product, so as to overcome the technical problem that small-volume 3D objects are easily lost in the above-mentioned related technologies.
[0007] To achieve the above-mentioned purpose and other related purposes, the present application discloses in a first aspect a 3D model placement method, comprising the following steps: placing a predetermined plurality of 3D models in a preset sub-volume in a build volume in sequence to encapsulate the placed plurality of 3D models in a separator; and determining the placement positions of the separator and the remaining 3D models in the build volume in sequence based on an optimization target to place the separator and the remaining 3D models in the build volume in sequence.
[0008] In a second aspect, the present application discloses a 3D printing method, comprising: obtaining data to be printed, wherein the data to be printed is obtained based on a building volume in which a separator and a 3D model are placed, and the separator and the 3D model placed in the building volume are placed based on the 3D model placement method described in any embodiment of the first aspect of the present application; and performing three-dimensional manufacturing based on the data to be printed to form 3D objects corresponding to the separator and the 3D model respectively.
[0009] The third aspect of the present application discloses a 3D model placement system, comprising: a sub-placement module, used to place a predetermined plurality of 3D models in a preset sub-volume in a build volume in sequence, so as to encapsulate the placed plurality of 3D models in a separator; and a main placement module, used to determine the placement positions of the separator and the remaining 3D models in the build volume in sequence based on an optimization target, so as to place the separator and the remaining 3D models in the build volume in sequence.
[0010] The fourth aspect of the present application discloses a computer device, comprising: a storage device for storing at least one program; and a processing device connected to the storage device, for calling the at least one program from the storage device and executing it to implement the 3D model placement method described in any embodiment of the first aspect of the present application.
[0011] The fifth aspect of the present application discloses a computer-readable storage medium storing at least one program, which, when called and executed by a processor of a computer, implements the 3D model placement method as described in any embodiment of the first aspect of the present application.
[0012] The sixth aspect of the present application discloses a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the 3D model placement method as described in any embodiment of the first aspect of the present application.
[0013] In summary, the 3D model placement method, 3D printing method, 3D model placement system, computer device, computer-readable storage medium and computer program product disclosed in the present application, by placing a plurality of predetermined 3D models and encapsulating them in a separator, can make it possible for the 3D objects corresponding to the plurality of 3D models to be concentrated in the separator after subsequent printing is completed, making them easy to find and avoiding loss.
[0014] Those skilled in the art can easily perceive other aspects and advantages of the present application from the detailed description below. In the detailed description below, only exemplary embodiments of the present application are shown and described. As will be appreciated by those skilled in the art, the content of the present application enables those skilled in the art to modify the disclosed specific embodiments without departing from the spirit and scope of the invention to which the present application relates. Accordingly, the description in the drawings and specification of the present application is merely exemplary and not restrictive. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The specific features of the invention involved in this application are shown in the attached claims. The features and advantages of the invention involved in this application can be better understood by referring to the exemplary embodiments and drawings described in detail below. The drawings are briefly described as follows:
[0016] Figure 1 A schematic diagram showing the flow of a 3D model placement method in one embodiment of the present application.
[0017] Figure 2 Shown is a schematic diagram of the structure of the building volume in one embodiment of the present application.
[0018] Figure 3 Shown is a schematic diagram of the structure of the construction volume of the preset non-placement area in one embodiment of the present application.
[0019] Figure 4 Shown is a schematic diagram of a plurality of predetermined 3D models in one embodiment of the present application.
[0020] Figure 5 Shown is a schematic structural diagram of a bounding box of a 3D model in one embodiment of the present application.
[0021] Figure 6 It is a schematic diagram showing configuration of a preset sub-volume in a construction volume in one embodiment of the present application.
[0022] Figure 7 Shown is a schematic diagram of a process of determining the placement position of the currently placed 3D model in a preset sub-volume in one embodiment of the present application.
[0023] Figure 8 It is a schematic diagram showing a placement search of the currently placed 3D model in a preset sub-volume in one embodiment of the present application.
[0024] Fig. 9 Shown is a schematic diagram of determining the fit of the currently placed 3D model at various positions of the preset sub-volume in one embodiment of the present application.
[0025] Fig.10Shown is a schematic diagram of placing the currently placed 3D model into a preset sub-volume in one embodiment of the present application.
[0026] Fig.11 It is a schematic diagram showing updating the distance field of a preset sub-volume according to one embodiment of the present application.
[0027] Fig.12 Shown is a schematic diagram of encapsulating multiple 3D models that have been arranged in a separator in one embodiment of the present application.
[0028] Fig.13 Shown is a schematic diagram of a process for determining the placement position of a currently placed object when the joint optimization of the fit of the currently placed object and the layer area distribution of the build volume is used as the optimization goal in one embodiment of the present application.
[0029] Fig.14 Shown is a schematic diagram of layer area distribution for determining a build volume in one embodiment of the present application.
[0030] Fig.15 Shown is a schematic diagram of a process for determining the placement position of a currently placed object when the joint optimization of the fit degree and placement height of the currently placed object is used as the optimization goal in one embodiment of the present application.
[0031] Fig.16 Shown is a schematic diagram of comparing the remaining height with the currently placed objects in one embodiment of the present application.
[0032] Fig.17 It is a schematic diagram showing how to increase the volume height of the building volume in one embodiment of the present application.
[0033] Fig.18 It is a schematic diagram showing lowering the volume height of the building volume in one embodiment of the present application.
[0034] Fig.19 Shown is a schematic diagram of completing the placement of the divider and the remaining 3D model in the build volume in one embodiment of the present application.
[0035] Fig. 20 Shown is a module block diagram of a 3D model placement system in one embodiment of the present application.
[0036] Fig.21 Shown is a schematic diagram of the structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION
[0037] The following is an explanation of the implementation of the present application by means of specific embodiments. People familiar with the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification.
[0038] In the following description, reference is made to the accompanying drawings, which describe several embodiments of the present application. It should be understood that other embodiments may also be used, and that changes in module or unit composition, electrical and operational aspects may be made without departing from the spirit and scope of the present disclosure. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present application is limited only by the claims of the published patents. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0039] As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless there is an indication to the contrary in the context. It should be further understood that the terms "comprise", "include" indicate the presence of the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition will only occur when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way.
[0040] In view of the technical problems mentioned in the background technology, the present application discloses a 3D model placement method, a 3D printing method, a 3D model placement system, a computer device, a computer-readable storage medium and a computer program product. By placing a plurality of predetermined 3D models and encapsulating them in a separator, after subsequent printing is completed, the 3D objects corresponding to the plurality of 3D models can be concentrated in the separator, making them easy to find and avoiding loss.
[0041] In order to more prominently emphasize the independence of the operation of the functional units, many of the functional units described in this specification have been labeled as modules. For example, a module can be implemented as a hardware circuit, which includes a custom VLSI circuit, a gate array, or an off-the-shelf semiconductor (such as a logic chip, transistor, or other discrete component). A module can also be implemented in a programmable hardware device, such as a field programmable gate array, programmable array logic, a programmable logic device, or the like.
[0042] Modules may also be implemented in software run by different types of processors. For example, a module of executable code may include one or more physical or logical blocks of computer instructions organized as objects, programs, or functions. However, the executable files of a module need not be physically located together, but may include different commands stored in different locations that, when logically connected together, comprise the module and achieve the specified goals of the module.
[0043] Of course, the module of executable code can be one or many instructions, and can even be distributed in several different code segments, distributed in different programs and distributed in multiple storage devices. Similarly, operation data can be identified and shown in the module, and the operation data can be embodied in any suitable form and organized in any suitable type of data structure. The operation data can be collected as a single data set, or can be distributed in different locations (including different storage devices), and can exist at least partially as electrical signals in a system or network. When a module or a portion of a module is implemented in software, the software portion is stored on one or more computer-readable media.
[0044] In some embodiments, the present application provides a 3D model placement method, which can be executed by a computer device equipped with a 3D model placement system. The 3D model placement system is a software tool or software module that can process data, and it executes the 3D model placement method with the help of the operating environment provided by the hardware device and / or operating system in the computer device.
[0045] In one embodiment, the computer device can be configured as an electronic device, that is, the 3D model placement method is executed by the electronic device. For example, the electronic device includes desktop computers, laptops, tablet computers, smart TVs, smart phones, tablets, industrial computers and other devices. The electronic device can also be an electronic device composed of a host with multiple virtual machines and a human-computer interaction device corresponding to each virtual machine (such as a touch screen, keyboard and mouse).
[0046] In one embodiment, the computer device may be configured as a server, that is, the 3D model placement method is executed by the server. The server may be arranged on one or more physical servers according to various factors such as function and load. In some examples, the server may be a server based on a cloud architecture, and the server refers to a cloud computing platform provided by a cloud computing provider, and the cloud computing platform can provide services such as IaaS (Infrastructureas-a-Service), PaaS (Platform-as-a-Service), and SaaS (Software-as-a-Service). Among them, the cloud computing platform includes a public cloud (Public Cloud), a private cloud (Private Cloud), and a hybrid cloud (Hybrid Cloud). In some examples, the server may be composed of a distributed or centralized server cluster. For example, the server cluster is composed of at least one physical server. Multiple virtual servers are configured in each physical server, each virtual server runs at least one functional module in the system, and each virtual server communicates through a network.
[0047] See also Figure 1 , which is a flow chart of a 3D model placement method in an embodiment of the present application. As shown in the figure, the 3D model placement method includes step S510 and step S520. The following takes the 3D model placement method executed by a computer device as an example to illustrate various embodiments.
[0048] It should be noted that, in order to facilitate data processing of the 3D model and the construction volume, before step S510, the computer device voxelizes the 3D model and the construction volume. In other words, the 3D model and the construction volume operated in the subsequent steps are respectively composed of multiple voxels, each voxel corresponds to a basic unit, and the basic unit is, for example, a cube that fills the space of the 3D model or the construction volume.
[0049] The building volume refers to the space volume used to place 3D models, which needs to be compatible with the shape and size of the printing platform of the 3D printing device to ensure that all 3D models placed in the building volume can be manufactured within the printing platform. Figure 2, which is a schematic diagram of the structure of the building volume in one embodiment of the present application. As shown in the figure, the building volume 30 has a predefined bottom surface A on the XY plane and a volume height H in the Z direction. The shape and size of the building volume 30 being adapted to the shape and size of the printing platform may refer to the shape and size of the predefined bottom surface A being adapted to the shape and size of the printing platform. Among them, the adaptation only needs to ensure that the predefined bottom surface A can be included in the printing platform (for example, the printing surface of the printing platform), so that the 3D model arranged in the building volume 30 can be manufactured within the printing platform, and it is not required that the shape and size of the predefined bottom surface A of the building volume must be consistent or inconsistent with the shape and size of the printing platform. Figure 2 The figure is illustrated by taking the predefined bottom surface A as a quadrilateral as an example. In other examples, the predefined bottom surface A may also be configured as a circle, an ellipse, a triangle, a pentagon or a more polygonal shape, an irregular shape, etc.
[0050] In some embodiments, for example, in the subsequent embodiment in which the optimization target in step S520 is configured as the joint optimality of the fit of the current placed object and the layer area distribution of the build volume, the build volume may have a preset volume height, that is, before the placement is performed, the volume height of the build volume is configured as a preset value (for example Figure 2 The volume height H of the build volume 30 shown is configured as a preset value), and the 3D models are placed in the build volume at the preset volume height in sequence. In some examples, the preset volume height is a fixed value stored in advance. In some examples, the preset height is determined by simulating the placement of all 3D models to be placed in sequence. Among them, the simulated placement process can, for example, adopt the process of placing 3D models in an embodiment in which the optimization target in step S520 is configured as the best combination of the fit and placement height of the current placed object. For details, please refer to the relevant embodiments of step S520, which will not be repeated here.
[0051] In some embodiments, such as the subsequent embodiment in which the optimization target in step S520 is configured as the joint optimality of the fit and placement height of the current placed object, the volume height of the construction volume is variable before all 3D models are placed, and its initial volume height can be configured as 0, that is, before the first 3D model to be placed is placed, the volume height can be configured as 0. In the process of executing steps S510 and S520 to place all 3D models to be placed, the volume height will be updated each time according to the height of the 3D model.
[0052] Considering that non-processing areas may be set on the printing platform, for example, the edges or corners of the printing platform where the energy radiation mechanism or energy radiation system cannot reach or has poor irradiation effect, it is not expected to perform printing work at these locations. And some specific 3D model users want to print at specific locations on the printing platform. For example, users want to place the 3D model corresponding to the part with high precision requirements in the central area of the printing platform for printing. In some embodiments, the 3D model placement method proposed in the present application also includes a step of presetting a non-placement area in the build volume before step S510, and the non-placement area is configured as any one or both of a reserved non-processing area and a designated model placement position. Please refer to Figure 3 , which is a schematic diagram of the structure of the building volume of the preset non-placement area in one embodiment of the present application. As shown in the figure, the non-placement area 300 is preset in the building volume 30, and the non-placement area 300 pre-occupies part of the space volume inside the building volume 30 in a filling manner. When executing subsequent steps, the non-placement area 300 is no longer used as a location for placing the 3D model.
[0053] like Figure 1 As shown, in step S510, the computer device sequentially places a plurality of predetermined 3D models in a preset sub-volume in the build volume, so as to encapsulate the plurality of 3D models that have been placed in a separator. In other words, in the 3D model placement method provided in the present application, by placing a plurality of predetermined 3D models and encapsulating them in a separator, after subsequent printing is completed, the 3D objects corresponding to the plurality of 3D models can be concentrated in the separator, so that they are easy to find and will not be lost.
[0054] In one embodiment, the predetermined multiple 3D models are configured as multiple 3D models that need to be placed together and packaged together among all the 3D models to be placed. Among them, all the 3D models to be placed include all the 3D models that need to be placed in the building volume, and all the 3D models to be placed can be pre-stored in a model library. Figure 4 , which is a schematic diagram of a plurality of predetermined 3D models in an embodiment of the present application, wherein a plurality of predetermined 3D models are displayed in a building volume 30, and these 3D models will be arranged and packaged in step S510. It should be noted that Figure 4 The plurality of predetermined 3D models are merely shown for exemplary purposes; these 3D models are not necessarily located in the building volume 30 before being placed.
[0055] For example, the predetermined multiple 3D models may be 3D models whose volume values are below a first threshold value among all 3D models to be placed, and the first threshold value may be set by the user or pre-stored on the computer device. The predetermined multiple 3D models may also be determined based on the user's selection. For example, the computer device may display relevant information of all 3D models to be placed, and the relevant information includes at least one information such as the volume value and size of the 3D model. The user may select a 3D model through an input device (such as a mouse or keyboard) based on the relevant information, and the selected 3D model is the predetermined multiple 3D models.
[0056] In the above exemplary illustration, the volume value of the 3D model refers to the actual volume value of the 3D model, that is, the volume value of the space occupied by the 3D model. The size configuration of the 3D model is the length, width and height corresponding to the bounding box of the 3D model. Figure 5 , which is a schematic diagram of the structure of the bounding box of the 3D model in one embodiment of the present application. The bounding box 20 of the 3D model 10 adopts a bounding box whose axis is parallel to the coordinate axis XYZ of the construction volume (this type of bounding box is also called a bounding box AABB). The size of the 3D model 10 corresponds to the size of the bounding box 20, and further corresponds to the length, width and height of the bounding box 20. It should be noted that the bounding box of the 3D model involved in the subsequent steps of the 3D model placement method of the present application can also be understood in this way, and will not be repeated unless otherwise specified.
[0057] In one embodiment, step S510 includes the step of configuring the preset sub-volume in the building volume. Figure 6 , which is a schematic diagram of configuring a preset sub-volume in a build volume in one embodiment of the present application. In the figure, the preset sub-volume B configured in the build volume 30 is indicated by a dotted line, which does not mean that the preset sub-volume B will be visually divided in the build volume 30 in an actual application. Given that the volume height of the build volume in the initial state in different embodiments may be zero, a preset value, etc., therefore, configuring the preset sub-volume in the build volume only requires ensuring that the projection of the preset sub-volume on the XY plane of the build volume can be included in the bottom surface of the build volume, and does not necessarily require Figure 6 The predefined subvolume B is shown as being enclosed by the build volume 30 .
[0058] For example, the preset sub-volume B can be determined based on the total volume of a plurality of predetermined 3D models and a preset placement density. The total volume of the plurality of predetermined 3D models refers to the sum of the actual volume values of the determined 3D models, and the preset placement density refers to the total volume of the plurality of 3D models divided by the volume of the area occupied by the plurality of 3D models in the construction volume, which is preset. Therefore, the size of the preset sub-volume can be determined by the total volume of the plurality of 3D models and the preset placement density. The preset placement density can be configured to any value between 10% and 15%, for example, it can be configured to be approximately 10%, 11%, 12%, 13%, 14%, or 15%.
[0059] Further, step S510 includes a step of cyclically executing the step of determining the placement position of the 3D model to be placed in the preset sub-volume for placement, until the placement of the predetermined multiple 3D models is completed. The 3D model to be placed this time is the 3D model that needs to be placed this time among the predetermined multiple 3D models. Figures 7 to 11 An embodiment of the step of determining the placement position of the 3D model to be placed in the preset sub-volume for placement is described.
[0060] See also Figure 7 , which is a schematic diagram of a process for determining the placement position of the 3D model placed this time in a preset sub-volume in one embodiment of the present application. As shown in the figure, determining the placement position of the 3D model placed this time in the preset sub-volume includes step S511 and step S512.
[0061] In step S511, the computer device determines a non-collision position in the preset sub-volume that makes the fit of the 3D model placed this time optimal. In other words, step S511 needs to determine all non-collision positions of the 3D model placed this time in the preset sub-volume, and determine a non-collision position from all the non-collision positions, and the non-collision position can make the fit of the 3D model placed this time optimal when it is at this position.
[0062] The non-collision position described in this embodiment and any subsequent embodiments of step S510 and step S520 refers to a position that enables the 3D model to be completely placed in the build volume or the preset sub-volume and does not collide with the existing set of objects in the build volume or the preset sub-volume. The existing set of objects in the build volume or the preset sub-volume refers to all objects currently existing in the build volume or the preset sub-volume, which may include the currently placed 3D model, and may further include a preset non-placement area.
[0063] As described in some of the previous embodiments, before step S510, the 3D model and the built volume are voxelized respectively, and the preset subvolume is a spatial region in the built volume. In other words, the operations based on the 3D model and the preset subvolume in each step included in step S510 (such as step S511 and step S512) can be performed based on the voxelized grids corresponding to the 3D model, the preset subvolume, and the built volume, respectively. The following description of some embodiments of step S510 (such as embodiments including step S511 and step S512) respectively represents the 3D model, the preset subvolume, and the built volume as voxelized grids, which should not be understood by those skilled in the art as a limitation on the 3D model, the preset subvolume, and the built volume.
[0064] Step S511 is configured to include a step of placing and searching the currently placed 3D model in a preset sub-volume to determine all collision-free positions of the currently placed 3D model. For example, a brute force method may be used to calculate the collision degree at each position in the voxelized grid corresponding to the preset sub-volume, or a deep learning method may be used to train a neural network for determination, or a No-Fit Polygon (NFP, also known as a non-fitting polygon or critical polygon) method may be used for determination.
[0065] In order to reduce the computational complexity and improve the computational speed, in one embodiment, the placement search is implemented by performing a convolution calculation on the currently placed 3D model and a preset sub-volume. Figure 8 , which is a schematic diagram showing the placement search of the 3D model placed this time in a preset sub-volume in one embodiment of the present application. As shown in the figure, the 3D model G10 placed this time and the preset sub-volume B10 are both divided into voxels, which are represented by voxelized grids, and one grid represents one voxel. In the figure, the 3D model G10 placed this time is illustrated with the help of the voxelized grid corresponding to its bounding box. The unfilled grid (or voxel) in the bounding box indicates that the 3D model G10 placed this time does not occupy the voxel of the bounding box, and the grid filled with 1 indicates that the 3D model G10 placed this time occupies the voxel of the bounding box. In view of the fact that this step only involves the preset sub-volume B10 in the construction volume 30, only part of the preset sub-volume B10 in the construction volume 30 is illustrated in the figure with a voxelized grid. The unfilled grid in the preset sub-volume B10 indicates that the voxel is not occupied by an object and is a valid space. The grid filled with 1 indicates that the voxel is occupied by an object.
[0066] exist Figure 8The 3D model G10 placed this time is convolved with the preset sub-volume B10 to convolve the voxelized grid corresponding to the bounding box of the 3D model G10 placed this time and the voxelized grid corresponding to the preset sub-volume B10. All collision-free positions can be determined according to the convolution calculation results. Specifically, Figure 8 The hollow voxels (i.e., the corresponding unfilled grids) are assigned a value of 0, and the occupied voxels (i.e., the corresponding grids filled with 1) are assigned a value of 1. The voxelized grid corresponding to the bounding box of the 3D model G10 placed this time is used as the convolution kernel, and the step size is set to one grid. The convolution calculation of the 3D model G10 placed this time and the preset subvolume B10 is performed, and the convolution result is filled in the corresponding position of the preset subvolume. Figure 8 The preset subvolume with the convolution result is marked as preset subvolume B11. The convolution result in the preset subvolume B11 reflects the collision situation of the 3D model G10 placed this time at various positions in the preset subvolume. The grids filled with non-zero numbers are the locations where collision occurs, the grids with the result of N are the grids without calculation results, which are also the locations where collision occurs, and the grids with the result of 0 are the locations without collision.
[0067] It should be noted here that the position where the 3D model is placed in the aforementioned or subsequent embodiments involving voxels uses the position occupied by the voxel whose bounding box is closest to the coordinate origin of the build volume in its placement posture as a benchmark or reference. That is, the various positions where the 3D model is placed in the build volume or the preset sub-volume use the position of the voxel corresponding to the lower left corner of the bounding box of the 3D model (the voxel of the bounding box is closest to the coordinate origin) in the build volume or the preset sub-volume as a benchmark (or reference). Therefore, the various positions in the build volume described above or subsequently refer to the positions where the voxels corresponding to the lower left corner of the bounding box of the 3D model are placed. In the calculation of the collision-free position, fit, placement height, and layer area distribution, the calculation results are also filled in the position that the voxel in the lower left corner of the bounding box of the 3D model should occupy. Figure 8 As shown in the figure, the grid filled with 0 in the second row and second column of the preset sub-volume B11 (based on the grid in the lower left corner as the first row and first column) represents a non-collision position, which means that the 3D model G10 placed this time is in Figure 8 The position where the voxel corresponding to the lower left corner of its bounding box should be placed in the posture in this way without causing collision.
[0068] It should be understood that Figure 8 For the convenience of description and display, a two-dimensional view is used for schematic illustration. Inspired by the description of this application, a person skilled in the art can expand the three-dimensional view based on the description of the two-dimensional view by simply corresponding each grid to a cube.
[0069] Step S511 is configured to further include the steps of determining the fit of the 3D model placed this time at each position of the preset subvolume based on the distance field of the preset subvolume, and selecting the minimum value of the fit at the non-collision position as the non-collision position with the best fit. The fit of the 3D model described in this embodiment and any related embodiment of the subsequent steps S510 and S520 refers to the degree of closeness (also referred to as fit, proximity) between the 3D model and the surrounding existing objects when it is placed at a certain position in the construction volume or the preset subvolume.
[0070] Among them, the distance field of the preset subvolume is used to indicate the shortest distance from each position in the preset subvolume to the object placed therein. In one embodiment, the distance field of the preset subvolume is configured as the distance field obtained when the previous 3D model is placed in the preset subvolume, and the distance field will be determined later when the 3D model placed this time is placed in the preset subvolume. Those skilled in the art can understand the distance field obtained when the previous 3D model is placed in the preset subvolume based on the embodiment of determining the distance field when the 3D model placed this time is placed in the preset subvolume, and no further description is given here.
[0071] See also Fig. 9 , which is a schematic diagram showing how to determine the fit of the 3D model currently placed at various positions of the preset sub-volume in one embodiment of the present application, wherein the 3D model currently placed G10 is Figure 8 The exact same Fig. 9 The preset subvolume B20 in Figure 8 The same is divided into voxels, except that the number filled in each grid is used to represent the distance field of the preset subvolume B20. In the preset subvolume B20, the number filled in each grid is specifically the distance field between the grid and the nearest occupied grid (corresponding to Figure 8 The distance is measured by Manhattan distance. For example, Fig. 9 The grid fill value of the upper right corner of the preset subvolume B20 is 3 because the occupied grid closest to this grid corresponds to Figure 8 The Manhattan distance between the grid in the third row and fourth column (with the lower left corner as the first row and first column as the basis) is the distance of 3 grids.
[0072] exist Fig. 9The convolution calculation of the distance field of the currently placed 3D model G10 and the preset sub-volume B20 can determine the fit of the currently placed 3D model G10 at each position in the preset sub-volume B20. Specifically, the voxelized grid corresponding to the currently placed 3D model G10 is used as the convolution kernel, and the step length is set to one grid. The convolution calculation of the currently placed 3D model G10 and the distance field of the preset sub-volume B20 is performed, and the convolution result is filled in the corresponding position of the preset sub-volume. Fig. 9 The preset subvolume in which the convolution result is presented is identified as the preset subvolume B21. The convolution result presented in the preset subvolume B21 reflects or can be regarded as the fit of the 3D model G10 placed this time at each position in the preset subvolume B21. The grid is filled with N to indicate that there is no calculation result. The size of the number filled in each grid indicates the degree of fit of the 3D model G10 placed this time at the position of the grid. The smaller the filled number, the higher the fit at that position (which can be understood as tighter or closer to the surrounding objects), and the larger the filled number, the smaller the fit at that position (which can be understood as looser or farther from the surrounding objects).
[0073] It should be understood that Figure 8 Similarly, Fig. 9 The two-dimensional view is also used for schematic illustration. Inspired by the description of this application, a person skilled in the art can expand the three-dimensional view based on the description of the two-dimensional view by simply corresponding each grid to a cube.
[0074] Furthermore, the computer device selects the fit degree corresponding to the non-collision position, and then selects the minimum value as the non-collision position with the best fit degree. Figure 8 and Fig. 9 , Figure 8 The preset subvolume B11 in Fig. 9 The voxelized grids of the preset subvolume B21 in the preset subvolume B21 correspond one to one. The computer device can find the portion of the grid filled with 0 (indicating a non-collision position) in the preset subvolume B11 in the preset subvolume B21. For the convenience of illustration and description, Fig. 9 In the grid filled with gray, the grid with the smallest combined value is selected as the collision-free position with the best fit among the grids filled with gray, that is, Fig. 9 The medium gray portion is filled with a grid of 3, in an embodiment where there are multiple collision-free positions with the best fit, for example Fig. 9 If there are two grids with gray parts filled with 3, one of them can be randomly selected or selected according to the preset selection rules as the collision-free position with the best fit.
[0075] In order to obtain a better placement effect, in some embodiments, step S511 includes rotating the currently placed 3D model in a preset set of directions, so as to determine a collision-free position in the preset sub-volume that makes the currently placed 3D model fit best based on the currently placed 3D model in each rotation direction.
[0076] In one embodiment, the preset set of directions may include a plurality of rotation directions with a central axis parallel to the X-axis, Y-axis, or Z-axis of the build volume as the rotation axis. The plurality of rotation directions may be, for example, 2, 4, 6, 8, 12, or 24 rotation directions. Among them, 2 rotation directions correspond to 180° rotation each time, 4 rotation directions correspond to 90° rotation each time, 6 rotation directions correspond to 60° rotation each time, 8 rotation directions correspond to 45° rotation each time, 12 rotation directions correspond to 30° rotation each time, and 24 rotation directions correspond to 15° rotation each time. The above selection of the rotation axis and the number of rotation directions are only examples and should not be construed as limitations on the present application.
[0077] Take the two rotation directions with the central axis of the Z axis as an example, rotate the 3D model placed this time 180° around the central axis on the Z axis. In this state, execute the following Figures 7 to 9 The various embodiment steps included in step S510 described in the related description can obtain the collision-free position with the best fit in the first rotation direction. Continue to rotate the 3D model placed this time around the central axis on the Z axis by 180°. In this state, execute the following steps: Figures 7 to 9 The various embodiment steps included in step S510 described in related descriptions can obtain the collision-free position with the best fit in the second rotation direction. It should be noted that the collision-free position with the best fit for the 3D models placed in each rotation direction can be determined in parallel or in series, and this application does not limit this.
[0078] Please continue reading Figure 7 After step S511, the computer device executes step S512, that is, the step of determining the placement position of the 3D model placed this time based on the collision-free position with the best fit so as to place the 3D model placed this time in the preset sub-volume.
[0079] According to the embodiment of determining the collision-free position with the best fit in the aforementioned step S511, the collision-free position with the best fit is associated with the posture of the 3D model placed this time. Therefore, after determining the placement position of the 3D model placed this time based on the collision-free position with the best fit in step S512, that is, determining the posture of the 3D model placed this time in the preset sub-volume.
[0080] Taking the embodiment in which the 3D model placed this time does not need to be rotated in a preset set of directions as an example, step S511 can only determine a collision-free position with the best fit, and step S512 uses the collision-free position with the best fit as the placement position. The 3D model placed this time is placed in the preset sub-volume in the state calculated in step S511 (also called the rotation-free state or the current state). Please refer to Fig.10 , which is a schematic diagram showing how the 3D model placed this time is placed into a preset sub-volume in one embodiment of the present application, Fig.10 Lieutenant General Fig. 9 The position corresponding to the grid with a fit of 3 in the second row and second column is taken as the collision-free position with the best fit, and the 3D model G10 placed this time is kept at this position. Fig.10 The posture shown in is placed into the preset sub-volume B10.
[0081] Taking the embodiment of rotating the 3D model currently placed in a preset set of directions as an example, the collision-free position with the best fit in each rotation direction can be determined in step S511, and the position corresponding to the minimum value will be further selected from the collision-free positions with the best fit in each rotation direction as the placement position in step S512, and the 3D model currently placed will be placed in the preset sub-volume in the posture in the rotation direction corresponding to the minimum value. For example, the collision-free position with the best fit with the smallest value in the rotation direction rotated 180° with the central axis parallel to the Z axis of the preset sub-volume as the rotation axis will be used as the placement position, and the 3D model currently placed will be placed in the preset sub-volume in the posture after the 180° rotation as the posture in the rotation direction.
[0082] Furthermore, step S512 also includes the step of updating the effective space and distance field of the preset subvolume when placing the currently placed 3D model in the preset subvolume. The effective space refers to the space not occupied by objects, for example Fig.10 The unfilled grid in the preset subvolume B10 is a valid space.
[0083] In one embodiment, if Fig.10 As shown in FIG. 1 , when the 3D model G10 placed this time is placed in the preset sub-volume B10, the effective space of the preset sub-volume B10 is updated. Specifically, when the 3D model G10 placed this time is placed in the preset sub-volume B10, the grid occupied by the 3D model G10 placed this time is filled with 1, as shown in FIG. Fig.10 The preset sub-volume B12 of the effective space is updated as shown in FIG.
[0084] In one embodiment, the computer device updates the distance field according to the effective space after the preset sub-volume is updated. Further, in order to reduce the amount of calculation, the updating of the distance field includes the steps of determining the update range and updating the distance field for the update range. Specifically, the updating range may be determined by taking the bounding box of the 3D model placed this time as the center in the preset sub-volume and extending at least to the middle position of the bounding box from the boundary of the preset sub-volume as the update range. Updating the distance field for the update range includes performing a distance field update in each diagonal direction of the bounding box of the 3D model placed this time from the starting angle of the diagonal direction to the boundary of the update range as the end point. Among them, the center position of the bounding box from the boundary of the preset sub-volume includes the center position of each surface of the bounding box from the boundary of the preset sub-volume. In this way, when the distance field is updated each time, it is equivalent to updating only the area affected by the 3D model placed this time. For the area far away from the 3D model placed this time, since the distance field will not be affected, it does not need to be updated, which can reduce the amount of calculation and greatly improve the placement rate.
[0085] It should be noted that the middle position of the bounding box of the 3D model from the boundary of the preset subvolume does not absolutely point to the center line position of the bounding box of the 3D model from the boundary of the preset subvolume. When the center line position is between two rows or columns of voxels, the center line position is used as the middle position. When the center line position occupies a row or a column of voxels, the center line is moved outward to a position covering the row or the column of voxels as the middle position. In other words, when the bounding box of the 3D model is away from the boundary of the preset subvolume by an even number of rows or columns of voxels, the update is from the bounding box of the 3D model as the starting point to 1 / 2 of the even number of rows or columns. When the bounding box of the 3D model is away from the boundary of the preset subvolume by an odd number of rows or columns of voxels, the update is from the bounding box of the 3D model as the starting point, and 1 / 2 of the odd number of rows or columns is rounded up as the end point. Of course, in other examples, when the center line position occupies a row or a column of voxels, the center line can also be moved inward to a position not covering the row or the column of voxels as the middle position, and this application does not limit this.
[0086] See also Fig.11 , which is a schematic diagram showing updating the distance field of a preset sub-volume in one embodiment of the present application, wherein the preset sub-volume B20 is Fig. 9 The filled numbers shown in FIG. 1 represent a preset subvolume B20 of the distance field. Fig.10 When the 3D model G10 is placed in the placement position, its bounding box occupies Fig.11 The gray grid is filled in. First, determine the update range. Fig.11In the example, the distance between the bounding box and the boundary of the preset subvolume B20 is two grid rows from the upper boundary of the upper surface, one grid row from the lower boundary of the lower surface, one grid row from the left boundary of the left surface, and two grid rows from the right boundary of the right surface. Therefore, the middle position of the bounding box from the preset subvolume B20 is one grid row upward from the upper surface of the bounding box, one grid row downward from the lower surface, one grid row to the left of the left surface, and one grid row to the right of the right surface. That is, the update range is Fig.11 The area framed by the bold lines in the figure includes the grids occupied by the bounding box in the preset subvolume B20, as well as a row of grids above, a row of grids below, a column of grids to the left, and a column of grids to the right of the bounding box.
[0087] Updates to the distance field only update Fig.11 The update range in the bounding box (corresponding to the reference Fig.11 In each diagonal direction of the grid filled with gray in the figure, the distance field is updated in different regions from the starting angle of the diagonal direction to the boundary of the update range. In other words, the update range is updated in different regions, and each region is updated from the starting angle of the diagonal direction to the boundary of the update range. Fig.11 As shown, the four corners of the bounding box are marked as the first corner C, the second corner D, the third corner E, and the fourth corner F, respectively. They have four diagonal directions, namely the first diagonal direction (i.e., the direction from C to E), the second diagonal direction (i.e., the direction from D to F), the third diagonal direction (i.e., the direction from E to C), and the fourth diagonal direction (i.e., the direction from F to D). The distance field update of each region includes: Fig.11 The first area L1, the second area L2, the third area L3, and the fourth area L4 are updated. The first area L1 is to update the distance field in accordance with the direction of the dotted arrow in the first area L1 with the first corner C as the starting point and the boundary of the update range as the end point. The update of the second area L2 is to update the distance field in accordance with the direction of the dotted arrow in the second area L2 with the second corner D as the starting point and the boundary of the update range as the end point. The update of the third area L3 is to update the distance field in accordance with the direction of the dotted arrow in the third area L3 with the third corner E as the starting point and the boundary of the update range as the end point. The update of the fourth area L4 is to update the distance field in accordance with the direction of the dotted arrow in the fourth area L4 with the fourth corner F as the starting point and the boundary of the update range as the end point. After updating the four areas, the final updated distance field can be obtained by merging them, which is presented in the preset sub-volume B22. The grid filled with gray in the preset sub-volume B22 is the part updated in this placement.
[0088] It should be understood that in order to increase speed, Fig.11The update process of the four regions can be performed in parallel, and of course it can be performed serially in other examples, and this application does not limit this. When the results of the update of the four regions are merged, due to different update directions, different values will appear in the same grid in some examples. In this example, the smaller value is taken as the fill value after merging.
[0089] in addition, Fig.11 The example is explained in two-dimensional perspective. In practice, the bounding box is configured as a cuboid. It is only necessary to update the distance field of 8 areas in the eight diagonal directions corresponding to the four diagonal lines of the cuboid, starting from the starting angle of the diagonal direction to the boundary of the update range. Fig.11 The eight regions are three-dimensional regions. Fig.11 The description of the two-dimensional perspective in the figure can be used to expand the three-dimensional view based on the two-dimensional view, which will not be repeated here.
[0090] Through Figures 7 to 11 The process described in any of the embodiments described in the related descriptions can complete the placement of the 3D model placed this time. In step S510, the following steps are executed in a loop: Figures 7 to 11 Any of the embodiments described in related thereto can sequentially place a plurality of predetermined 3D models.
[0091] Since the preset sub-volume may not be able to accommodate the predetermined multiple 3D models, in one embodiment, the following steps are performed in a loop: Figures 7 to 11 In the process of any embodiment described in the related description, the step of expanding the preset sub-volume is also included when it is determined that the 3D model placed this time has no placement position in the preset sub-volume. It should be understood that after the preset sub-volume is expanded, the steps of continuing to execute the following loop are performed. Figures 7 to 11 The preset sub-volume in any embodiment described in the related description thereof needs to be configured as an expanded preset sub-volume, but the specific execution process remains unchanged until the placement of the predetermined multiple 3D models is completed.
[0092] Further, in order to avoid frequently expanding the preset sub-volume, in one embodiment, expanding the preset sub-volume includes expanding the length, width, and height of the preset sub-volume by any value of 1.5 to 2 times. In other words, the length, width, and height of the expanded preset sub-volume become any value of 1.5 to 2 times of the original. For example, it can be configured to be approximately 1.5 times, 1.6 times, 1.7 times, 1.8 times, 1.9 times, and 2 times, preferably, configured to be 2 times.
[0093] In one embodiment, only one expansion operation may still result in a situation where there is no placement position. Therefore, the step of expanding the preset sub-volume may be performed multiple times until the preset sub-volume can no longer be expanded in the construction volume.
[0094] After the predetermined multiple 3D models are placed, step S510 further includes encapsulating the placed multiple 3D models in a separator. Fig.12 , which is a schematic diagram showing how to encapsulate multiple 3D models in a separator in one embodiment of the present application. As shown in the figure, the multiple 3D models are arranged as follows Fig.12 As shown in (a), encapsulating these 3D models in the separator K can be, for example, configuring the separator K that can surround these 3D models on the periphery. For example, the separator K is configured to be formed along the outer boundary of the preset sub-volume after the placement is completed, which can be as follows: Fig.12 The configuration shown in (b) is a rectangular sintering box. In order to facilitate disassembly after printing, the rectangular sintering box is further configured as a mesh sintering box. It is only necessary to ensure that the size of the mesh structure is adapted to the size of the 3D model encapsulated therein to prevent the corresponding 3D object from falling off from the mesh structure after printing.
[0095] Please continue reading Figure 1 In step S520, the computer device sequentially determines the placement positions of the separator and the remaining 3D models in the building volume based on the optimization target, so as to sequentially place the separator and the remaining 3D models in the building volume. Among all the 3D models to be placed, after removing the predetermined multiple 3D models described in step S510, the remaining ones are the remaining 3D models described in this embodiment.
[0096] In one embodiment, the step S520 includes the steps of determining the current object from the separator and the remaining 3D models, and determining the placement position of the current object in the construction volume based on the optimization target to place the current object in a loop until the placement of the separator and the remaining 3D models is completed. In this embodiment, the current object is the object selected from the separator and the remaining 3D models to be placed this time, and the separator is the separator described in step S510, which has multiple 3D models placed in advance. In other words, although the preset sub-volume is configured in the construction volume in step S510, it is only for the purpose of completing the placement and packaging of multiple 3D models that are predetermined. Before the placement in step S520, the construction volume is deemed to have not yet placed the separator, and step S520 will place the separator together with the multiple 3D models encapsulated therein as a whole (this whole can be regarded as a 3D model) and the remaining 3D models in sequence.
[0097] In one embodiment, the step of determining the current object includes selecting one of the separator and the remaining 3D models as the current object based on a selection rule. In some examples, the selection rule is configured to select from high to low according to the volume of the bounding box of the separator and the remaining 3D model. In other examples, the selection rule is configured to select from high to low according to the product value of the volume and height of the bounding box of the separator and the remaining 3D model. The selection rule exemplified above is only an example. In other examples, it can also be configured as random selection or other rule selection to determine the current object. The present application does not limit the selection method.
[0098] It should be noted that, in view of the different bounding box volumes of the separator or 3D model in different postures, in some embodiments, the bounding box based on the volume of the bounding box of the separator and the remaining 3D model or the product of the volume and the height from high to low is the bounding box with the minimum height in all postures of the separator and the remaining 3D model. All postures include the postures of the separator and the remaining 3D model under one or more rotations, and the bounding box with the minimum height is selected from the bounding boxes corresponding to each posture for volume calculation.
[0099] After the current object is determined, a step of determining the placement position of the current object in the build volume based on the optimization target to place the current object is further performed. For example, the optimization target can be configured as the best fit of the current object, the best fit of the current object and the layer area distribution of the build volume, or the best fit of the current object and the placement height.
[0100] In the embodiment where the optimization target is configured to achieve the best fit of the currently placed object, the step of determining the placement position of the currently placed object in the construction volume based on the optimization target to place the currently placed object includes: determining a collision-free position in the construction volume that achieves the best fit of the currently placed object, and determining the placement position of the currently placed object based on the collision-free position with the best fit to place the currently placed object in the construction volume. In some examples, the above steps may adopt an embodiment similar to the one in step S510 in which the placement position of the 3D model of this placement in the preset subvolume is determined. It is only necessary to replace the 3D model of this placement in step S510 with the currently placed object, and replace the preset subvolume with the construction volume. For the specific process, please refer to the embodiment for Figures 7 to 11 Any embodiments described in related manner will not be elaborated here.
[0101] The following is an example of how to determine the current placement position to place the current object in an embodiment where the optimization target is configured as the joint optimality of the fit of the current object and the layer area distribution of the build volume.
[0102] See also Fig.13 , which is a schematic diagram of a process for determining the placement position of the current object when the joint optimization of the fit of the current object and the layer area distribution of the build volume is used as the optimization target in one embodiment of the present application. As shown in the figure, the step of determining the placement position of the current object in the build volume based on the optimization target to place the current object includes step S310 and step S320.
[0103] In step S310, the computer device determines in the build volume a collision-free position that makes the layer area distribution of the build volume and the fit of the current object jointly optimal. In other words, step S310 needs to determine all collision-free positions of the current object in the build volume, and determine a collision-free position from all collision-free positions, and the collision-free position can make the layer area distribution of the build volume and the fit of the current object jointly optimal when the current object is at the position.
[0104] In one embodiment, step S310 includes the step of placing and searching the currently placed object in the construction volume to determine all collision-free positions. In some examples, the above-mentioned step of placing and searching to determine all collision-free positions can be performed in a similar manner to the step of placing and searching the currently placed 3D model in the preset subvolume to determine all collision-free positions of the currently placed 3D model included in the aforementioned step S511, and it is only necessary to replace the currently placed 3D model in step S511 with the currently placed object and replace the preset subvolume with the construction volume. For details, please refer to the embodiments provided for the relevant steps of step S511 and the embodiments for Figure 8 The relevant description is not repeated here.
[0105] In one embodiment, step S310 further includes the step of determining the degree of fit of the currently placed object at various positions in the built volume based on the distance field of the built volume. In some examples, the above-mentioned step of determining the degree of fit can be similar to the method of determining the degree of fit of the currently placed 3D model at various positions in the preset subvolume based on the distance field of the preset subvolume included in the aforementioned step S511. It is only necessary to replace the currently placed 3D model in step S511 with the currently placed object, and replace the distance field of the preset subvolume with the distance field of the built volume. For details, please refer to the embodiments provided for the relevant steps of step S511 and the embodiments for Fig. 9 The relevant description is not repeated here.
[0106] In one embodiment, step S310 further includes the step of determining the layer area distribution of the construction volume when the current object is in each of the collision-free positions and combining it with the fit degree accordingly to obtain a combination value in each collision-free position.
[0107] Among them, the layer area distribution of the build volume refers to the distribution of the occupied areas of each layer in the build volume. The layer area distribution of the build volume when the current placed object is in each collision-free position can be understood as the layer area distribution of the corresponding build volume when the current placed object is placed in each collision-free position in the build volume. In one embodiment, each layer refers to each layer in the height direction. For example, a layer of voxels in the build volume in the Z direction can be represented as a layer of the build volume, and the area occupied by each layer can be represented by the number of grids occupied by each layer. Furthermore, the layer area distribution of the build volume can be represented by the standard deviation of the occupied areas of each layer of the build volume, that is, it can be represented by the standard deviation of the number of grids occupied by each layer. In other examples, the layer area distribution can also be represented by other methods, such as variance, covariance, etc.
[0108] See also Fig.14 , which is a schematic diagram of determining the layer area distribution of the construction volume in one embodiment of the present application. The figure takes the layer area distribution represented by the standard deviation as an example. Taking the current placement object G11 as an example, the first layer (i.e., the bottom layer) to the fifth layer (i.e., the top layer) of the construction volume 30 are occupied by 5 voxels (i.e., grids), 3 voxels (i.e., grids), 3 voxels (i.e., grids), 1 voxel (i.e., grids), and 1 voxel (i.e., grids), respectively. That is, the areas occupied by the first layer to the fifth layer of the construction volume 30 are 5, 3, 3, 1, 1, respectively, which are listed on the right side of the construction volume 30. At this time, the standard deviation of the occupied area of each layer of the construction volume 30 is about 1.50, which is filled to the position occupied by the voxel in the lower left corner of the bounding box of the current placement object G11 (which is the voxel of the bounding box of the current placement object G11 closest to the coordinate origin of the construction volume 30). Similarly, calculations are performed for other collision-free positions and the calculated values are filled into the build volume (only one collision-free position is shown in the figure, and the rest of the collision-free positions are analogous), thereby obtaining a build volume 30', in which the numbers filled in the grid represent the layer area distribution value of the build volume when the grid corresponding to the lower left corner of the bounding box of the current object G11 is placed on the grid, and the number filled with N represents the position where a collision occurs, and the layer area distribution calculation is not performed at these positions, so there is no calculation result. That is, the numbers filled in the build volume 30' represent the layer area distribution of the build volume when the current object G11 is at each collision-free position.
[0109] Furthermore, by combining the layer area distribution of the constructed volume when the current object is in each collision-free position with the fit, the combined value at each collision-free position can be obtained, and the grid corresponding to the minimum value is selected as the joint optimal collision-free position. In some examples, the combination method can be a combination using mathematical operations, such as multiplication, addition, or multiplication or addition after setting weights, etc. Preferably, multiplication can be used for combination. In some examples, the method of selecting the minimum value is similar to the method of selecting the minimum value for the fit of the collision-free position in step S511. For details, please refer to Figure 8 and Fig. 9 The relevant description is not repeated here.
[0110] In order to obtain a better placement effect, in some embodiments, step S310 includes rotating the current object in a preset set of directions, so as to determine a collision-free position in the build volume that optimizes the layer area distribution of the build volume and the fit of the current object based on the current object in each rotation direction.
[0111] In one embodiment, the preset set of directions may include a plurality of rotation directions with a central axis parallel to the X-axis, Y-axis, or Z-axis of the build volume as the rotation axis. The plurality of rotation directions may be, for example, 2, 4, 6, 8, 12, or 24 rotation directions. Among them, 2 rotation directions correspond to 180° rotation each time, 4 rotation directions correspond to 90° rotation each time, 6 rotation directions correspond to 60° rotation each time, 8 rotation directions correspond to 45° rotation each time, 12 rotation directions correspond to 30° rotation each time, and 24 rotation directions correspond to 15° rotation each time. The above selection of the rotation axis and the number of rotation directions are only examples and should not be construed as limitations on the present application.
[0112] Please continue reading Fig.13 In step S320, the computer device determines the placement position of the current object based on the optimal collision-free position of the layer area distribution of the build volume and the fit of the current object, so as to place the current object in the build volume. In some embodiments, the embodiments included in step S320 are similar to the aforementioned step S512. It is only necessary to replace the 3D model of this placement in step S512 with the current object, replace the preset sub-volume with the build volume, and replace the collision-free position with the optimal collision-free position of the layer area distribution of the build volume and the fit of the current object by analogy. For details, please refer to the relevant embodiments provided in step S512 and the embodiments for Fig.10 and Fig.11 The relevant description is not repeated here.
[0113] The following is an example of how to determine the current placement position to place the current placed object in an embodiment in which the optimization target is configured as the joint optimal fit and placement height of the current placed object.
[0114] See also Fig.15 , which is a schematic diagram of a process for determining the placement position of the current object when the joint optimization of the fit degree and placement height of the current object is used as the optimization target in one embodiment of the present application. As shown in the figure, the step of determining the placement position of the current object in the construction volume based on the optimization target to place the current object includes step S110, step S120, and step S130.
[0115] In step S110, the computer device executes updating the volume height of the building volume according to the comparison result between the current placed object and the residual height in the building volume. In one embodiment, step S110 includes step S111 and step S112.
[0116] In step S111, the computer device executes obtaining the current placement height and the current volume height of the building volume to determine the remaining height, wherein the remaining height refers to the remaining placement height in the building volume, which can be determined by subtracting the current placement height from the current volume height of the building volume.
[0117] See also Fig.16 , which is a schematic diagram of comparing the margin height with the currently placed objects in one embodiment of the present application, and the margin height Δh1 is also illustrated in the figure. As shown in the figure, the current placement height of the build volume 30 refers to the height occupied by the objects already placed in the current build volume 30 on the Z axis, and the current placement height is illustrated as h1 in the figure. The current volume height of the build volume 30 refers to the height corresponding to the current spatial volume of the build volume 30, and the current volume height is illustrated as H1 in the figure. The margin height Δh1 is the current volume height minus the current placement height, that is, Δh1=H1-h1.
[0118] In step S112, the computer device compares the margin height with the height of the current object at the first scale to update the volume height of the built volume. In this embodiment, in order to ensure that there is enough space to place the 3D model, the computer device first performs the step of enlarging the height of the current object at the first scale, and then performs the step of comparing the height at the first scale with the margin height of the built volume. Fig.16As shown, the height of the current object G12 refers to the height m of the current object G12 in the Z-axis direction, which can be configured as the height on the Z-axis corresponding to the bounding box of the current object G12. The height of the current object G12 at the first ratio is configured as the first ratio α multiplied by the height m, and the computer device multiplies the height m of the current object G12 by the first ratio α and compares it with the margin height Δh1. The first ratio α can be configured to be any value between 1.2 and 1.6, for example, the first ratio α can be configured to be approximately 1.2, 1.3, 1.4, 1.5, or 1.6, etc., preferably, it can be configured to be 1.2.
[0119] It should be noted that Fig.16 The embodiment shown is based on the current placement of object G12. Fig.16 The posture presented in the figure is used as an example to illustrate its height, and it is not understood as a restriction on the height of the 3D model. In some embodiments, in order to reduce the frequency of updating the volume height of the build volume, the height of the current display object G12 is further configured as its highest height on the Z axis under the preset rotation rule. In other words, when the current display object G12 can be rotated under the preset rotation rule, each rotated posture has a height on the Z axis, and the highest height is selected as the height of the current display object G12 to be enlarged by a first proportion to be compared with the margin height. The preset rotation rule examples in this embodiment may include any one or more of the following: rotation with the Z axis as the rotation center, rotation with the X axis as the rotation center, rotation with the Y axis as the rotation center, and traversing all rotation directions and angles, etc. The present application does not limit the rotation rule.
[0120] In one embodiment, when determining that the margin height is equal to the height of the current placed object at the first scale, the volume height of the built volume is kept unchanged. Fig.16 As shown in the example, if Δh1=α×m is determined, the current volume height H1 of the building volume 30 is kept unchanged. In other words, the remaining height Δh1 corresponding to the current volume height H1 of the building volume 30 is sufficient to place the current object G12, and the volume height H1 of the building volume 30 does not need to be adjusted at present.
[0121] In one embodiment, when it is determined that the margin height is less than the height of the current placed object at the first scale, the volume height of the build volume is increased. Fig.17, which is a schematic diagram of raising the volume height of the building volume in one embodiment of the present application. As shown in the figure, if it is determined that the margin height Δh1 is less than the height α×m of the current object G12 at the first ratio, it means that the margin height Δh1 corresponding to the current volume height H1 of the building volume 30 is insufficient to place the current object G12, and the current volume height H1 of the building volume 30 needs to be adjusted to H2. The adjusted volume height is shown as the dotted line in the figure. For example, in this embodiment, the volume height of the building volume is adjusted, for example, by superimposing the height α×m of the current object G12 at the first ratio on the current placement height h1 as the volume height H2 of the building volume, that is, the adjusted volume height H2 of the building volume = h1 + α×m.
[0122] In one embodiment, when it is determined that the margin height is greater than the height of the current object at the first ratio, it is further determined whether to lower the volume height of the build volume. In this way, it is possible to avoid unnecessary and frequent adjustments to the volume height of the build volume. For example, although the current margin height is sufficient to place the current object and there is margin, if the volume height of the build volume is directly lowered without judgment just to satisfy the requirement of just being able to place the current object, if the subsequent objects to be placed have a higher height, the lowered volume height needs to be raised again. In this way, the number of adjustments to the build volume will increase, reducing the placement rate.
[0123] In view of this, in one embodiment, the step of determining whether to lower the volume height of the construction volume when the remaining height is greater than the height at the first ratio further includes step S1121 and step S1122. In this way, when the remaining height is greater than the height of the current object at the first ratio, the computer device further considers the maximum height of all the objects that have not been placed in determining whether to lower the volume height of the construction volume, thereby avoiding the problem of reducing the placement rate due to frequent adjustments mentioned above.
[0124] Specifically, in step S1121, when the remaining height is greater than the height of the current object at the first ratio, the computer device determines the maximum height of all the unplaced objects. All the unplaced objects include the current object, the separator, and the remaining objects in the 3D model that have not been selected. Fig.16 Taking the figure as an example, if it is determined that Δh1>α×m, it is necessary to further determine the maximum height among the heights of all unplaced objects.
[0125] In step S1122, the computer device compares the margin height with the maximum height at the second ratio to determine whether to lower the volume height of the build volume. The second ratio is configured to be not less than the first ratio. For example, the second ratio can be configured to be any value between 1.2 and 2. For example, the second ratio can be configured to be approximately 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, etc., preferably, it can be configured to be 2.0.
[0126] In one embodiment, in step S1122, the computer device first performs a step of enlarging the maximum height by a second ratio, and then performs a step of comparing the maximum height at the second ratio with the residual height of the build volume. The maximum height determined in step S1121 is represented as n, and the maximum height at the second ratio is configured as the second ratio β multiplied by the maximum height n. Fig.16 As shown, the computer device first multiplies the second ratio β by the maximum height n, and then compares β×n with the margin height Δh1.
[0127] In one embodiment, when it is determined that the margin height is equal to or less than the maximum height under the second ratio, the operation of lowering the volume height of the building volume is not performed, that is, the volume height of the building volume is kept unchanged. Fig.16 As shown, when the margin height Δh1 is compared with the maximum height under the second ratio (i.e., β×n), and it is determined that Δh1 is less than or equal to β×n, the volume height H1 of the build volume 30 remains unchanged. In other words, even if the margin height Δh1 corresponding to the current volume height H1 of the build volume 30 may still have a margin after placing the current object G12, due to the subsequent existence of higher objects, in order to avoid frequent adjustments, the volume height H1 of the build volume will not be lowered at present.
[0128] In one embodiment, when it is determined that the margin height is greater than the maximum height under the second ratio, the volume height of the building volume is adjusted down to the maximum height under the second ratio plus the current placement height. Fig.18 , which is a schematic diagram of lowering the volume height of the building volume in one embodiment of the present application. As shown in the figure, when it is determined that the margin height Δh1 is greater than the maximum height (i.e., β×n) under the second ratio, it means that the margin height Δh1 corresponding to the current volume height H1 of the building volume 30 is sufficient to place the highest object among all the unplaced objects with a margin, and the current volume height H1 of the building volume 30 needs to be lowered to H3, as shown in the figure. Fig.18 The dotted line in the figure indicates the adjusted volume height H3. For example, the adjusted volume height H3 is the current placement height h1 plus the maximum height β×n under the second ratio, that is, H3=h1+β×n.
[0129] Please continue reading Fig.15 In step S120, the computer device determines the collision-free position in the updated build volume that makes the placement height and fit of the current object optimal. And in step S130, the computer device determines the placement position of the current object based on the optimal collision-free position to place the current object in the build volume. In some examples, the specific implementation method and process of steps S120 and S130 are similar to steps S310 and S320, and the only difference is that in the joint optimal, the placement height and fit of the current object are combined in this embodiment. It is only necessary to replace the combination of the layer area distribution of the build volume and the fit of the current object in steps S310 and S320 with the combination of the placement height and fit of the current object. Please refer to the relevant description of any embodiment of steps S310 and S320 for details, which will not be repeated here.
[0130] Furthermore, in step S520, the steps of determining the current object from the separator and the remaining 3D models and determining the placement position of the current object in the construction volume based on the optimization target to place the current object can be completed by cyclically executing any of the above embodiments to place the separator and the remaining 3D models, as shown in FIG. Fig.19 As shown, it is a schematic diagram of completing the placement of the separator and the remaining 3D models in the build volume in one embodiment of the present application. In the figure, the separator encapsulating multiple 3D models and the remaining 3D models that do not need to be separated have been placed in the build volume.
[0131] The present application also provides a 3D printing method in some embodiments, which can be performed by a printing device, which can be configured as a device for 3D printing using powder materials such as selective laser sintering or binder jetting. The printing device includes at least a printing platform, and a 3D object is produced on the surface of the printing platform from a building material (such as powder).
[0132] The printing method provided in the embodiment of the present application includes step S210 and step S220. In step S210, the printing device executes to obtain the data to be printed. In some embodiments, the data to be printed is obtained based on the building volume in which the separator and the 3D model are placed.
[0133] The build volume is adapted to the printing platform of the printing device, and the placed separators and 3D models are the objects to be printed. The separators and 3D models can be placed in the build volume according to the 3D model placement method provided in any of the aforementioned embodiments of the present application. For details, please refer to the aforementioned Figures 1 to 19Any embodiments described in related manner will not be described in detail here.
[0134] In step S220, the printing device performs three-dimensional manufacturing of the separator and the 3D objects corresponding to the 3D model based on the data to be printed. Specifically, the printing device uses the building material to perform three-dimensional manufacturing layer by layer on the printing platform, so that the 3D objects corresponding to the separator and the 3D model encapsulated inside it in the building volume, as well as the 3D objects corresponding to the 3D model outside the separator can be printed. Furthermore, after printing is completed, the user can violently disassemble the separator to release the 3D objects inside it, so as to avoid the problem that small parts are easily lost when they exist alone.
[0135] In some embodiments, the present application also provides a 3D model placement system, which can be deployed in a computer device, for example, as a software tool or software module that can process data, and it uses the operating environment provided by the hardware device and / or operating system in the computer device to perform the placement of 3D models. The specific structure and function of the computer device can be found in the description of the embodiment of the 3D model placement method in the present application, and will not be repeated here.
[0136] See also Fig. 20 , which is a block diagram of a 3D model placement system in an embodiment of the present application. As shown in the figure, the 3D model placement system 5 includes a sub-placement module 50 and a main placement module 51. The sub-placement module 50 is used to place a plurality of predetermined 3D models in a preset sub-volume in the build volume in sequence, so as to encapsulate the plurality of placed 3D models in a separator. The main placement module 51 is used to sequentially determine the placement positions of the separator and the remaining 3D models in the build volume based on the optimization target, so as to place the separator and the remaining 3D models in the build volume in sequence.
[0137] In one embodiment, the sub-placement module 50 and the main placement module 51 respectively coordinate and execute the 3D model placement method disclosed in any of the aforementioned embodiments of the present application according to the functions described above. Figures 1 to 19 Any embodiments described in related manner will not be described in detail here.
[0138] The present application also provides a computer device, in an embodiment, the computer device is used to implement the 3D model placement method described in any of the above embodiments. In one embodiment, the computer device is a device capable of performing digital calculations, logical processing, and information processing on data, including but not limited to: personal computers, industrial computers, tablets, smart phones, servers, server clusters, smart terminals, cloud-based server systems, etc.
[0139] See also Fig.21 , which is a schematic diagram of the structure of a computer device in an embodiment of the present application, wherein the computer device 6 includes a storage device 60 and a processing device 61 connected to the storage device 60. Furthermore, the computer device also includes an interface device 62.
[0140] In some embodiments, the storage device 60 is used to store at least one program, and the at least one program can be executed by the processing device 61 to coordinate the storage device 60 to implement the 3D model placement method described in any of the above embodiments. Here, the storage device 30 includes but is not limited to: Read-Only Memory (ROM), Random Access Memory (RAM), Nonvolatile RAM (NVRAM). For example, the storage device 60 includes a flash memory device or other non-volatile solid-state storage device. In some embodiments, the storage device 60 may also include a memory away from one or more processing devices 61, such as a network attached memory accessed via an RF circuit or an external port and a communication network, wherein the communication network may be the Internet, one or more intranets, local area networks, wide area networks, storage area networks, etc., or a suitable combination thereof. The memory controller may control access to the memory by other components of the device such as the CPU and peripheral interfaces.
[0141] In some embodiments, the processing device 61 includes one or more processors. The processing device 61 can be operable to perform data read and write operations with the storage device 60. The processing device 61 includes one or more general-purpose microprocessors, one or more application-specific processors (ASICs), one or more digital signal processors (Digital Signal Processors, referred to as DSPs), one or more field programmable gate arrays (Field Programmable Gate Arrays, referred to as FPGAs), or any combination thereof.
[0142] In some embodiments, the interface device 62 includes at least one interface unit, each of which is used to output a visual interface, receive a human-computer interaction event generated according to the operation of a technician, etc. For example, the interface device 62 includes but is not limited to: a serial interface such as an HDMI interface or a USB interface, or a parallel interface, etc. In one embodiment, the interface device 62 also includes a network communication unit, which is a device for data transmission using a wired or wireless network, examples of which include but are not limited to: an integrated circuit including a network card, a local area network module such as a WiFi module or a Bluetooth module, a wide area network module such as a mobile network, etc.
[0143] The present application also provides a computer-readable storage medium storing at least one program, wherein the at least one program, when called and executed by a processor of a computer, implements the 3D model placement method in any of the above embodiments.
[0144] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the 3D model placement method in any of the above-mentioned embodiments.
[0145] If the method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computer device equipped with the storage medium to execute all or part of the steps of the method described in each embodiment of the present application.
[0146] In the embodiments provided in the present application, the computer storage medium provided may include a read-only memory, a random access memory, an EEPROM, a CD-ROM or other optical disk storage device, a disk storage device or other magnetic storage device, a flash memory, a USB flash drive, a mobile hard disk, or any other medium that can be used to store a desired program code in the form of an instruction or data structure and can be accessed by a computer. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, a server or other remote source using a coaxial cable, an optical fiber cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, optical fiber cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. However, it should be understood that computer storage media and data storage media do not include connections, carriers, signals, or other temporary media, but are intended to be non-temporary, tangible storage media. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
[0147] In summary, the 3D model placement method, 3D printing method, 3D model placement system, computer device, computer-readable storage medium and computer program product disclosed in the present application, by placing a plurality of predetermined 3D models and encapsulating them in a separator, can make it possible for the 3D objects corresponding to the plurality of 3D models to be concentrated in the separator after subsequent printing is completed, making them easy to find and avoiding loss.
[0148] Furthermore, a non-placement area can be preset in the building volume, thereby allowing a non-processing area to appear on the printing platform and allowing a specific 3D model to be placed.
[0149] Furthermore, when placing the 3D model in the construction volume, by adopting a diagonal scanning method to update the distance field with the placement position of the 3D model as the starting point and the middle position of the 3D model from the boundary of the construction volume as the end point, only the distance field of the area affected by the placement of the 3D model can be updated, which greatly reduces the amount of calculation.
[0150] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A 3D model placement method, characterized in that: The following steps are involved: sequentially placing a plurality of predetermined 3D models in a preset sub-volume in the construction volume, so as to encapsulate the plurality of 3D models that have been placed in a separator; as well as The placement positions of the separator and the remaining 3D models are determined in the building volume based on the optimization target in sequence, so as to place the separator and the remaining 3D models in the building volume in sequence.
2. The 3D model placement method according to claim 1, characterized in that: Placing a plurality of predetermined 3D models in sequence in a preset sub-volume in a building volume comprises: configuring the preset sub-volume in the building volume.
3. The 3D model placement method according to claim 2, characterized in that: The step of configuring the preset sub-volume in the building volume includes: determining the preset sub-volume based on the total volume of the predetermined plurality of 3D models and a preset placement density.
4. The 3D model placement method according to claim 3, characterized in that: The preset placement density is configured to be any value between 10% and 15%.
5. The 3D model placement method according to claim 1, characterized in that: The predetermined plurality of 3D models are determined based on a user's selection.
6. The 3D model placement method according to claim 1, characterized in that: The predetermined plurality of 3D models are configured as 3D models whose volume values are below a first threshold.
7. The 3D model placement method according to claim 1, characterized in that: Placing a plurality of predetermined 3D models in a preset sub-volume in the construction volume in sequence includes: looping the step of determining a placement position of the 3D model to be placed this time in the preset sub-volume for placement until the placement of the plurality of predetermined 3D models is completed.
8. The 3D model placement method according to claim 7, characterized in that: The step of determining the placement position of the 3D model to be placed in the preset sub-volume for placement includes: Determining a collision-free position in the preset subvolume that allows the currently placed 3D model to fit best; and The placement position of the 3D model to be placed this time is determined based on the collision-free position with the best fit, so as to place the 3D model to be placed this time in the preset sub-volume.
9. The 3D model placement method according to claim 8, characterized in that: The step of determining the collision-free position in the preset sub-volume that makes the fit of the currently placed 3D model optimal includes: placing and searching the currently placed 3D model in the preset sub-volume to determine all collision-free positions of the currently placed 3D model.
10. The 3D model placement method according to claim 8, characterized in that: The determining of a collision-free position in the preset sub-volume that enables the currently placed 3D model to have the best fit includes: Determining the fit of the currently placed 3D model at each position of the preset subvolume based on the distance field of the preset subvolume; and The minimum value of the fit at the non-collision position is selected as the non-collision position with the best fit.
11. The 3D model placement method according to claim 8, characterized in that: The determining of the collision-free position in the preset sub-volume that makes the fit of the 3D model placed this time optimal includes: rotating the 3D model placed this time in a preset set of directions, so as to determine the collision-free position in the preset sub-volume that makes the fit of the 3D model placed this time optimal based on the 3D model placed this time in each rotation direction.
12. The 3D model placement method according to claim 11, characterized in that: Determining the placement position of the 3D model placed this time based on the non-collision position with the best fit includes: selecting a position corresponding to a minimum value from the non-collision positions with the best fit in each rotation direction as the placement position.
13. The 3D model placement method according to claim 8, characterized in that: Placing the currently placed 3D model in the preset sub-volume includes: when placing the currently placed 3D model in the preset sub-volume, updating the effective space and distance field of the preset sub-volume.
14. The 3D model placement method according to claim 13, characterized in that: The step of updating the distance field of the preset sub-volume comprises: In the preset sub-volume, the update range is extended from the bounding box of the currently placed 3D model as the center to at least the middle position of the bounding box from the boundary of the preset sub-volume; and The distance field is updated in different regions in each diagonal direction of the bounding box of the currently placed 3D model, starting from the starting angle of the diagonal direction and ending at the boundary of the update range.
15. The 3D model placement method according to claim 8, characterized in that: The step of determining the placement position of the 3D model placed this time in the preset sub-volume also includes: when it is determined that the 3D model placed this time has no placement position in the preset sub-volume, the step of expanding the preset sub-volume.
16. The 3D model placement method according to claim 15, characterized in that: Expanding the preset sub-volume includes expanding the length, width and height of the preset sub-volume by any value ranging from 1.5 to 2 times respectively.
17. The 3D model placement method according to claim 1, characterized in that: The separator is configured as a rectangular sintering box.
18. The 3D model placement method according to claim 1, characterized in that: Determining the placement positions of the divider and the remaining 3D models in the construction volume based on the optimization target in sequence so as to place the divider and the remaining 3D models in the construction volume in sequence includes: looping the steps of determining the current object from the divider and the remaining 3D models, and determining the placement position of the current object in the construction volume based on the optimization target to place the current object, until the placement of the divider and the remaining 3D models is completed.
19. The 3D model placement method according to claim 18, characterized in that: The optimization target is configured as optimal fit of the currently placed object, optimal fit of the currently placed object and layer area distribution of the build volume, or optimal fit of the currently placed object and placement height.
20. A 3D printing method, characterized in that: include: Acquire data to be printed, wherein the data to be printed is obtained based on a building volume in which separators and 3D models are placed, and the separators and 3D models placed in the building volume are placed based on the 3D model placement method according to any one of claims 1 to 19; and Three-dimensional manufacturing is performed based on the data to be printed to form 3D objects corresponding to the separator and the 3D model respectively.
21. A 3D model placement system, characterized in that: include: A sub-arrangement module is used to arrange a plurality of predetermined 3D models in sequence in a preset sub-volume in the construction volume, so as to encapsulate the plurality of arranged 3D models in a separator; as well as The main placement module is used to determine the placement positions of the separator and the remaining 3D models in the construction volume based on the optimization target in turn, so as to place the separator and the remaining 3D models in the construction volume in turn.
22. A computer device, characterized in that: include: A storage device for storing at least one program; as well as A processing device is connected to the storage device, and is used to call the at least one program from the storage device and implement the 3D model placement method as described in any one of claims 1 to 19 when executing it.
23. A computer-readable storage medium, characterized in that: At least one program is stored, and when the at least one program is called and executed by a processor of a computer, the 3D model placement method as described in any one of claims 1 to 19 is implemented.
24. A computer program product, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the 3D model placement method according to any one of claims 1 to 19.
