3D printing method and device, electronic equipment and storage medium
By obtaining slice parameters and slice processing in 3D printing technology, the layer texture problem and low efficiency problems are solved, and high-quality and efficient 3D printing effect is achieved.
Patent Information
- Application Number
- CN202311096557.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2025-02-28
AI Technical Summary
The existing 3D printing technology has problems with laminating texture and low molding efficiency during the slice forming process, especially when printing personalized models and fine parts.
By obtaining the slice parameters of the target slice layer, the angle between the target triangle sheet and its standard horizontal plane is determined. If the angle is less than the preset threshold, the target slice layer is sliced to obtain a sub-slice layer of equal layer thickness, and the outer contour lines of the sub-slice layer are printed in sequence according to the preset printing order, forming a closed contour and printing the entity at one time.
It effectively solves the layering problem, improves the printing effect and efficiency of 3D printing, and ensures high-quality molding of personalized models and fine parts.
Smart Images

Figure CN119525524A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of metal additive manufacturing, and in particular to a 3D printing method, device, electronic device and storage medium. Background Art
[0002] With the popularization of concepts such as intelligent manufacturing engineering and Industry 4.0, 3D printing technology is becoming more and more popular. 3D printing technology first appeared in the mid-1990s. It is actually the latest rapid prototyping device using technologies such as photocuring and paper lamination. It has basically the same working principle as ordinary printing. The printer is filled with "printing materials" such as liquid or powder. After connecting to the computer, the "printing materials" are stacked layer by layer through computer control, and finally the blueprint on the computer is turned into a physical object. This printing technology is called 3D stereoscopic printing technology.
[0003] In the related technology, there are two slicing and molding methods for 3D printing. First, the model is sliced with equal layer thickness, and each layer has complete path planning information. When this method uses a larger layer thickness, the model, especially the personalized model, is prone to obvious stacking layer lines, and the fine parts of the model cannot be effectively molded; second, according to the different heights of the model, a variety of different layer thickness slices are used, and the corresponding path planning information is matched for each layer thickness. This method is beneficial for the printing of regular fine parts, but it cannot solve the layer problem, and the molding efficiency is poor. Summary of the invention
[0004] In view of this, the present application provides a 3D printing method, device, electronic device and storage medium, which can improve the printing effect of the 3D printing device while improving the printing efficiency.
[0005] A first aspect of the present application provides a 3D printing method, comprising: obtaining slicing parameters of a target slicing layer; wherein the slicing parameters include an outer surface of the target slicing layer, and the outer surface is formed by a plurality of triangular facets; determining a target triangular facet from the plurality of triangular facets according to the slicing parameters, and obtaining a first angle formed between the target triangular facet and a standard horizontal plane; when it is detected that the first angle is less than a preset angle threshold, slicing the target slicing layer to obtain N sub-slicing layers of equal thickness, where N is an integer greater than 1; printing the outer contour lines of the N sub-slicing layers in sequence according to a preset printing order to form a closed contour of the target slicing layer; and after the closed contour is formed, printing to form a solid body of the target slicing layer in one go.
[0006] Compared with the related art, the embodiments of the present application have at least the following advantages:
[0007] By acquiring the slicing parameters of the target slicing layer, the outer surface of the target slicing layer can be known. Since the outer surface is formed by multiple triangular facets, the target triangular facet is determined according to the slicing parameters, so that the first angle formed between the target triangular facet and the standard horizontal plane can characterize the inclination degree of the target slicing layer; then by detecting whether the first angle is less than a preset angle threshold, it is easy to know whether the target slicing layer will form obvious layer lines with the previous slicing layer after printing. When it is detected that the first angle is less than the preset angle threshold, that is, the target slicing layer will form obvious layer lines with the previous slicing layer after printing, the target slicing layer is sliced to obtain N sub-slicing layers of equal thickness, and then the outer contours of the N sub-slicing layers are printed in sequence according to the preset printing order, so that the layer line problem can be solved and the printing effect of 3D printing is improved; finally, the entity of the target slicing layer is formed by one-time printing, which improves the printing efficiency of 3D printing.
[0008] In some possible implementations, the method further includes: when it is detected that the first angle is greater than or equal to the preset angle threshold, generating a solid scanning path and a contour scanning path of the target slice layer; printing the entity of the target slice layer according to the solid scanning path and the first preset printing parameters, and then printing the closed contour according to the contour scanning path and the second preset printing parameters.
[0009] In some possible implementations, after the closed contour is formed, printing the entity of the target slice layer in one go includes: after the closed contour is formed, printing the entity of the target slice layer according to the entity scanning path and the first preset printing parameters.
[0010] In some possible implementations, printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order includes: printing the outer contour lines of the N sub-slice layers in sequence according to the preset printing order and a third preset printing parameter; wherein the third preset printing parameter is different from the second preset printing parameter.
[0011] In some possible implementations, the outer surface of each of the sub-slice layers is formed by multiple sub-triangular facets; before printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order, it also includes: obtaining the second angle formed between all the sub-triangular facets in the N sub-slice layers and the standard horizontal plane; selecting M final triangular facets whose second angle is less than the preset angle threshold from all the sub-triangular facets, M being an integer greater than or equal to 1; obtaining the first contour lines of the N sub-slice layers according to the M final triangular facets; printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order includes: printing the first contour line in the preset printing order, and after the first contour line is printed, printing the part of the outer contour line except the first contour line at one time.
[0012] In some possible implementations, before printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order, it also includes: generating a first scanning path for the portion of the outer contour line excluding the first contour line, and a second scanning path for the portion of the N sub-slice layers excluding the outer contour line; after the first contour line is printed, printing the portion of the outer contour line excluding the first contour line at one time includes: after the first contour line is printed, printing the portion of the N sub-slice layers excluding the first contour line at one time according to the first scanning path and the second scanning path.
[0013] In some possible implementations, determining a target triangular facet among the plurality of triangular facets according to the slicing parameters includes: taking a triangular facet among the plurality of triangular facets that passes through the outer contour line as the target triangular facet.
[0014] The second aspect of the present application discloses a 3D printing device, comprising: a parameter acquisition module, the parameter acquisition module is used to acquire the slicing parameters of a target slicing layer; wherein the slicing parameters include the outer surface of the target slicing layer, and the outer surface is formed by a plurality of triangular facets; an angle acquisition module, the angle acquisition module is used to determine a target triangular facet from the plurality of triangular facets according to the slicing parameters, and acquire a first angle formed between the target triangular facet and a standard horizontal plane; a slicing module, the slicing module is used to slice the target slicing layer when it is detected that the first angle is less than a preset angle threshold, to obtain N sub-slicing layers of equal thickness, where N is an integer greater than 1; a printing module, the printing module is used to print the outer contour lines of the N sub-slicing layers in sequence according to a preset printing order to form a closed contour of the target slicing layer; and after the closed contour is formed, the entity of the target slicing layer is formed by printing at one time.
[0015] The third aspect of 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 3D printing method.
[0016] A fourth aspect of the present application discloses a storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned 3D printing method.
[0017] It can be understood that the 3D printing device of the second aspect, the electronic device of the third aspect, and the storage medium of the fourth aspect provided above all 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
[0018] 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 related drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A flowchart of a 3D printing method provided in one embodiment of the present application.
[0020] Figure 2 A flowchart of a 3D printing method provided in one embodiment of the present application.
[0021] Figure 3 A schematic diagram of the functional modules of a 3D printing device provided in one embodiment of the present application.
[0022] Figure 4 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the implementation methods of the present application and the features in the implementation methods can be combined with each other without conflict.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described implementations are only part of the implementations of the present application, rather than all the implementations.
[0025] 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 belongs. 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.
[0026] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0027] In this application, "at least one" means one or more, and "more" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
[0028] In the embodiments of the present 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 the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0029] To facilitate understanding, some illustrations of concepts related to the embodiments of the present application are given by way of example for reference.
[0030] 3D printing equipment, also known as three-dimensional printers, is a rapid prototyping process equipment, usually using digital technology to print materials. 3D printing equipment is often used to manufacture models or parts in the fields of mold manufacturing, industrial design, etc.
[0031] Please refer to Figure 1 , is a flow chart of the 3D printing method provided in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0032] Step 101: Acquire slice parameters of a target slice layer; wherein the slice parameters include an outer surface of the target slice layer, and the outer surface is formed by a plurality of triangular facets.
[0033] In some embodiments, the object to be printed includes multiple slice layers, and the target slice layer is one of the multiple slice layers. Specifically, a 3D model of the object to be printed is first obtained, and then the 3D model is sliced with equal thickness to obtain multiple slice layers. During the printing process of the object to be printed, the target slice layer is the current layer to be printed.
[0034] In some embodiments, the layer thickness is 10 microns to 500 microns. It is worth noting that a slice layer with a thickness less than 10 microns will result in a large number of slice layers, increasing the production cycle of the 3D model; for a slice layer with a thickness greater than 500 microns, the molding performance is unstable. Therefore, by setting the slice layer thickness between 10 microns and 500 microns, the printing efficiency can be improved while ensuring the stability of the printing molding.
[0035] Step 102: determining a target triangular facet from a plurality of triangular facets according to the slicing parameters, and acquiring a first angle formed between the target triangular facet and a standard horizontal plane.
[0036] In some embodiments, a triangular facet that passes through the outer contour line of the target slice layer among the plurality of triangular facets is used as the target triangular facet. Specifically, the outer contour line is the boundary line between the triangular facet and the target slice layer. Since the target triangular facet passes through the outer contour line of the target slice layer, the first angle formed between the target triangular facet and the standard horizontal plane can characterize the inclination of the target slice layer relative to the standard horizontal plane; in addition, since the 3D model is an equal-thickness slice, the smaller the first angle, the longer the outer contour line will be, and the more obvious the layer pattern between the target slice layer and the slice layer above will be.
[0037] Step 103: When it is detected that the first angle is smaller than the preset angle threshold, the target slice layer is sliced to obtain N sub-slice layers with equal thickness.
[0038] In some embodiments, the preset angle threshold value ranges from 0 degrees to 90 degrees and can be set according to actual conditions. This embodiment does not specifically limit this.
[0039] In some embodiments, N is an integer greater than 1. It is worth noting that, in this embodiment, the value of N is within 100 to improve the efficiency of 3D printing.
[0040] In some embodiments, when it is detected that the first angle is greater than or equal to the preset angle threshold, a physical scanning path and a contour scanning path of the target slice layer are generated; the entity of the target slice layer is printed according to the physical scanning path and the first preset printing parameters, and then the outer contour of the target slice layer is printed according to the contour scanning path and the second preset printing parameters.
[0041] It can be understood that by dividing the target slice layer into N sub-slice layers of equal thickness, the efficiency and printing effect of 3D printing can be improved.
[0042] Step 104: Print the outer contour lines of the N sub-slice layers in sequence according to a preset printing order to form a closed contour of the target slice layer.
[0043] In some embodiments, the outer contour lines of the N sub-slice layers are printed in sequence according to the preset printing order and the third preset printing parameters; wherein the third preset printing parameters are different from the second preset printing parameters.
[0044] In some embodiments, the preset printing parameters include but are not limited to laser scanning speed, laser power, etc. Since the thickness of each sub-slice layer is smaller than the thickness of the target slice layer, it is necessary to configure new preset printing parameters for the sub-slice layer, that is, the third preset printing parameters.
[0045] How to print the outer contour lines of N sub-slice layers is described in detail in subsequent embodiments, and will not be described again here to avoid repetition.
[0046] Step 105: After the closed contour is formed, a solid body of the target slice layer is formed by printing in one go.
[0047] In some embodiments, after the closed contour is formed, the entity of the target slice layer is printed according to the entity scanning path and the first preset printing parameters. In this way, the printing efficiency of 3D printing can be improved.
[0048] Compared with the related art, the embodiments of the present application have at least the following advantages: by acquiring the slicing parameters of the target slicing layer, the outer surface of the target slicing layer can be known. Since the outer surface is formed by a plurality of triangular facets, by identifying the target triangular facet, the target triangular facet can be a triangular facet that can characterize the outer contour line of the target slicing layer, so that the first angle formed between the target triangular facet and the standard horizontal plane can characterize the inclination degree of the target slicing layer; then by detecting whether the first angle is less than a preset angle threshold, it is easy to know whether the target slicing layer will form obvious layer lines with the previous slicing layer after printing. When it is detected that the first angle is less than the preset angle threshold, that is, the target slicing layer will form obvious layer lines with the previous slicing layer after printing, the target slicing layer is sliced to obtain N sub-slicing layers of equal thickness, and then the outer contours of the N sub-slicing layers are printed in sequence according to the preset printing order, so that the layer line problem can be solved and the printing effect of 3D printing is improved; finally, the entity of the target slicing layer is formed by one-time printing, which improves the printing efficiency of 3D printing.
[0049] Please refer to Figure 2, which is a flow chart of the 3D printing method provided in the embodiment of the present application. This embodiment is a further improvement of the above-mentioned embodiment. The main improvement is that: in this embodiment, before printing the outer contour lines of N sub-slice layers, M final triangular facets whose second angle is less than the preset angle threshold are selected from the N sub-slice layers, and the first contour line of the target slice layer is obtained according to the M final triangular facets, and then the first contour line is printed according to the preset printing order, and finally the outer contour line is printed at one time except the first contour line. In this way, the printing efficiency can be further improved while ensuring the printing effect of 3D printing.
[0050] The specific process of this embodiment is as follows Figure 2 As shown, the following steps are included:
[0051] Step 201: Acquire slice parameters of a target slice layer; wherein the slice parameters include an outer surface of the target slice layer, and the outer surface is formed by a plurality of triangular facets.
[0052] Step 202: determining a target triangular facet from a plurality of triangular facets according to the slicing parameters, and acquiring a first angle formed between the target triangular facet and a standard horizontal plane.
[0053] Step 203: When it is detected that the first angle is smaller than the preset angle threshold, the target slice layer is sliced to obtain N sub-slice layers with equal thickness.
[0054] Steps 201 to 203 of this embodiment are similar to steps 101 to 103 of the aforementioned embodiment, and are not described again here to avoid repetition.
[0055] Step 204: Obtain second angles formed between all sub-triangular facets in the N sub-slice layers and the standard horizontal plane.
[0056] In some embodiments, each sub-slice layer includes multiple triangular facets. Taking the N sub-slice layers including sub-slice layer A, sub-slice layer B and sub-slice layer C as an example, assuming that sub-slice layer A includes 100 triangular facets, sub-slice layer B includes 150 triangular facets, and sub-slice layer C includes 200 triangular facets; obtain the second angle formed between the 350 triangular facets and the standard horizontal plane.
[0057] Step 205: Select M final triangular facets whose second angle is less than a preset angle threshold from all sub-triangular facets.
[0058] In some embodiments, M is an integer greater than 1.
[0059] Step 206: Obtain first contour lines of N sub-slice layers according to the M final triangular facets.
[0060] In some embodiments, the M final triangular facets are connected to form an open first contour line.
[0061] Step 207: Print the first contour line according to a preset printing sequence.
[0062] In some embodiments, the first contour line is printed in sequence according to the preset printing order and the fourth preset printing parameter. Since the thickness of each sub-slice layer is less than the thickness of the target slice layer, it is necessary to configure a new preset printing parameter for the first contour line, that is, the fourth preset printing parameter.
[0063] Step 208: After the first contour line is printed, the outer contour line excluding the first contour line is printed at one time.
[0064] Step 209: Printing the entity of the target slice layer in one go.
[0065] In some embodiments, the entity of the target slice layer is printed according to the aforementioned entity scanning path and the first preset printing parameter. In this way, the printing efficiency of 3D printing can be improved.
[0066] In some embodiments, a first scanning path of the portion of the outer contour line excluding the first contour line and a second scanning path of the portion of the N sub-slice layers excluding the outer contour line are also generated. After the first contour line is printed, the portion of the N sub-slice layers excluding the first contour line is printed at one time according to the first scanning path and the second scanning path. In this way, the printing efficiency of 3D printing can be further improved.
[0067] Compared with the related art, the embodiments of the present application have at least the following advantages: by acquiring the slicing parameters of the target slicing layer, the outer surface of the target slicing layer can be known. Since the outer surface is formed by a plurality of triangular facets, by identifying the target triangular facet, the target triangular facet can be a triangular facet that can characterize the outer contour line of the target slicing layer, so that the first angle formed between the target triangular facet and the standard horizontal plane can characterize the inclination degree of the target slicing layer; then by detecting whether the first angle is less than a preset angle threshold, it is easy to know whether the target slicing layer will form obvious layer lines with the previous slicing layer after printing. When it is detected that the first angle is less than the preset angle threshold, that is, the target slicing layer will form obvious layer lines with the previous slicing layer after printing, the target slicing layer is sliced to obtain N sub-slicing layers of equal thickness, and then the outer contours of the N sub-slicing layers are printed in sequence according to the preset printing order, so that the layer line problem can be solved and the printing effect of 3D printing is improved; finally, the entity of the target slicing layer is formed by one-time printing, which improves the printing efficiency of 3D printing.
[0068] Please refer to Figure 3, is a schematic diagram of the functional modules of the 3D printing device 300 provided in an embodiment of the present application.
[0069] like Figure 3 As shown, the 3D printing device 300 includes: a parameter acquisition module 301, the parameter acquisition module 301 is used to acquire the slicing parameters of the target slicing layer; wherein the slicing parameters include the outer surface of the target slicing layer, and the outer surface is formed by a plurality of triangular facets; an angle acquisition module 302, the angle acquisition module 302 is used to determine the target triangular facet among the plurality of triangular facets according to the slicing parameters, and acquire the first angle formed between the target triangular facet and the standard horizontal plane; a slicing module 303, the slicing module 303 is used to slice the target slicing layer when it is detected that the first angle is less than a preset angle threshold, to obtain N sub-slicing layers of equal thickness, where N is an integer greater than 1; a printing module 304, the printing module 304 is used to print the outer contour lines of the N sub-slicing layers in sequence according to a preset printing order to form a closed contour of the target slicing layer; and after the closed contour is formed, the entity of the target slicing layer is formed by printing at one time.
[0070] Compared with the related art, the embodiments of the present application have at least the following advantages: by acquiring the slicing parameters of the target slicing layer, the outer contour of the target slicing layer can be known. Since the outer contour is formed by multiple triangular facets, by identifying the target triangular facet, the target triangular facet can be a triangular facet that can characterize the outer contour line of the target slicing layer, so that the first angle formed between the target triangular facet and the standard horizontal plane can characterize the inclination degree of the target slicing layer; then by detecting whether the first angle is less than a preset angle threshold, it is easy to know whether the target slicing layer will form obvious layer lines with the previous slicing layer after printing. When it is detected that the first angle is less than the preset angle threshold, that is, the target slicing layer will form obvious layer lines with the previous slicing layer after printing, the target slicing layer is sliced to obtain N sub-slicing layers of equal thickness, and then the outer contours of the N sub-slicing layers are printed in sequence according to the preset printing order, so that the layer line problem can be solved and the printing effect of 3D printing is improved; finally, the entity of the target slicing layer is formed by one-time printing, which improves the printing efficiency of 3D printing.
[0071] Please refer to Figure 4 , is a schematic diagram of the hardware structure of the electronic device 1000 provided in the embodiment of the present application. Figure 4 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, and the above instructions can be used to implement the above method in the electronic device 1000.
[0072] It is understandable 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.
[0073] 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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0074] The processor 1001 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 1001 is a cache memory. The memory may store instructions or data that the processor 1001 has just used or circulated. If the processor 1001 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 1001, and thus improves the efficiency of the system.
[0075] In some embodiments, the processor 1001 may include one or more interfaces. The interface 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.
[0076] In some embodiments, memory 1002 may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, a 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 devices.
[0077] This embodiment further provides a computer-readable storage medium, in which computer instructions are stored. 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.
[0078] 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.
[0079] 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.
[0080] In several embodiments provided in the present 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. There may be other division methods in actual implementation, 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.
[0081] The unit described as a separate component may or may not be physically separated, and the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
[0082] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0083] 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, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.
[0084] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A 3D printing method, characterized in that: include: Acquire slice parameters of a target slice layer; wherein the slice parameters include an outer surface of the target slice layer, and the outer surface is formed by a plurality of triangular facets; Determine a target triangular facet among the plurality of triangular facets according to the slicing parameters, and obtain a first angle formed between the target triangular facet and a standard horizontal plane; When it is detected that the first angle is less than a preset angle threshold, slicing the target slice layer to obtain N sub-slice layers of equal thickness, where N is an integer greater than 1; Printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order to form a closed contour of the target slice layer; After the closed contour is formed, the entity of the target slice layer is formed by printing in one go.
2. The 3D printing method according to claim 1, characterized in that: The method further comprises: When it is detected that the first angle is greater than or equal to the preset angle threshold, generating a physical scanning path and a contour scanning path of the target slice layer; The entity of the target slice layer is printed according to the entity scanning path and the first preset printing parameters, and the closed contour is printed according to the contour scanning path and the second preset printing parameters.
3. The 3D printing method according to claim 2, characterized in that: After the closed contour is formed, printing the entity of the target slice layer in one go comprises: After the closed contour is formed, the entity of the target slice layer is printed according to the entity scanning path and the first preset printing parameters.
4. The 3D printing method according to claim 2, characterized in that: The step of printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order includes: The outer contour lines of the N sub-slice layers are printed in sequence according to the preset printing order and the third preset printing parameters; wherein the third preset printing parameters are different from the second preset printing parameters.
5. The 3D printing method according to claim 1, wherein: The outer surface of each sub-slice layer is formed by a plurality of sub-triangular facets; Before printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order, the method further includes: Acquire a second angle formed between all the sub-triangular facets in the N sub-slice layers and the standard horizontal plane; Selecting M final triangular facets whose second angle is less than the preset angle threshold from all the sub-triangular facets, where M is an integer greater than or equal to 1; Obtaining first contour lines of N sub-slice layers according to the M final triangular facets; The step of printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order includes: The first contour line is printed according to the preset printing sequence, and after the first contour line is printed, the portion of the outer contour line excluding the first contour line is printed at one time.
6. The 3D printing method according to claim 5, characterized in that: Before printing the outer contour lines of the N sub-slice layers in sequence according to a preset printing order, the method further includes: Generate a first scanning path of a portion of the outer contour line excluding the first contour line, and a second scanning path of a portion of the N sub-slice layers excluding the outer contour line; After the first contour line is printed, the part of the outer contour line other than the first contour line is printed at one time, including: After the first contour line is printed, parts of the N sub-slice layers excluding the first contour line are printed at one time according to the first scanning path and the second scanning path.
7. The 3D printing method according to claim 1, characterized in that: The step of determining a target triangular facet from among the plurality of triangular facets according to the slicing parameters comprises: A triangular facet that passes through the outer contour line among the plurality of triangular facets is used as the target triangular facet.
8. A 3D printing device, characterized in that: include: A parameter acquisition module, the parameter acquisition module is used to acquire the slice parameters of the target slice layer; wherein the slice parameters include the outer surface of the target slice layer, and the outer surface is formed by a plurality of triangular facets; An angle acquisition module, the angle acquisition module is used to determine a target triangular facet among the plurality of triangular facets according to the slicing parameters, and acquire a first angle formed between the target triangular facet and a standard horizontal plane; a slicing module, configured to slice the target slice layer to obtain N sub-slice layers of equal thickness when detecting that the first angle is less than a preset angle threshold, where N is an integer greater than 1; A printing module is used to print the outer contour lines of the N sub-slice layers in sequence according to a preset printing order to form a closed contour of the target slice layer; and after the closed contour is formed, print the entity of the target slice layer in one go.
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 3D printing method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the 3D printing method according to any one of claims 1 to 7.