Slice file generation method and slice processing equipment

By displaying multiple candidate printing zones and setting printing parameters in the target interactive interface, the problem of single material limitation in LCD photopolymerization 3D printing is solved, and efficient multi-material printing of multi-slot 3D printers is realized.

CN121515477APending Publication Date: 2026-02-13SHENZHEN ANYCUBIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511685504.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

Existing LCD photopolymerization 3D printing technology can only use a single material, which limits the improvement of printing efficiency and the expansion of application scenarios.

Method used

By displaying multiple candidate printing zones in the target interactive interface, users can select and set printing parameters, and generate slice files to guide multi-slot 3D printers to print multiple materials in zones.

Benefits of technology

It improves the printing efficiency of 3D models, supports the one-time molding of models with multiple shapes, colors and materials, simplifies the user operation process and improves the efficiency of partition parameter setting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121515477A_ABST
    Figure CN121515477A_ABST
Patent Text Reader

Abstract

The invention provides a slice file generation method and slice processing equipment, and relates to the field of 3D printing. The method comprises the steps of displaying an imported to-be-printed model in a target interaction interface in response to a model importing operation; based on partition operation for the to-be-printed model, a printing partition to which the to-be-printed model belongs is divided from a plurality of candidate printing partitions; the plurality of candidate printing subareas correspond to a plurality of effective exposure subareas on the 3D printer respectively, and the plurality of effective exposure subareas correspond to a plurality of material grooves formed in the 3D printer respectively; in response to a parameter setting operation for each candidate printing partition, determining printing parameters corresponding to each candidate printing partition; and generating a slice file based on the to-be-printed model and the printing parameters corresponding to the candidate printing partitions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of 3D printing, and in particular to a method for generating sliced ​​files and a slicing processing device. Background Technology

[0002] Currently, the core limitation of LCD (Liquid Crystal Display) photopolymerization is that its printing process relies on a single tank to carry the same photosensitive resin, and the model can only be formed with a single material throughout the entire process. This single-material printing mode limits the improvement of printing efficiency and the further expansion of application scenarios. Summary of the Invention

[0003] In view of this, this application provides a method for generating slice files and a slicing processing device, which solves the problem in related technologies that model forming can only be completed with a single material.

[0004] In a first aspect, embodiments of this application provide a method for generating sliced ​​files, the method comprising: In response to the model import operation, the imported model to be printed is displayed in the target interactive interface; Based on the partitioning operation for the model to be printed, the printing partition to which the model to be printed belongs is divided from multiple candidate printing partitions; the multiple candidate printing partitions correspond to multiple effective exposure partitions on the 3D printer, and the multiple effective exposure partitions correspond to multiple material troughs installed on the 3D printer. In response to parameter setting operations for each of the candidate print partitions, print parameters corresponding to each of the candidate print partitions are determined. Based on the model to be printed and the printing parameters corresponding to each of the candidate printing partitions, a slice file is generated.

[0005] Secondly, embodiments of this application provide a slicing processing device, including a processor and a memory, wherein the memory stores a program or instructions that run on the processor, and the program or instructions, when executed by the processor, implement the steps of the slice file generation method of the first aspect.

[0006] The slice file generation method and slicing device of this application embodiment, in response to a user-initiated model import operation, accurately present the model to be printed in a preset target interactive interface. Based on the user's operation of partitioning the model to be printed, the printing partition to which the model to be printed belongs is divided from multiple candidate printing partitions in the target interactive interface. In response to the user's parameter setting operation for each candidate printing partition, the printing parameters corresponding to each candidate printing partition are determined, realizing the partition setting of printing parameters. After setting the printing parameters corresponding to each candidate printing partition, a slice file is generated based on the model to be printed and the printing parameters corresponding to each candidate printing partition. Through this slice file, the printer can be guided to simultaneously perform photopolymerization printing of multiple partitions based on the printing parameters corresponding to each candidate printing partition, improving the printing efficiency of 3D models and enabling the one-time molding of 3D models with multiple shapes, colors, and materials. Furthermore, this application can support users to import models, partition models, and set partition parameters, making the user operation process smoother and more reasonable, and improving the efficiency of partition parameter setting.

[0007] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0008] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A flowchart illustrating the slice file generation method according to an embodiment of this application is shown; Figure 2 A schematic diagram of the target interactive interface according to an embodiment of this application is shown; Figure 3 One of the schematic diagrams of the parameter configuration interface of an embodiment of this application is shown; Figure 4 This is a second schematic diagram of the parameter configuration interface according to an embodiment of this application; Figure 5 A schematic diagram of a prompt page according to an embodiment of this application is shown; Figure 6 This application shows a parameter preview interface of an embodiment; Figure 7 A structural block diagram of a slicing processing apparatus according to an embodiment of this application is shown. Detailed Implementation

[0009] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0010] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0011] The slice file generation method and slice processing device provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0012] This application provides a method for generating sliced ​​files, applied to a sliced ​​processing device. For example... Figure 1 As shown, the method includes: Step S101: In response to the model import operation, the imported model to be printed is displayed in the target interactive interface.

[0013] In this step, in response to the user-initiated model import operation, the model parsing and loading process is initiated. The model to be printed is accurately presented in the preset target interactive interface, which displays the complete three-dimensional form of the model to be printed in a 3D visualization. It should be noted that when importing multiple models, users can import different STL model files separately, with one STL model file corresponding to one model, or they can import a single STL file containing multiple models.

[0014] In one embodiment of this application, before displaying the imported model to be printed in the target interactive interface in response to the model import operation, the method further includes: When the selected printer is determined to be a first-type printer based on the printer selection operation, the target interactive interface is set to the first display mode; first-type printers support the installation of multiple feed troughs; In the first display mode, the target interactive interface displays a spool number switching control, which includes multiple spool number options, each corresponding to a different preset spool installation number supported by the selected printer; the method further includes: In response to the selection of any slot number option in the slot number toggle control, multiple candidate print partitions corresponding to the selected slot number option are displayed in the target interactive interface.

[0015] In this embodiment, in response to a user-initiated printer selection operation, the type of printer selected by the user is determined. If the selected printer is a first-type printer, the target interactive interface is set as follows: Figure 2 The first display mode shown.

[0016] The printers are categorized into Type 1 printers and Type 2 printers. Type 1 printers support multiple feed troughs, enabling multi-feed trough printing as well as single-feed trough printing. Type 2 printers have a single feed trough and can only perform single-feed trough printing.

[0017] The first display mode is for multi-slot printing. In this mode, the target interface displays a slot number switching control, which includes multiple slot number options. These options correspond to various preset slot installation numbers supported by the selected printer. For example... Figure 2 As shown, if the selected printer supports two preset feeder numbers: single feeder and double feeder, then the feeder number switching control X includes two feeder number options: feeder number option X1 and feeder number option X2, corresponding to single feeder and double feeder, respectively. Alternatively, if the selected printer supports three preset feeder numbers: single feeder, double feeder, and triple feeder, then the feeder number switching control includes three feeder number options, corresponding to single feeder, double feeder, and triple feeder, respectively.

[0018] Furthermore, in the first display mode, the user can select any slot number option in the slot number switching control. After the user selects any slot number option, multiple candidate printing partitions corresponding to the selected slot number option are displayed in the target interactive interface. For example, as... Figure 2 As shown, if the user selects option 2 for the number of material slots, two candidate printing partitions will be displayed in the left area of ​​the target interactive interface, including candidate printing partition Q1 and candidate printing partition Q2.

[0019] It should be noted that the candidate printing partitions correspond to the printer's feed slots. If a model to be printed is displayed in a candidate printing partition, it means that the printer will print the model to be printed through the feed slot corresponding to that candidate printing partition during actual printing.

[0020] This application provides a visual interface for selecting the printer, the number of feed slots, and displaying candidate printing zones, enabling users to quickly and accurately select the printer and the number of feed slots, thus reducing operational difficulty. Furthermore, the interface displays multiple candidate printing zones corresponding to the user-selected number of feed slots. These candidate printing zones correspond to the feed slots, facilitating subsequent display of the model within the printing zones and allowing users to intuitively understand the model's position within the feed slots during printing.

[0021] In one embodiment of this application, such as Figure 2 As shown, the target interactive interface includes at least a slicing settings area, a model operation area, and a parameter settings area. Candidate printing zones are displayed in the model operation area, while the material slot number option and zone option are displayed in the parameter settings area. The slicing settings area contains functional spaces for manipulating the model, such as repair, editing, shelling / drilling, support, and arrangement functions, facilitating these operations. It should be noted that the layout and display area of ​​each area in the target interactive interface are as follows... Figure 2 The display format shown is only one example; other formats are also possible, and this application does not impose any specific limitations.

[0022] In this embodiment of the application, the layout of the target interactive interface is clearer through the clear area setting, providing users with a clear and intuitive operation interface.

[0023] In one embodiment of this application, the method further includes: When the selected printer is determined to be a Type II printer based on the printer selection operation, the target interactive interface is set to the second display mode; Type II printers only support the installation of a single feed hopper; In the second display mode, only one candidate printing partition is displayed in the target interactive interface. This single candidate printing partition corresponds to the single material slot installed on the 3D printer, and the parameter setting controls displayed in the target interactive interface match the number of candidate printing partitions displayed in the target interactive interface.

[0024] In this embodiment, after responding to a user-initiated printer selection operation, the type of printer selected by the user is determined. If the selected printer is a second type printer, the target interface is set to a second display mode. The second type printer has a single feed hopper and can only perform single-feed hopper printing.

[0025] The second type of printer has a single feed tray, so in the second display mode, only one candidate print zone is displayed in the target interface. This single candidate print zone corresponds to the single feed tray installed on the second type of printer. Furthermore, the target interface displays parameter setting controls, which match the number of candidate print zones displayed. Since there is only one candidate print zone displayed in the target interface, there is also only one parameter setting control. The printing parameters for this candidate print zone are set through these parameter setting controls.

[0026] In this embodiment of the application, for the second type of printer, the target interactive interface is set to a second display mode. In the second display mode, the candidate printing partitions for a single material slot can be displayed, and the printing parameters of the candidate printing partitions can also be set through the parameter setting control.

[0027] Step S102: Based on the partitioning operation for the model to be printed, the printing partition to which the model to be printed belongs is divided from multiple candidate printing partitions; the multiple candidate printing partitions correspond to multiple effective exposure partitions on the 3D printer, and the multiple effective exposure partitions correspond to multiple material troughs installed on the 3D printer.

[0028] In this step, the user can partition the model to be printed, thereby identifying the printing partition to which the model belongs from multiple candidate printing partitions. In other words, the model to be printed is placed within the printing partition. Each candidate printing partition corresponds one-to-one with an effective exposure partition on the 3D printer, and each effective exposure partition corresponds one-to-one with a material tray installed on the 3D printer. Therefore, a model placed in a printing partition is printed using the corresponding effective exposure partition and material tray.

[0029] In one embodiment of this application, determining the printing partition to which the model to be printed belongs from multiple candidate printing partitions based on a partitioning operation for the model to be printed includes: Based on the position adjustment operation of the model to be printed and the boundary range of multiple candidate printing partitions, determine the positional intersection between the model to be printed and multiple candidate printing partitions; If the model to be printed intersects with only one candidate print partition, then that candidate print partition is determined as the print partition to which the model to be printed belongs. If the model to be printed intersects with multiple candidate print partitions, then all candidate print partitions with intersections are determined as the print partition to which the model to be printed belongs.

[0030] In this embodiment, in response to the user's position adjustment operation on the model to be printed, the position of the model to be printed on the model operation area is determined. Based on the position of the model to be printed on the model operation area and the boundary range of multiple candidate printing partitions, the position intersection between the model to be printed and the multiple candidate printing partitions is determined. The position intersection includes the following: (1) The model to be printed intersects with only one candidate printing partition. In this case, the candidate printing partition is determined as the printing partition to which the model to be printed belongs. That is, the model to be printed is completely placed within one candidate printing partition, for example... Figure 2 In the case of the model M3 to be printed, candidate print partition Q2 is determined as the print partition to which model M3 belongs; or part of the model to be printed is within a candidate print partition, and another part is in the middle area, for example... Figure 2 In the model M1 to be printed, the middle area refers to the interval between the candidate printing partition and other candidate printing partitions. In this case, candidate printing partition Q1 is determined as the printing partition to which model M1 belongs. (2) If the model to be printed intersects with multiple candidate printing partitions, that is, if the model to be printed is placed in multiple candidate printing partitions, then all candidate printing partitions that intersect are determined as the printing partition to which the model to be printed belongs. For example Figure 2 In the model M2 to be printed, candidate print partitions Q1 and Q2 are determined as the print partitions to which the model M2 to be printed belongs.

[0031] Accordingly, it is understandable that for any candidate print partition, the candidate print partition may not contain any model, may contain one model, or may contain multiple models.

[0032] This application embodiment supports users in adjusting the position of the model to be printed, and enables the partitioning of the model to be printed by determining the printing partition to which the model belongs.

[0033] In one embodiment of this application, the method further includes: providing a boundary warning for out-of-bounds portions in the model to be printed, wherein the out-of-bounds portions in the model to be printed include portions that are not within the boundary range of their respective candidate printing areas.

[0034] In this embodiment, after the partitioning operation on the model to be printed, the model to be printed is arranged in the candidate printing partitions. At this time, the model to be printed may be arranged entirely within the boundary of a candidate printing partition, such as... Figure 2 The model to be printed is M3; it is also possible that part of the model to be printed is within the boundary of a candidate print partition, while another part is outside the boundary of that candidate print partition, such as... Figure 2The model to be printed, M1, could also be a model where part of it lies within the boundary of one candidate printing partition and another part lies within the boundary of another candidate printing partition, such as... Figure 2 The model to be printed is M2. Both the models to be printed, M1 and M2, are models with outbound portions.

[0035] This application can provide boundary warnings for out-of-bounds portions of the model to be printed, i.e., portions outside the boundary range of their respective candidate printing areas. For example, different colors or markers can be used to indicate these out-of-bounds portions. Users can then adjust the size or position of the model to be printed based on these warnings, ensuring it remains within the boundary range of its respective candidate printing area. For example, as... Figure 2 As shown, the out-of-bounds portions of the models M1 and M2 to be printed are displayed with shadows, allowing users to intuitively understand the out-of-bounds portions.

[0036] Step S103: In response to the parameter setting operation for each candidate print partition, determine the corresponding print parameters for each candidate print partition.

[0037] In this step, in response to the user's parameter setting operation for each candidate print partition, the corresponding print parameters for each candidate print partition are determined, thereby realizing the partition setting of print parameters.

[0038] In one embodiment of this application, when the target interactive interface is in the first display mode and the selected number of material slots corresponds to multiple material slots, the target interactive interface also displays multiple partition options corresponding to the number of material slots, and the multiple partition options correspond to multiple candidate printing partitions respectively. In response to parameter setting operations for each candidate print partition, determine the print parameters corresponding to each candidate print partition, including: For each candidate print partition, perform the following steps: Based on the selection operation of the partition option corresponding to the candidate print partition, the parameter configuration interface for setting the print parameters for the candidate target partition is displayed; In response to the parameter entry operation in the parameter configuration interface, the printing parameters corresponding to the candidate printing partition are obtained.

[0039] In this embodiment, when the target interactive interface is in the first display mode, that is, when the printer selected by the user is a first type of printer, and the selected number of feed slots corresponds to multiple feed slots, the target interactive interface not only displays multiple candidate printing partitions corresponding to the selected number of feed slots, but also displays multiple partition options corresponding to the number of feed slots. Each partition option corresponds one-to-one with a candidate printing partition, and each partition option is used to set printing parameters for its corresponding candidate printing partition. For example, as... Figure 2 As shown, the partition options include partition option L corresponding to candidate print partition Q1 and partition option R corresponding to candidate print partition Q2.

[0040] For any candidate print partition, in response to the user's selection of the corresponding partition option, a parameter configuration interface is displayed to set the printing parameters for that candidate target partition. The user can enter parameters in the parameter configuration interface to set the printing parameters for that candidate print partition. For example, if the user clicks partition option L, the following will be displayed: Figure 3 and Figure 4 The parameter configuration interface shown is for candidate print partition Q1. Printing parameters entered on this interface are set as the corresponding printing parameters for candidate print partition Q1. Printing parameters include printing material type and printing process parameters. Printing process parameters include print quality mode, layer thickness, normal layer exposure time, interval time, pre-lift waiting time, post-lift waiting time, number of bottom layers, bottom layer exposure time, bottom layer shutdown time, pre-lift waiting time, post-lift waiting time, Z-axis lift distance, Z-axis lift speed, and Z-axis retraction speed. When the user clicks the partition option L, the following will be displayed: Figure 3 The parameter configuration interface shown allows users to set the printing material type and printing quality mode. Printing quality modes include high-quality printing and normal printing, such as setting "DLP red wax resin" and "normal printing". Then, clicking the "Edit" control corresponding to "Normal Printing Mode" displays... Figure 4 The parameter configuration interface shown allows you to set other printing process parameters.

[0041] In one embodiment, after setting the printing parameters for candidate print partition Q1, one can return to the target interactive interface and click partition option R again. The same process described above applies to setting the printing parameters for candidate print partition Q2 corresponding to partition option R. After setting the printing parameters for candidate print partition Q1, one can also... Figure 3 On the parameter configuration interface shown, click on partition option R to set the printing parameters for candidate print partition Q2 corresponding to partition option R. Multiple triggering methods allow for flexible setting of the printing parameters for each candidate print partition.

[0042] The embodiments of this application are user-friendly and can quickly achieve partition settings for printing parameters.

[0043] It is understood that this application may include the following scenarios: printing one or more models in different candidate print partitions, with the same printing parameters for each candidate print partition; or printing one or more models in different candidate print partitions, with different printing parameters for each candidate print partition, thereby enabling flexible partition printing.

[0044] In one embodiment of this application, the printing parameters include printing material type and printing process parameters; in response to parameter setting operations for each candidate printing partition, the printing parameters corresponding to each candidate printing partition are determined, including: In response to parameter setting operations for the current candidate print partition, determine the print parameters corresponding to the current candidate print partition; If the printing material type of the current candidate printing partition is the same as the printing material type of at least one candidate printing partition whose printing parameters have been previously set, then the printing process parameters of at least one candidate printing partition whose printing parameters have been previously set will be updated to be consistent with the printing process parameters set for the current candidate printing partition.

[0045] In this embodiment, after the user sets parameters for the current candidate printing partition, the printing parameters corresponding to the current candidate printing partition are determined. The printing material type corresponding to the current candidate printing partition is compared with the printing material type corresponding to at least one candidate printing partition whose printing parameters have been set previously. If the printing material types are the same, the printing process parameters of the current candidate printing partition are used as the standard, and the printing process parameters of the candidate printing partition whose printing parameters have been set previously are updated to be the same as the printing process parameters of the current candidate printing partition.

[0046] In other words, if the printing material type is the same for at least two candidate printing partitions, the printing process parameters for these candidate printing partitions will be set to be the same. Furthermore, the printing process parameters of candidate printing partitions whose parameters were previously set can be modified to match those of the last candidate printing partition set. For example, if candidate printing partitions Q1 and Q2 both select the same resin for printing, their other printing parameters, i.e., printing process parameters, will be automatically synchronized to the same values. For instance, if both candidate printing partitions Q1 and Q2 select resin A, and the user sets the normal layer exposure time to 1.6s for candidate printing partition Q1, and then sets it to 2s for candidate printing partition Q2, the system will recognize that candidate printing partitions Q1 and Q2 use the same resin and automatically change the 1.6s for candidate printing partition Q1 to the same 2s for candidate printing partition Q2 to ensure consistency in user understanding.

[0047] Step S104: Generate a slice file based on the model to be printed and the printing parameters corresponding to each candidate printing partition.

[0048] In this step, after setting the printing parameters corresponding to each candidate printing partition, a slice file is generated based on the model to be printed and the printing parameters corresponding to each candidate printing partition.

[0049] In one embodiment of this application, before generating a slice file by slicing the corresponding model to be printed based on the printing parameters corresponding to each candidate printing partition, the method further includes: In response to the slice trigger operation, it is determined whether the printing parameters set for multiple candidate printing partitions meet the compatibility conditions. The compatibility conditions include that the preset reference parameters in the printing parameters corresponding to multiple candidate printing partitions are the same. The preset reference parameters include at least one of the following: layer thickness, anti-aliasing level, gray level, image blur, and surface matte. Based on the printing parameters corresponding to each candidate printing partition, the corresponding model to be printed is sliced ​​to generate a slice file, including: If the compatibility conditions are met, the corresponding model to be printed is sliced ​​based on the printing parameters corresponding to each candidate printing partition, and a slice file is generated.

[0050] In this embodiment, in response to the user's slicing trigger operation, that is, when slicing processing begins, it is determined whether the printing parameters set for multiple candidate printing partitions meet the compatibility conditions. If the set printing parameters are compatible with each other, the corresponding model to be printed is sliced ​​based on the printing parameters corresponding to each candidate printing partition to generate a slice file.

[0051] Determining whether the printing parameters set for multiple candidate print partitions meet compatibility conditions includes checking whether the preset baseline parameters in the printing parameters corresponding to the multiple candidate print partitions are all the same. The preset baseline parameters include at least one of the following: layer thickness, anti-aliasing level, grayscale level, image blur, and surface matte finish. Specifically, it involves determining whether the layer thickness, anti-aliasing level, grayscale level, image blur, and surface matte finish of the multiple candidate print partitions are equal.

[0052] It should be noted that, physically, the layer thickness in all printing parameters must be the same. Printing can proceed normally even if the anti-aliasing level, grayscale level, image blur, and surface matte are different. This application requires all five parameters—layer thickness, anti-aliasing level, grayscale level, image blur, and surface matte—to be identical for compatibility to be confirmed, thereby improving image processing efficiency.

[0053] In this embodiment, the compatibility of printing parameters set for multiple candidate printing partitions can be determined, and slicing is performed after compatibility is determined to ensure the effect of synchronous printing of each partition.

[0054] In one embodiment of this application, the method further includes: If the compatibility conditions are not met, a prompt page will be displayed, which will include information about incompatible parameters. The prompt page also includes multiple parameter modification guide controls, each corresponding to a different candidate print area; the method also includes: In response to the triggering operation of the parameter modification guide control, the user is redirected to the print parameter setting interface corresponding to the candidate print partition. The print parameter setting interface is used to set the print parameters of the corresponding candidate print partition.

[0055] In this embodiment, if it is determined that the printing parameters set for multiple candidate print partitions are incompatible, a prompt page is displayed, which includes information about the incompatible parameters. For example, such as... Figure 5 As shown, a prompt page appears, reminding the user that "You are currently using dual-material printing mode. The following parameters for each partition must be consistent." Among them, layer thickness is marked with "×" for inconsistent parameters, while anti-aliasing level, grayscale level, image blur, and surface matte are marked with "√" for consistent parameters.

[0056] The prompt page may also include multiple parameter modification guide controls, each corresponding to a different candidate print area. Users can trigger these guide controls to access the print parameter settings interface for the corresponding candidate print area, where they can then modify the print parameters to ensure compatibility and continue generating slice data.

[0057] For example, Figure 5 The "Enter Candidate Print Zone Q1 Settings" and "Enter Candidate Print Zone Q2 Settings" options are guides for modifying parameters in candidate print zones Q1 and Q2, respectively. Users can click "Enter Candidate Print Zone Q1 Settings" to access the print parameter settings interface for candidate print zone Q1. This interface can be a parameter configuration interface, where the layer thickness can be modified to "0.05mm," the same as in candidate print zone Q2. Alternatively, users can click "Enter Candidate Print Zone Q2 Settings" to access the print parameter settings interface for candidate print zone Q2. This interface can also be a parameter configuration interface, where the layer thickness can be modified to "0.06mm," the same as in candidate print zone Q1.

[0058] This application embodiment can provide prompts when parameters are incompatible and guide users to modify the parameters, making it easy for users to modify the parameters and ultimately obtain compatible printing parameters. When printing based on the printing parameters, it can ensure the effect of synchronization and avoid printing failures or printing defects.

[0059] In one embodiment of this application, a slice file is generated based on the model to be printed and the printing parameters corresponding to each candidate print partition, including: The out-of-bounds portion of the model to be printed is trimmed, and a slice file is generated based on the effective portion retained after trimming and the printing parameters corresponding to each candidate printing partition. The out-of-bounds portion of the model to be printed includes parts that are not within the boundary range of their respective candidate printing areas.

[0060] In this embodiment, as described in the previous embodiments, after the partitioning operation on the model to be printed, the model to be printed is arranged in the candidate printing partitions. At this time, the model to be printed may be completely arranged within the boundary of a candidate printing partition, such as... Figure 2 The model to be printed is M3; it is also possible that part of the model to be printed is within the boundary of a candidate print partition, while another part is outside the boundary of that candidate print partition, such as... Figure 2 The model to be printed, M1, could also be a model where part of it lies within the boundary of one candidate printing partition and another part lies within the boundary of another candidate printing partition, such as... Figure 2 The model to be printed is M2. Both the models to be printed, M1 and M2, are models with outbound portions.

[0061] This application, in addition to providing boundary warnings for out-of-bounds portions, can also trim the model to be printed during slicing; or, it can provide boundary warnings for out-of-bounds portions and trim the model to be printed during slicing. The model to be printed is trimmed into out-of-bounds portions and valid portions, with the valid portions retained. Then, based on the retained valid portions and the printing parameters corresponding to each candidate printing zone, a slice file is generated. For example, in a scenario with added supports, the supports of the model to be printed may extend beyond the boundary of its candidate printing area. The absence of these supports will not affect the printing effect, so the support portions extending beyond the boundary can be trimmed, and the slice file can continue to be generated based on the retained valid portions and the printing parameters corresponding to each candidate printing zone.

[0062] In this embodiment, no manual adjustment by the user is required; the out-of-bounds portion of the model to be printed can be automatically trimmed and then sliced.

[0063] In one embodiment of this application, a slice file is generated based on the model to be printed and the printing parameters corresponding to each candidate print partition, including: For each candidate printing partition, the model to be printed belonging to the candidate printing partition is cut by plane to obtain the target layer triangle set; Contour processing is performed based on the target layer triangle set to obtain the contour information corresponding to each of the multiple candidate printing partitions; Based on the contour information, rasterization is performed to obtain the layer images corresponding to each layer to be printed. The total number of layers to be printed is determined based on the highest-ranking model among all candidate printing partitions. The slice file is generated by encoding the layer images corresponding to each layer to be printed and the printing parameters corresponding to each candidate printing partition.

[0064] In this embodiment, for each candidate printing partition, the model belonging to the candidate printing partition is cut with a plane to obtain a target layer triangle set. The target layer triangle set may include "cut edge triangle facets" formed after the original surface of the model is cut and "new cross-section triangle facets" formed by the cutting plane inside the model.

[0065] Contour processing is performed based on the target layer triangle set. The intersection line between each facet in the target layer triangle set and the plane is calculated. All intersection lines are sorted and connected to obtain the closed contour of the model within the candidate printing partition corresponding to the target layer triangle set. Thus, the contour information corresponding to each of the multiple candidate printing partitions is obtained.

[0066] Rasterization is performed based on the contour information to obtain layer images corresponding to each layer to be printed. The total number of layers to be printed is determined based on the highest-ranking printable model among all candidate printable partitions. That is, for each printable layer, rasterization is performed based on the contour information corresponding to each candidate printable partition at that layer to obtain the corresponding layer image. Finally, all layer images and the printing parameters corresponding to each candidate printable partition are compressed and encoded to obtain the slice file.

[0067] It should be noted that in the planar cutting step, cutting can also be done on a region-by-region basis. For each candidate printing region, the plane cuts the model in the candidate printing region at the same time each time. The final layer triangle set is corresponding to the candidate printing region, with one candidate printing region corresponding to one layer triangle set.

[0068] For example, consider two candidate printing partitions, Q1 and Q2. Candidate printing partition Q1 contains a portion of model M1 and a portion of model M2, while candidate printing partition Q2 contains a portion of model M3 and a portion of model M2. First, for candidate printing partition Q1, a portion of model M1 and a portion of model M2 are cut using a plane to obtain the target layer triangle set H1 corresponding to candidate printing partition Q1. Then, for candidate printing partition Q2, a portion of model M3 and a portion of model M2 are cut using a plane to obtain the target layer triangle set H2 corresponding to candidate printing partition Q2. Next, based on the target layer triangle sets corresponding to candidate printing partitions Q1 and Q2, contour processing is performed on both partitions to obtain the contour information corresponding to candidate printing partitions Q1 and Q2 respectively. Then, layer by layer, for each layer to be printed, rasterization is performed based on the contour information corresponding to candidate printing partitions Q1 and Q2 at that layer to obtain the corresponding layer image. Finally, all layer images and the printing parameters set for the two candidate printing partitions Q1 and Q2 are compressed and encoded to obtain the slice file.

[0069] In one embodiment of this application, after obtaining the slice file, in response to the parameter preview selection operation, a parameter preview interface is displayed, which includes parameter preview controls corresponding to each candidate print partition with set print parameters; in response to the selection operation of the parameter preview control, the print parameters of the candidate print partition corresponding to the parameter preview control are displayed.

[0070] For example, such as Figure 6 The image shows the parameter preview interface, which displays parameter preview controls for "Candidate Print Partition Q1" and "Candidate Print Partition Q2". After the user clicks on "Candidate Print Partition Q1", the printing parameters corresponding to candidate print partition Q1 are displayed.

[0071] This application enables a preview of the partitions after slicing is completed, allowing users to intuitively understand the printing parameters set for each partition.

[0072] In one embodiment, the slicing device can directly send the generated slice file to the printer; alternatively, the slicing device can temporarily store the slice file and send it to the printer when printing. Figure 6 As shown, the parameter preview interface includes controls for "Save to Local" and "Remote Print," allowing users to choose to temporarily save the sliced ​​file or send it directly to the printer.

[0073] The following is a specific embodiment to illustrate the method for generating slice files in this application: 1. Choose a 3D printer Users select a printer on the device selection interface. If the selected 3D printer is a multi-slot model (i.e., the first type of printer), the target interface will display the first display mode adapted to multi-slot models. If the selected 3D printer is a single-slot model (i.e., the second type of printer), the target interface will display the second display mode adapted to single-slot models.

[0074] In the first display mode, the target interactive interface displays a feed slot number switching control, which includes multiple feed slot number options. These options correspond to various preset feed slot installation numbers supported by the selected printer. Furthermore, in the first display mode, the user can select any feed slot number option from the feed slot number switching control. After the user selects any feed slot number option, multiple candidate print partitions corresponding to the selected feed slot number option are displayed in the target interactive interface.

[0075] In the second display mode, only one candidate print zone is displayed in the target interactive interface, which corresponds to the single feed trough installed on the second type of printer.

[0076] The target interactive interface includes at least a slicing settings area, a model operation area, and a parameter setting area. In both the first and second display modes, the interface includes these three areas. The difference lies in the model operation area: in the first display mode, the model operation area includes multiple candidate printing zones, each corresponding to a valid exposure zone on the 3D printer, and each valid exposure zone corresponds to a material tray on the 3D printer. In the second display mode, the model operation area includes only one candidate printing zone, corresponding to one valid exposure zone on the 3D printer, and each valid exposure zone corresponds to one material tray on the 3D printer.

[0077] 2. Import model files Users select an STL model file and import the model into the target interactive interface.

[0078] For Type 1 printers, one or more models can be imported into the model display area. When importing multiple models, users can import different STL model files separately, with one STL model file corresponding to one model, or they can import a single STL file containing multiple models.

[0079] When importing multiple models, one or more models can be placed in a single candidate print partition. Taking the import of models M1 and M2 as an example, models M1 and M2 can be in the same candidate print partition or in two different candidate print partitions.

[0080] After the model is imported into the target interactive interface, the user can perform partitioning operations on the model. For example, the user can drag the model within the target interactive interface to move its position so that the model is placed in the candidate printing partition, thereby realizing the division of the printing partition to which the model to be printed belongs among multiple candidate printing partitions.

[0081] In one embodiment, in response to a user performing a position adjustment operation on the model to be printed, the position of the model to be printed on the model operation area is determined, and based on the position of the model to be printed on the model operation area and the boundary range of multiple candidate printing partitions, the positional intersection between the model to be printed and the multiple candidate printing partitions is determined.

[0082] In one embodiment, after a model is imported into a candidate print partition, if the model has out-of-bounds portions, which include portions that are not within the boundary of its respective candidate print partition, then an out-of-bounds warning is given for the out-of-bounds portions in the model.

[0083] 3. Parameter Settings When the target interactive interface is in the first display mode, that is, when the printer selected by the user is the first type of printer, and the selected number of feed slots corresponds to multiple feed slots, the target interactive interface not only displays multiple candidate printing partitions corresponding to the selected number of feed slots, but also displays multiple partition options corresponding to the number of feed slots. The partition options correspond one-to-one with the candidate printing partitions, and a partition option is used to set the printing parameters for its corresponding candidate printing partition.

[0084] For any candidate print zone, in response to the user's selection of the corresponding zone option, a parameter configuration interface is displayed to set the printing parameters for that candidate target zone. The user can enter parameters in the parameter configuration interface to set the printing parameters for that candidate print zone. These printing parameters include printing material type and printing process parameters. Printing process parameters include printing quality mode, layer thickness, normal layer exposure time, interval time, pre-lift waiting time, post-lift waiting time, number of bottom layers, bottom layer exposure time, bottom layer shutdown time, pre-lift waiting time, post-lift waiting time, Z-axis lift distance, Z-axis lift speed, and Z-axis retraction speed.

[0085] In one embodiment, if the printing material type is the same among the printing parameters set for at least two candidate printing zones, then the printing process parameters for these candidate printing zones are all set to be the same. Furthermore, the printing process parameters of candidate printing zones whose parameters were previously set can be modified to be the same as those of the candidate printing zone whose parameters were last set.

[0086] 4. Slice The user clicks on a slice to begin slicing based on the print parameters set by the model and partitions, generating a print file. The slicing process is as follows: (1) Lock parameters: Lock the printing parameters that the user has set to prevent them from being changed accidentally in subsequent operations and ensure the consistency between slicing and printing.

[0087] (2) Compatibility Judgment: Determine whether the printing parameters set for multiple candidate print partitions meet the compatibility conditions. This can be determined by checking whether the preset baseline parameters in the printing parameters corresponding to multiple candidate print partitions are all the same. If the preset baseline parameters are the same, the set printing parameters are compatible with each other; if the preset baseline parameters are different, the set printing parameters are incompatible with each other.

[0088] When the set printing parameters are compatible, the corresponding model to be printed continues to be sliced ​​based on the printing parameters corresponding to each candidate print partition, generating slice files. When the set printing parameters are incompatible, a prompt page is displayed, including information about the incompatible parameters. The prompt page also includes multiple parameter modification guides, each corresponding to a candidate print partition. Users can trigger these guides to access the printing parameter settings interface for the corresponding candidate print partition, where they can modify the printing parameters to ensure compatibility and continue generating slice data.

[0089] (3) Determine whether the 3D printer selected by the user is a first-type printer. If it is a first-type printer, determine the number of material slots selected by the user. If the number of material slots selected by the user corresponds to multiple material slots, enter the slicing mode of multiple material slots.

[0090] (4) Model partitioning Based on the printing partition to which the model belongs in the multiple candidate printing partitions, the positional intersection between the model and the multiple candidate printing partitions is determined: if the model intersects with only one candidate printing partition, then that candidate printing partition is determined as the printing partition to which the model belongs; if the model intersects with multiple candidate printing partitions at the same time, then all candidate printing partitions with intersections are determined as the printing partition to which the model belongs.

[0091] (5) Obtain the target layer triangle set For each candidate printing partition, the model belonging to the candidate printing partition is cut by plane to obtain the target layer triangle set.

[0092] For example, consider candidate printing partitions Q1 and Q2. Candidate printing partition Q1 contains a portion of model M1 and a portion of model M2, while candidate printing partition Q2 contains a portion of model M3 and a portion of model M2. First, for candidate printing partition Q1, we use planes to cut a portion of model M1 and a portion of model M2 respectively to obtain the target layer triangle set H1 corresponding to candidate printing partition Q1. Then, for candidate printing partition Q2, we use planes to cut a portion of model M3 and a portion of model M2 respectively to obtain the target layer triangle set H2 corresponding to candidate printing partition Q2.

[0093] (6) Obtain the contour information of the model Contour processing is performed based on the target layer triangle set. The intersection line between each facet in the target layer triangle set and the plane is calculated. All intersection lines are sorted and connected to obtain the closed contour of the model within the candidate printing partition corresponding to the target layer triangle set. Thus, the contour information corresponding to each of the multiple candidate printing partitions is obtained.

[0094] For example, based on the target layer triangle sets corresponding to candidate printing partitions Q1 and Q2, contour processing is performed on the two regions respectively to obtain the contour information corresponding to candidate printing partitions Q1 and Q2 respectively.

[0095] In one embodiment, in addition to providing boundary warnings for out-of-bounds portions, this application can also trim the model to be printed during slicing; or, it can provide boundary warnings for out-of-bounds portions and trim the model to be printed during slicing. The model to be printed is trimmed into out-of-bounds portions and valid portions, and the valid portions are retained. Then, based on the retained valid portions and the printing parameters corresponding to each candidate printing partition, a slice file is generated.

[0096] (7) Layer-by-layer rasterization For each layer to be printed, rasterization is performed based on the contour information corresponding to each candidate printing partition in that layer to obtain the layer image corresponding to that layer.

[0097] (8) After obtaining the layer images corresponding to all layers, compress and encode all layer images and the printing parameters corresponding to each candidate printing partition to obtain the slice file.

[0098] In this embodiment, the slicing device, in response to a user-initiated model import operation, accurately presents the model to be printed in a preset target interactive interface. Based on the user's operation of partitioning the model to be printed, the printing partition to which the model belongs is divided among multiple candidate printing partitions in the target interactive interface. In response to the user's parameter setting operation for each candidate printing partition, the printing parameters corresponding to each candidate printing partition are determined, realizing the partition setting of printing parameters. After setting the printing parameters corresponding to each candidate printing partition, a slice file is generated based on the model to be printed and the printing parameters corresponding to each candidate printing partition. This slice file can guide the printer to simultaneously perform photopolymerization printing of multiple partitions based on the printing parameters corresponding to each candidate printing partition, improving the printing efficiency of 3D models and enabling the one-time molding of 3D models with multiple shapes, colors, and materials. Furthermore, this application supports users in importing models, partitioning models, and setting partition parameters, making the user operation process smoother and more reasonable, and improving the efficiency of partition parameter setting.

[0099] This application also provides a slicing processing device, such as... Figure 7 As shown, the slicing processing device 700 includes a processor 701 and a memory 702. The memory 702 stores a program or instruction that can run on the processor 701. When the program or instruction is executed by the processor 701, it implements the various steps of the above-described slice file generation method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0100] The memory 702 can be used to store software programs and various data. The memory 702 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 702 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 702 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0101] Processor 701 may include one or more processing units; optionally, processor 701 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 701.

[0102] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described slice file generation method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0103] This application also provides the following embodiments: Example 1: A method for generating sliced ​​files, the method comprising: In response to the model import operation, the imported model to be printed is displayed in the target interactive interface; Based on the partitioning operation for the model to be printed, the printing partition to which the model to be printed belongs is divided from multiple candidate printing partitions; the multiple candidate printing partitions correspond to multiple effective exposure partitions on the 3D printer, and the multiple effective exposure partitions correspond to multiple material troughs installed on the 3D printer. In response to parameter setting operations for each of the candidate print partitions, print parameters corresponding to each of the candidate print partitions are determined. Based on the model to be printed and the printing parameters corresponding to each of the candidate printing partitions, a slice file is generated.

[0104] Example 2, based on Example 1, further includes the following method before displaying the imported model to be printed in the target interactive interface in response to the model import operation: When the selected printer is determined to be a first-type printer based on the printer selection operation, the target interactive interface is set to the first display mode; the first-type printer supports the installation of multiple feed troughs; In the first display mode, the target interactive interface displays a material slot number switching control, which includes multiple material slot number options, each corresponding to a different preset material slot installation number supported by the selected printer; the method further includes: In response to a selection operation for any of the slot number options in the slot number switching control, a plurality of candidate print partitions corresponding to the selected slot number option are displayed in the target interactive interface.

[0105] Example 3: Based on Example 2, when the target interactive interface is in the first display mode and the selected number of material slots corresponds to multiple material slots, the target interactive interface also displays multiple partition options corresponding to the number of material slots, and the multiple partition options correspond to the multiple candidate printing partitions respectively. The step of determining the printing parameters corresponding to each of the candidate print partitions in response to the parameter setting operation for each of the candidate print partitions includes: For each of the aforementioned candidate print partitions, the following steps are performed: Based on the selection operation of the partition option corresponding to the candidate print partition, the parameter configuration interface for setting the print parameters for the candidate target partition is displayed; In response to the parameter entry operation on the parameter configuration interface, the printing parameters corresponding to the candidate printing partition are obtained.

[0106] Example 4, based on Example 2, the target interactive interface includes at least a slice setting function area, a model operation area, and a parameter setting area; The candidate print partitions are displayed in the model operation area, and the number of hoppers and the partition options are displayed in the parameter setting area.

[0107] Example 5, based on Example 2, further includes: When the selected printer is determined to be a second type printer based on the printer selection operation, the target interactive interface is set to the second display mode; the second type printer only supports the installation of a single feed hopper; In the second display mode, the target interactive interface displays only one candidate printing partition, which corresponds to a single material slot installed on the 3D printer, and the parameter setting controls displayed in the target interactive interface match the number of candidate printing partitions displayed in the target interactive interface.

[0108] Example 6, based on Example 1, the printing parameters include printing material type and printing process parameters; the step of determining the printing parameters corresponding to each of the candidate printing partitions in response to the parameter setting operation for each candidate printing partition includes: In response to a parameter setting operation for the current candidate print partition, the printing parameters corresponding to the current candidate print partition are determined; If the printing material type of the current candidate printing partition is the same as the printing material type of at least one previously set printing parameter candidate printing partition, then the printing process parameters of the at least one previously set printing parameter candidate printing partition are updated to be consistent with the printing process parameters set for the current candidate printing partition.

[0109] Example 7, based on Example 1, before slicing the corresponding model to be printed based on the printing parameters corresponding to each candidate printing partition and generating the slice file, the method further includes: In response to the slice trigger operation, it is determined whether the printing parameters set for the multiple candidate printing partitions meet the compatibility conditions; the compatibility conditions include that the preset reference parameters in the printing parameters corresponding to the multiple candidate printing partitions are all the same, and the preset reference parameters include at least one of the following: layer thickness, anti-aliasing level, grayscale level, image blur, and surface matte. The step of slicing the corresponding model to be printed based on the printing parameters corresponding to each of the candidate printing partitions to generate a slice file includes: If the compatibility conditions are met, the corresponding model to be printed is sliced ​​based on the printing parameters corresponding to each candidate printing partition to generate a slice file.

[0110] Example 8, based on Example 7, further includes: If the compatibility conditions are not met, a prompt page will be displayed, which includes incompatible parameter prompt information; The prompt page also includes multiple parameter modification guide controls, each corresponding to one of the multiple candidate print areas; the method further includes: In response to the triggering operation of the parameter modification guide control, the user is redirected to the print parameter setting interface corresponding to the candidate print partition. The print parameter setting interface is used to set the print parameters of the corresponding candidate print partition.

[0111] Example 9, based on Example 1, the step of determining the printing partition to which the model to be printed belongs from multiple candidate printing partitions based on the partitioning operation for the model to be printed includes: Based on the position adjustment operation of the model to be printed and the boundary range of the multiple candidate printing partitions, the positional intersection between the model to be printed and the multiple candidate printing partitions is determined; If the model to be printed intersects with only one candidate printing partition, then that candidate printing partition is determined as the printing partition to which the model to be printed belongs; If the model to be printed intersects with multiple candidate print partitions, then all candidate print partitions that intersect are determined as the print partition to which the model to be printed belongs.

[0112] Example 10, based on Example 9, further includes: Provide an out-of-bounds warning for the out-of-bounds portion of the model to be printed; or, The step of generating a slice file based on the model to be printed and the printing parameters corresponding to each of the candidate printing partitions includes: The out-of-bounds portion of the model to be printed is trimmed, and a slice file is generated based on the effective portion retained after trimming and the printing parameters corresponding to each candidate printing partition. The out-of-bounds portion of the model to be printed includes the portion that is not within the boundary range of its respective candidate printing area.

[0113] Example 11, based on Example 1, the step of generating a slice file based on the model to be printed and the printing parameters corresponding to each of the candidate printing partitions includes: For each of the candidate printing partitions, the model to be printed belonging to the candidate printing partition is cut using a plane to obtain a set of target layer triangles; Based on the target layer triangle set, contour processing is performed to obtain the contour information corresponding to each of the multiple candidate printing partitions; Based on the contour information, rasterization processing is performed to obtain the layer images corresponding to each layer to be printed, wherein the total number of layers to be printed is determined based on the highest-ranking model to be printed among all candidate printing partitions. A slice file is generated by encoding the layer images corresponding to each layer to be printed and the printing parameters corresponding to each candidate printing partition.

[0114] This application also provides the following embodiments: Example 12: A slicing processing device includes a processor and a memory, the memory storing a program or instructions that run on the processor, the program or instructions being executed by the processor to implement the steps of the slice file generation method as described in any one of Examples 1 to 11.

[0115] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0116] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for generating sliced ​​files, characterized in that, The method includes: In response to the model import operation, the imported model to be printed is displayed in the target interactive interface; Based on the partitioning operation for the model to be printed, the printing partition to which the model to be printed belongs is divided from multiple candidate printing partitions; the multiple candidate printing partitions correspond to multiple effective exposure partitions on the 3D printer, and the multiple effective exposure partitions correspond to multiple material troughs installed on the 3D printer. In response to parameter setting operations for each of the candidate print partitions, print parameters corresponding to each of the candidate print partitions are determined. Based on the model to be printed and the printing parameters corresponding to each of the candidate printing partitions, a slice file is generated.

2. The method for generating sliced ​​files according to claim 1, characterized in that, Before displaying the imported model to be printed in the target interactive interface in response to the model import operation, the method further includes: When the selected printer is determined to be a first-type printer based on the printer selection operation, the target interactive interface is set to the first display mode; the first-type printer supports the installation of multiple feed troughs; In the first display mode, the target interactive interface displays a material slot number switching control, which includes multiple material slot number options, each corresponding to a different preset material slot installation number supported by the selected printer; the method further includes: In response to a selection operation for any of the slot number options in the slot number switching control, a plurality of candidate print partitions corresponding to the selected slot number option are displayed in the target interactive interface.

3. The method for generating sliced ​​files according to claim 2, characterized in that, When the target interactive interface is in the first display mode and the selected number of material slots corresponds to multiple material slots, the target interactive interface also displays multiple partition options corresponding to the number of material slots, and the multiple partition options correspond to the multiple candidate printing partitions respectively; The step of determining the printing parameters corresponding to each of the candidate print partitions in response to the parameter setting operation for each of the candidate print partitions includes: For each of the aforementioned candidate print partitions, the following steps are performed: Based on the selection operation of the partition option corresponding to the candidate print partition, the parameter configuration interface for setting the print parameters for the candidate target partition is displayed; In response to the parameter entry operation on the parameter configuration interface, the printing parameters corresponding to the candidate printing partition are obtained.

4. The method for generating sliced ​​files according to claim 2, characterized in that, The target interactive interface includes at least a slice setting function area, a model operation area, and a parameter setting area; The candidate print partitions are displayed in the model operation area, and the number of hoppers and the partition options are displayed in the parameter setting area.

5. The method for generating sliced ​​files according to claim 2, characterized in that, The method further includes: When the selected printer is determined to be a second type printer based on the printer selection operation, the target interactive interface is set to the second display mode; the second type printer only supports the installation of a single feed hopper; In the second display mode, the target interactive interface displays only one candidate printing partition, which corresponds to a single material slot installed on the 3D printer, and the parameter setting controls displayed in the target interactive interface match the number of candidate printing partitions displayed in the target interactive interface.

6. The method for generating sliced ​​files according to claim 1, characterized in that, The printing parameters include the type of printing material and printing process parameters; The step of determining the printing parameters corresponding to each of the candidate print partitions in response to the parameter setting operation for each of the candidate print partitions includes: In response to a parameter setting operation for the current candidate print partition, the printing parameters corresponding to the current candidate print partition are determined; If the printing material type of the current candidate printing partition is the same as the printing material type of at least one previously set printing parameter candidate printing partition, then the printing process parameters of the at least one previously set printing parameter candidate printing partition are updated to be consistent with the printing process parameters set for the current candidate printing partition.

7. The method for generating sliced ​​files according to claim 1, characterized in that, Before generating the slice file by slicing the corresponding model to be printed based on the printing parameters corresponding to each of the candidate printing partitions, the method further includes: In response to the slice trigger operation, it is determined whether the printing parameters set for the multiple candidate printing partitions meet the compatibility conditions; the compatibility conditions include that the preset reference parameters in the printing parameters corresponding to the multiple candidate printing partitions are all the same, and the preset reference parameters include at least one of the following: layer thickness, anti-aliasing level, grayscale level, image blur, and surface matte. The step of slicing the corresponding model to be printed based on the printing parameters corresponding to each of the candidate printing partitions to generate a slice file includes: If the compatibility conditions are met, the corresponding model to be printed is sliced ​​based on the printing parameters corresponding to each candidate printing partition to generate a slice file.

8. The method for generating sliced ​​files according to claim 7, characterized in that, The method further includes: If the compatibility conditions are not met, a prompt page will be displayed, which includes incompatible parameter prompt information; The prompt page also includes multiple parameter modification guide controls, each corresponding to one of the multiple candidate print areas; the method further includes: In response to the triggering operation of the parameter modification guide control, the user is redirected to the print parameter setting interface corresponding to the candidate print partition. The print parameter setting interface is used to set the print parameters of the corresponding candidate print partition.

9. The method for generating sliced ​​files according to claim 1, characterized in that, The step of determining the print partition to which the model to be printed belongs from multiple candidate print partitions based on the partitioning operation for the model to be printed includes: Based on the position adjustment operation of the model to be printed and the boundary range of the multiple candidate printing partitions, the positional intersection between the model to be printed and the multiple candidate printing partitions is determined; If the model to be printed intersects with only one candidate printing partition, then that candidate printing partition is determined as the printing partition to which the model to be printed belongs; If the model to be printed intersects with multiple candidate print partitions, then all candidate print partitions that intersect are determined as the print partition to which the model to be printed belongs.

10. The method for generating sliced ​​files according to claim 9, characterized in that, The method further includes: Provide an out-of-bounds warning for the out-of-bounds portion of the model to be printed; or, The step of generating a slice file based on the model to be printed and the printing parameters corresponding to each of the candidate printing partitions includes: The out-of-bounds portion of the model to be printed is trimmed, and a slice file is generated based on the effective portion retained after trimming and the printing parameters corresponding to each candidate printing partition. The out-of-bounds portion of the model to be printed includes the portion that is not within the boundary range of its respective candidate printing area.

11. The method for generating sliced ​​files according to claim 1, characterized in that, The step of generating a slice file based on the model to be printed and the printing parameters corresponding to each of the candidate printing partitions includes: For each of the candidate printing partitions, the model to be printed belonging to the candidate printing partition is cut by plane to obtain the target layer triangle set; Based on the target layer triangle set, contour processing is performed to obtain the contour information corresponding to each of the multiple candidate printing partitions; Based on the contour information, rasterization processing is performed to obtain the layer images corresponding to each layer to be printed, wherein the total number of layers to be printed is determined based on the highest-ranking model to be printed among all candidate printing partitions. A slice file is generated by encoding the layer images corresponding to each layer to be printed and the printing parameters corresponding to each candidate printing partition.

12. A slicing processing device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that run on the processor, the program or instructions being executed by the processor to implement the steps of the slice file generation method as described in any one of claims 1 to 11.