Model printing method based on 3D printing device, electronic device, and storage medium

By employing segmentation and multi-color printing technologies, the problems of high cost and inability to print multi-color models when printing large 3D models have been solved, achieving efficient model segmentation and multi-color printing.

CN117416043BActive Publication Date: 2026-02-10SHENZHEN CREALITY 3D TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311567572.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2026-02-10
Estimated Expiration
2043-11-22

AI Technical Summary

Technical Problem

Existing 3D printing equipment often encounters printing errors when printing larger models, requiring reprinting, which results in high costs and prevents multi-color printing.

Method used

By obtaining the contour set and cutting line feature parameters of the model to be printed, a cutting surface is generated, dividing the model into multiple sub-models, which are then printed sequentially according to the printing order of the models. Users can set the cutting surface and printing order to achieve multi-color printing.

Benefits of technology

It reduces the cost of printing large models and enables multi-color printing, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117416043B_ABST
    Figure CN117416043B_ABST
Patent Text Reader

Abstract

The application provides a model printing method based on a 3D printing device, an electronic device and a storage medium. The method comprises the following steps: acquiring a shape parameter of a to-be-printed model, and acquiring a contour set of the to-be-printed model according to the shape parameter; receiving a cutting line characteristic parameter, and generating a cutting surface of the to-be-printed model according to the cutting line characteristic parameter; dividing the to-be-printed model into a plurality of to-be-printed sub-models according to the cutting surface and the contour set; receiving a model printing sequence, and printing the plurality of to-be-printed sub-models in sequence according to the model printing sequence. The application can reduce the printing cost of a 3D printing device when printing a large model, and can realize multi-color printing of the model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of 3D printing technology, and in particular to a model printing method, electronic device and storage medium based on 3D printing equipment. Background Technology

[0002] With the popularization of concepts such as intelligent manufacturing engineering and Industry 4.0, 3D printing technology is becoming increasingly widespread. 3D printing technology first appeared in the mid-1990s and is essentially a new rapid prototyping device utilizing techniques such as photopolymerization and paper lamination. Its working principle is basically the same as ordinary printing; the printer contains liquid or powder "printing materials," and after being connected to a computer, the computer controls the layering of these "printing materials" to ultimately transform the blueprint on the computer into a physical object. This printing technology is called 3D stereolithography.

[0003] In related technologies, when printing large models, 3D printing equipment needs to reprint the model if printing abnormalities occur, resulting in high printing costs and the inability to achieve multi-color printing of the model. Summary of the Invention

[0004] In view of this, this application provides a model printing method, electronic device and storage medium based on 3D printing equipment, which can reduce the printing cost of 3D printing equipment when printing large models and realize multi-color printing of models.

[0005] The first aspect of this application provides a model printing method based on a 3D printing device, comprising: obtaining shape parameters of a model to be printed, and obtaining a contour set of the model to be printed based on the shape parameters; receiving cutting line feature parameters, and generating a cutting surface of the model to be printed based on the cutting line feature parameters; dividing the model to be printed into multiple sub-models to be printed based on the cutting surface and the contour set; receiving a model printing order, and printing multiple sub-models to be printed sequentially according to the model printing order.

[0006] Compared with related technologies, the embodiments of this application have at least the following advantages:

[0007] By acquiring the outline set of the model to be printed and generating the cutting surfaces of the model based on the cutting line feature parameters, the model can be divided into multiple sub-models. This allows the 3D printing equipment to print each sub-model separately during operation. If a sub-model experiences a printing error, only that sub-model needs to be reprinted, eliminating the need to reprint the entire model and reducing printing costs for large models. The cutting line feature parameters are user-configurable, meaning users can adjust the cutting surfaces according to their needs to divide the model into different sub-models and then print each sub-model using different colored printing materials, enabling multi-color printing. Furthermore, the printing order can also be set by the user, allowing them to choose different printing sequences to improve the user experience.

[0008] In some possible implementations, the shape parameters include the vertex set, outer surface set, and maximum height of the model to be printed; obtaining the contour set of the model to be printed based on the shape parameters includes: calculating the total number of slice layers of the model to be printed based on the maximum height of the model and a preset slice layer height, and obtaining the height of each slice layer based on the total number of layers and the preset slice layer height; obtaining the contour set based on the height of each slice layer and the outer surface set.

[0009] In some possible implementations, the total number of slice layers is N, where N is an integer greater than 1; obtaining the contour set based on the height of each slice layer and the set of outer surfaces includes: traversing M outer surfaces in the set of outer surfaces according to the heights of the N slice layers to obtain M line segments cut by the N slice layers on the outer surfaces, where M is an integer greater than 1; connecting the line segments obtained by the N slice layers cutting the same outer surface to form a closed contour, obtaining M closed contours, and using the set of the M closed contours as the contour set.

[0010] In some possible implementations, the cutting line feature parameters include the coordinates of the cutting line point set and the cutting line width; generating the cutting surface of the model to be printed based on the cutting line feature parameters includes: generating a closed region based on the cutting line width and the coordinates of the cutting line point set, and using the closed region as the cutting surface.

[0011] In some possible implementations, before sequentially printing multiple sub-models to be printed according to the model printing order, the method further includes: obtaining a set of cutting surfaces based on the number of nozzles of the 3D printing device, the multiple sub-models to be printed, and the cutting surfaces; determining the cutting area of ​​each slice layer based on each closed contour in the set of cutting surfaces and the set of contours; the step of sequentially printing multiple sub-models to be printed according to the model printing order includes: determining the printing contour order of each closed contour in the set of contours based on the model printing order; and sequentially printing the cutting areas according to the printing contour order.

[0012] In some possible implementations, the shape parameters include the maximum and minimum points of the vertices of the model to be printed; obtaining the contour set of the model to be printed based on the shape parameters includes: obtaining the contour set based on the maximum and minimum points of the vertices of the model to be printed.

[0013] In some possible implementations, the cutting line feature parameters include the number of cutting rows, the number of cutting columns, and the cutting interval; generating the cutting surface of the model to be printed based on the cutting line feature parameters includes: obtaining cutting line segments based on the number of cutting rows, the number of cutting columns, and the cutting interval; extending the cutting line segments according to a preset cutting direction to generate the cutting surface.

[0014] In some possible implementations, before printing multiple sub-models to be printed sequentially according to the model printing order, the method further includes: detecting whether an order change instruction has been received; after detecting that the order change instruction has been received, modifying the model printing order according to the order change instruction; the step of printing multiple sub-models to be printed sequentially according to the model printing order includes: printing multiple sub-models to be printed sequentially according to the modified model printing order.

[0015] A second aspect of this application discloses an electronic device, which includes a processor and a memory. The memory is used to store instructions, and the processor is used to call the instructions in the memory to cause the electronic device to execute the above-described model printing method based on a 3D printing device.

[0016] A third aspect of this application discloses a storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the aforementioned model printing method based on a 3D printing device.

[0017] Understandably, the electronic device of the second aspect and the storage medium of the third aspect provided above correspond to the method of the first aspect. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart of a model printing method based on a 3D printing device provided in an embodiment of this application.

[0020] Figure 2 A flowchart of a model printing method based on a 3D printing device provided in an embodiment of this application.

[0021] Figure 3 This is a schematic diagram of the maximum contour of a model provided in an embodiment of this application.

[0022] Figure 4 This is a schematic diagram of the structure of the cutting line segment and the cutting surface provided in an embodiment of this application.

[0023] Figure 5 This is a schematic diagram of the maximum outline of the cut-out model to be printed provided in one embodiment of this application.

[0024] Figure 6 This is a rendering of a cut-up model to be printed provided in one embodiment of this application.

[0025] Figure 7 A flowchart of a model printing method based on a 3D printing device provided in an embodiment of this application.

[0026] Figure 8 This is a schematic outline of a model to be printed provided in one embodiment of this application.

[0027] Figure 9 This is a schematic diagram of contour cutting provided for an embodiment of this application.

[0028] Figure 10 This is a schematic diagram of the structure of a printable model being cut according to an embodiment of this application.

[0029] Figure 11 This is a schematic diagram of the structure of a model to be printed after being cut, as provided in one embodiment of this application.

[0030] Figure 12 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0031] To better understand the above-mentioned objectives, features, and advantages of this application, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0032] The following description sets forth many specific details to provide a full understanding of this application. The described embodiments are only some, not all, of the embodiments of this application.

[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application.

[0034] It should be further noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0035] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, or B exists alone, where A and B can be singular or plural.

[0036] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0037] For ease of understanding, some concepts related to the embodiments of this application are illustrated and explained by way of example for reference.

[0038] 3D printing equipment, also known as three-dimensional printers or stereo printers, is a rapid prototyping process that typically uses digital technology to print materials. 3D printing equipment is commonly used in mold making, industrial design, and other fields to create models or parts.

[0039] Please refer to Figure 1 The flowchart below shows a model printing method based on a 3D printing device provided in this application embodiment. The method includes the following steps:

[0040] Step 101: Obtain the shape parameters of the model to be printed, and obtain the outline set of the model to be printed based on the shape parameters.

[0041] In some embodiments, by importing a model to be printed into a 3D printing device, the 3D printing device can perform data analysis on the model to obtain the shape parameters of the model to be printed.

[0042] The specific types of shape parameters and how to obtain the outline set of the model to be printed based on the shape parameters are described in detail in subsequent embodiments, and will not be repeated here to avoid repetition.

[0043] Step 102: Receive the cutting line feature parameters and generate the cutting surface of the model to be printed based on the cutting line feature parameters.

[0044] In some embodiments, the cutting line feature parameters can be set by the user. That is, the user inputs the cutting line feature parameters on the operation interface of the 3D printing device, and after receiving the cutting line feature parameters input by the user, the 3D printing device generates the cutting surface of the model to be printed according to the cutting line feature parameters.

[0045] The specific types of cutting line feature parameters and how to generate the cutting surface of the model to be printed based on the cutting line feature parameters are described in detail in subsequent embodiments. To avoid repetition, they will not be repeated here.

[0046] Step 103: Based on the cutting surfaces and contour sets, divide the model to be printed into multiple sub-models to be printed.

[0047] Step 104: Receive the model printing order, and print multiple sub-models to be printed in sequence according to the model printing order.

[0048] In some embodiments, the model printing order is set by the user. That is, the user inputs the model printing order on the operating interface of the 3D printing device, and after receiving the user's input, the 3D printing device prints multiple sub-models to be printed sequentially according to the model printing order. In this way, the user can select different model printing orders to print the sub-models to be printed according to actual needs.

[0049] In some embodiments, when no user-defined model printing order is received, the 3D printing device randomly prints multiple sub-models to be printed.

[0050] In some embodiments, the 3D printing equipment includes multiple nozzles that can simultaneously print sub-models to be printed. It is understood that each nozzle can eject a different color of printing material, thereby achieving multi-color printing of the model.

[0051] It's worth noting that during the printing process of the 3D printer, if a certain sub-model (hereinafter referred to as module A) fails to print, the 3D printer will record module A and reprint it. When printing models sequentially, module A can be recorded first, the remaining sub-models can be printed in the order they are printed, and then module A can be reprinted last.

[0052] Compared with related technologies, the embodiments of this application have at least the following advantages: By obtaining the contour set of the model to be printed and then generating the cutting surface of the model to be printed according to the cutting line feature parameters, the model to be printed can be divided into multiple sub-models to be printed. This allows each sub-model to be printed to be printed separately during the operation of the 3D printing equipment. If the printing of one of the sub-models fails, only that sub-model needs to be printed again, without having to reprint the entire model, thus reducing the printing cost of the 3D printing equipment when printing large models. The cutting line feature parameters are user-configurable, meaning that the user can adjust the cutting surface according to actual needs to divide the model to be printed into different sub-models, and then print each sub-model using different colored printing materials, thereby achieving multi-color printing of the model. In addition, the model printing order can also be user-configurable, allowing the user to select different model printing orders according to actual needs, improving the user experience.

[0053] Please refer to Figure 2 This is a flowchart of a model printing method based on a 3D printing device provided in an embodiment of this application. This embodiment is a specific description of the foregoing embodiment, further illustrating a specific type of shape parameters of the model to be printed and a specific type of cutting line feature parameters.

[0054] This embodiment applies to the 3D printing equipment described in the previous embodiment and includes the following steps:

[0055] Step 201: Obtain the vertex set, outer surface set, and maximum height of the model to be printed.

[0056] In some embodiments, a model to be printed is imported into a 3D printing device, and the 3D printing device establishes a spatial rectangular coordinate system based on the imported model to obtain the vertex set, outer surface set, and maximum height of the model to be printed.

[0057] Specifically, the vertex set includes the coordinates of each vertex of the model to be printed, and the outer surface set includes the coordinate range of each outer surface of the model to be printed. More specifically, in this embodiment, each outer surface includes three edges.

[0058] Step 202: Calculate the total number of slice layers of the model to be printed based on the maximum height of the model and the preset slice layer height, and obtain the height of each slice layer based on the total number of layers and the preset slice layer height.

[0059] In some embodiments, assuming the maximum height of the model is H and the preset slice layer height is h, then the total number of slice layers in the model to be printed, num = H / h. The slice layer height hi = h*I, where I is the number of slice layers. It can be understood that the slice layer height is the Z-axis coordinate of the slice layer in a Cartesian coordinate system.

[0060] Step 203: Obtain the contour set based on the height of each slice layer and the outer surface set.

[0061] In some embodiments, the total number of slice layers is N, where N is an integer greater than 1; M outer surfaces in the outer surface set are traversed according to the height of the N slice layers, and M line segments cut by the N slice layers are obtained according to the vertex set, where M is an integer greater than 1; the line segments obtained by the N slice layers cutting the same outer surface are connected to form closed contours, resulting in M ​​closed contours, and the set of M closed contours is used as the contour set.

[0062] To facilitate understanding, the following will be combined with... Figure 3 This embodiment provides a detailed explanation of how the contour set is obtained:

[0063] Please refer to Figure 3 This is a schematic diagram of the maximum contour of the model provided in the embodiments of this application.

[0064] First, select one slice layer from N slice layers. Assume the selected slice layer has a height of 3h, i.e., the third slice layer, and its Z-axis coordinate is 3h. Next, select one outer surface A from M outer surfaces. Determine if any of the three edges of outer surface A have two endpoints whose Z-axis coordinates are above or below 3h, and the remaining two endpoints whose Z-axis coordinates are equal to 3h. If so, outer surface A is cut by the third slice layer. Connect the intersection points of the plane containing height 3h and outer surface A to obtain the line segments that cut outer surface A. Repeat the above steps to obtain all the line segments obtained by the slice layers cutting outer surface A. Connecting these line segments forms a closed contour, which is the outer contour of the model to be printed. It can be understood that there are M outer surfaces in total. Based on the same operation as for outer surface A, a total of M closed contours can be obtained. The set of M closed contours is the contour set. Based on the coordinates of each closed contour, the outer contour of the model can be determined.Figure 3 The maximum outer contour region shown.

[0065] Step 204: Generate a closed region based on the cutting line width and the coordinates of the cutting line point set, and use the closed region as the cutting surface.

[0066] To facilitate understanding, the following will be combined with... Figure 4 This embodiment provides a detailed explanation of how the cutting surface is generated:

[0067] Please refer to Figure 4 This is a schematic diagram of the cutting line segment and cutting surface provided in the embodiments of this application.

[0068] After the user specifies the cutting segments and their widths, for example, specifying the cutting segments as segment I1 and segment I2, and the cutting line width as w; the 3D printing device traverses the point sets of segment I1 and segment I2 to obtain the coordinates of the cutting line point sets of segment I1 and segment I2, and then expands the coordinates of the cutting line point sets outward by w to form... Figure 4 The closed regions O and OS shown are the cutting surfaces.

[0069] Step 205: Based on the cutting surfaces and contour sets, divide the model to be printed into multiple sub-models to be printed.

[0070] Please refer to Figure 5 This is a schematic diagram of the maximum outline of the cut model to be printed provided in an embodiment of this application. Taking the model printing order set by the user as an example, after the user sets the model printing order, the 3D printing device takes the coordinates of a point of each closed contour in the contour set according to the model printing order, forming a printing order point set. It then determines which of the closed regions O and OS contains a point from the printing order point set, thereby determining the printing contour order.

[0071] Taking a 3D printing device with two nozzles as an example, Figure 5 The maximum outline of the model to be printed shown is divided into three outline regions after being cut. Assuming the first nozzle prints one outline region, and the remaining nozzle prints the remaining outline regions, a set B of specified outline regions corresponding to different nozzles is obtained. The 3D printing equipment can acquire the outline region of each cut model to be printed. Based on the coordinate information of the outline points within the outline region, it performs a difference operation between the outline region and set B to obtain a new cutting region. Then, it iterates through set B according to the printing outline order to obtain... Figure 6 The image shown is a rendering of the cut-out model to be printed.

[0072] Step 206: Receive the model printing order, and print multiple sub-models to be printed in sequence according to the model printing order.

[0073] Compared with related technologies, the embodiments of this application have at least the following advantages: By obtaining the contour set of the model to be printed and then generating the cutting surface of the model to be printed according to the cutting line feature parameters, the model to be printed can be divided into multiple sub-models to be printed. This allows each sub-model to be printed to be printed separately during the operation of the 3D printing equipment. If the printing of one of the sub-models fails, only that sub-model needs to be printed again, without having to reprint the entire model, thus reducing the printing cost of the 3D printing equipment when printing large models. The cutting line feature parameters are user-configurable, meaning that the user can adjust the cutting surface according to actual needs to divide the model to be printed into different sub-models, and then print each sub-model using different colored printing materials, thereby achieving multi-color printing of the model. In addition, the model printing order can also be user-configurable, allowing the user to select different model printing orders according to actual needs, improving the user experience.

[0074] Please refer to Figure 7 This is a flowchart of a model printing method based on a 3D printing device provided in an embodiment of this application. This embodiment is a specific description of the foregoing embodiment, further illustrating another specific type of shape parameters of the model to be printed and another specific type of cutting line feature parameters.

[0075] This embodiment applies to the 3D printing equipment described in the previous embodiment and includes the following steps:

[0076] Step 301: Obtain the maximum and minimum points of the vertices of the model to be printed.

[0077] In some embodiments, a model to be printed is imported into a 3D printing device, and the 3D printing device establishes a spatial rectangular coordinate system based on the imported model to obtain the maximum and minimum points of the vertices of the model to be printed.

[0078] Step 302: Obtain the contour set based on the maximum and minimum points of the vertices of the model to be printed.

[0079] Please refer to Figure 8 This is a schematic diagram of the outline of the model to be printed provided in an embodiment of this application. The dimensions of the model to be printed in the X and Y axes are obtained based on the maximum and minimum points of the vertices, and finally, the model is generated. Figure 8 The outline of the model to be printed is shown, which is also the set of outlines mentioned in step 302.

[0080] Step 303: Obtain the cutting line segments based on the number of cutting rows, the number of cutting columns, and the cutting interval.

[0081] In some embodiments, the number of cutting rows, the number of cutting columns, and the cutting interval are all set by the user. That is, the user inputs the number of cutting rows, the number of cutting columns, and the cutting interval on the operation interface of the 3D printing device. After receiving the number of cutting rows, the number of cutting columns, and the cutting interval input by the user, the 3D printing device generates cutting lines.

[0082] Step 304: Extend the cutting line segment according to the preset cutting direction to generate the cutting surface.

[0083] To facilitate understanding, the following will be combined with... Figure 9 and Figure 10 The following is a detailed explanation of how the cut surface is obtained in the embodiments:

[0084] Please refer to Figure 9 This is a schematic diagram of contour cutting provided in an embodiment of this application. Assuming the user sets the number of cutting rows to two, the number of cutting columns to two, and the cutting gap to g, the following can be obtained: Figure 9 The diagram shows the contour cutting. From Figure 9 As can be seen, it includes two horizontal cutting segments S1 and S2, and two vertical cutting segments S3 and S4.

[0085] Please refer to Figure 10 This is a schematic diagram of the structure of the model to be printed when it is cut, as provided in the embodiments of this application. Figure 10 The cutting surface shown is the plane formed by the cutting line segment S1 along the normal direction.

[0086] Step 305: Based on the cutting surfaces and contour sets, divide the model to be printed into multiple sub-models to be printed.

[0087] In some embodiments, the model to be printed can be divided into multiple sub-models to be printed in the following manner: 1. Intersect the plane P1 formed by the cutting line segment S1 along the normal direction with the contour set to obtain the set of face indices of the intersecting faces; 2. Based on the direction of the intersecting line segment and the vertex direction of the face, split the faces in the face index set into one (cutting line segment at the vertex) or two (cutting line in the face) faces according to the cutting line segment; traverse all faces in the face index set to obtain the set of cut faces; according to the way adjacent faces are arranged, recombine all faces into two models on both sides of the tangent. Cutting line segment S2, cutting line segment S3, and cutting line segment S4 in the same way as cutting line segment S1 to obtain... Figure 11 The diagram shows the structure of the model to be printed after it has been cut.

[0088] Step 306: Receive the model printing order, and print multiple sub-models to be printed in sequence according to the model printing order.

[0089] In some embodiments, for example, before printing multiple sub-models to be printed sequentially according to the model printing order, the method further includes: detecting whether an order change instruction has been received; after detecting that an order change instruction has been received, modifying the model printing order according to the order change instruction; and finally printing multiple sub-models to be printed sequentially according to the modified model printing order. For example... Figure 9 The numbers 1-9 shown represent the model printing order. Users can modify the order by clicking on the numbers and record the final model printing order. The 3D printing equipment will then print multiple sub-models in sequence according to the final model printing order.

[0090] Compared with related technologies, the embodiments of this application have at least the following advantages: By obtaining the contour set of the model to be printed and then generating the cutting surface of the model to be printed according to the cutting line feature parameters, the model to be printed can be divided into multiple sub-models to be printed. This allows each sub-model to be printed to be printed separately during the operation of the 3D printing equipment. If the printing of one of the sub-models fails, only that sub-model needs to be printed again, without having to reprint the entire model, thus reducing the printing cost of the 3D printing equipment when printing large models. The cutting line feature parameters are user-configurable, meaning that the user can adjust the cutting surface according to actual needs to divide the model to be printed into different sub-models, and then print each sub-model using different colored printing materials, thereby achieving multi-color printing of the model. In addition, the model printing order can also be user-configurable, allowing the user to select different model printing orders according to actual needs, improving the user experience.

[0091] Please refer to Figure 12 This is a schematic diagram of the hardware structure of the electronic device 1000 provided in an embodiment of this application. Figure 12 As shown, the electronic device 1000 may include a processor 1001 and a memory 1002. The memory 1002 is used to store one or more computer programs 1003. The one or more computer programs 1003 are configured to be executed by the processor 1001. The one or more computer programs 1003 include instructions that can be used to implement the methods described above in the electronic device 1000.

[0092] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 1000. In other embodiments, the electronic device 1000 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements.

[0093] Processor 1001 may include one or more processing units, such as application processors (APs), modems, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0094] The processor 1001 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 1001 is a cache memory. This memory can store instructions or data that the processor 1001 has just used or that are used repeatedly. If the processor 1001 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces the waiting time of the processor 1001, and thus improves the efficiency of the system.

[0095] In some embodiments, the processor 1001 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.

[0096] In some embodiments, memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0097] This embodiment also provides a storage medium storing computer instructions. When the instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the methods described in the above embodiments.

[0098] In this embodiment, the electronic device and computer storage medium are used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0099] In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0100] In the several embodiments provided in this application, the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are illustrative. For instance, the division of modules or units is a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0101] The unit described as a separate component may or may not be physically separate. The component shown as a unit can be one physical unit or multiple physical units, that is, it can be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of the solution in this embodiment according to actual needs.

[0102] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0103] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0104] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application.

Claims

1. A model printing method based on a 3D printing device, characterized in that, include: Obtain the shape parameters of the model to be printed, and obtain the outline set of the model to be printed based on the shape parameters; Receive cutting line feature parameters, and generate the cutting surface of the model to be printed based on the cutting line feature parameters; Based on the cutting surfaces and the contour set, the model to be printed is divided into multiple sub-models to be printed; Receive the model printing order, and print multiple sub-models to be printed sequentially according to the model printing order; The cutting line feature parameters include the coordinates of the cutting line point set and the cutting line width. Generating the cutting surface of the model to be printed based on the cutting line feature parameters includes: A closed region is generated based on the cutting line width and the coordinates of the cutting line point set, and the closed region is used as the cutting surface.

2. The model printing method based on 3D printing equipment as described in claim 1, characterized in that, The shape parameters include the vertex set, outer surface set, and maximum height of the model to be printed; The step of obtaining the contour set of the model to be printed based on the shape parameters includes: The total number of slice layers of the model to be printed is calculated based on the maximum height of the model and the preset slice layer height, and the height of each slice layer is obtained based on the total number of layers and the preset slice layer height. The contour set is obtained based on the height of each slice layer and the set of outer surfaces.

3. The model printing method based on a 3D printing device as described in claim 2, characterized in that, The total number of slice layers is N, where N is an integer greater than 1; obtaining the contour set based on the height of each slice layer and the outer surface set includes: Based on the height of the N slice layers, traverse the M outer surfaces in the outer surface set, and obtain the line segments cut by the N slice layers from the M outer surfaces based on the vertex set, where M is an integer greater than 1; Connect the line segments obtained by cutting the same outer surface from N slice layers to form closed contours, resulting in M ​​closed contours. The set of M closed contours is taken as the contour set.

4. The model printing method based on 3D printing equipment as described in claim 2, characterized in that, Before printing multiple sub-models to be printed sequentially according to the printing order of the models, the process also includes: A set of cutting surfaces is obtained based on the number of nozzles in the 3D printing equipment, the multiple sub-models to be printed, and the cutting surfaces; The cutting region of each slice layer is determined based on each closed contour in the set of cutting surfaces and the set of contours; The step of sequentially printing multiple sub-models to be printed according to the printing order of the models includes: The printing sequence of each closed contour in the contour set is determined according to the printing sequence of the model; The cutting areas are printed sequentially according to the printed outline.

5. The model printing method based on a 3D printing device as described in claim 1, characterized in that, The shape parameters include the maximum and minimum points of the vertices of the model to be printed; The step of obtaining the contour set of the model to be printed based on the shape parameters includes: The contour set is obtained based on the maximum and minimum points of the vertices of the model to be printed.

6. The model printing method based on a 3D printing device as described in claim 5, characterized in that, The cutting line characteristic parameters include the number of cutting rows, the number of cutting columns, and the cutting interval; The step of generating the cutting surface of the model to be printed based on the cutting line feature parameters includes: The cutting line segment is obtained based on the number of cutting rows, the number of cutting columns, and the cutting interval; The cutting line segment is extended according to the preset cutting direction to generate the cutting surface.

7. The model printing method based on a 3D printing device as described in claim 6, characterized in that, Before printing multiple sub-models to be printed sequentially according to the printing order of the models, the process also includes: Detect whether a sequence change instruction has been received; Upon receiving the order change instruction, the printing order of the model is modified according to the order change instruction; The step of sequentially printing multiple sub-models to be printed according to the printing order of the models includes: Print multiple sub-models to be printed sequentially according to the modified model printing order.

8. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory being used to store instructions, and the processor being used to invoke the instructions in the memory, causing the electronic device to execute the model printing method based on the 3D printing device according to any one of claims 1 to 7.

9. A storage medium, characterized in that, It includes computer instructions that, when executed on an electronic device, cause the electronic device to perform a model printing method based on a 3D printing device as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • An efficient parallel layer cutting method for STL model based on co-spot welding scheduling

    CN109325316A

  • Multi-nozzle collaborative 3D printing method, system and equipment

    CN114311681A