Printing method, apparatus, system, and storage medium
By utilizing the associative mapping relationship between device parameters, consumable parameters and model parameters in the server, the slicing parameters are intelligently determined and automatically transmitted to the printing device, solving the problems of low reliability and accuracy of slicing parameters and realizing an efficient and convenient 3D printing process.
Patent Information
- Application Number
- CN202410537963.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-04-29
AI Technical Summary
In existing 3D printing technology, the setting of slicing parameters is greatly affected by subjective factors, resulting in low reliability and accuracy, and unable to guarantee printing quality and efficiency.
By storing the associated mapping relationship between device parameters, consumable parameters, model parameters and slicing parameters in the server, the target slicing parameters are intelligently determined and automatically transmitted to the printing device for slicing processing.
It realizes fully automated slicing operations, improves printing efficiency and user convenience, ensures the reliability and accuracy of slicing parameters, and improves print quality.
Smart Images

Figure CN118438673B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of 3D printing technology, and in particular to a printing method, device, system, and storage medium. Background Art
[0002] 3D printing technology is a new type of manufacturing technology that can convert digital models into physical models. It has the characteristics of fast, customized, and low-cost. Therefore, it has been widely used in the fields of medicine, aerospace, automobiles, industrial design, etc. A key link in this printing technology is slicing. Specifically, the slicing process is: according to the slicing parameters, the 3D model is cut into layers of two-dimensional graphics, and then these two-dimensional graphics are converted into instructions that can be recognized by the 3D printer. The accuracy of the above slicing parameters directly affects the printing quality and printing efficiency. However, the above slicing parameters are currently mainly set by the user based on his own experience. The slicing parameters set by the user are greatly affected by subjective factors, which makes the slicing parameters unreliable and inaccurate, and thus cannot guarantee printing quality and printing efficiency. Summary of the Invention
[0003] The present invention provides a printing method, device, system, and storage medium to at least address the problem in related art where slicing parameters set are significantly affected by subjective factors, resulting in low reliability and accuracy of the slicing parameters, and thus failing to guarantee printing quality and efficiency. The technical solutions of the present invention are as follows:
[0004] According to a first aspect of an embodiment of the present invention, a printing method is provided, which is applied to a server, and the method includes: in response to a printing instruction for a model to be printed, determining a target printing device associated with the model to be printed; obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; according to an association mapping relationship between one or more of the device parameters, consumable parameters, and model parameters and slicing parameters, determining slicing parameters corresponding to the target device parameters, target consumable parameters, and target model parameters as target slicing parameters; slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; and transmitting the target slicing file to the target printing device, which is used to print the model to be printed according to the target slicing file.
[0005] In one possible implementation, determining the slice parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slice parameters based on an association mapping relationship between one or more types of parameters among the device parameters, the consumable parameters, and the model parameters and the slice parameters includes:
[0006] One or more parameters among target device parameters, target consumable parameters and target model parameters are input into the target preset model to obtain target slicing parameters.
[0007] In one possible implementation, before inputting one or more parameters among the target device parameters, the target consumable parameters, and the target model parameters into the target preset model to obtain the target slicing parameters, the method further includes:
[0008] Determine a target printing mode indicated by a target consumable parameter;
[0009] According to the correspondence between the printing mode and the preset model, the target preset model corresponding to the target printing mode is obtained; the preset model corresponds to the printing mode one-to-one, and the preset model is a neural network model used to characterize the association mapping relationship between one or more types of parameters among the device parameters, consumable parameters, and model parameters and the slicing parameters.
[0010] In one possible implementation, determining a target printing device associated with a model to be printed includes: determining at least one printing device associated with the model to be printed; selecting a printing device with the highest priority from the at least one printing device as the target printing device; or; in response to a user selecting and confirming a selection of any one of the at least one printing devices, determining any one of the printing devices confirmed in the selection and confirmation operation as the target printing device.
[0011] In one possible implementation, before slicing the model to be printed according to the target slicing parameters to obtain the target slicing file, the method further includes: obtaining the contour shape and contour size of the model to be printed; adjusting the model to be printed according to the contour shape and contour size, with the preset support conditions of the model to be printed as a constraint condition, to obtain the target placement angle of the model to be printed during the slicing process; and placing the model to be printed according to the target placement angle.
[0012] In one possible implementation, the model to be printed is adjusted according to the contour shape and contour size, with the preset support conditions for the model to be printed being a constraint condition, to obtain a target placement angle of the model to be printed during the slicing process, including: when determining that the target printing device performs a printing operation in the fused deposition modeling printing mode, adjusting the placement angle of the model to be printed according to the contour shape and contour size, and determining the fitting area between the model to be printed and the printing platform at each placement angle; and determining the placement angle corresponding to the largest fitting area among the fitting areas at each placement angle as the target placement angle, so that the support for the model to be printed reaches the minimum.
[0013] In one possible implementation, the model to be printed is constrained to meet preset support conditions, and the model to be printed is adjusted according to its contour shape and contour size to obtain a target placement angle of the model to be printed during the slicing process. This includes: when determining that a target printing device performs a printing operation in a stereolithography printing mode, adjusting the placement angle of the model to be printed according to its contour shape and contour size, and determining multiple overhang areas of the model to be printed at multiple placement angles; and determining the placement angle corresponding to the smallest overhang area among the multiple overhang areas as the target placement angle.
[0014] In one possible implementation, the method further includes: determining multiple bounding boxes of the model to be printed at different placement angles; the bounding box represents a cube composed of the minimum and maximum vertices of the model to be printed; the placement angle corresponding to the bounding box with the smallest thickness among the multiple bounding boxes is the target placement angle; the thickness of each bounding box is the cross-sectional thickness occupied by the bounding box on the vertical plane of the printing platform.
[0015] In one possible implementation, after obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed, the method further includes: displaying an adjustment box for adjusting the target model parameters; in response to a user's confirmation indication after adjusting the target model parameters on the adjustment box, determining the target model parameters adjusted on the adjustment box as the target model parameters for slicing processing.
[0016] In one possible implementation, the server is a remote server, a distributed server, or a mobile terminal server, and determines the slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slicing parameters based on an association mapping relationship between one or more parameters among the device parameters, the consumable parameters, and the model parameters and the slicing parameters, including: obtaining a preset slicing thickness corresponding to the bevel angle of the model to be printed based on a correspondence between the bevel angle and the slicing thickness; when the target model parameters indicate that the printing accuracy of the model to be printed is within a preset accuracy range, determining the preset slicing thickness corresponding to the bevel angle of the model to be printed as the target slicing thickness in the slicing process of the model to be printed; the target slicing parameters include the target slicing thickness; when the target model parameters indicate that the printing accuracy of the model to be printed is greater than the preset accuracy range, reducing the preset slicing thickness corresponding to the bevel angle of the model to be printed according to a preset adjustment rule to obtain the target slicing thickness in the slicing process of the model to be printed; when the target model parameters indicate that the printing accuracy of the model to be printed is less than the preset accuracy range, increasing the preset slicing thickness corresponding to the bevel angle of the model to be printed according to the preset adjustment rule to obtain the target slicing thickness in the slicing process of the model to be printed.
[0017] According to a second aspect of an embodiment of the present invention, a printing method is proposed, which is applied to a printing device, and the method includes: a target printing device receives a target slicing file transmitted by a server, and prints a model to be printed according to the target slicing file; the target slicing file is determined by the server in the following manner; wherein the following manner includes: in response to a printing instruction for the model to be printed, determining a target printing device associated with the model to be printed; obtaining one or more categories of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; according to an association mapping relationship between one or more categories of parameters among device parameters, consumable parameters, and model parameters and slicing parameters, determining slicing parameters corresponding to the target device parameters, target consumable parameters, and target model parameters as target slicing parameters; slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; transmitting the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file.
[0018] According to a third aspect of an embodiment of the present invention, a printing device is provided, which is applied to a server, and the device includes: a response unit, which is used to determine a target printing device associated with the model to be printed in response to a printing instruction for the model to be printed; obtain one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; a determination unit, which is used to determine the slicing parameters corresponding to the target device parameters, target consumable parameters and target model parameters as target slicing parameters based on an association mapping relationship between one or more parameters among device parameters, consumable parameters and model parameters and slicing parameters; slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; and transmitting the target slicing file to the target printing device, which is used to print the model to be printed according to the target slicing file.
[0019] According to a fourth aspect of an embodiment of the present invention, a printing device is provided, which is applied to a printing device, and the device includes: a printing unit, which is used for a target printing device to receive a target slicing file transmitted by a server, and print a model to be printed according to the target slicing file; the target slicing file is determined by the server in the following manner; wherein the following manner includes: in response to a printing instruction for the model to be printed, determining a target printing device associated with the model to be printed; obtaining one or more categories of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; according to an association mapping relationship between one or more categories of parameters among device parameters, consumable parameters, and model parameters and slicing parameters, determining slicing parameters corresponding to the target device parameters, target consumable parameters, and target model parameters as target slicing parameters; slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; transmitting the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file.
[0020] According to the fifth aspect of an embodiment of the present invention, a printing system is provided, including a printing device and a server, the printing system can call the server to execute a printing method such as any implementation of the first aspect or call the printing device to execute any implementation of the second aspect.
[0021] In a possible implementation, the printing device and the server transmit messages based on the MQTT service protocol; and the printing instruction is monitored based on the MQTT service protocol.
[0022] According to a sixth aspect of an embodiment of the present invention, there is provided a printing device capable of executing any one of the printing methods according to the second aspect.
[0023] According to the seventh aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a printing device, the printing device is enabled to execute a printing method such as any one of the second aspect; or when the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute a printing method such as any one of the first aspect.
[0024] The technical solution provided by the embodiment of the present invention brings at least the following beneficial effects: the server stores an association mapping relationship between device parameters, consumable parameters, model parameters and slicing parameters. Based on the various parameters affecting the slicing parameters indicated in the association mapping relationship: device parameters, consumable parameters and model parameters, when the server detects a print instruction from the printing device, the parameters of the relevant items are determined. Accordingly, based on the above-mentioned parameters of the relevant items and the association mapping relationship, the target slicing parameters are intelligently and accurately determined, so that the printing device can intelligently obtain the target slicing parameters corresponding to the current target device parameters, target consumable parameters and target model parameters from the server, and accurately slice based on the target slicing parameters, thereby intelligently determining the corresponding target slicing file.
[0025] Through the above-mentioned intelligent generation and distribution of target slicing parameters, users can obtain the adapted target slicing file without professional knowledge, thus realizing a fully automated slicing operation. And because the step of setting the slicing parameters by the user is omitted during the slicing operation, and the user is no longer required to manually transfer the slicing file to the printing device, one-click printing can be achieved, which improves printing efficiency and user convenience. At the same time, because the slicing parameters of this application are objectively determined based on the associated mapping relationship, compared with the slicing parameters that are subjectively set based on user experience, the slicing parameters obtained based on the above method are more reliable and more accurate, thereby effectively ensuring the printing quality.
[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.
[0028] Figure 1 is a schematic diagram of a printing system according to an exemplary embodiment;
[0029] Figure 2 A process of a printing method according to an exemplary embodiment is shown Figure 1 ;
[0030] Figure 3 A process of a printing method according to an exemplary embodiment is shown Figure 2 ;
[0031] Figure 4 A printing device according to an exemplary embodiment is shown in FIG. Figure 1 ;
[0032] Figure 5 A printing device according to an exemplary embodiment is shown in FIG. Figure 2 ;
[0033] Figure 6 The figure is a schematic diagram showing a printing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0034] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0035] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the numbers used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure as detailed in the appended claims.
[0036] Before giving a detailed introduction to the printing method provided in the embodiment of the present application, a brief introduction is first given to one of the application scenarios involved in the embodiment of the present application.
[0037] 3D printing technology is a new type of manufacturing technology that can convert digital models into physical models. It has the characteristics of fast, customized, and low-cost. Therefore, it has been widely used in the fields of medicine, aerospace, automobiles, industrial design, etc. A key link in this printing technology is slicing. Specifically, the slicing process is: according to the slicing parameters, the 3D model is cut into layers of two-dimensional graphics, and then these two-dimensional graphics are converted into instructions that can be recognized by the 3D printer. The accuracy of the above slicing parameters directly affects the printing quality and printing efficiency. However, the above slicing parameters are currently mainly set by the user based on his own experience. The slicing parameters set by the user are greatly affected by subjective factors, which makes the slicing parameters unreliable and inaccurate, and thus cannot guarantee printing quality and printing efficiency.
[0038] In response to the above problems, the present application provides a printing method, in which an association mapping relationship between device parameters, consumable parameters, model parameters and slicing parameters is stored in the server. Based on the various parameters affecting the slicing parameters indicated in the association mapping relationship: device parameters, consumable parameters and model parameters, when the server detects the printing instruction of the printing device, the parameters of the relevant items are determined. Accordingly, based on the above-mentioned parameters of the relevant items and the association mapping relationship, the target slicing parameters are intelligently and accurately determined, so that the printing device can intelligently obtain the target slicing parameters corresponding to the current target device parameters, target consumable parameters and target model parameters from the server, and accurately slice based on the target slicing parameters, and intelligently determine the corresponding target slicing file.
[0039] Through the above-mentioned intelligent generation and distribution of target slicing parameters, users can obtain the adapted target slicing file without professional knowledge, thus realizing a fully automated slicing operation. And because the step of setting the slicing parameters by the user is omitted during the slicing operation, and the user is no longer required to manually transfer the slicing file to the printing device, one-click printing can be achieved, which improves printing efficiency and user convenience. At the same time, because the slicing parameters of this application are objectively determined based on the associated mapping relationship, compared with the slicing parameters that are subjectively set based on user experience, the slicing parameters obtained based on the above method are more reliable and more accurate, thereby effectively ensuring the printing quality.
[0040] Next, a brief introduction is given to the implementation framework involved in the embodiments of the present application.
[0041] In some embodiments, the server is a remote server, a distributed server, or a mobile terminal server. The remote server is a server that is set up to be able to communicate remotely with the printing device, such as a cloud server. The distributed server is a server that has a distributed architecture and can communicate with the printing device. The mobile terminal server is a movable terminal server that can communicate with the printing device. The mobile terminal server is, for example, a mobile phone, a tablet, a personal computer, etc., and the mobile terminal server has computing resources. In this way, after executing the method of the present application using the computing resources of the mobile phone, the obtained slice file is directly transmitted to the target printing device through the communication between the mobile phone and the target printing device, which can improve the confidentiality of the slice file, avoid remote communication, and can still communicate directly with the printing device through the mobile terminal server even when the Internet signal is poor, which can make it more convenient for users to use.
[0042] like Figure 1 The schematic diagram of the printing system shown in FIG. 1 includes a server 11 and a printing device 12 with a 3D printing function. The server 11 and the printing device 12 are connected via a wired network or a wireless network.
[0043] In some implementations, the server 11 and the printing device 12 transmit messages via the MQTT (Message Queuing Telemetry Transport) service protocol.
[0044] In some embodiments, the server 11 is a cloud server and the printing device 12 is a 3D printer.
[0045] As a specific implementation method, the printing process specifically executed by the printing system is as follows: Figure 2 shown.
[0046] S1, the cloud server enables the MQTT service protocol to monitor multiple printing devices.
[0047] In some embodiments, each model to be printed has a corresponding identification identifier, and each identification identifier is associated with at least one printing device. The cloud server monitors and detects the identification identifiers of the models to be printed based on the MQTT service protocol. When a printing device associated with the model to be printed is detected, the printing device is selected as the target printing device for printing the model to be printed. When multiple printing devices associated with the model to be printed are detected, the printing device with the highest priority among the multiple printing devices is selected as the target printing device for printing the model to be printed.
[0048] Exemplarily, the identification mark may include one or more of the following: a QR code mark, a bar code mark, and a digital code mark.
[0049] In other implementations, each printing device is connected to a user terminal device of the user, and a printing device selected by the user from among the printing devices based on an application on the user terminal device is used as a target printing device.
[0050] The above-mentioned user terminals can be electronic devices such as mobile phones, tablet computers and desktop computers.
[0051] In some other embodiments, the printing device directly turned on by the user is used as the target printing device. In this way, the user only needs to click the "Start Printing" button on the selected printing device to automatically implement the following steps S2 to S8.
[0052] S2, when a printing instruction for a model to be printed is monitored, a target printing device is determined or when a target printing device is monitored to be powered on, the cloud server in the cloud automatically connects to the target printing device.
[0053] S3, when a printing instruction for the model to be printed is detected, the cloud server sends a parameter acquisition request to the target printing device based on the MQTT service protocol.
[0054] S4, the target printing device accepts the parameter acquisition request and reads the target device parameters, target consumable material parameters and target model parameters of the to-be-printed model associated with the target printing device.
[0055] S5, the target printing device sends the target device parameters, target consumable parameters and target model parameters to the cloud server.
[0056] S6, the cloud server receives the above-mentioned target device parameters, target consumable parameters and target model parameters, and determines the corresponding target slicing parameters according to the target device parameters, target consumable parameters and target model parameters.
[0057] S7, the cloud server sends the target slicing parameters to the target printing device.
[0058] S8, the target printing device receives the target slicing parameters and prints according to the target slicing parameters.
[0059] In the above implementation, the cloud server automatically completes the slicing process, automatically generating target slicing parameters. The cloud server then sends these target slicing parameters to the corresponding target printing device, initiating printing. In this way, all necessary slicing parameters are automatically prepared. The user simply presses the "Start Printing" button to automatically slice the model to be printed using the specified target slicing parameters. Once slicing is complete, the slice file is sent to the printer via the cloud, and the print function is activated to print the model to be printed.
[0060] For ease of understanding, the printing method provided in this application is specifically introduced below with reference to the accompanying drawings, taking the printing method applied to the above-mentioned printing system as an example.
[0061] Figure 3 is a flow chart showing a printing method according to an exemplary embodiment. Figure 3 As shown, the printing method includes the following steps.
[0062] S31 , in response to a printing instruction for a model to be printed, the server determines a target printing device associated with the model to be printed and obtains one or more parameters of the target printing device, including target device parameters, target consumable parameters, and target model parameters.
[0063] The target model parameters are parameters indicating the printing accuracy of the model to be printed.
[0064] Exemplarily, when the user selects one of the model accuracy modes: high precision mode, medium precision mode and low precision mode, the layer thickness corresponding to the selected precision mode is generated. It can be understood that the precision mode selected by the user is the target model parameter; the corresponding layer thickness generated under the precision mode selected by the user is the target slice layer thickness in the target slice parameter associated with the target model parameter.
[0065] As another example, the user selects the fast printing mode and the slow printing mode. For example, in the fast mode, if it is recognized that the inter-layer changes of the model are small, a larger layer thickness is selected as the target slice parameter associated with the target model parameter; while in the slow mode, a smaller layer thickness is selected as the target slice parameter associated with the target model parameter.
[0066] In another example, target mode parameters such as layer thickness and exposure time customized by the user are directly used as target slice parameters, or as the basis of target slice parameters to facilitate subsequent adjustment.
[0067] The above-mentioned target device parameters are device parameters of the target printing device, including the device type and device number.
[0068] The above-mentioned target consumable material parameters are parameters of the consumable materials used on the target printing device, including material type, material color and material performance parameters.
[0069] The above-mentioned determination of the target printing device associated with the model to be printed includes: determining at least one printing device associated with the model to be printed; selecting the printing device with the highest priority from the at least one printing device as the target printing device; or; in response to a user's selection confirmation operation on any one of the at least one printing devices, determining any printing device confirmed in the selection confirmation operation as the target printing device.
[0070] The target printing device can be determined based on a user's selection. It is understandable that the target printing device is a printing device selected by the user from a plurality of printing devices.
[0071] Exemplarily, a printing device that has been turned on in response to a user power-on instruction among multiple printing devices is used as the target printing device.
[0072] The target printing device can also be automatically determined by a server. Specifically, the server associates each model to be printed with at least one printing device, and sets a corresponding priority for each at least one printing device associated with each model to be printed. Based on this, the printing device with the highest priority among the at least one printing device associated with the model to be printed is selected as the target printing device.
[0073] S32, the server determines the slice parameters corresponding to the target device parameters, target consumable parameters and target model parameters as target slice parameters according to the association mapping relationship between one or more parameters among the device parameters, consumable parameters and model parameters and the slice parameters.
[0074] The associated mapping relationship between one or more types of parameters among the above-mentioned device parameters, consumable parameters, and model parameters and the slicing parameters includes one or more of the following mapping relationships: the correspondence between device parameters and the slicing parameters under the device dimension, the correspondence between consumable parameters and the slicing parameters under the consumable dimension, and the correspondence between model parameters and the slicing parameters under the model accuracy dimension.
[0075] In one embodiment, the association mapping relationship between one or more types of parameters among the above-mentioned device parameters, consumable parameters, model parameters and slicing parameters and the slicing parameters can be a mapping relationship based on the parameter characteristics and association characteristics of each parameter of the above-mentioned device parameters, consumable parameters, model parameters and slicing parameters obtained after experimental testing based on the experience of technical personnel in this field.
[0076] In another embodiment, the preset model is a neural network model used to characterize the association mapping relationship between one or more types of parameters among device parameters, consumable parameters, and model parameters and slice parameters. Specifically, the association mapping relationship between one or more types of parameters among device parameters, consumable parameters, model parameters, and slice parameters and slice parameters is a preset model trained based on historical device parameters, historical consumable parameters, historical model parameters, and historical slice parameters.
[0077] Among them, one or more types of parameters among historical equipment parameters, historical consumable parameters, and historical model parameters and slice parameters are used as a group of input samples; and the historical slice parameters are corresponding output samples.
[0078] The specific model training process is as follows: first, construct an initial model that characterizes the correlation mapping relationship between one or more types of parameters among equipment parameters, consumable parameters, model parameters and slice parameters and slice parameters. Then collect multiple groups of input samples and corresponding output samples. At the same time, input the input samples into the initial model, and obtain the slice output parameters of the initial model output, and determine the loss value based on the slice output parameters and the historical slice parameters in the corresponding output samples; when the loss value is not within the preset loss range, adjust the model parameters of the initial model; then input the input samples into the initial model after adjusting the model parameters, and obtain the slice output parameters of the initial model after adjusting the model parameters, and re-determine the loss value based on the slice output parameters and the historical slice parameters in the corresponding output samples; repeat the training in sequence until the loss value is within the preset range and stop the training. At the same time, the initial model under the model parameters corresponding to the loss value within the preset range is determined as the preset model.
[0079] Optionally, to prevent different printing modes from interfering with the accuracy of the preset model, different preset models are provided for different printing modes. That is, the preset model includes multiple preset models; each of the multiple preset models corresponds to a printing mode. It is understood that different target consumable parameters corresponding to a target printing device indicate different target printing modes for the target printing device. Therefore, to ensure the accuracy of the output results based on the preset model, a target preset model corresponding to the target printing mode is selected from the multiple different preset models to determine the target slicing parameters.
[0080] Based on this embodiment, the specific implementation process of the above S32 can be as follows: determine the target printing mode indicated by the target consumable parameters; then obtain the target preset model corresponding to the target printing mode according to the correspondence between the printing mode and the preset model; and input one or more types of parameters among the target device parameters, target consumable parameters and target model parameters into the target preset model to obtain the target slicing parameters based on the target association mapping relationship between one or more types of parameters among the device parameters, consumable parameters, model parameters and slicing parameters indicated by the target preset model.
[0081] Optionally, in some embodiments, the above-mentioned S32 may be specifically implemented as follows: one or more parameters among the target device parameters, target consumable parameters, and target model parameters are input into a target preset model to obtain target slicing parameters. In this way, when there is only one preset model, one or more parameters among the target device parameters, target consumable parameters, and target model parameters are directly input into the preset model to obtain target slicing parameters, thereby improving the overall efficiency of slicing.
[0082] Optionally, in some embodiments, the specific implementation process of the above S32 can be as follows: by looking up a table, for example, using one or more types of parameters among the target device parameters, target consumable parameters and target model parameters as keywords, and searching for values corresponding to the keywords in the database of associated data as target slicing parameters. In this way, the automatic generation of slicing parameters can be achieved through smaller computer resources, which can improve the overall efficiency of slicing.
[0083] The above-mentioned printing modes include Fused Deposition Modeling (FDM) printing mode and Stereolithography printing mode.
[0084] In one embodiment, the preset model includes three sub-models. The first sub-model is used to generate parameters for the device dimension in the corresponding target slicing parameters based on the input target device parameters; the second sub-model is used to generate parameters for the consumable dimension in the corresponding target slicing parameters based on the input target consumable parameters; and the third sub-model is used to generate parameters for the model accuracy dimension in the corresponding target slicing parameters based on the input target model parameters.
[0085] In some embodiments, the slicing parameters can directly include device parameters and model parameters, but cannot directly include consumable parameters. That is, the slicing parameters include parameters in three dimensions: device parameters, model parameters, and converted consumable parameters. The parameters in the device and model dimensions can be directly selected and included in the slicing parameters without conversion; the parameters in the consumable dimension are obtained by converting the consumable parameters. Based on this, training the preset model primarily involves training the second sub-model.
[0086] The following further explains the differences in training the consumable dimension parameters in the target slicing parameters by combining two different printing modes.
[0087] For the fused deposition modeling printing mode, the target filament parameters input by the second sub-model are the minimum nozzle printing temperature, the maximum nozzle printing temperature, the minimum hot bed temperature, the maximum hot bed temperature, the minimum printing speed, the maximum printing speed, the retraction distance, the retraction speed, the notched cantilever impact strength, the heat deformation temperature, the melting point, and the moisture content of the filament, the minimum drying temperature, the maximum drying temperature, the diameter, the tensile strength, the elongation at break, the drying time, the flexural strength, the flexural modulus, the Young's modulus, the melt index, the minimum shrinkage rate, and the maximum shrinkage rate. The target slicing parameters of the filament dimension output by the second sub-model are the extruder temperature, the hot bed temperature, and the printing speed. Therefore, in the fused deposition modeling printing mode, the target slicing parameters include the extruder temperature, the hot bed temperature, and the printing speed.
[0088] For stereolithography printing, the target material parameters input by the second sub-model are resin code, minimum first-layer exposure time, maximum first-layer exposure time, minimum first-layer exposure time for color screen, minimum first-layer exposure time for color screen, minimum normal exposure time, maximum normal exposure time, minimum normal exposure time for color screen, maximum normal exposure time for color screen, minimum temperature, maximum temperature, minimum wavelength, maximum wavelength, minimum viscosity, maximum viscosity, minimum hardness, maximum hardness, minimum tensile strength, maximum tensile strength, minimum molding shrinkage, maximum molding shrinkage, minimum elongation at break, maximum elongation at break, minimum flexural strength, maximum flexural strength, minimum flexural modulus, maximum flexural modulus, minimum heat deformation temperature, maximum heat deformation temperature, and shelf life. The target slicing parameters for the material dimensions output by the second sub-model are exposure time, lift height, and lift speed. Therefore, in stereolithography printing mode, the target slicing parameters include exposure time, lift height, and lift speed.
[0089] Based on the fact that the output parameters of the target consumables parameters are multiple parameters, the above-mentioned second sub-model is set as a multi-output regression model to ensure the accuracy of the second sub-model.
[0090] Optionally, as an embodiment, after obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed, an adjustment box for adjusting the target model parameters is displayed; in response to the user's confirmation indication after adjusting the target model parameters on the adjustment box, the target model parameters adjusted on the adjustment box are determined as the target model parameters for slicing processing.
[0091] In this embodiment, to meet the user's personalized needs for model parameter settings, after the target device parameters, target consumable parameters, and target model parameters of the target printing device are determined, an adjustment box for adjusting the target model parameters is displayed, allowing the user to adjust the model parameters according to their own printing needs. After the parameter adjustment is completed, in response to the user's confirmation indication after adjusting the target model parameters in the adjustment box, the adjusted target model parameters in the adjustment box are determined as the target model parameters for printing.
[0092] As a slice thickness adjustment method, according to the correspondence between the bevel angle and the slice thickness, a preset slice thickness corresponding to the bevel angle of the model to be printed is obtained; when the target model parameters indicate that the printing accuracy of the model to be printed is within a preset accuracy range, the preset slice thickness corresponding to the bevel angle of the model to be printed is determined as the target slice thickness in the slicing process of the model to be printed; the target slice parameters include the target slice thickness; when the target model parameters indicate that the printing accuracy of the model to be printed is greater than the preset accuracy range, according to the preset adjustment rules, the preset slice thickness corresponding to the bevel angle of the model to be printed is reduced to obtain the target slice thickness in the slicing process of the model to be printed; when the target model parameters indicate that the printing accuracy of the model to be printed is less than the preset accuracy range, according to the preset adjustment rules, the preset slice thickness corresponding to the bevel angle of the model to be printed is increased to obtain the target slice thickness in the slicing process of the model to be printed.
[0093] The preset adjustment rule indicates that the difference between the printing accuracy and the preset accuracy is positively correlated with the adjusted thickness, and negatively correlated with the corresponding target slice thickness. It is understood that the greater the difference between the printing accuracy and the preset accuracy, the greater the adjusted thickness, and the smaller the corresponding target slice thickness.
[0094] Specifically, in response to different accuracy requirements of the model to be printed, the target slice thickness in the target slice parameters is adjusted accordingly. The server first determines the preset slice thickness corresponding to the preset accuracy range according to the preset accuracy range. When the printing accuracy of the model to be printed meets the preset accuracy range, it means that the printing accuracy requirement of the model to be printed is moderate, and the original preset slice thickness is used as the target slice thickness. When the printing accuracy of the model to be printed is greater than the preset accuracy range, it means that the printing accuracy requirement of the model to be printed is high, and the original preset slice thickness is reduced, and the reduced preset slice thickness is used as the target slice thickness. When the printing accuracy of the model to be printed is less than the preset accuracy range, it means that the printing accuracy requirement of the model to be printed is low, and the original preset slice thickness is thickened, and the thickened preset slice thickness is used as the target slice thickness.
[0095] S33, the server slices the model to be printed according to the target slicing parameters to obtain a target slicing file.
[0096] In one embodiment, the target slicing parameters form a corresponding target slicing file. The target slicing file includes the target slicing parameters. Thus, in the above step, the target slicing parameters are sent to the target printing device in the form of a target slicing file.
[0097] S34, the server transmits the target slice file to the target printing device.
[0098] S35 , the target printing device receives the target slicing file transmitted by the server, and prints the model to be printed according to the target slicing file.
[0099] Corresponding to the implementation in S35, the target printing device receives the target slicing file transmitted by the server, where the target slicing file includes target slicing parameters.
[0100] The target slice parameters include target slice thickness.
[0101] Through the above-described embodiment, based on the various parameters affecting the cutting parameters indicated in the association mapping relationship: device parameters, consumable parameters, and model parameters, when the server detects a print instruction from the printing device, the parameters of the relevant items are determined. Accordingly, based on the parameters of the relevant items obtained above and the association mapping relationship, the target slicing parameters are intelligently and accurately determined, so that the printing device can intelligently obtain the target slicing parameters corresponding to the current target device parameters, target consumable parameters, and target model parameters from the server, and accurately print based on the target slicing parameters.
[0102] Therefore, users can obtain the adapted target slicing parameters without professional knowledge, thus realizing a fully automated slicing operation. And because the user has omitted the step of setting the slicing parameters during the slicing operation, and the user no longer needs to manually transfer the slicing file to the printing device, one-click printing can be achieved, which improves printing efficiency and user convenience. At the same time, because the slicing parameters of this application are objectively determined based on the associated mapping relationship, compared with the slicing parameters that are subjectively set based on user experience, the slicing parameters obtained based on the above method are more reliable and more accurate, thereby effectively ensuring the printing quality.
[0103] Optionally, as an embodiment, the target slicing parameters also include a target placement angle. In order to ensure printing quality, the target placement angle of the model to be printed is accurately determined during the printing process. Specifically, the contour shape and contour size of the model to be printed are obtained; with the preset support conditions of the model to be printed being used as constraints, the model to be printed is adjusted according to the contour shape and contour size to obtain the target placement angle of the model to be printed during the slicing process; the model to be printed is placed according to the target placement angle. Among them, the preset support conditions indicate that the support material used for the support is less than the preset material range or the support occupied area is greater than the preset area range.
[0104] The following describes the specific determination process for different target placement angles based on different application scenarios.
[0105] Scenario 1: When it is determined that the target printing device performs a printing operation in the fused deposition modeling printing mode, the area where the model to be printed and the printing platform are attached is adjusted to minimize the support material. Specifically, when it is determined that the target printing device performs a printing operation in the fused deposition modeling printing mode, the placement angle of the model to be printed is adjusted according to the contour shape and contour size, and the attachment area where the model to be printed and the printing platform are attached at each placement angle is determined; the placement angle corresponding to the largest attachment area in the attachment area at each placement angle is determined as the target placement angle, and the placement angle corresponding to the largest attachment area of the model to be printed and the printing platform is determined as the target placement angle, so as to minimize the support force on the model to be printed, thereby achieving the minimum support material used for support.
[0106] In the second scenario, when the target printing device is determined to be performing a printing operation in stereolithography printing mode, the overhang area of the model to be printed is adjusted to minimize the amount of support material used. Specifically, when the target printing device is determined to be performing a printing operation in stereolithography printing mode, the placement angle of the model to be printed is adjusted based on the outline shape and size, and multiple overhang areas of the model to be printed at different placement angles are determined. The placement angle corresponding to the smallest overhang area among the multiple overhang areas is determined as the target placement angle.
[0107] To ensure printing speed in any application scenario, the target placement angle is determined using the following method: First, multiple bounding boxes of the model to be printed are determined at different placement angles. The placement angle corresponding to the bounding box with the smallest thickness among these bounding boxes is then used as the target placement angle. The bounding box represents a cube consisting of the minimum and maximum vertices of the model to be printed. The thickness of each bounding box is the cross-sectional thickness of the bounding box on a plane perpendicular to the print platform.
[0108] Exemplarily, the model to be printed is placed horizontally on the printing platform in a form with the smallest thickness to ensure the speed mode.
[0109] To achieve the above functions, the printing material control device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily appreciate that, in conjunction with the algorithmic steps of the various examples described in the embodiments disclosed herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in hardware or in a computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0110] The present disclosure also provides a Figure 4The printing device shown in FIG. 1 is applied to a server and includes: a response unit 41 , a determination unit 42 , an angle adjustment unit 43 and a display unit 44 .
[0111] The response unit 41 is used to determine the target printing device associated with the model to be printed in response to the printing instruction of the model to be printed; obtain one or more categories of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; the determination unit 42 is used to determine the slicing parameters corresponding to the target device parameters, target consumable parameters and target model parameters as target slicing parameters based on the association mapping relationship between one or more categories of parameters among the device parameters, consumable parameters and model parameters and the slicing parameters; slice the model to be printed according to the target slicing parameters to obtain a target slicing file; transmit the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file.
[0112] In one possible embodiment, the determination unit 42 is specifically used to: determine the target printing mode indicated by the target consumable parameters; obtain the target preset model corresponding to the target printing mode according to the correspondence between the printing mode and the preset model; the preset model corresponds to the printing mode one-to-one, and the preset model is a neural network model used to characterize the association mapping relationship between one or more types of parameters among device parameters, consumable parameters, model parameters and slicing parameters; input one or more types of parameters among the target device parameters, target consumable parameters and target model parameters into the target preset model to obtain the target slicing parameters.
[0113] In one possible implementation, the response unit 41 is specifically configured to: determine a target printing device associated with the model to be printed, including: determining at least one printing device associated with the model to be printed; selecting a printing device with the highest priority from the at least one printing device as the target printing device; or; in response to a user's selection confirmation operation on any one of the at least one printing devices, determining any printing device confirmed in the selection confirmation operation as the target printing device.
[0114] In one possible embodiment, the angle adjustment unit 43 is used to obtain the contour shape and contour size of the model to be printed; with the preset support conditions of the model to be printed being a constraint condition, the model to be printed is adjusted according to the contour shape and contour size to obtain the target placement angle of the model to be printed during the slicing process; and the model to be printed is placed according to the target placement angle.
[0115] In one possible embodiment, the angle adjustment unit 43 is specifically used to adjust the placement angle of the model to be printed according to the contour shape and contour size when determining that the target printing device performs a printing operation in the fused deposition modeling printing mode, and determine the fitting area where the model to be printed and the printing platform are fitted at each placement angle; among the fitting areas at each placement angle, the placement angle corresponding to the largest fitting area is determined as the target placement angle to minimize the support for the model to be printed.
[0116] In one possible embodiment, the angle adjustment unit 43 is specifically used to adjust the placement angle of the model to be printed according to the contour shape and contour size when determining that the target printing device performs a printing operation in the light-curing printing mode, and determine multiple suspended areas of the model to be printed at multiple placement angles; and determine the placement angle corresponding to the smallest suspended area among the multiple suspended areas as the target placement angle.
[0117] In a possible embodiment, the angle adjustment unit 43 is also used to: determine multiple bounding boxes of the model to be printed at different placement angles; the bounding box represents a cube composed of the minimum and maximum vertices of the model to be printed; the placement angle corresponding to the bounding box with the smallest thickness among the multiple bounding boxes is the target placement angle; the thickness of each bounding box is the cross-sectional thickness occupied by the bounding box on the vertical plane of the printing platform.
[0118] In one possible embodiment, the display unit 44 is used to: after determining the target device parameters, target consumable parameters and target model parameters of the target printing device, and after obtaining one or more of the following parameters: the target device parameters of the target printing device, the target consumable parameters used on the target printing device, and the target model parameters of the model to be printed, display an adjustment box for adjusting the target model parameters; in response to the user's confirmation indication after adjusting the target model parameters on the adjustment box, determine the target model parameters adjusted on the adjustment box as the target model parameters for slicing processing.
[0119] In a possible embodiment, the determination unit 42 is specifically used to: obtain a preset slice thickness corresponding to the bevel angle of the model to be printed based on the correspondence between the bevel angle and the slice thickness; when the target model parameters indicate that the printing accuracy of the model to be printed is within a preset accuracy range, determine the preset slice thickness corresponding to the bevel angle of the model to be printed as the target slice thickness in the slicing process of the model to be printed; the target slice parameters include the target slice thickness; when the target model parameters indicate that the printing accuracy of the model to be printed is greater than the preset accuracy range, reduce the preset slice thickness corresponding to the bevel angle of the model to be printed according to the preset adjustment rules, and obtain the target slice thickness in the slicing process of the model to be printed; when the target model parameters indicate that the printing accuracy of the model to be printed is less than the preset accuracy range, increase the preset slice thickness corresponding to the bevel angle of the model to be printed according to the preset adjustment rules, and obtain the target slice thickness in the slicing process of the model to be printed.
[0120] The present disclosure also provides a Figure 5 The printing device shown in FIG. The printing device is applied to a printing device and includes: a printing unit 51.
[0121] The printing unit 51 is used for the target printing device to receive the target slicing file transmitted by the server and print the model to be printed according to the target slicing file; the target slicing file is determined by the server in the following manner; wherein the following manner includes: in response to the printing instruction of the model to be printed, determining the target printing device associated with the model to be printed; obtaining one or more categories of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; according to the association mapping relationship between one or more categories of parameters among the device parameters, consumable parameters, and model parameters and the slicing parameters, determining the slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as the target slicing parameters; slicing the model to be printed according to the target slicing parameters to obtain the target slicing file; transmitting the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file.
[0122] Regarding the device in the above embodiment, the specific manner in which each unit module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0123] This application also provides the following implementation methods:
[0124] Label 1, a printing method, wherein, applied to a server, the method includes: in response to a printing instruction for a model to be printed, determining a target printing device associated with the model to be printed; obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; according to an association mapping relationship between one or more parameters among device parameters, consumable parameters, and model parameters and slicing parameters, determining slicing parameters corresponding to the target device parameters, target consumable parameters, and target model parameters as target slicing parameters; slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; transmitting the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file.
[0125] Label 2, according to the method of label 1, wherein, based on the association mapping relationship between one or more types of parameters among device parameters, consumable parameters, and model parameters and slicing parameters, the slicing parameters corresponding to the target device parameters, target consumable parameters, and target model parameters are determined as target slicing parameters, including: inputting one or more types of parameters among the target device parameters, target consumable parameters, and target model parameters into the target preset model to obtain the target slicing parameters.
[0126] Reference numeral 3. The method according to reference numeral 2, wherein, before inputting one or more parameters among the target device parameters, the target consumable parameters, and the target model parameters into the target preset model to obtain the target slicing parameters, the method further comprises:
[0127] Determine a target printing mode indicated by a target consumable parameter;
[0128] According to the correspondence between the printing mode and the preset model, the target preset model corresponding to the target printing mode is obtained; the preset model corresponds to the printing mode one-to-one, and the preset model is a neural network model used to characterize the association mapping relationship between one or more types of parameters among the device parameters, consumable parameters, and model parameters and the slicing parameters.
[0129] Label 4. The method according to Label 3, wherein determining the target printing device associated with the model to be printed includes: determining at least one printing device associated with the model to be printed; selecting a printing device with the highest priority from the at least one printing device as the target printing device; or; in response to a user's selection confirmation operation on any one of the at least one printing devices, determining any one of the printing devices confirmed in the selection confirmation operation as the target printing device.
[0130] Label 5. A method according to any one of labels 1 to 4, wherein, before slicing the model to be printed according to the target slicing parameters to obtain the target slicing file, the method further includes: obtaining a contour shape and contour size of the model to be printed; adjusting the model to be printed according to the contour shape and contour size, with the preset support conditions of the model to be printed as a constraint condition, to obtain a target placement angle of the model to be printed during the slicing process; and placing the model to be printed according to the target placement angle.
[0131] Label 6, according to the method of label 5, wherein, with the preset support condition of the model to be printed being a constraint condition, the model to be printed is adjusted according to the contour shape and contour size to obtain the target placement angle of the model to be printed during the slicing process, including: when determining that the target printing device performs a printing operation in the fused deposition modeling printing mode, adjusting the placement angle of the model to be printed according to the contour shape and contour size, and determining the fitting area where the model to be printed and the printing platform are fitted at each placement angle; determining the placement angle corresponding to the largest fitting area in the fitting area at each placement angle as the target placement angle, so that the support for the model to be printed reaches the minimum support.
[0132] Label 7. The method according to Label 5, wherein the model to be printed is adjusted according to the contour shape and contour size, with the preset support conditions of the model to be printed being a constraint condition, to obtain a target placement angle of the model to be printed during the slicing process, including: when determining that the target printing device performs a printing operation in a light-curing printing mode, adjusting the placement angle of the model to be printed according to the contour shape and contour size, and determining multiple overhang areas of the model to be printed at multiple placement angles; and determining the placement angle corresponding to the smallest overhang area among the multiple overhang areas as the target placement angle.
[0133] Reference numeral 8. The method according to reference numeral 7, wherein the method further comprises: determining a plurality of bounding boxes of the model to be printed at different placement angles, wherein the bounding boxes represent a cube consisting of the minimum and maximum vertices of the model to be printed;
[0134] The placement angle corresponding to the bounding box with the smallest thickness among the multiple bounding boxes is set as the target placement angle; the thickness of each bounding box is the cross-sectional thickness occupied by the bounding box on the vertical plane of the printing platform.
[0135] Label 9. A method according to any one of labels 1 to 4, wherein, after obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed, the method further includes: displaying an adjustment box for adjusting the target model parameters; and in response to a user's confirmation indication after adjusting the target model parameters on the adjustment box, determining the target model parameters adjusted on the adjustment box as the target model parameters for slicing processing.
[0136] Number 10. A method according to any one of numbers 1 to 4, wherein the server is a remote server, a distributed server, or a mobile terminal server, and the slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters are determined as target slicing parameters based on an association mapping relationship between one or more parameters among the device parameters, the consumable parameters, and the model parameters and the slicing parameters. The method further includes: obtaining a preset slicing thickness corresponding to the bevel angle of the model to be printed based on a correspondence between the bevel angle and the slicing thickness; when the target model parameters indicate that the printing accuracy of the model to be printed is within a preset accuracy range, determining the preset slicing thickness corresponding to the bevel angle of the model to be printed as the target slicing thickness in the slicing process for the model to be printed; the target slicing parameters include a target slicing thickness; when the target model parameters indicate that the printing accuracy of the model to be printed is greater than the preset accuracy range, reducing the preset slicing thickness corresponding to the bevel angle of the model to be printed according to a preset adjustment rule to obtain the target slicing thickness in the slicing process for the model to be printed; and when the target model parameters indicate that the printing accuracy of the model to be printed is less than the preset accuracy range, increasing the preset slicing thickness corresponding to the bevel angle of the model to be printed according to the preset adjustment rule to obtain the target slicing thickness in the slicing process for the model to be printed.
[0137] Reference number 11. A printing method, wherein the method is applied to a printing device, the method comprising:
[0138] The target printing device receives the target slicing file transmitted by the server, and prints the model to be printed according to the target slicing file; the target slicing file is determined by the server in the following manner; wherein the following manner includes: determining the target printing device associated with the model to be printed in response to a printing instruction for the model to be printed; obtaining one or more categories of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; according to the association mapping relationship between one or more categories of parameters among the device parameters, consumable parameters, and model parameters and the slicing parameters, determining the slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as the target slicing parameters; slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; transmitting the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file.
[0139] Figure 6 4 is a block diagram of a printing device 400 according to an embodiment of the present invention. For example, the device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0140] Reference Figure 6 The device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an I / O (Input / Output) interface 412 , a sensor component 414 , and a communication component 416 .
[0141] Processing component 402 generally controls the overall operation of device 400, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. Processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the above-described method. In addition, processing component 402 may include one or more modules to facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402.
[0142] The memory 404 is configured to store various types of data to support operations on the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as SRAM (Static Random Access Memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory), EPROM (Erasable Programmable Read Only Memory), PROM (Programmable Read-Only Memory), ROM (Read-Only Memory), magnetic memory, flash memory, magnetic disk, or optical disk.
[0143] The power supply component 406 provides power to the various components of the device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 400.
[0144] The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include an LCD (Liquid Crystal Display) and a TP (Touch Panel). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0145] In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the device 400 is in an operating mode, such as a capture mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0146] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a MIC (Microphone), which is configured to receive external audio signals when the device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0147] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0148] The sensor assembly 414 includes one or more sensors for providing various aspects of the status assessment of the device 400. For example, the sensor assembly 414 can detect the open / closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400. The sensor assembly 414 can also detect changes in the position of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration / deceleration of the device 400, and changes in the temperature of the device 400. The sensor assembly 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 can also include an optical sensor, such as a CMOS (Complementary Metal Oxide Semiconductor) or CCD (Charge-coupled Device) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 can also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0149] The communication component 416 is configured to facilitate wired or wireless communication between the device 400 and other devices. The device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes an NFC (Near Field Communication) module to facilitate short-range communication. For example, the NFC module can be implemented based on RFID (Radio Frequency Identification) technology, IrDA (Infra-red Data Association) technology, UWB (Ultra Wideband) technology, BT (Bluetooth) technology and other technologies.
[0150] In an exemplary embodiment, the device 400 can be implemented by one or more ASICs (Application Specific Integrated Circuit), DSPs (Digital signal Processor), DSPDs (Digital signal Processor Device), PLDs (Programmable Logic Device), FPGAs (Field Programmable Gate Array), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned printing method.
[0151] The present application also provides a printing device. When instructions in the printing device are executed by a printing device or a processor of the printing device, the printing device or the printing device can perform a printing method according to any of the possible embodiments described above. The same technical effects can be achieved, and to avoid repetition, they are not described here.
[0152] The present application also provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of a printing material control device or a printing apparatus, the printing material control device or the printing apparatus can perform a printing method according to any of the above-described possible embodiments. The same technical effects can be achieved, and to avoid repetition, they are not further described here.
[0153] The present application also provides a computer program product including a computer program or instructions, wherein the computer program or instructions are executed by a processor to implement the printing method according to any of the above possible implementations. The same technical effects can be achieved, and to avoid repetition, they are not described here.
[0154] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0155] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A printing method, characterized in that: Applied to a server, the method includes: In response to a printing instruction for a model to be printed, determining a target printing device associated with the model to be printed; Acquire one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; Determine the slice parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slice parameters according to an association mapping relationship between one or more parameters among the device parameters, the consumable parameters, and the model parameters and the slice parameters; Slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; Transmitting the target slicing file to the target printing device, wherein the target printing device is used to print the to-be-printed model according to the target slicing file; After acquiring one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the to-be-printed model, the method further includes: Displaying an adjustment box for adjusting parameters of the target model; In response to a confirmation indication by the user after adjusting the target model parameters on the adjustment box, the target model parameters adjusted on the adjustment box are determined as the target model parameters for slicing processing.
2. The method according to claim 1, characterized in that The determining, based on the association mapping relationship between one or more types of parameters among the device parameters, the consumable parameters, and the model parameters and the slicing parameters, the slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slicing parameters includes: One or more parameters among the target device parameters, the target consumable parameters and the target model parameters are input into a target preset model to obtain the target slicing parameters.
3. The method according to claim 2, characterized in that Before inputting one or more parameters among the target device parameters, the target consumable parameters, and the target model parameters into a target preset model to obtain the target slicing parameters, the method further includes: Determining a target printing mode indicated by the target consumable material parameter; According to the correspondence between the printing mode and the preset model, the target preset model corresponding to the target printing mode is obtained; the preset model corresponds to the printing mode one-to-one, and the preset model is a neural network model used to characterize the association mapping relationship between one or more types of parameters among device parameters, consumable parameters, model parameters and slicing parameters.
4. The method according to claim 3, characterized in that The determining of a target printing device associated with the model to be printed includes: determining at least one printing device associated with the model to be printed; From the at least one printing device, select the printing device with the highest priority as the target printing device; or; in response to the user's selection confirmation operation on any printing device among the at least one printing device, determine any printing device confirmed under the selection confirmation operation as the target printing device.
5. The method according to any one of claims 1 to 4, characterized in that Before slicing the to-be-printed model according to the target slicing parameters to obtain a target slicing file, the method further includes: Obtaining the outline shape and outline size of the model to be printed; The model to be printed is adjusted according to the outline shape and the outline size, with the preset support condition of the model to be printed being satisfied as a constraint condition, to obtain a target placement angle of the model to be printed during the slicing process; The model to be printed is placed according to the target placement angle.
6. The method according to claim 5, characterized in that The step of adjusting the model to be printed according to the outline shape and the outline size, taking the preset support condition of the model to be printed as a constraint condition, to obtain a target placement angle of the model to be printed during the slicing process, includes: When determining that the target printing device performs a printing operation in a fused deposition modeling printing mode, adjusting the placement angle of the to-be-printed model according to the outline shape and the outline size, and determining a fitting area where the to-be-printed model fits with the printing platform at each placement angle; The placement angle corresponding to the largest fitting area in the fitting areas at the various placement angles is determined as the target placement angle, so as to achieve minimum support for the to-be-printed model.
7. The method according to claim 5, characterized in that The step of adjusting the model to be printed according to the outline shape and the outline size, taking the preset support condition of the model to be printed as a constraint condition, to obtain a target placement angle of the model to be printed during the slicing process, includes: When it is determined that the target printing device performs a printing operation in a stereolithography printing mode, adjusting the placement angle of the to-be-printed model according to the outline shape and the outline size, and determining multiple overhang areas of the to-be-printed model at multiple placement angles; The placement angle corresponding to the smallest suspended area among the multiple suspended areas is determined as the target placement angle.
8. The method according to claim 7, characterized in that The method further comprises: Determining a plurality of bounding boxes of the model to be printed at different placement angles; wherein the bounding boxes represent a cube composed of the minimum and maximum vertices of the model to be printed; The placement angle corresponding to the boundary box with the smallest thickness among the multiple boundary boxes is the target placement angle; the thickness of each boundary box is the cross-sectional thickness occupied by the boundary box on the vertical plane of the printing platform.
9. The method according to any one of claims 1 to 4, characterized in that The server is a remote server, a distributed server, or a mobile terminal server, and the slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters are determined as target slicing parameters based on the association mapping relationship between one or more parameters among the device parameters, the consumable parameters, and the model parameters and the slicing parameters. The method further includes: Obtaining a preset slice thickness corresponding to the bevel angle of the model to be printed according to a correspondence between the bevel angle and the slice thickness; When the target model parameters indicate that the printing accuracy of the model to be printed is within a preset accuracy range, a preset slice thickness corresponding to the bevel angle of the model to be printed is determined as a target slice thickness in a slicing process of the model to be printed; the target slice parameters include the target slice thickness; When the target model parameter indicates that the printing accuracy of the model to be printed is greater than a preset accuracy range, reducing the preset slice thickness corresponding to the bevel angle of the model to be printed according to a preset adjustment rule to obtain a target slice thickness in the slicing process of the model to be printed; When the target model parameters indicate that the printing accuracy of the model to be printed is less than a preset accuracy range, the preset slice thickness corresponding to the bevel angle of the model to be printed is increased according to a preset adjustment rule to obtain a target slice thickness in the slicing process of the model to be printed.
10. A printing method, characterized in that: Applied to a printing device, the method includes: The target printing device receives the target slicing file transmitted by the server and prints the model to be printed according to the target slicing file; the target slicing file is determined by the server in the following manner; wherein the following manner includes: In response to a printing instruction for the model to be printed, determining a target printing device associated with the model to be printed; Acquire one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; Determine the slice parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slice parameters according to an association mapping relationship between one or more parameters among the device parameters, the consumable parameters, and the model parameters and the slice parameters; Slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; Transmitting the target slicing file to the target printing device, wherein the target printing device is configured to print the to-be-printed model according to the target slicing file; After acquiring one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed, the server executing the following method further includes: Displaying an adjustment box for adjusting parameters of the target model; In response to a confirmation indication by the user after adjusting the target model parameters on the adjustment box, the target model parameters adjusted on the adjustment box are determined as the target model parameters for slicing processing.
11. A printing device, characterized in that: Applied to a server, the device includes: a response unit, configured to determine, in response to a print instruction for a model to be printed, a target printing device associated with the model to be printed; and obtain one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; a determining unit, configured to determine, based on an association mapping relationship between one or more types of parameters among device parameters, consumable parameters, and model parameters and slicing parameters, slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slicing parameters; slice the model to be printed according to the target slicing parameters to obtain a target slicing file; and transmit the target slicing file to the target printing device, wherein the target printing device is configured to print the model to be printed according to the target slicing file; After acquiring one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed, the apparatus is further configured to: Displaying an adjustment box for adjusting parameters of the target model; In response to a confirmation indication by the user after adjusting the target model parameters on the adjustment box, the target model parameters adjusted on the adjustment box are determined as the target model parameters for slicing processing.
12. A printing device, characterized in that: Applied to a printing device, the device comprises: A printing unit, configured to receive a target slicing file transmitted by a server at a target printing device and print a model to be printed according to the target slicing file; the target slicing file is determined by the server in the following manner; wherein the following manner includes: determining a target printing device associated with the model to be printed in response to a printing instruction for the model to be printed; obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; and determining, based on an association mapping relationship between one or more of the device parameters, consumable parameters, and model parameters and slicing parameters, slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slicing parameters. parameters; slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; transmitting the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file; the following method executed by the server also includes: after obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed, displaying an adjustment box for adjusting the target model parameters; in response to a confirmation indication after the user adjusts the target model parameters on the adjustment box, determining the target model parameters adjusted on the adjustment box as the target model parameters for slicing processing.
13. A printing system, characterized in that: The printing system includes a printing device and a server, and is configured to: Invoking the server to respond to a print instruction for a model to be printed, determining a target printing device associated with the model to be printed; obtaining one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed; and determining, based on an association mapping relationship between one or more of the device parameters, consumable parameters, and model parameters and slicing parameters, slicing parameters corresponding to the target device parameters, the target consumable parameters, and the target model parameters as target slicing parameters; Slicing the model to be printed according to the target slicing parameters to obtain a target slicing file; transmitting the target slicing file to the target printing device, and the target printing device is used to print the model to be printed according to the target slicing file; Calling the target printing device to receive the target slicing file transmitted by the server, and printing the model to be printed according to the target slicing file; After acquiring one or more of the following parameters: target device parameters of the target printing device, target consumable parameters used on the target printing device, and target model parameters of the model to be printed, the method further includes: Displaying an adjustment box for adjusting parameters of the target model; In response to a confirmation indication by the user after adjusting the target model parameters on the adjustment box, the target model parameters adjusted on the adjustment box are determined as the target model parameters for slicing processing.
14. The system according to claim 13, wherein: Messages are transmitted between the printing device and the server based on the MQTT service protocol; and the printing instruction is monitored based on the MQTT service protocol.
15. The system according to claim 14, wherein: The server is further configured to execute the printing method according to any one of claims 2 to 9.
16. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a printing system, the printing system is enabled to execute the printing method according to any one of claims 1 to 9 or the printing method according to claim 10.
Citation Information
Patent Citations
Method and system for confirming printing direction of stereoscopic printing machine
CN104608391A
3D printing method and system based on multi-device linkage
CN117207530A