Printer control method and device, equipment and storage medium

By generating a recommended printing layer height and matching nozzle process parameters, the problem of insufficient coordination between layer height changes and printing process in the existing technology is solved, the accuracy and efficiency of the 3D printing process are improved, and the stability and flexibility of the printing process are ensured.

CN120816732APending Publication Date: 2025-10-21ATOMIC RESHAPING TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511086270.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-04
Publication Date
2025-10-21

AI Technical Summary

Technical Problem

When faced with complex models or structures with greatly varying precision requirements, existing 3D printing slicing methods are unable to effectively coordinate the correspondence between layer height changes and printing processes, resulting in limited improvements in printing efficiency and quality.

Method used

By generating a recommended printing layer height based on the geometric features of the 3D printing model and matching the most suitable printing nozzle and process parameters, the coordinated control of layer height, nozzle and process parameters is achieved, and the nozzle selection and layer height settings are dynamically adjusted.

Benefits of technology

It improves the molding accuracy and overall efficiency of the 3D printing process, avoids molding defects caused by improper nozzle selection, ensures the stability and consistency of the printing process, adapts to various printing strategies, and improves the flexibility of nozzle scheduling and overall process control capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120816732A_ABST
    Figure CN120816732A_ABST
Patent Text Reader

Abstract

The invention provides a printer control method and device, equipment and a storage medium, and relates to the technical field of three-dimensional printing. The method comprises the following steps: receiving a target printing nozzle and a target layer height process corresponding to each slice layer in a target three-dimensional printing model; controlling a target printing nozzle to perform model printing according to a target layer height process; wherein the target printing nozzle is obtained through matching according to the recommended printing layer height; the recommended printing layer height is generated according to geometric features of the to-be-printed model and is located in a printable layer height interval of all the candidate printing nozzles; the target layer height process is determined according to the recommended printing layer height and the matched target printing nozzle. According to the method, the most suitable printing nozzle can be automatically matched and the corresponding printing process can be determined according to the recommended printing layer height of each layer, and cooperative control of the layer height, the nozzle and the process parameters is realized, so that the forming precision and the overall printing efficiency in the model printing process are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of three-dimensional printing, and to a printer control method, device, equipment, and storage medium. Background Art

[0002] With the widespread application of 3D printing technology in manufacturing, healthcare, and construction, improving printing efficiency while maintaining a high quality of the finished product has become a key research topic. Slicing, as the key link between the digital model and the printing hardware, directly affects printing accuracy and printing time. Therefore, optimizing slicing methods is crucial for improving overall printing performance.

[0003] Currently, 3D printing slicing methods are usually based on slicing with a fixed nozzle, fixed layer height or variable layer height within a limited range, and a fixed printing process. Although this type of method is simple to implement, it has obvious limitations when faced with complex 3D models or structures with large differences in accuracy requirements. Especially after the introduction of the variable layer height strategy, the current slicing method fails to effectively coordinate the correspondence between layer height changes and printing processes. Even if some areas of the model can improve printing efficiency by adjusting the layer height, it is impossible to achieve linkage optimization of parameters due to the limitations of the fixed process, which in turn limits the room for improvement in printing effects.

[0004] For example, some related technologies achieve a coordinated optimization of precision and efficiency by setting up two nozzles of different diameters for printing the outer wall and internal filling of the model, respectively. This method has a certain optimization effect in terms of printing path control and nozzle coordination, and can use nozzles of different sizes in different areas to improve printing flexibility. However, during the slicing process, it is unable to dynamically match the optimal process parameters at each slice layer according to the complexity of the model structure. It is difficult to meet the differentiated printing parameter requirements of multi-level printing areas, which limits the further coordinated improvement of printing quality and efficiency. Summary of the Invention

[0005] The present disclosure provides a printer control method, device, electronic device, and storage medium, which can automatically match the most suitable printing nozzle and determine the corresponding printing process based on the recommended printing layer height of each layer, realize the coordinated control of layer height, nozzle, and process parameters, and thus improve the molding accuracy and overall printing efficiency during the model printing process.

[0006] Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.

[0007] According to a first aspect of the present disclosure, a printer control method is provided, which is applied to a printing terminal, wherein the printing terminal includes a plurality of candidate printing nozzles, including:

[0008] Receive slicing control data corresponding to a target three-dimensional printing model, the slicing control data including a target printing nozzle and a target layer height process corresponding to each slicing layer;

[0009] Printing the target three-dimensional printed model through the corresponding target printing nozzle according to the target layer height process of each slice layer;

[0010] Among them, the target printing nozzle corresponding to each slice layer is obtained according to the recommended printing layer height matching of each slice layer; the recommended printing layer height of each slice layer is generated according to the geometric features of the target three-dimensional printing model, and the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles; the target layer height process of each slice layer is determined according to the recommended printing layer height of each slice layer and the matching target printing nozzle; and the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

[0011] The printer control method provided in this example can receive and parse slice control data on the printing terminal side. Combined with the capability parameters of multiple candidate printing nozzles, it achieves adaptive matching of printing layer height, nozzle selection, and process parameters, significantly improving the accuracy and efficiency of the printing process.

[0012] Specifically, based on the geometric features of the target 3D printing model, a recommended printing layer height is generated for each slice layer, and the nozzle is matched according to the generated recommended printing layer height. This can achieve dynamic adaptation between the nozzle and the model geometry, avoiding the poor adaptation problem caused by a fixed nozzle or fixed layer height.

[0013] Each recommended layer height is limited and calculated within the printable layer height range corresponding to all available nozzles. This serves as the basis for subsequent nozzle selection and process matching, achieving collaborative optimization within the capabilities of multiple nozzles, rather than limiting the process solely based on the current nozzle's capabilities. On this basis, the target layer height process is further determined based on the process characteristics of the matched nozzles. This ensures both build accuracy in complex areas and increased printing speed in flat areas, thus balancing print quality and efficiency.

[0014] This example effectively improves the compatibility between nozzles and layer heights, avoiding molding defects caused by improper nozzle selection while ensuring the selected layer height remains within the device's capabilities, helping to enhance the stability and consistency of the printing process. Furthermore, the matching relationship between the recommended layer height and nozzle diameter is flexible, allowing different recommended layer heights to correspond to the same diameter nozzle, or the same recommended layer height to match different diameter nozzles. This allows for adapting to various printing strategies and improving nozzle scheduling flexibility in multi-nozzle configurations.

[0015] The entire printing control process optimizes the parameter settings of each slice layer, reducing operational complexity while improving printing efficiency and molding quality, thereby achieving precise control and efficient execution of 3D printing tasks.

[0016] In an exemplary embodiment of the present application, when the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, different target layer height processes are used to print each of the slice layers.

[0017] By further setting different target layer height processes in scenarios where different recommended printing layer heights correspond to the same caliber nozzle, even if the same diameter nozzle is used to print multiple slice layers with different layer heights, the printing parameter configuration can be optimized in a targeted manner. While ensuring overall printing efficiency, it also takes into account the differentiated requirements of different local areas for molding accuracy and surface quality, thereby significantly improving the overall molding effect and process control capabilities of the printed model.

[0018] This example not only improves the process adaptability of the same nozzle in multi-layer high-resolution printing tasks, but also effectively avoids path adjustments, motion deviations, and time overheads caused by frequent nozzle switching, further ensuring the stability and continuity of the printing process.

[0019] According to a second aspect of the present disclosure, there is provided a printer control method, which is applied to a control terminal and includes:

[0020] Loading a target 3D printing model, and generating a recommended printing layer height for each slice layer in the target 3D printing model based on the geometric features of the target 3D printing model, wherein the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles of the printing terminal;

[0021] In response to generating each of the recommended printing layer heights, determining a target printing nozzle that matches each of the slice layers;

[0022] In response to determining the recommended printing layer height of each slice layer and the matching target printing nozzle, selecting a target layer height process for each slice layer;

[0023] In response to determining the target layer height process of each slicing layer, sending the target printing nozzle and the target layer height process corresponding to each slicing layer to the printing terminal, so that the printing terminal prints the target three-dimensional printing model according to the target printing nozzle and the target layer height process corresponding to each slicing layer;

[0024] The target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

[0025] The printer control method provided in this example uses a control terminal to automatically analyze and process the 3D model during the slicing stage. This method can achieve a coordinated match between printing layer height, nozzle selection, and process parameters while taking into account both printing accuracy and printing efficiency.

[0026] Specifically, the control terminal generates a recommended print height for each slice layer based on the geometric features of the target 3D printing model, ensuring that the generated recommended print height is within the printable layer height range of all candidate nozzles of the printing terminal, thus ensuring the adaptability of parameter selection and the feasibility of the printing process from the source. Furthermore, based on the recommended print height, the target print nozzle is matched for each slice layer, and the target layer height process of the layer is determined based on the recommended print height and the matching nozzle. This achieves the fusion control between layer height design and nozzle capacity, which helps to dynamically adjust the printing strategy for different structural areas.

[0027] Furthermore, the control terminal can send the determined nozzle selection and layer height process as slicing control parameters to the printing terminal, allowing the printing terminal to directly perform layered printing based on these parameters, thus avoiding the printing terminal's parameter judgment during the printing phase and improving task execution efficiency. In particular, this example allows different recommended printing layer heights to correspond to printing nozzles of the same caliber, and also allows the same recommended printing layer height to match nozzles of different calibers. This achieves multi-process strategy coverage without introducing the burden of nozzle switching, improving nozzle utilization efficiency and overall process flexibility.

[0028] In an exemplary embodiment of the present application, in response to generating each of the recommended printing layer heights, determining a target printing nozzle that matches each of the sliced ​​layers includes:

[0029] In response to generating each of the recommended printing layer heights, obtaining a candidate nozzle set corresponding to each of the recommended printing layer heights;

[0030] A quality factor set through a control terminal interface is received, and a target printing nozzle matching each of the slice layers is determined based on the quality factor and a candidate nozzle set.

[0031] By further obtaining the corresponding set of candidate nozzles after generating the recommended printing layer height for each slice layer and introducing a quality factor set by the user through the control terminal interface, the optimal nozzle can be automatically selected as the target printing nozzle among multiple candidate nozzles based on the trade-off between printing accuracy and efficiency, thus achieving quantitative control and preference guidance of nozzle selection.

[0032] Among them, the quality factor reflects the user's preference for printing quality or speed. The higher the quality factor, the more inclined the user is to pursue printing quality, and will give priority to choosing fine-diameter nozzles that are more suitable for detail molding; conversely, when the quality factor is lower, it is more inclined to printing speed, and will give priority to matching large-diameter nozzles with high discharge capacity to shorten printing time and improve efficiency.

[0033] This strategy not only improves the targeting and intelligence of nozzle selection, but also enhances the adaptability of the printing control process to various task requirements, making the final nozzle selection results more controllable, thereby improving the overall performance and process stability of the printing process.

[0034] In an exemplary embodiment of the present application, determining a target printing nozzle matching each of the slice layers according to the quality factor and the candidate nozzle set includes:

[0035] Determining a maximum nozzle diameter and a minimum nozzle diameter according to the nozzle diameters of the candidate nozzles in the candidate nozzle set;

[0036] Calculating a target nozzle diameter according to the maximum nozzle diameter, the minimum nozzle diameter, and the quality factor;

[0037] According to the target nozzle diameter, a target printing nozzle of the corresponding slice layer is matched from the candidate nozzle set.

[0038] By introducing the nozzle diameter information of each nozzle in the candidate nozzle set during the nozzle selection process and combining it with the quality factor set by the user, the target nozzle diameter can be dynamically calculated according to demand between the maximum nozzle diameter and the minimum nozzle diameter, thereby achieving the controllability of the nozzle selection result.

[0039] The introduction of the quality factor allows the target nozzle diameter to, to a certain extent, reflect the print job's preference for quality and efficiency. A higher quality factor tends to select a nozzle closer to the minimum nozzle diameter to improve printing accuracy; a lower quality factor tends to select a nozzle closer to the maximum nozzle diameter to improve output capacity and printing efficiency.

[0040] Finally, the calculated target nozzle diameter is matched with the actual nozzles in the candidate nozzle set to determine the target printing nozzle that best matches the current slice layer. This nozzle selection mechanism not only improves the utilization efficiency of nozzle resources, but also enhances the print control system's ability to coordinate quality, speed, and resources, further improving the system's adaptability and the process controllability of printing tasks.

[0041] In an exemplary embodiment of the present application, calculating the target nozzle diameter according to the maximum nozzle diameter, the minimum nozzle diameter, and the quality factor includes:

[0042] The maximum nozzle diameter and the minimum nozzle diameter are interpolated and calculated using the quality factor to obtain the target nozzle diameter.

[0043] By using the quality factor to interpolate the maximum and minimum nozzle diameters, the target nozzle diameter that meets the user's expectations can be dynamically generated based on the user's preferences for printing accuracy and printing efficiency, thereby achieving continuous adjustment and dynamic control of the nozzle selection process.

[0044] This calculation method causes the target nozzle diameter to vary linearly within a preset diameter range based on the quality factor: the higher the quality factor, the closer the target nozzle diameter is to the minimum value to meet higher requirements for molding accuracy; and when the quality factor is lower, the target nozzle diameter is closer to the maximum value to improve discharge speed and printing efficiency.

[0045] Based on this, the system can quantitatively control nozzle selection results without exhaustively enumerating all nozzle combinations, significantly improving the accuracy and response efficiency of parameter settings. The target nozzles thus determined are more closely aligned with the actual needs of specific printing tasks, significantly enhancing the control system's adaptability and process scheduling flexibility in various printing scenarios and complex models.

[0046] In an exemplary embodiment of the present application, matching the target printing nozzle of the corresponding slice layer from the candidate nozzle set according to the target nozzle diameter includes:

[0047] Calculating a first difference between the target nozzle diameter and the nozzle diameter of each candidate nozzle in the candidate nozzle set;

[0048] The candidate nozzle with the smallest first difference value is determined as the target printing nozzle of the corresponding slice layer.

[0049] By introducing the difference calculation between the target nozzle diameter and the diameters of each nozzle in the candidate nozzle set during the nozzle selection process, it is possible to accurately match the target printing nozzle that best meets the current slice layer printing requirements from multiple candidate nozzles based on the degree of numerical proximity.

[0050] In this example, when the candidate nozzle set is a discrete value, the target nozzle diameter obtained by interpolation calculation is compared with the diameters of each candidate nozzle, and the nozzle with the smallest difference is selected as the target nozzle. This ensures the minimum deviation between the target nozzle selection result and the ideal nozzle diameter generated under the drive of the quality factor, achieving the optimal fit with the ideal nozzle diameter, thereby significantly improving the accuracy, consistency and controllability of nozzle selection.

[0051] In an exemplary embodiment of the present application, when the target three-dimensional printing model includes a plurality of three-dimensional models to be printed, the method further includes:

[0052] In response to an adjustment operation on a quality factor corresponding to the first three-dimensional model to be printed through the control terminal interface, the quality factor is updated, so as to determine a target printing nozzle matching each slice layer in the second three-dimensional model to be printed using the updated quality factor; or

[0053] The quality factors corresponding to the three-dimensional models to be printed are the same.

[0054] On the one hand, by responding to the user's quality factor adjustment operation on any three-dimensional model to be printed through the control terminal interface, the quality factor is dynamically updated, and a matching target printing nozzle is generated for the subsequent model to be printed, thereby achieving printing strategy linkage and control consistency across models.

[0055] On the other hand, it also supports setting the same quality factor for each 3D model to be printed, ensuring that all models complete nozzle selection and layer height process settings under unified preferences, thereby maintaining consistency in the overall printing effect.

[0056] This example not only improves the flexibility of policy configuration under multi-model printing tasks, allowing users to freely switch between global unified control and local personalized adjustment, but also enhances the controllability and adaptability of the system in responding to diverse printing needs.

[0057] In an exemplary embodiment of the present application, in response to determining the recommended printing layer height of each slice layer and the matching target printing nozzle, selecting the target layer height process for each slice layer includes:

[0058] In response to determining each of the recommended printing layer heights and the matching target printing nozzles, a target layer height process for each of the sliced ​​layers is selected from a plurality of preset layer height processes corresponding to the target printing nozzles.

[0059] By determining the recommended printing layer height of each slice layer and the matching target printing nozzle, the target layer height process is selected from multiple preset layer height processes corresponding to the target printing nozzle, so that the linkage control between nozzle selection and process parameter configuration can be achieved.

[0060] This example leverages a preset mapping between nozzles and layer height processes, enabling each nozzle to have multiple process parameter combinations optimized for different printing accuracy and speed requirements within its printable layer height range. Based on the current recommended layer height, the closest layer height process can be accurately matched within the nozzle's corresponding preset processes, improving parameter consistency and avoiding print quality deviations caused by using fixed templates or default processes.

[0061] In an exemplary embodiment of the present application, selecting a target layer height process for each slice layer from a plurality of preset layer height processes corresponding to the target printing nozzle includes:

[0062] Calculating a second difference between each of the recommended printing layer heights and a corresponding plurality of preset layer height processes;

[0063] The preset layer height process value with the smallest second difference is determined as the target layer height process of the corresponding slicing layer.

[0064] By calculating the difference between each recommended printing layer height and multiple preset layer height processes corresponding to the target printing nozzle during the process of selecting the target layer height process, and preferentially selecting the process parameters with the smallest difference as the target layer height process of the current slicing layer, an accurate match between the layer height parameters and the process configuration can be achieved.

[0065] This strategy avoids problems such as accumulated molding errors, uneven transitions, and local structural distortion caused by directly adopting default values ​​or fixed process templates. By using the minimum difference matching principle, the theoretical layer height requirements of each slice layer can be restored as accurately as possible within the preset process library, enhancing inter-layer parameter continuity and consistency in model surface quality.

[0066] In an exemplary embodiment of the present application, the geometric features of the target three-dimensional printing model include a set of triangular facets on the outer surface of the model;

[0067] Generating a recommended printing layer height for each slice layer in the target 3D printing model according to the geometric features of the target 3D printing model includes:

[0068] Obtaining a set of triangular facets on the outer surface of the model;

[0069] Determine the current cumulative height along the preset slicing direction, and calculate the angle between the normal vector of each triangle in the triangle set corresponding to the current cumulative height and the normal vector of the corresponding slicing plane to obtain the inclination angle of each triangle;

[0070] Based on the inclination angle of each triangular facet corresponding to the current cumulative height, a recommended printing layer height of each slice layer is generated.

[0071] By modeling the geometric features of the target 3D printing model as a set of triangular facets on the model's outer surface, and analyzing and processing them based on the spatial distribution and normal characteristics of each triangular facet during the slicing process, adaptive adjustment of the printing layer height for different height areas can be achieved.

[0072] Specifically, the algorithm advances layer by layer along a preset slicing direction, dynamically determining the current cumulative height and obtaining a set of triangles that intersect with that height. By calculating the angle between each triangle's normal vector and the slicing plane's normal vector, the algorithm accurately determines the patch's tilt angle, thereby determining the complexity or flatness of the surface.

[0073] Furthermore, the slice layer height is adaptively adjusted according to the size of the local inclination angle: for areas with larger inclination angles, a smaller layer height is selected to improve local surface accuracy; for areas with smaller inclination angles and relatively flat areas, a larger layer height is used to improve printing efficiency. This ensures the accuracy of key structures while effectively improving the overall molding efficiency and achieving a dynamic optimization balance between printing accuracy and printing speed.

[0074] This example can precisely perceive the geometric curvature characteristics of each part of the model and dynamically adjust the layer height settings accordingly, avoiding the obvious delamination or material waste caused by traditional fixed layer height slicing, effectively improving the surface quality and overall molding efficiency of the final printed model.

[0075] According to a third aspect of the present disclosure, a printer control device is provided, which is applied to a printing terminal, wherein the printing terminal includes a plurality of candidate printing nozzles, including:

[0076] A data receiving module is used to receive slice control data corresponding to a target three-dimensional printing model, wherein the slice control data includes a target printing nozzle and a target layer height process corresponding to each slice layer;

[0077] The model printing module is used to print each slice layer through the corresponding target printing nozzle according to the target layer height process of each slice layer;

[0078] Among them, the target printing nozzle corresponding to each slice layer is obtained according to the recommended printing layer height matching of each slice layer; the recommended printing layer height of each slice layer is generated according to the geometric features of the target three-dimensional printing model, and the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles; the target layer height process of each slice layer is determined according to the recommended printing layer height of each slice layer and the matching target printing nozzle; and the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

[0079] According to a fourth aspect of the present disclosure, there is provided a printer control device, applied to a control terminal, comprising:

[0080] a layer height generation module, configured to load a target 3D printing model and generate a recommended printing layer height for each slice layer in the target 3D printing model based on the geometric features of the target 3D printing model, wherein the recommended printing layer height for each slice layer is within a printable layer height range for all candidate printing nozzles of the printing terminal;

[0081] a nozzle matching module, configured to determine a target printing nozzle that matches each of the slice layers in response to generating each of the recommended printing layer heights;

[0082] a process selection module, configured to select a target layer height process for each slice layer in response to determining a recommended printing layer height of each slice layer and a matching target printing nozzle;

[0083] a model printing module, configured to, in response to determining a target layer height process for each slicing layer, send a target printing nozzle and a target layer height process corresponding to each slicing layer to the printing terminal, so that the printing terminal prints the target three-dimensional printing model according to the target printing nozzle and the target layer height process corresponding to each slicing layer;

[0084] The target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

[0085] According to a fifth aspect of the present disclosure, there is provided an electronic device, including:

[0086] processor; and

[0087] A memory stores computer-readable instructions, wherein the computer-readable instructions, when executed by the processor, implement the printer control method as described in the first aspect of the present disclosure.

[0088] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, comprising:

[0089] The computer-readable storage medium stores computer program code instructions, which, when called by a processor of a robot, enable the robot to execute the printer control method as described in the first aspect of the present disclosure.

[0090] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0092] Figure 1 A schematic diagram of the architecture of a printer control system in an embodiment of the present disclosure is shown.

[0093] Figure 2 A flow chart of a printer control method in an embodiment of the present disclosure is shown.

[0094] Figure 3 A flow chart of another printer control method in an embodiment of the present disclosure is shown.

[0095] Figure 4 A schematic diagram of a process for generating a recommended printing layer height for each slice layer in an embodiment of the present disclosure is shown.

[0096] Figure 5 A schematic diagram of the distribution of triangular facets on the outer surface of a model in an embodiment of the present disclosure is shown.

[0097] Figure 6 A schematic flow chart of a nozzle matching process in an embodiment of the present disclosure is shown.

[0098] Figure 7 A schematic structural diagram of an electronic device in an embodiment of the present disclosure is shown.

[0099] Figure 8 A schematic structural diagram of a program product in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0100] In this disclosure, the terms "first" and "second" are used for descriptive purposes only and do not indicate relative importance or imply the number of technical features. Therefore, "first" and "second" may explicitly or implicitly include at least one of these features. "Multiple" means at least two, unless expressly limited otherwise.

[0101] This embodiment of the present application provides a printer control system that can be used to execute the printer control method described herein. This printer control system includes functions such as generating recommended layer heights, nozzle selection, process settings, and issuing control instructions. This system can adaptively match and control printing parameters based on model geometry and user-defined quality factors, effectively improving printing efficiency, molding accuracy, and process consistency, and adapting to complex printing tasks involving multiple models, multiple nozzles, and multiple processes.

[0102] refer to Figure 1 As shown, the printer control system 100 may include a printing terminal 101, a control terminal 102, and a network 103. The printing terminal 101 is used to execute the actual three-dimensional model printing task, and includes multiple candidate nozzles, a feed assembly, and a motion control device. It can perform printing operations based on the received slice control data, and supports automatic switching between multiple nozzles to meet printing requirements of different layer heights. The control terminal 102 is used to load the target three-dimensional printing model and generate recommended printing layer heights corresponding to each slice layer. Combined with the preset quality factor and nozzle printability, it matches the optimal target printing nozzle and issues the corresponding printing instructions to the printing terminal 101. The control terminal 102 can also provide a user interaction interface for the user to set printing accuracy-related parameters, such as the quality factor. The network 103 is used to realize the communication connection between the printing terminal 101 and the control terminal 102, and can include various connection types, such as wired and wireless communication links, to ensure the transmission and synchronization of printing control data, model data, and printing status information.

[0103] The exemplary embodiments of the present disclosure provide a printer control method, which is applied to a printing terminal equipped with multiple candidate printing nozzles, and can achieve coordinated control between printing layer height, nozzle selection and printing process, thereby improving the accuracy, adaptability and efficiency of the printing process. Figure 2 As shown, the method may include the following steps S210 and S220:

[0104] Step S210, receiving slicing control data corresponding to the target 3D printing model, wherein the slicing control data includes target printing nozzles and target layer height processes corresponding to each slicing layer;

[0105] Among them, the target printing nozzle corresponding to each slice layer is obtained according to the recommended printing layer height matching of each slice layer; the recommended printing layer height of each slice layer is generated according to the geometric features of the target three-dimensional printing model, and the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles; the target layer height process of each slice layer is determined according to the recommended printing layer height of each slice layer and the matching target printing nozzle; and the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

[0106] It should be noted that the recommended layer height is an ideal layer height calculated based on the geometric features of the target 3D print model. It represents the balance between printing accuracy and printing efficiency for the current slice layer. The recommended layer height serves as an intermediate reference parameter to guide nozzle matching and process parameter selection, enabling adaptive adjustment of the slicing strategy to local geometric features.

[0107] The target printing nozzle refers to the optimal nozzle selected from a set of candidate printing nozzles that can achieve printing at the recommended printing layer height of the current slice layer among multiple candidate printing nozzles.

[0108] The target layer height process refers to selecting a set of printing parameters that is closest to the recommended layer height from the multiple preset process configurations supported by the nozzle, based on the recommended layer height and the matching target print nozzle. This combination is used as the final printing process for the current slice layer. The target layer height process not only determines the actual layer height but also includes process parameters such as nozzle temperature, print speed, and extrusion ratio that match this layer height. This ensures that the selected nozzle can achieve stable, high-quality print output under the conditions of this layer height.

[0109] It is understood that the actual print height and the recommended print height can be the same or different. When the recommended print height coincides with a preset process height, the preset process height will be used directly as the actual print height. If the recommended print height does not completely correspond to the preset process height, the closest preset process height can be selected to generate the actual print height and supporting process parameters. This ensures that the accuracy and efficiency balance expressed by the recommended print height is achieved as closely as possible while ensuring that the process parameters are executable.

[0110] Specifically, the target print nozzle for each slice layer is matched from multiple candidate print nozzles based on the recommended print layer height for that slice layer. This recommended print layer height is generated based on the geometric features of the target 3D print model, taking into account factors such as the model's local surface slope and curvature. It is then constrained to the printable layer height range of all candidate nozzles, rather than being limited to the layer height range of a single nozzle. This expands the parameter selection space and ensures that the generated recommended print layer height has good nozzle adaptability, providing a unified and feasible foundation for subsequent nozzle matching and process settings.

[0111] Then, based on the recommended print height for each slice layer and the matching target print nozzle, the parameters closest to the recommended print height are selected from the corresponding nozzle's process parameter set as the target layer height process for that layer. This matching process ensures the coordination and consistency between the set printing process, model characteristics, and nozzle capabilities, improving the accuracy of process adaptation.

[0112] It should be noted that there is not a one-to-one correspondence between the recommended print layer height and the target print nozzle. That is, different recommended print layer heights may correspond to nozzles of the same caliber, and the same recommended print layer height may also match nozzles of different calibers, ensuring that the system has sufficient flexibility to meet various printing requirements.

[0113] Step S220 : Printing the target three-dimensional printing model through the corresponding target printing nozzle according to the target layer height process of each slice layer.

[0114] The printing terminal controls the corresponding target print nozzles based on the target layer height process for each slice layer, printing the target 3D print model layer by layer. Each layer prints according to the nozzle and process combination specified in the slice control data, eliminating the need for temporary judgment or adjustment, ensuring stability and consistency of the printing process.

[0115] Furthermore, when target print nozzles with the same caliber correspond to different recommended layer heights, different target layer height processes can be used to print each slice layer. That is, when multiple recommended layer heights correspond to target print nozzles with the same caliber, the most suitable target layer height process can be selected from the multiple sets of preset process parameters supported by the target print nozzle based on the recommended layer height of each slice layer. This ensures that even with the same print nozzle, different slice layers can still obtain the most suitable printing process support, avoiding the process mismatch caused by using a unified process template, and helping to improve the accuracy of detail molding and the continuity of the printed surface.

[0116] The example embodiment of the present disclosure also provides another printer control method, which is applied to a control terminal. Slicing software runs on the control terminal. The slicing software is used to load a printing model, generate slicing control data matching the printing model, and send the slicing control data to the printing terminal to execute the printing task.

[0117] refer to Figure 3 As shown, the method may include the following steps S310 and S330:

[0118] Step S310: Load the target 3D printing model and generate a recommended printing layer height for each slice layer in the target 3D printing model based on the geometric features of the target 3D printing model, and the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles of the printing terminal.

[0119] For example, the target 3D printing model can be imported into the slicing software. For example, a locally stored 3D model file, such as a 3MF (3D Manufacturing Format) or STL (Stereolithography) format, can be selected. A 3MF format 3D model file contains a variety of additional printing-related information, such as recommended material type, color information, and fill density, while an STL format 3D model file describes the model's geometric shape and may include vertex coordinates, triangle facet sets, and so on.

[0120] After loading the model file, the target 3D printing model is parsed and the geometric feature information of the model is extracted, such as the set of triangular facets on the outer surface of the model and the normal vector direction of each triangular facet, which serves as an important basis for the subsequent generation of the recommended printing layer height.

[0121] Exemplarily, the geometric features of the target 3D printing model include a set of triangular facets on the outer surface of the model. Figure 4 FIG. 4 shows a schematic diagram of a process for generating a recommended printing layer height for each slice layer. The process may include the following steps S410 and S430:

[0122] Step S410: Obtain a set of triangular facets on the outer surface of the model.

[0123] Each triangle is described by three vertex coordinates and their corresponding normal vector. This collection of triangles fully reflects the geometric layout of the target 3D print model's exterior surface in space, serving as the fundamental input for generating the recommended print layer height.

[0124] refer to Figure 5 As shown, a schematic diagram of the distribution of triangular facets on the outer surface of a model is shown. Figure 5 The target 3D printing model in the paper is a sphere model, and the outer surface of the sphere model is constructed by combining triangular facets, thereby achieving an accurate description of the overall geometric shape. Figure 5 Each triangle in the 3D model is uniquely identified by three vertex coordinates and has a corresponding normal vector in 3D space. The normal vector can be used to represent the orientation of the triangle at its current spatial position, facilitating the calculation of the triangle's tilt angle and setting the layer height during subsequent slicing.

[0125] Step S420 , determining the current cumulative height along the preset slicing direction, and calculating the angle between the normal vector of each triangle in the triangle set corresponding to the current cumulative height and the normal vector of the corresponding slicing plane to obtain the inclination angle of each triangle.

[0126] Taking the preset slicing direction as the Z-axis direction of the model as an example, after obtaining the set of triangular facets on the outer surface of the model, the height range of each triangular facet in the Z-axis direction can be extracted and recorded as the variable Z span , used to determine whether the triangle intersects with planes at different heights; it can also calculate the component of the normal vector of the triangle in the Z-axis direction, that is, the cosine value of the angle between the normal vector and the slice plane (i.e., the XY plane), recorded as variable n cos ; You can also calculate the component of the normal vector of the triangle in the XY plane direction, that is, the sine value of the angle, recorded as variable n sin After integrating this information, we can construct a triangle information list containing all triangles, denoted as m faces , and follow Zspan Sorting from low to high means traversing the entire model from bottom to top along the Z axis. The triangle patch information list will serve as the basis for layer-by-layer traversal and analysis during the recommended print layer height calculation process.

[0127] For example, the starting height is set as the initial cumulative height, and the Z-axis direction is scanned layer by layer. At the current cumulative height position of each layer, according to the pre-built triangle information list, the triangles that intersect or are close to the current height plane are screened out, and their inclination angles are calculated. At this time, the slicing plane is the XY plane, and the normal vector of the slicing plane is the Z-axis unit vector, so the component n of the normal vector of the triangle in the Z-axis direction can be directly calculated. cos Indicates the cosine of the angle to simplify the calculation of the tilt angle.

[0128] The tilt angle determines whether the current slice layer is in an area with abrupt curvature changes or large slope variations, thereby controlling the slice layer height to accommodate complex or flat geometries. For example, a larger tilt angle requires a smaller layer height to ensure molding accuracy, while a smaller tilt angle allows for a larger layer height to improve efficiency.

[0129] Step S430 : Based on the tilt angle of each triangular facet corresponding to the current cumulative height, a recommended printing layer height of each slice layer is generated within the printable layer height range of the printing terminal nozzle.

[0130] In the example implementation of the present disclosure, the generation process of the recommended printing layer height will comprehensively consider the inclination angle information of each triangular facet in the current slice layer, and combine the physical printability of each candidate nozzle in the printing terminal to limit the calculated recommended layer height value, thereby ensuring that the recommended printing layer height is practical while meeting the molding accuracy requirements.

[0131] The printable layer height range of the nozzle is closely related to the nozzle diameter. For example, the minimum printable layer height of the nozzle can be set to 0.2 times the nozzle diameter, and the maximum printable layer height can be set to 0.7 times the nozzle diameter. For example, the candidate nozzle diameters on the current printer are 0.2mm, 0.4mm, 0.6mm and 0.8mm respectively:

[0132] When the nozzle diameter is 0.2mm, the printable layer height range is 0.04mm to 0.14mm;

[0133] When the nozzle diameter is 0.4mm, the printable layer height range is 0.08mm to 0.28mm;

[0134] When the nozzle diameter is 0.6mm, the printable layer height range is 0.12mm to 0.42mm;

[0135] When the nozzle diameter is 0.8mm, the printable layer height range is 0.16mm to 0.56mm.

[0136] The layer height ranges of all candidate nozzles are merged to obtain the cross-nozzle printable layer height range, which is 0.04mm to 0.56mm. This range serves as the upper and lower limits of the layer height calculation to constrain the final recommended printing layer height.

[0137] To enhance the flexibility of adaptive layer height adjustment, a preset quality factor can be introduced to balance print accuracy and efficiency, thereby generating a recommended layer height that better meets printing requirements. The quality factor represents the relative importance of print accuracy relative to print speed, and its value range is [0, 1]. The default value can be 0.5, indicating balanced performance. When the quality factor is high, the system prioritizes print accuracy and generates smaller layer heights. When the quality factor is low, the system prioritizes print efficiency and prefers larger layer heights. Users can set the appropriate quality factor through the control terminal interface based on the requirements of specific printing tasks, thereby enabling personalized adjustment and control of the recommended layer height generation strategy.

[0138] Exemplarily, first, within the printable layer height range of all candidate printing nozzles of the printing terminal, the corresponding maximum surface deviation is determined based on a preset quality factor.

[0139] Among them, in order to ensure that the calculated recommended printing layer height is reasonably constrained by the actual nozzle layer height capability, the maximum surface deviation needs to be determined. The maximum surface deviation is determined by the quality factor, which is used to measure the allowable deviation range between accuracy and efficiency of each slice layer. It is the limiting factor for calculating the ideal printing layer height.

[0140] For example, the maximum surface deviation max_sd is:

[0141]

[0142] Where q is the quality factor, Δmin is the minimum print height in the printable layer height range, Δmax is the maximum print height in the printable layer height range, Δmid is the system default or user-preset standard layer height, and lerp(a,b,t) is the linear interpolation function, indicating that the ratio of transition from value a to value b is t.

[0143] In formula (1), if q is less than 0.5, it means that the current preference is for printing efficiency. In this case, Δmax and Δmid can be used for interpolation calculation with an interpolation weight of 2*(1-q) to obtain the corresponding maximum surface deviation. If q is greater than or equal to 0.5, it means that the current preference is for printing quality. In this case, Δmin and Δmid can be used for interpolation calculation with an interpolation weight of 2*q to obtain the corresponding maximum surface deviation.

[0144] Then, based on the inclination angle and maximum surface deviation of each triangular facet, the corresponding local matching layer height and global layer height upper limit are calculated respectively, and the recommended printing layer height of the corresponding slice layer is determined according to the local matching layer height and the global layer height upper limit.

[0145] Among them, the local matching layer height is used to reflect the minimum acceptable layer height of the current triangle at a given tilt angle, while the global layer height upper limit is determined by the physical capabilities of all candidate nozzles and is the maximum printing layer height supported by the current printing terminal.

[0146] Based on the triangle patch information list and the maximum surface deviation, the slice layer can be constructed from bottom to top along the Z axis of the model. The current cumulative height along the Z axis of the model can be set as p z , each iteration performs the following operations:

[0147] According to m faces Z in span Information, extract all the information with the current cumulative height p z A set of intersecting triangles. For each triangle in the set, based on the tilt angle n cos 、n sin and the maximum surface deviation max_sd, ​​calculate the corresponding candidate recommended floor height h according to formula (2):

[0148]

[0149] Among them, 0.184 and 1.44 are empirical coefficients, which can be obtained through printing experiment calibration; when n cos ≤10-5, also known as n cos If it is very small, set the candidate recommendation layer height to FLT MAX , to prevent when n cos When the value is close to 0, an abnormal value occurs.

[0150] After obtaining the candidate recommended layer heights for all triangular facets in the slice layer, the minimum value is taken and recorded as the local matching layer height of the slice layer. To further improve slicing continuity and molding stability, the local matching layer height of the next slice layer can also be estimated as the current global layer height upper limit. To ensure that the printing layer height of the current layer not only adapts to the surface characteristics of this layer but also provides a smooth transition to the next layer, the local matching layer height of the slice layer can be compared with the global layer height upper limit. For example, the smaller value can be used as the recommended printing layer height for the corresponding slice layer, recorded as H.

[0151] The recommended printing layer height is used as an input parameter for subsequent nozzle matching and process selection. It can ensure that the layer height setting takes into account both printing accuracy and nozzle capacity and has good executable performance.

[0152] Step S320 : In response to generating each of the recommended printing layer heights, determining a target printing nozzle that matches each of the slice layers.

[0153] In the exemplary embodiments of the present disclosure, in response to the generation of each recommended print layer height, a candidate nozzle set compatible with the recommended print layer height is screened based on the multiple nozzle parameters currently configured on the printing terminal. The nozzles in the candidate nozzle set must satisfy a printable layer height range that covers the current recommended print layer height, ensuring that subsequent nozzle selection is physically feasible.

[0154] The nozzle matching process can be implemented based on algorithms such as numerical scoring, fitness function or minimum error strategy to ensure the optimal compatibility between the selected target printing nozzle, the recommended printing layer height and printing preferences.

[0155] For example, refer to Figure 6 FIG. 5 shows a flow chart of a nozzle matching process, which may include the following steps S610 and S620:

[0156] Step S610 : in response to generating each of the recommended printing layer heights, obtaining a candidate nozzle set corresponding to each of the recommended printing layer heights.

[0157] The printing terminal is equipped with multiple candidate print nozzles, each corresponding to a specific diameter and a matching printable layer height range. Therefore, based on a preset mapping relationship, the recommended print layer height for each slice layer can be associated with the nozzle set that meets its printing capacity requirements and screened to obtain the corresponding candidate nozzle set. In other words, for each slice layer's recommended print layer height, the nozzle set whose printable layer height range covers the recommended print layer height can be screened from all candidate nozzles.

[0158] For example, the calculated recommended printing layer height of a slice layer is 0.13mm. This height is within the printable layer height range corresponding to nozzle diameters of 0.2mm, 0.4mm and 0.6mm, that is, it spans three available nozzles. At this time, the candidate nozzle set corresponding to the recommended printing layer height of 0.13mm includes candidate nozzles with nozzle diameters of 0.2mm, 0.4mm and 0.6mm.

[0159] Step S620 , receiving a quality factor set through a control terminal interface, and determining a target printing nozzle that matches each of the slice layers based on the quality factor and the candidate nozzle set.

[0160] Specifically, users can set the quality factor of the current print task through the control terminal interface. After obtaining the candidate nozzle set for each slice layer, the optimal nozzle from the candidate nozzle set can be selected as the target printing nozzle based on the currently set quality factor. For example, when the quality factor is large, nozzles with smaller diameters suitable for fine printing can be prioritized in the candidate nozzle set; when the quality factor is small, nozzles with larger diameters and faster material extrusion capabilities can be prioritized to achieve improved printing efficiency.

[0161] In one example implementation, the maximum and minimum nozzle diameters of each candidate nozzle in the candidate nozzle set can be determined, and a target nozzle diameter can be calculated based on the maximum and minimum nozzle diameters and a quality factor. The target nozzle diameter is the ideal nozzle diameter for performing the current slice layer printing task, determined based on the candidate nozzle set and the current printing task requirements, particularly the user-defined quality factor.

[0162] For example, the quality factor can be used to interpolate the maximum nozzle diameter and the minimum nozzle diameter to obtain the target nozzle diameter, such as:

[0163] d ideal =(1-q) * d max +q * d min =d max -q * (d max -d min ) (3)

[0164] Among them, d ideal is the target nozzle diameter, q is the quality factor, d max is the maximum nozzle diameter, d mim is the minimum nozzle diameter. Formula (3) indicates that in the interval [d min ,d max ], the two endpoint values ​​are linearly interpolated according to the quality factor q.

[0165] Through linear interpolation, the ideal nozzle diameter that best meets printing requirements can be dynamically generated within the candidate nozzle range, providing a basic reference for subsequent nozzle selection.

[0166] For example, if the maximum nozzle diameter is 0.8 mm, the minimum nozzle diameter is 0.2 mm, and the quality factor is 0.6, d can be calculated according to formula (3): ideal =0.8-0.6*0.6=0.44mm.

[0167] Then, based on the target nozzle diameter, the target printing nozzle for the corresponding slice layer is matched from the candidate nozzle set. Specifically, the first difference between the target nozzle diameter and the nozzle diameter of each candidate nozzle in the candidate nozzle set can be calculated, and the candidate nozzle with the smallest first difference is determined as the target printing nozzle for the corresponding slice layer.

[0168] For example, the candidate nozzle set corresponding to the recommended printing layer height of 0.13mm includes candidate nozzles with nozzle diameters of 0.2mm, 0.4mm, and 0.6mm. The candidate nozzle with the closest nozzle diameter can be selected as the target printing nozzle according to formula (4):

[0169] d=min(abs(d ideal -d i )) (4)

[0170] Where, d is the diameter of the target printing nozzle, d ideal is the target nozzle diameter, d i is the nozzle diameter of each candidate nozzle.

[0171] As d i They are 0.2mm, 0.4mm and 0.6mm respectively, namely:

[0172] d=min(abs(0.44-0.2), abs(0.44-0.4), abs(0.44-0.6))

[0173] Among them, the minimum value of the absolute value difference is 0.04, so the candidate nozzle with a nozzle diameter of 0.4 mm is selected as the target printing nozzle that matches the recommended printing layer height of 0.13 mm.

[0174] Additionally, different recommended layer heights can correspond to the same target nozzle diameter. Since a nozzle's printable layer height range typically has a certain range, if different layer heights fall within the nozzle's effective printing range, the same nozzle diameter can be used for printing. This helps reduce frequent nozzle switching, improves printing consistency, and increases device stability.

[0175] Furthermore, the same recommended print layer height may correspond to multiple target print nozzles of different calibers. For example, if the printable layer height ranges of multiple candidate nozzles overlap, a recommended print layer height may fall within the printing capabilities of multiple nozzles. In this case, the optimal target print nozzle can be selected based on other decision factors, such as quality factor, consumable compatibility, and print path complexity, though this disclosure does not limit this.

[0176] Step S330 : In response to determining the recommended printing layer height of each slice layer and the matching target printing nozzle, selecting a target layer height process for each slice layer.

[0177] In conventional variable layer height slicing, consistently using the same set of process parameters without considering the printing characteristics of different layer heights can easily lead to localized degradation in print quality, manifesting as over-extrusion, under-extrusion, or deformation, making it difficult to balance print stability and build accuracy. For example, larger layer heights typically come with longer cooling times, requiring higher nozzle temperatures or adjusted spray speed strategies, while smaller layer heights are more suitable for lower temperature settings and more refined motion control parameters.

[0178] Therefore, in the example embodiment of the present disclosure, by combining the recommended printing layer height of each slicing layer and its matching target printing nozzle, the most suitable set of process parameters is selected from multiple preset layer height processes supported by the target printing nozzle as the target layer height process of the slicing layer, so that each slicing layer can match the optimal process configuration under the corresponding physical conditions, avoiding the adaptation error caused by the unified process, and improving the detail fidelity, structural uniformity and overall molding quality of the printing layer.

[0179] It can be understood that the target layer height process refers to a set of printing parameter combinations that match the selected target printing nozzle, which may include process settings such as nozzle temperature, printing speed, extrusion ratio, etc. that match the actual printing layer height of the layer, to ensure that the nozzle achieves stable and high-quality printing output at the corresponding layer height.

[0180] In the actual 3D printing process, different nozzle diameters usually correspond to a specific set of process parameters. Each nozzle supports multiple preset processes that have been tuned and verified within its printable layer height range to adapt to different precision and efficiency requirements.

[0181] For example, different nozzle diameters correspond to different printing processes:

[0182] The 0.2mm nozzle corresponds to the layer height processes of 0.06mm, 0.08mm, 0.10mm, and 0.12mm;

[0183] The 0.4mm nozzle corresponds to the layer height processes of 0.08mm, 0.12mm, 0.16mm, 0.20mm, 0.24mm, and 0.28mm;

[0184] The 0.6mm nozzle corresponds to the layer height processes of 0.18mm, 0.24mm, 0.30mm, 0.36mm, and 0.42mm;

[0185] The 0.8mm nozzle corresponds to the layer height processes of 0.24mm, 0.32mm, 0.40mm, 0.48mm, and 0.56mm.

[0186] Among them, taking the 0.06mm preset layer height process corresponding to a 0.2mm nozzle as an example, it refers to a series of pre-configured process parameters corresponding to this printing combination with a nozzle diameter of 0.2mm and an actual printing layer height of 0.06mm, such as nozzle temperature, printing speed, extrusion ratio, retraction parameters, etc.

[0187] Illustratively, in response to determining each recommended printing layer height and a matching target printing nozzle, a target layer height process for each slice layer may be selected from a plurality of preset layer height processes corresponding to the target printing nozzle.

[0188] Specifically, the control terminal can pre-store a set of standard layer height process sets corresponding to each nozzle aperture. Each process set includes one or more preset standard printing layer height values ​​and their corresponding printing parameter configurations, such as nozzle temperature, printing speed, extrusion ratio, etc. After generating a recommended printing layer height and matching it to the target printing nozzle, the second difference between each recommended printing layer height and the corresponding multiple preset layer height processes can be calculated from the preset layer height process set supported by the target printing nozzle. The preset layer height process value with the smallest second difference is determined as the target layer height process for the corresponding slice layer.

[0189] For example, the recommended printing layer height of the current slice layer is 0.13mm, and the nozzle diameter of the matching target printing nozzle is 0.4mm. The closest target process layer height (that is, the actual printing layer height) can be determined as:

[0190] p=min(abs(Hh i )) (5)

[0191] Among them, H is the recommended printing layer height of the current slice layer, h i Preset process layer height for the target print nozzle, abs(Hh i ) are H and h i The absolute value difference between them.

[0192] Formula (5) indicates that the target layer height process corresponding to the preset process layer height with the smallest difference from the current recommended printing layer height H is found from multiple preset layer height processes supported by the current target nozzle.

[0193] For example, if the recommended printing layer height of the current slicing layer is 0.13mm, the closest process corresponding to the target printing nozzle with a diameter of 0.4mm is selected for slicing. Among them, the preset process layer heights corresponding to the target printing nozzle with a diameter of 0.4mm include 0.08mm, 0.12mm, 0.16mm, 0.20mm, 0.24mm, and 0.28mm, that is:

[0194] p=min(abs(0.13-0.08),abs(0.13-0.12),abs(0.13-0.16),abs(0.13-0.20),abs(0.13-0.24),abs(0.13-0.28))

[0195] It can be seen that the minimum absolute value of the difference is 0.01, so the target layer height process of 0.12 mm can be selected for slicing.

[0196] The disclosed printer control method, through the design of adaptive layer height, adaptive nozzles, and adaptive processes, can select the appropriate nozzle and process for printing based on the complexity of the model and printing requirements, thereby improving printing efficiency and quality. Furthermore, it can also replace nozzles or printheads as needed, reducing consumables waste and printing time. Overall, it can not only meet the needs of printing with different materials or colors, but also achieve more refined printing effects.

[0197] Step S340, in response to determining the target layer height process of each slicing layer, sending the target printing nozzle and target layer height process corresponding to each slicing layer to the printing terminal, so that the printing terminal prints the target three-dimensional printing model according to the target printing nozzle and target layer height process corresponding to each slicing layer.

[0198] After completing the generation of recommended printing layer heights for all slicing layers, matching target printing nozzles, and determining target layer height processes, the control terminal summarizes the target printing nozzles and corresponding target layer height processes of each slicing layer as printing control data and sends the printing control data to the printing terminal.

[0199] Exemplarily, the print control data includes at least the target print nozzle identifier for each slice layer and the target layer height process parameters corresponding to each slice layer. Optionally, the print control data may also include auxiliary information such as the recommended print layer height and slice layer number that matches the target print nozzle, which is not limited in this disclosure. The target print nozzle identifier is used to specify the type or specification of the print head used for the current slice layer, while the target layer height process parameters include the corresponding print layer height parameters as well as key process parameters such as the adapted speed and temperature.

[0200] By completely delivering the generated printing strategy results to the printing terminal, the process connection between strategy generation and task execution is opened up, effectively improving the degree of automation of the printing process, reducing dependence on human judgment and operation during operation, and ensuring that each area of ​​the model executes the printing task according to the optimal nozzle and process parameters.

[0201] After receiving the print control data, the printing terminal executes the model layer by layer according to the target print nozzle and target layer height process specified for each slice layer. Because the printing terminal no longer performs real-time parameter calculations or strategy selection, but directly executes according to the parameters provided by the control terminal, the stability, certainty, and execution efficiency of the printing process are significantly improved.

[0202] In an exemplary embodiment of the present disclosure, the target 3D printing model may include multiple 3D models to be printed. To adapt to the policy setting requirements of multi-model printing tasks, the present disclosure supports dynamically updating the quality factor based on user operations, or adopting a unified quality factor configuration across multiple models.

[0203] Specifically, in response to the adjustment operation of the quality factor corresponding to the first three-dimensional model to be printed through the control terminal interface, the quality factor corresponding to the current printing task can be updated, and the updated quality factor can be applied to the system as the current preference, and used to determine the target printing nozzle matching each slice layer in the second three-dimensional model to be printed.

[0204] For example, the desired quality factor value can be directly input through the parameter input box in the control terminal interface, or the button group can be clicked to switch between different printing preferences such as "high-speed printing", "balanced mode", and "high-precision printing". You can also select preset quality levels such as "standard quality", "fine quality", and "draft quality" in the drop-down menu to complete the setting and update of the current quality factor. The present disclosure does not specifically limit the setting method of the quality factor, and it can adjust the trade-off between accuracy and efficiency of the printing task. It can be understood that different printing modes and quality levels have a mapping relationship with the quality factor, that is, they can be automatically converted into corresponding quality factor values ​​according to the printing mode and quality level selected by the user, and the values ​​are applied to the parameter optimization process of the printing task.

[0205] For another example, a horizontal slider bar can be set up on the control terminal interface, with the left end labeled "Print Precision" and the right end labeled "Print Speed." Users can adjust the quality factor by sliding the slider left or right. The closer the slider is to the left, the higher the quality factor value, indicating a greater focus on print precision; the closer the slider is to the right, the lower the quality factor value, indicating a greater focus on print efficiency.

[0206] In addition, the same quality factor can be directly set for all 3D models to be printed. This is suitable for application scenarios with consistent requirements for printing accuracy or printing efficiency. It facilitates the system to perform standardized strategy control in batch processing tasks and ensure the stability of the overall printing process and consistency of results.

[0207] In an exemplary embodiment of the present disclosure, a printer control device is also provided, which is applied to a printing terminal, wherein the printing terminal includes a plurality of candidate printing nozzles. A first printer control device includes a data receiving module and a model printing module, wherein:

[0208] A data receiving module is used to receive slice control data corresponding to a target three-dimensional printing model, wherein the slice control data includes a target printing nozzle and a target layer height process corresponding to each slice layer;

[0209] The model printing module is used to print each slice layer through the corresponding target printing nozzle according to the target layer height process of each slice layer;

[0210] Among them, the target printing nozzle corresponding to each slice layer is obtained according to the recommended printing layer height matching of each slice layer; the recommended printing layer height of each slice layer is generated according to the geometric features of the target three-dimensional printing model, and the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles; the target layer height process of each slice layer is determined according to the recommended printing layer height of each slice layer and the matching target printing nozzle; and the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

[0211] The specific details of each module in the above printer control device have been described in detail in the corresponding printer control method, so they will not be repeated here.

[0212] In an exemplary embodiment of the present disclosure, another printer control device is provided, which is applied to a control terminal. The second printer control device includes a layer height generation module, a nozzle matching module, a process selection module, and a model printing module, wherein:

[0213] a layer height generation module, configured to load a target 3D printing model and generate a recommended printing layer height for each slice layer in the target 3D printing model based on the geometric features of the target 3D printing model, wherein the recommended printing layer height for each slice layer is within a printable layer height range for all candidate printing nozzles of the printing terminal;

[0214] a nozzle matching module, configured to determine a target printing nozzle that matches each of the slice layers in response to generating each of the recommended printing layer heights;

[0215] a process selection module, configured to select a target layer height process for each slice layer in response to determining a recommended printing layer height of each slice layer and a matching target printing nozzle;

[0216] a model printing module, configured to, in response to determining a target layer height process for each slicing layer, send a target printing nozzle and a target layer height process corresponding to each slicing layer to the printing terminal, so that the printing terminal prints the target three-dimensional printing model according to the target printing nozzle and the target layer height process corresponding to each slicing layer;

[0217] The target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

[0218] The specific details of each module in the above printer control device have been described in detail in the corresponding printer control method, so they will not be repeated here.

[0219] In an exemplary embodiment of the present disclosure, an electronic device is also provided. Figure 7 As shown, the electronic device 700 includes a processor 701 and a memory 702 . The memory 702 stores computer-readable instructions, and the computer-readable instructions implement the above method when executed by the processor 701 .

[0220] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is further provided, on which computer program code instructions are stored. When the computer program code instructions are called by a processor of a network communication device, the network communication device executes the method described in the embodiment.

[0221] refer to Figure 8 As shown, a program product 800 for implementing the above method according to an embodiment of the present disclosure is described. The program product 800 may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0222] Finally, the above preferred embodiments are intended only to illustrate the technical solutions of this application and are not intended to be limiting. Although this application has been described in detail, those skilled in the art will appreciate that variations in form and detail may be made without departing from the scope of the claims. The dimensions of the drawings are not related to the actual objects and may be modified arbitrarily.

Claims

1. A printer control method, characterized in that: Applied to a printing terminal, the printing terminal includes a plurality of candidate printing nozzles, including: Receive slicing control data corresponding to a target three-dimensional printing model, the slicing control data including a target printing nozzle and a target layer height process corresponding to each slicing layer; Printing the target three-dimensional printed model through the corresponding target printing nozzle according to the target layer height process of each slice layer; Among them, the target printing nozzle corresponding to each slice layer is obtained according to the recommended printing layer height matching of each slice layer; the recommended printing layer height of each slice layer is generated according to the geometric features of the target three-dimensional printing model, and the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles; the target layer height process of each slice layer is determined according to the recommended printing layer height of each slice layer and the matching target printing nozzle; and the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

2. The printer control method according to claim 1, wherein: When the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, different target layer height processes are used to print each of the slice layers.

3. A printer control method, characterized in that: Applicable to control terminals, including: Loading a target 3D printing model, and generating a recommended printing layer height for each slice layer in the target 3D printing model based on the geometric features of the target 3D printing model, wherein the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles of the printing terminal; In response to generating each of the recommended printing layer heights, determining a target printing nozzle that matches each of the slice layers; In response to determining the recommended printing layer height of each slice layer and the matching target printing nozzle, selecting a target layer height process for each slice layer; In response to determining the target layer height process of each slicing layer, sending the target printing nozzle and the target layer height process corresponding to each slicing layer to the printing terminal, so that the printing terminal prints the target three-dimensional printing model according to the target printing nozzle and the target layer height process corresponding to each slicing layer; The target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

4. The printer control method according to claim 3, wherein: In response to generating each of the recommended printing layer heights, determining a target printing nozzle that matches each of the slice layers includes: In response to generating each of the recommended printing layer heights, obtaining a candidate nozzle set corresponding to each of the recommended printing layer heights; A quality factor set through a control terminal interface is received, and a target printing nozzle matching each of the slice layers is determined based on the quality factor and a candidate nozzle set.

5. The printer control method according to claim 4, wherein: The determining, based on the quality factor and the candidate nozzle set, a target printing nozzle that matches each of the slice layers comprises: Determining a maximum nozzle diameter and a minimum nozzle diameter according to the nozzle diameters of the candidate nozzles in the candidate nozzle set; Calculating a target nozzle diameter according to the maximum nozzle diameter, the minimum nozzle diameter, and the quality factor; According to the target nozzle diameter, a target printing nozzle of the corresponding slice layer is matched from the candidate nozzle set.

6. The printer control method according to claim 5, wherein: The calculating the target nozzle diameter according to the maximum nozzle diameter, the minimum nozzle diameter and the quality factor includes: The maximum nozzle diameter and the minimum nozzle diameter are interpolated and calculated using the quality factor to obtain the target nozzle diameter.

7. The printer control method according to claim 5, wherein: The step of matching a target printing nozzle of a corresponding slice layer from the candidate nozzle set according to the target nozzle diameter includes: Calculating a first difference between the target nozzle diameter and the nozzle diameter of each candidate nozzle in the candidate nozzle set; The candidate nozzle with the smallest first difference value is determined as the target printing nozzle of the corresponding slice layer.

8. The printer control method according to claim 4, wherein: When the target three-dimensional printing model includes a plurality of three-dimensional models to be printed, the method further includes: In response to an adjustment operation on a quality factor corresponding to the first three-dimensional model to be printed through the control terminal interface, the quality factor is updated, so as to determine a target printing nozzle matching each slice layer in the second three-dimensional model to be printed using the updated quality factor; or The quality factors corresponding to the three-dimensional models to be printed are the same.

9. The printer control method according to claim 3, wherein: In response to determining the recommended printing layer height of each slice layer and the matching target printing nozzle, selecting a target layer height process for each slice layer includes: In response to determining each of the recommended printing layer heights and the matching target printing nozzles, a target layer height process for each of the sliced ​​layers is selected from a plurality of preset layer height processes corresponding to the target printing nozzles.

10. The printer control method according to claim 9, wherein: The step of selecting a target layer height process for each slice layer from a plurality of preset layer height processes corresponding to the target printing nozzle comprises: Calculating a second difference between each of the recommended printing layer heights and a corresponding plurality of preset layer height processes; The preset layer height process value with the smallest second difference is determined as the target layer height process of the corresponding slicing layer.

11. The printer control method according to claim 3, wherein: The geometric features of the target three-dimensional printing model include a set of triangular facets on the outer surface of the model; Generating a recommended printing layer height for each slice layer in the target 3D printing model according to the geometric features of the target 3D printing model includes: Obtaining a set of triangular facets on the outer surface of the model; Determine the current cumulative height along the preset slicing direction, and calculate the angle between the normal vector of each triangle in the triangle set corresponding to the current cumulative height and the normal vector of the corresponding slicing plane to obtain the inclination angle of each triangle; Based on the inclination angle of each triangular facet corresponding to the current cumulative height, a recommended printing layer height of each slice layer is generated.

12. A printer control device, characterized in that: Applied to a printing terminal, the printing terminal includes a plurality of candidate printing nozzles, including: A data receiving module is used to receive slice control data corresponding to a target three-dimensional printing model, wherein the slice control data includes a target printing nozzle and a target layer height process corresponding to each slice layer; The model printing module is used to print each slice layer through the corresponding target printing nozzle according to the target layer height process of each slice layer; Among them, the target printing nozzle corresponding to each slice layer is obtained according to the recommended printing layer height matching of each slice layer; the recommended printing layer height of each slice layer is generated according to the geometric features of the target three-dimensional printing model, and the recommended printing layer height of each slice layer is within the printable layer height range of all candidate printing nozzles; the target layer height process of each slice layer is determined according to the recommended printing layer height of each slice layer and the matching target printing nozzle; and the target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

13. A printer control device, characterized in that: Applicable to control terminals, including: a layer height generation module, configured to load a target 3D printing model and generate a recommended printing layer height for each slice layer in the target 3D printing model based on the geometric features of the target 3D printing model, wherein the recommended printing layer height for each slice layer is within a printable layer height range for all candidate printing nozzles of the printing terminal; a nozzle matching module, configured to determine a target printing nozzle that matches each of the slice layers in response to generating each of the recommended printing layer heights; a process selection module, configured to select a target layer height process for each slice layer in response to determining a recommended printing layer height of each slice layer and a matching target printing nozzle; a model printing module, configured to, in response to determining a target layer height process for each slicing layer, send a target printing nozzle and a target layer height process corresponding to each slicing layer to the printing terminal, so that the printing terminal prints the target three-dimensional printing model according to the target printing nozzle and the target layer height process corresponding to each slicing layer; The target printing nozzles corresponding to different recommended printing layer heights have the same caliber, and / or the target printing nozzles corresponding to the same recommended printing layer height have different calibers.

14. An electronic device, characterized in that: include: processor; as well as A memory storing computer-readable instructions, wherein the computer-readable instructions are executed by the processor to implement the printer control method according to any one of claims 1 to 11.

15. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program code instructions, and when the computer program code instructions are called by a processor, the processor is caused to execute the printer control method according to any one of claims 1 to 11.