Model printing method based on 3D printing device, electronic device, and storage medium
By segmenting the large model into multiple sub-models and printing according to the printing order and feature parameters set by the user, the problems of high cost and difficulty in printing large models by 3D printing equipment are solved, and efficient and multi-color 3D printing effect is achieved.
Patent Information
- Application Number
- PCT/CN2024/116114
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-22
- Filing Date
- 2024-08-30
- Publication Date
- 2025-05-30
AI Technical Summary
3D printing equipment is prone to printing abnormalities when printing large models, resulting in the need to reprint the entire model, which increases costs and cannot achieve multi-color printing of the model.
By obtaining the shape parameters and cutting line feature parameters of the model to be printed, a cutting surface is generated, the model is divided into multiple sub-models to be printed, and multi-color printing is realized according to the model printing order and cutting line feature parameters set by the user.
It reduces the printing cost of 3D printing equipment when printing large models, realizes multi-color printing of models, and improves user experience.
Smart Images

Figure CN2024116114_30052025_PF_FP_ABST
Abstract
Description
Model printing method based on 3D printing device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on November 22, 2023, with application number 202311567572.3 and application name “Model printing method, electronic device and storage medium based on 3D printing equipment”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the field of 3D printing technology, and in particular to a model printing method, electronic device, and storage medium based on a 3D printing device. Background Art
[0004] With the rise of concepts like smart manufacturing and Industry 4.0, 3D printing technology is becoming increasingly widespread. 3D printing, first appearing in the mid-1990s, is essentially a state-of-the-art rapid prototyping device utilizing technologies like photocuring and paper lamination. It operates on essentially the same principle as conventional printing: a printer is filled with "printing material" such as liquid or powder. Once connected to a computer, the computer controls the process of layering the "printing material," ultimately transforming the blueprint on the computer into a physical object. This printing technology is known as 3D printing.
[0005] In the related art, when a 3D printing device prints a larger model, if a printing anomaly occurs, the model needs to be reprinted, resulting in high printing costs and the inability to achieve multi-color printing of the model.
[0006] Summary of the Invention
[0007] In view of this, the present application provides a model printing method, electronic device and storage medium based on a 3D printing device, which can reduce the printing cost of the 3D printing device when printing large models and realize multi-color printing of the model.
[0008] A first aspect of the present 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 the multiple sub-models to be printed in sequence according to the model printing order.
[0009] In some possible implementations, the shape parameters include a vertex set, an outer surface set, and a maximum height of the model to be printed; obtaining a 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.
[0010] In some possible implementations, the total number of slicing layers is N, where N is an integer greater than 1; obtaining the contour set based on the height of each slicing layer and the outer surface set includes: traversing M outer surfaces in the outer surface set based on the heights of the N slicing layers, obtaining line segments of the M outer surfaces cut by the N slicing layers, where M is an integer greater than 1; connecting the line segments obtained by cutting the same outer surface by the N slicing layers to form a closed contour, obtaining M closed contours, and taking the set of the M closed contours as the contour set.
[0011] In some possible implementations, the cutting line feature parameters include cutting line point set coordinates and cutting line width; generating the cutting surface of the model to be printed based on the cutting line feature parameters includes: generating a closed area based on the cutting line width and the cutting line point set coordinates, and using the closed area as the cutting surface.
[0012] In some possible implementations, before printing the plurality of sub-models to be printed sequentially according to the model printing order, the process further includes: obtaining a cutting surface set according to the number of nozzles of the 3D printing device, the plurality of sub-models to be printed, and the cutting surface; determining a cutting area for each of the slicing layers according to the cutting surface set and each closed contour in the contour set; printing the plurality of sub-models to be printed sequentially according to the model printing order includes: determining a printing contour order for each closed contour in the contour set according to the model printing order; and printing the cutting area sequentially according to the printing contour order.
[0013] In some possible implementations, the shape parameters include the maximum point and the minimum point of the vertices of the model to be printed; and obtaining the contour set of the model to be printed based on the shape parameters includes: obtaining the contour set based on the maximum point and the minimum point of the vertices of the model to be printed.
[0014] In some possible implementations, the cutting line characteristic 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 characteristic parameters includes: obtaining a cutting line segment based on the number of cutting rows, the number of cutting columns, and the cutting interval; extending the cutting line segment according to a preset cutting direction to generate the cutting surface.
[0015] In some possible implementations, before printing the plurality of sub-models to be printed sequentially according to the model printing order, the method further includes: detecting whether a sequence change instruction is received; after detecting receipt of the sequence change instruction, modifying the model printing order according to the sequence change instruction; printing the plurality of sub-models to be printed sequentially according to the model printing order includes: printing the plurality of sub-models to be printed sequentially according to the modified model printing order.
[0016] In a second aspect, the present application discloses an electronic device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the above-mentioned model printing method based on the 3D printing device.
[0017] A third aspect of the present application discloses a storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned model printing method based on a 3D printing device.
[0018] It can be understood that 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 that can be achieved can refer to the beneficial effects of the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0020] FIG1 is a flowchart of a model printing method based on a 3D printing device provided in one or more embodiments of the present application.
[0021] FIG2 is a flowchart of a model printing method based on a 3D printing device provided in one or more embodiments of the present application.
[0022] FIG3 is a schematic structural diagram of the maximum outline of a model provided by one or more embodiments of the present application.
[0023] FIG4 is a schematic structural diagram of cutting segments and cutting surfaces provided by one or more embodiments of the present application.
[0024] FIG5 is a schematic structural diagram of the maximum outline of the model to be printed after cutting provided by one or more embodiments of the present application.
[0025] FIG6 is a rendering of a model to be printed after cutting according to one or more embodiments of the present application.
[0026] FIG7 is a flowchart of a model printing method based on a 3D printing device provided in one or more embodiments of the present application.
[0027] FIG8 is a schematic diagram of the outline of a model to be printed provided by one or more embodiments of the present application.
[0028] FIG9 is a schematic diagram of contour cutting provided by one or more embodiments of the present application.
[0029] FIG10 is a schematic diagram of the structure of a model to be printed being cut according to one or more embodiments of the present application.
[0030] FIG11 is a schematic diagram of the structure of the model to be printed after cutting according to one or more embodiments of the present application.
[0031] FIG12 is a schematic diagram of the hardware structure of an electronic device according to one or more embodiments of the present application. DETAILED DESCRIPTION
[0032] In order to more clearly understand the above-mentioned objectives, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features therein can be combined with each other in the absence of conflict.
[0033] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application pertains. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0035] It should be further noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0036] 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 three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural.
[0037] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0038] To facilitate understanding, some illustrations of concepts related to the embodiments of the present application are given for reference.
[0039] 3D printing equipment, also known as three-dimensional printers or stereo printers, is a rapid prototyping process that typically uses digital printing technology to create materials. 3D printing equipment is often used to create models or parts in fields such as mold manufacturing and industrial design.
[0040] Please refer to FIG1 , which is a flowchart of a model printing method based on a 3D printing device provided in an embodiment of the present application. The method includes the following steps:
[0041] Step 101: Obtain shape parameters of a model to be printed, and obtain a contour set of the model to be printed according to the shape parameters.
[0042] In some embodiments, the model to be printed is imported into a 3D printing device, and the 3D printing device can perform data analysis on the model to be printed to obtain shape parameters of the model to be printed.
[0043] The specific types of shape parameters and how to obtain the contour set of the to-be-printed model according to the shape parameters are described in detail in subsequent embodiments. To avoid repetition, they are not described again here.
[0044] Step 102: receiving cutting line feature parameters, and generating a cutting surface of the model to be printed according to the cutting line feature parameters.
[0045] In some embodiments, the cutting line feature parameters can be set by the user, that is, the user inputs the cutting line feature parameters in the operation interface of the 3D printing device. 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.
[0046] The specific types of cutting line feature parameters and how to generate the cutting surface of the model to be printed according to the cutting line feature parameters are described in detail in subsequent embodiments. To avoid repetition, they are not described again here.
[0047] Step 103: Divide the to-be-printed model into multiple to-be-printed sub-models according to the cutting surface and the contour set.
[0048] Step 104: receiving a model printing sequence, and printing a plurality of sub-models to be printed in sequence according to the model printing sequence.
[0049] In some embodiments, the model printing order is user-configured. That is, the user enters the model printing order on the 3D printing device's user interface. Upon receiving the model printing order entered by the user, the 3D printing device sequentially prints the multiple sub-models according to the model printing order. This allows the user to select a different model printing order to print the sub-models based on actual needs.
[0050] In some embodiments, when the model printing order set by the user is not received, the 3D printing device randomly prints multiple sub-models to be printed.
[0051] In some embodiments, the 3D printing device includes multiple nozzles, and the multiple nozzles can simultaneously print the sub-model to be printed. It is understood that the printing material sprayed by each nozzle can be a different color, thereby achieving multi-color printing of the model.
[0052] It's worth noting that if a sub-model to be printed (hereinafter referred to as module A) fails to print during the 3D printing process, the 3D printing device will record module A and reprint it. When printing models sequentially, you can first record module A, print the remaining sub-models in the order in which they are printed, and then reprint module A.
[0053] Compared with related technologies, the embodiments of the present application have at least the following advantages: by obtaining a set of contours of the model to be printed and then generating a cutting surface of the model to be printed based on the cutting line feature parameters, the model to be printed can be divided into multiple sub-models to be printed, so that during the operation of the 3D printing device, each sub-model to be printed can be printed separately. When one of the multiple sub-models to be printed is printed abnormally, only the sub-model to be printed needs to be printed again, without the need to repeatedly print the entire model to be printed, thereby reducing the printing cost of the 3D printing device when printing large models; the cutting line feature parameters are set by the user, that is, the user can adjust the cutting surface according to actual needs so that the model to be printed is divided into different sub-models to be printed, and then use different colors of printing materials to print the sub-models to be printed, thereby achieving multi-color printing of the model. In addition, the model printing order can also be set by the user, so that the user can choose different model printing orders to print the model to be printed according to actual needs, thereby improving the user experience.
[0054] Please refer to Figure 2, which is a flow chart of a model printing method based on a 3D printing device provided in an embodiment of the present application. This embodiment is a specific description of the aforementioned embodiment, further illustrating: a specific type of shape parameters of the model to be printed and a specific type of cutting line feature parameters.
[0055] This embodiment is applied to the 3D printing device of the aforementioned embodiment, and includes the following steps:
[0056] Step 201: Obtain the vertex set, outer surface set and maximum height of the model to be printed.
[0057] 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 according to the imported model to obtain a vertex set, an outer surface set, and a maximum height of the model to be printed.
[0058] 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, each outer surface in this embodiment includes three edges.
[0059] Step 202: Calculate the total number of slice layers of the model to be printed according to the maximum height of the model and the preset slice layer height, and obtain the height of each slice layer according to the total number of layers and the preset slice layer height.
[0060] In some embodiments, assuming the maximum model height is H and the preset slice layer height is h, the total number of slice layers in the model to be printed, num = H / h. The slice layer height hi of each layer = h*I, where I is the number of slice layers. It is understood that the slice layer height is the Z-axis coordinate of the slice layer in the spatial rectangular coordinate system.
[0061] Step 203: Obtain a contour set according to the height and outer surface set of each slice layer.
[0062] In some embodiments, the total number of slicing layers is N, where N is an integer greater than 1; M outer surfaces in the outer surface set are traversed according to the heights of the N slicing layers, and line segments of the M outer surfaces cut by the N slicing layers are obtained according to the vertex set, where M is an integer greater than 1; the line segments obtained by cutting the same outer surface by the N slicing layers are connected to form a closed contour, thereby obtaining M closed contours, and the set of M closed contours is used as the contour set.
[0063] For ease of understanding, the following detailed description of how to obtain the contour set in this embodiment is given in conjunction with Figure 3: Please refer to Figure 3, which is a structural diagram of the maximum contour of the model provided in the embodiment of the present application.
[0064] First, select a slice layer from the N slice layers. Assume that the selected slice layer height is 3h, that is, the third slice layer, and the Z-axis coordinate is 3h. Select an outer surface A from the M outer surfaces. Determine whether the Z-axis coordinates of the two end vertices of the three edges of outer surface A are located above and below 3h, and the Z-axis coordinates of the remaining two side vertices are equal to 3h. If so, outer surface A is cut by the third slice layer. Based on the intersection points obtained by the plane at height 3h and outer surface A, connect the intersection points to obtain the line segments of outer surface A that are cut. Repeat the above steps to obtain the line segments obtained by cutting outer surface A through all slice layers. Connect these line segments to form a closed contour, which is the outer contour of the model to be printed. It can be understood that there are a total of M outer surfaces. Based on the same operation as 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 maximum outer contour area shown in Figure 3 can be determined.
[0065] Step 204: Generate a closed area according to the cutting line width and the cutting line point set coordinates, and use the closed area as the cutting surface.
[0066] For ease of understanding, the following detailed description of how the cutting surface is generated in this embodiment is provided in conjunction with FIG4 : Please refer to FIG4 , which is a schematic structural diagram of the cutting line segments and cutting surfaces provided in the embodiment of the present application.
[0067] After the user specifies the cutting line segment and the cutting line width, for example, specifying the cutting line segments as line segments I1 and line segments I2, and the cutting line width as w; the 3D printing device traverses the point sets of line segments I1 and line segments I2, obtains the cutting line point set coordinates of line segments I1 and line segments I2, and then expands the cutting line point set coordinates outward by w to form the closed area O and closed area OS shown in Figure 4. The closed area O and closed area OS are the cutting surfaces.
[0068] Step 205: Divide the model to be printed into multiple sub-models to be printed according to the cutting surface and the contour set.
[0069] Please refer to Figure 5, which is a schematic diagram of the structure of the maximum outline of the model to be printed after cutting, according to an embodiment of the present application. For example, in the case where the model printing order is set by the user, after the user sets the model printing order, the 3D printing device retrieves the coordinates of a point from each closed contour in the contour set according to the model printing order, forming a printing order point set. The printing order of the contours is determined by determining which of closed area O and closed area OS contains a point in the printing order point set.
[0070] Taking a 3D printing device with two nozzles as an example, the maximum contour of the model to be printed shown in Figure 5 is cut to include three contour regions. Assuming that the first nozzle prints one contour region and the remaining nozzle prints the remaining contour region, a set B of designated contour regions corresponding to the different nozzles is obtained. The 3D printing device can obtain the contour region of each cut model to be printed, perform a set difference between the contour region and set B based on the coordinate information of the contour points within the contour region, and obtain a new cut region. Then, set B is traversed according to the printing contour order to obtain the rendering of the cut model to be printed shown in Figure 6.
[0071] Step 206: Receive a model printing sequence, and print a plurality of sub-models to be printed in sequence according to the model printing sequence.
[0072] Compared with related technologies, the embodiments of the present application have at least the following advantages: by obtaining a set of contours of the model to be printed and then generating a cutting surface of the model to be printed based on the cutting line feature parameters, the model to be printed can be divided into multiple sub-models to be printed, so that during the operation of the 3D printing device, each sub-model to be printed can be printed separately. When one of the multiple sub-models to be printed is printed abnormally, only the sub-model to be printed needs to be printed again, without the need to repeatedly print the entire model to be printed, thereby reducing the printing cost of the 3D printing device when printing large models; the cutting line feature parameters are set by the user, that is, the user can adjust the cutting surface according to actual needs so that the model to be printed is divided into different sub-models to be printed, and then use different colors of printing materials to print the sub-models to be printed, thereby achieving multi-color printing of the model. In addition, the model printing order can also be set by the user, so that the user can choose different model printing orders to print the model to be printed according to actual needs, thereby improving the user experience.
[0073] Please refer to Figure 7, which is a flowchart of a model printing method based on a 3D printing device provided in an embodiment of the present application. This embodiment is a specific description of the aforementioned embodiment, further illustrating: another specific type of shape parameters of the model to be printed and another specific type of cutting line feature parameters.
[0074] This embodiment is applied to the 3D printing device of the aforementioned embodiment, and includes the following steps:
[0075] Step 301: Obtain the maximum and minimum points of the vertices of the model to be printed.
[0076] 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 according to the imported model to obtain the maximum point and the minimum point of the vertex of the model to be printed.
[0077] Step 302: Obtain a contour set according to the maximum and minimum points of the vertices of the model to be printed.
[0078] Please refer to Figure 8, which is a schematic diagram of the outline of the model to be printed provided in an embodiment of the present application. The dimensions of the model to be printed in the X-axis and Y-axis directions are obtained based on the maximum and minimum points of the vertices of the model to be printed. Finally, the outline of the model to be printed shown in Figure 8 is generated, which is also the outline set mentioned in step 302.
[0079] Step 303: Obtain cutting line segments according to the number of cutting rows, the number of cutting columns, and the cutting interval.
[0080] 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 in 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 line segments.
[0081] Step 304: Extend the cutting line segment according to the preset cutting direction to generate a cutting surface.
[0082] For ease of understanding, the following detailed description of how the cutting surface is obtained in accordance with the embodiment is provided in conjunction with Figures 9 and 10. Please refer to Figure 9, which illustrates a schematic diagram of contour cutting provided in accordance with the embodiment of the present 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 contour cutting schematic diagram shown in Figure 9 is obtained. As can be seen from Figure 9, two horizontal cutting segments S1 and S2, and two vertical cutting segments S3 and S4 are included.
[0083] Please refer to Figure 10, which is a schematic diagram of the structure of the model to be printed provided in an embodiment of the present application when being cut. The cutting surface shown in Figure 10 is a plane formed by the cutting line segment S1 along the normal direction.
[0084] Step 305: Divide the model to be printed into multiple sub-models to be printed according to the cutting surface and the contour set.
[0085] In some embodiments, the model to be printed can be divided into multiple sub-models to be printed in the following manner: 1. The plane P1 formed by the cutting line segment S1 along the normal direction is intersected with the contour set to obtain a face index set of the intersecting faces; 2. The face index set is divided into one (the cutting line segment is at the vertex) or two (the cutting line is within the face) faces according to the direction of the intersecting line segment and the vertex direction of the face according to the cutting line segment; all faces in the face index set are sequentially traversed to obtain the face set after cutting; according to the adjacent faces, all faces are reassembled into two models on both sides of the tangent. Cutting line segment S2, cutting line segment S3, and cutting line segment S4 are cut in the same manner as cutting line segment S1 to obtain the structural schematic diagram of the cut model to be printed shown in Figure 11.
[0086] Step 306: Receive a model printing sequence, and print a plurality of sub-models to be printed in sequence according to the model printing sequence.
[0087] In some embodiments, for example, before sequentially printing the multiple sub-models to be printed according to the model printing order, the process further includes: detecting whether a sequence change instruction has been received; after detecting receipt of the sequence change instruction, modifying the model printing order according to the sequence change instruction; and finally, sequentially printing the multiple sub-models to be printed according to the modified model printing order. For example, the numbers 1-9 shown in FIG9 are the model printing order. The user can modify the order by clicking on the numbers and record the final model printing order. The 3D printing device then sequentially prints the multiple sub-models to be printed according to the final model printing order.
[0088] Compared with related technologies, the embodiments of the present application have at least the following advantages: by obtaining a set of contours of the model to be printed and then generating a cutting surface of the model to be printed based on the cutting line feature parameters, the model to be printed can be divided into multiple sub-models to be printed, so that during the operation of the 3D printing device, each sub-model to be printed can be printed separately. When one of the multiple sub-models to be printed is printed abnormally, only the sub-model to be printed needs to be printed again, without the need to repeatedly print the entire model to be printed, thereby reducing the printing cost of the 3D printing device when printing large models; the cutting line feature parameters are set by the user, that is, the user can adjust the cutting surface according to actual needs so that the model to be printed is divided into different sub-models to be printed, and then use different colors of printing materials to print the sub-models to be printed, thereby achieving multi-color printing of the model. In addition, the model printing order can also be set by the user, so that the user can choose different model printing orders to print the model to be printed according to actual needs, thereby improving the user experience.
[0089] Please refer to Figure 12, which is a schematic diagram of the hardware structure of an electronic device 1000 provided in an embodiment of the present application. As shown in Figure 12, electronic device 1000 may include a processor 1001 and a memory 1002. Memory 1002 is used to store one or more computer programs 1003. One or more computer programs 1003 are configured to be executed by processor 1001. The one or more computer programs 1003 include instructions, which can be used to implement the above-mentioned method in electronic device 1000.
[0090] It is understood that the structure shown 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 shown, or combine or separate some components, or arrange the components differently.
[0091] The processor 1001 may include one or more processing units. For example, the processor 1001 may include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0092] Processor 1001 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 1001 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 1001. If processor 1001 needs to use the same instruction or data again, it can directly access it from this memory. This avoids duplicate accesses, reduces the waiting time of processor 1001, and thus improves system efficiency.
[0093] In some embodiments, the processor 1001 may include one or more interfaces. The 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, and a 12-bit 128 bit ...
[0094] receiver / transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input / output (GPIO) interface, SIM interface, and / or USB interface, etc.
[0095] In some embodiments, memory 1002 may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0096] This embodiment further provides a storage medium storing computer instructions. When the instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method in the above-mentioned embodiment.
[0097] Among them, the electronic device and computer storage medium provided in this embodiment are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0098] In practical applications, the above functions can be distributed 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.
[0099] In the several embodiments provided in this application, the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are schematic. For example, the division of the modules or units is a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0100] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0101] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0102] If the integrated unit is implemented in the form of 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 solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0103] The above description is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A model printing method based on a 3D printing device, characterized in that: include: Acquire shape parameters of the model to be printed, and acquire a contour set of the model to be printed according to the shape parameters; Receiving cutting line feature parameters, and generating a cutting surface of the to-be-printed model according to the cutting line feature parameters; According to the cutting surface and the contour set, the to-be-printed model is divided into a plurality of to-be-printed sub-models; A model printing sequence is received, and a plurality of sub-models to be printed are printed in sequence according to the model printing sequence.
2. The model printing method based on 3D printing equipment according to claim 1, characterized in that: The shape parameters include a vertex set, an outer surface set, and a maximum height of the model to be printed; The step of obtaining a contour set of the to-be-printed model according to the shape parameters comprises: Calculating the total number of slice layers of the model to be printed according to the maximum height of the model and the preset slice layer height, and obtaining the height of each slice layer according to the total number of layers and the preset slice layer height; The contour set is acquired according to the height of each slice layer and the outer surface set.
3. The model printing method based on 3D printing equipment according to claim 2, characterized in that: The total number of slice layers is N, where N is an integer greater than 1; and obtaining the contour set according to the height of each slice layer and the outer surface set includes: Traversing M outer surfaces in the outer surface set according to the heights of the N slice layers, and obtaining line segments of the M outer surfaces cut by the N slice layers according to the vertex set, where M is an integer greater than 1; Line segments obtained by cutting the same outer surface through N slice layers are connected to form a closed contour, thereby obtaining M closed contours, and a set of the M closed contours is used as the contour set.
4. The model printing method based on 3D printing equipment according to claim 2, characterized in that: The cutting line feature parameters include cutting line point set coordinates and cutting line width; The step of generating the cutting surface of the model to be printed according to the cutting line characteristic parameters comprises: A closed area is generated according to the cutting line width and the cutting line point set coordinates, and the closed area is used as the cutting surface.
5. The model printing method based on 3D printing equipment according to claim 4, characterized in that: Before sequentially printing the plurality of sub-models to be printed according to the model printing order, the method further comprises: Obtaining a cutting surface set according to the number of nozzles of the 3D printing device, the plurality of sub-models to be printed, and the cutting surface; Determine a cutting area of each of the slice layers according to the cutting surface set and each closed contour in the contour set; The step of printing the plurality of sub-models to be printed in sequence according to the model printing order comprises: Determining a printing contour order of each closed contour in the contour set according to the model printing order; The cutting areas are printed sequentially according to the printing outline sequence.
6. The model printing method based on a 3D printing device according to any one of claims 1 to 5, 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 a contour set of the to-be-printed model according to the shape parameters comprises: The contour set is obtained according to the maximum point and the minimum point of the vertices of the model to be printed.
7. The model printing method based on 3D printing equipment according to claim 6, 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 according to the cutting line characteristic parameters comprises: Obtaining a cutting line segment according to the number of cutting rows, the number of cutting columns and the cutting interval; The cutting line segment is extended according to a preset cutting direction to generate the cutting surface.
8. The model printing method based on 3D printing equipment according to claim 7, characterized in that: Before sequentially printing the plurality of sub-models to be printed according to the model printing order, the method further comprises: Detect whether a sequence change instruction is received; After detecting and receiving the sequence change instruction, modifying the model printing sequence according to the sequence change instruction; The step of printing the plurality of sub-models to be printed in sequence according to the model printing order comprises: The plurality of sub-models to be printed are printed in sequence according to the modified model printing order.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the model printing method based on a 3D printing device according to any one of claims 1 to 8.
10. A storage medium, characterized in that: The method comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the model printing method based on a 3D printing device as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
DLP 3D printer printing method and device
CN107283816A
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
Model printing method based on 3D printing equipment, electronic equipment and storage medium
CN117416043A
Method for generating 3D printing data, path planning method, system and storage medium
US20230356467A1
Cited By
3D printing prediction method and system based on equipment part analysis
CN121018946A