3D printing method, apparatus, electronic device, storage medium, and program product

By displaying a split-disc part view and generating selective printing instructions in 3D printing technology, the problem of resource waste caused by whole-disc printing is solved, and efficient part slicing and printing operations are achieved.

CN116749510BActive Publication Date: 2026-04-28SHANGHAI LUNKUO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI LUNKUO TECH CO LTD
Filing Date
2023-05-18
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In existing 3D printing technologies, when printing all parts on a disc, it is impossible to effectively handle parts that fail to print, resulting in resource waste and low efficiency.

Method used

By displaying views of each part in the target disc on the terminal, the user selects the part to be printed, generates a printing instruction, and sends it to the cloud server or 3D printer for selective printing or skipping printing. The cloud server then performs slicing processing.

Benefits of technology

It enables selective printing of target parts, saving part slicing resources, reducing computational complexity and slicing result file size, and improving slicing efficiency and transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116749510B_ABST
    Figure CN116749510B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a 3D printing method, device, electronic equipment, storage medium and program product. The method is executed by a terminal, and the method comprises: displaying views of each part in a target sub-disk; in response to a selection operation of a user on a view, acquiring position information of the selection operation on the view; generating a printing instruction according to the position information, the printing instruction being used to instruct to print or skip printing operation on a target part corresponding to the position information; and sending the printing instruction to a cloud server, the printing instruction being used to trigger the cloud server to execute model printing by a 3D printer, wherein the cloud server slices the target part to obtain a first slicing result, or the cloud server slices other parts in the target sub-disk except the target part to obtain a second slicing result. Based on skipping slicing of parts that do not need to be printed, the skipping printing operation of the parts that do not need to be printed is realized, and part slicing resources are saved.
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 3D printing method, a 3D printing apparatus, a corresponding electronic device, a corresponding computer-readable storage medium, and a corresponding computer program product. Background Technology

[0002] 3D printing is a technology that uses digital model (3D design file) files as a basis and employs powdered metal or plastic and other bondable materials to construct objects layer by layer using a 3D printer. In 3D printing technologies, it's common to print all parts on a disc at once. This whole-disc printing method is not ideal for printing parts that fail to print. Summary of the Invention

[0003] In view of the above problems, embodiments of this application are proposed to provide a 3D printing method, a 3D printing apparatus, a corresponding electronic device, a corresponding computer-readable storage medium, and a corresponding computer program product that overcome or at least partially solve the above problems.

[0004] This application discloses a 3D printing method, which is executed by a terminal and includes:

[0005] Displays a view of each part in the target tray; the view is used to present the corresponding position of each part in the target tray;

[0006] In response to a user's selection action on a view, obtain the position information of the selection action on the view;

[0007] A printing instruction is generated based on the location information. The printing instruction is used to instruct the target part corresponding to the location information to be printed or to skip the printing operation.

[0008] The cloud server sends a printing command, which is used by the cloud server to trigger the 3D printer to execute model printing. The cloud server slices the target part to obtain a first slicing result, which is used by the 3D printer to complete the printing of the target part. Alternatively, the cloud server slices other parts in the target disk besides the target part to obtain a second slicing result, which is used by the 3D printer to complete the printing of the other parts.

[0009] Optionally, the view includes a color image; the step of obtaining the position information of the selection operation on the view in response to a user's selection operation includes:

[0010] Detect the user's click operation on the color image, and obtain the click position of the click operation on the color image as the position information of the selection operation on the view;

[0011] And / or, detect the user's selection operation on the color image, obtain the selection range of the selection operation on the color image, and use it as the position information of the selection operation on the view.

[0012] Optionally, the location information includes the click location; generating the print instruction based on the location information includes:

[0013] Obtain the ID image corresponding to the color image. The pixel value of the color pixel position in the color image is used to represent the color value of any part at the color pixel position. The pixel value of the ID pixel position in the ID image is used to represent the part ID value of the part at the ID pixel position. The color pixel position and the ID pixel position correspond to each other.

[0014] Based on the click location, the pixel value of the corresponding position of the location information is read from the ID map and used as the part ID value of the target part;

[0015] Generate the print instruction, which includes the part ID value of the target part.

[0016] Optionally, the location information includes a selected area; generating a print instruction based on the location information includes:

[0017] Obtain a top-view ID image corresponding to the color image. The pixel value of the color pixel position in the color image is used to represent the color value of any part at the color pixel position. The pixel value of the ID pixel position in the ID image is used to represent the part ID value of the part at the ID pixel position. The color pixel position and the ID pixel position correspond to each other.

[0018] Based on the selected area, the pixel values ​​within the corresponding range of the location information are read from the ID map and used as the part ID value of the target part;

[0019] Generate the print instruction, which includes the part ID value of the target part.

[0020] Optionally, the correspondence between the color pixel position and the ID pixel position includes: the color pixel position and the ID pixel position are the same.

[0021] Optionally, the method further includes:

[0022] Send a request to the cloud server to retrieve the view;

[0023] Receive the view from the cloud server.

[0024] Optionally, the view includes a top view.

[0025] This application also discloses a 3D printing method, which is executed by a cloud server and includes:

[0026] Send a view to the terminal, the view being used to present the corresponding positions of each part in the target sub-disc;

[0027] The system receives a print command sent by the terminal; the print command is generated based on the position information of the user's selection operation on the view.

[0028] The target part corresponding to the location information is sliced ​​to obtain a first slicing result, which is then executed by a 3D printer to complete the printing of the target part.

[0029] And / or, slice the other parts in the target disc besides the target part to obtain a second slicing result, the second slicing result being executed by the 3D printer to complete the printing of the other parts.

[0030] Optionally, the method further includes:

[0031] The target part is determined based on the location information.

[0032] Optionally, the printing instruction includes the part ID value of the target part, which is obtained based on the location information.

[0033] Optionally, the location information includes the click location; obtaining the corresponding target part based on the location information includes:

[0034] Obtain the coordinate information of the clicked location;

[0035] Based on the coordinate information, the part in the target sub-disc located at the clicked position is taken as the target part.

[0036] Optionally, the location information includes a selected area; obtaining the corresponding target part based on the location information includes:

[0037] Obtain the region coordinate information of the selected area;

[0038] Based on the area coordinate information, at least some of the parts in the target panel that are located within the selected area are designated as target parts.

[0039] Optionally, the method further includes:

[0040] The first slicing result or the second slicing result is sent to the 3D printer so that the 3D printer can print the target part corresponding to the position information or skip the printing operation, thereby completing the 3D printing.

[0041] This application also discloses a 3D printing device for use in a terminal, the device comprising:

[0042] A view display module is used to display views of each part in the target sub-disc; the views are used to present the corresponding positions of each part in the target sub-disc.

[0043] A print instruction generation module is used to respond to a user's selection operation on the view, obtain the position information of the selection operation on the view, and generate a print instruction based on the position information. The print instruction is used to instruct the target part corresponding to the position information to print or skip the printing operation.

[0044] A printing instruction sending module is used to send the printing instruction to a cloud server. The printing instruction is used by the cloud server to trigger the 3D printer to execute model printing. The cloud server slices the target part to obtain a first slicing result, which is used by the 3D printer to complete the printing of the target part. Alternatively, the cloud server slices other parts in the target disk besides the target part to obtain a second slicing result, which is used by the 3D printer to complete the printing of the other parts.

[0045] This application also discloses a 3D printing apparatus applied to a cloud server, the apparatus comprising:

[0046] A view sending module is used to send a view to the terminal, the view being used to present the corresponding positions of each part in the target sub-disc;

[0047] A print instruction receiving module is used to receive print instructions sent by the terminal; the print instructions are generated based on the position information of the user's selection operation on the view;

[0048] A print instruction response module is used to slice the target part corresponding to the location information to obtain a first slicing result, the first slicing result being executed by the 3D printer to complete the printing of the target part; and / or, to slice other parts in the target disc other than the target part to obtain a second slicing result, the second slicing result being executed by the 3D printer to complete the printing of the other parts.

[0049] This application also discloses an electronic device, including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements any of the 3D printing methods described above.

[0050] This application also discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the 3D printing methods described above.

[0051] This application also discloses a computer program product, which includes a computer program, wherein the computer program implements any of the 3D printing methods when executed by a processor.

[0052] The embodiments of this application have the following advantages:

[0053] In this embodiment, after the 3D printer is triggered to print the model by a printing command generated based on location information, the target part or other parts can be sliced. By slicing only the parts to be printed, i.e., skipping the slicing of parts that do not need to be printed, the printing operation of the required parts is completed while the printing operation of unnecessary parts is skipped. This saves slicing resources, allowing for selective printing of parts that fail to print. Furthermore, skipping the slicing operation also reduces computational complexity and the file size of the slicing results, further improving the efficiency of slicing and the efficiency of transmitting the slicing results. Attached Figure Description

[0054] Figure 1 This is a flowchart illustrating the steps of an embodiment of a 3D printing method according to this application;

[0055] Figure 2 These are specific schematic diagrams of the color images and ID images provided in the embodiments of this application;

[0056] Figure 3 This is a flowchart illustrating the steps of another embodiment of the 3D printing method of this application;

[0057] Figure 4 This is a schematic diagram of an application scenario for 3D printing provided in the embodiments of this application;

[0058] Figure 5 This is a structural block diagram of an embodiment of a 3D printing device according to this application;

[0059] Figure 6 This is a structural block diagram of another embodiment of the 3D printing device of this application. Detailed Implementation

[0060] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0061] In 3D printing technologies, a parts list allows users to select which parts to print and which to exclude, enabling selective printing. However, these parts lists present a list of all parts on the printing platen, one part per line. While this allows users to identify parts based on thumbnails or other information, it doesn't reveal their exact location within the platen. Furthermore, in cases of printing failure, it's difficult to intuitively select which parts to reprint.

[0062] In this embodiment, 3D printing technology prints models via a terminal. Ordinary users can retrieve models uploaded by creators using their terminals and print the parts according to the printing information configured by the creators, such as printing parameters, the orientation of each part, and the arrangement of parts on trays. Specifically, creators can process the printing parameters, the orientation of each part, and the arrangement of parts on trays using slicing software on their computers, then save the relevant content to a project file and upload it to a model website. Ordinary users can then load and print the uploaded model via their terminals.

[0063] To facilitate understanding of the embodiments of this application, the technical features that may be involved in the technical solutions provided in the embodiments of this application will be described first.

[0064] The 3D printing process typically includes: 1) acquiring a 3D model; 2) slicing the 3D model using slicing software; and 3) sending the slicing results to the 3D printer, which then prints the 3D model based on the slicing results. The slicing software usually runs on a terminal that communicates with the printer. This terminal can be a computer device such as a PC or mobile phone. The slicing software can also run on a 3D printer with a controllable screen, and the terminal can also include a 3D printer with a controllable screen running slicing software.

[0065] Slicing software is software that generates control code (e.g., gcode) from a digital 3D model to control a processor that controls a 3D printer. This slicing software typically provides a graphical user interface (GUI) where users can operate, such as loading model files and setting printing parameters. The slicing software can provide a GUI to allow users to select or adjust layout information representing the position and orientation of the 3D model on the heated bed. The slicing software can slice the loaded 3D model (STL, DAE, or OBJ format) to generate slicing data (e.g., number of slices, height of each slice layer, etc.), and then generate control code based on the slicing data to control the 3D printer's print head to move along the print path to print each slice layer as the slicing result. Such control code typically includes gcode. The control code is downloaded to the 3D printer for execution by at least one processor. For this purpose, the 3D printer 100 may also include at least one memory for storing programs and / or data.

[0066] Slicing software for 3D models (usually STL or 3MF format files) involves slicing the 3D model into multiple layers according to pre-defined slicing requirements, determining the printing path for each layer, and generating control code for each layer's printing path. Before performing the slicing operation, the slicing software can also perform some auxiliary printing operations, which may include, but are not limited to: determining the printing orientation of the 3D model, determining the placement of the 3D model, determining whether the 3D model needs support and where the support is located, determining the slice layer height, and determining the flushing amount when switching between different feed lines, etc., at least one of these auxiliary printing operations. These auxiliary printing operations can be determined automatically by the slicing software, based on preset parameters, or specified by the 3D printing user through operating the slicing software. Generally, the slicing process of slicing software includes the following steps:

[0067] Step 1: Model Loading. Import model data from an external source and convert the 3D model into a combination of triangles represented by the data structure internal to the slicing software.

[0068] Step Two: Plating. In slicing software, plating refers to placing the 3D model in a specific position on the virtual printing platform with a defined orientation. Therefore, the orientation and placement position of the 3D model need to be determined during plating. Plating can be done on a single 3D model or multiple 3D models, where multiple 3D models can be multiple parts of a single 3D model. The 3D printer will then print the 3D models according to the layout determined during plating. Sometimes, the plating process requires dividing multiple 3D models into multiple batches. For example, when there are many 3D models to print that cannot be completed in one go, the multiple 3D models can be divided into multiple batches for printing. This process is called batch printing, which means that multiple 3D models are printed on multiple batches (or in separate batches), with 3D models in the same batch belonging to the same batch (or in separate batches).

[0069] Step 3: Layering. Layering involves intersecting the 3D model with an XY plane at regular intervals, creating multiple stacked slices. The distance between layers is called the layer height. Essentially, layering is a process of transforming a 3D model into a series of 2D planes.

[0070] Step 4: Path Generation. In this step, the movement paths of the nozzles in different components are planned. Independent paths can be generated for each component, and the printing order of each component can be determined.

[0071] Step 5: Gcode Generation. After generating the path, the nozzle movement path needs to be translated into Gcode that can be executed by the 3D printer's processor.

[0072] Reference Figure 1 The diagram illustrates a flowchart of an embodiment of a 3D printing method according to this application. The 3D printing method proposed in this embodiment is executed by a terminal and may specifically include the following steps:

[0073] Step 101: Display a view of each part in the target sub-disc;

[0074] In this embodiment of the application, the model is printed through the terminal. Specifically, the model creator processes the printing parameters, orientation of each part, and placement of parts on the tray using slicing software on the PC. The sliced ​​data can then be saved to the model project file, which allows the terminal to retrieve the corresponding model project file and print the parts in the tray according to the configuration information such as the part trays in the model project file.

[0075] To visually present the specific locations of each part in the target tray to users, and to facilitate users in directly selecting or drawing selections of the parts to be printed on the tray, a view of each part in the target tray can be displayed on the terminal, presenting the corresponding positions of each part in the target tray to the user based on the view.

[0076] Specifically, regarding the top-down view displayed on the terminal, if the model project file has already been loaded on the cloud server, the terminal can send a request to the cloud server to obtain the top-down view, and then receive the implementation of the top-down view from the cloud server. In this case, since the cloud server has already pre-loaded the model project file, it can directly obtain the top-down view. However, if the model project file has not been loaded on the cloud server, the terminal can generate a loading command for the model project file, send the loading command to the cloud server, and then obtain the top-down view implementation from the model project file by receiving the cloud server's response to the loading command.

[0077] Specifically, the display can be on the terminal's operating software, which can be the printer itself with a screen, a mobile app, or a webpage of a model website. The operating software may or may not include slicing software, and this application embodiment does not limit this.

[0078] Regarding view generation, in practical applications, the model project file uploaded by the model creator can reflect configuration information such as the model's printing parameters, the orientation of each part, and the placement of parts in the target tray. In other words, the model project file can be used to indicate the placement information of each part in the target tray. At this time, the generation and saving of the model project file does not involve slicing. Typically, when the model creator saves the relevant information of the model project, i.e., when the model project file is generated, slicing software on the PC generates views and ID diagrams to present the corresponding positions of each part in the target tray. In some embodiments of this application, a top view can also be generated based on the relevant information input by the model creator during the configuration of the relevant information of the model project. This application does not limit the timing of the top view generation.

[0079] Therefore, when uploading model project files, model creators can upload the aforementioned configuration information related to the model, and also save the view in the model project files and upload it to the model website, i.e., the cloud server. When the terminal obtains the view, it is specifically based on the cloud server, and then the terminal receives the top view from the cloud server.

[0080] Among them, the view can be generated by the slicing software on the PC or terminal so that users can intuitively view the specific location of the parts in the divider; the ID map is generated by the slicing software on the PC to achieve logical correspondence with the view, and is mainly provided for the program code to find and implement.

[0081] The view can be represented as a color image. In addition to showing the geometric information of the parts and the position information of each part in the current partition, it can also be used to present the appearance color of the parts. The appearance color mainly refers to the color used to render the parts in the construction space.

[0082] In practical applications, the view generation process specifically involves generating a top-down view. For example, the slicing software can adjust the 3D scene camera's perspective to achieve a top-down view of the entire build space of the printer. Then, while maintaining the aforementioned top-down perspective, all parts in the build space are rendered at a certain resolution (e.g., 1280x1280). The colors used for rendering (RGB888 format) can be the appearance colors configured for each part in the slicing software. Then, while maintaining the aforementioned top-down perspective, all parts in the build space can be rendered again at a certain resolution (e.g., 1280x1280). The color values ​​used in this rendering can be used as the pixel values ​​of the parts in the top-down color image. All parts in the build space can be considered as the individual parts of the current tray, demonstrating the corresponding positions of each part within the tray based on the top-down perspective of the build space. It should be noted that the generated view can also be generated from different angles according to actual needs. Therefore, during the generation of views from other angles, the slicing software can adjust the 3D scene camera's perspective to match the corresponding angle to generate a view at that angle. This application does not limit this aspect.

[0083] The color image represents the pixel values ​​of each component on the slicing panel, providing users with a view of component placement and enabling component click functionality. The ID image represents the component ID values ​​of each component on the slicing panel, used to locate component IDs and inform the cloud slicing service which components to select / skip for gcode generation. There is a correlation between the components in the color image and the components in the ID image. Specifically, the pixel value at the color pixel position in the color image represents the color value of any component at that position, and the pixel value at the ID pixel position in the ID image represents the component ID value of the component at that ID pixel position. The color pixel position and the ID pixel position correspond, and the component ID value serves as a unique identifier for the component.

[0084] The color pixel position corresponds to the ID pixel position, or the color pixel position and the ID pixel position are the same. For example, it can be as follows: Figure 2As shown, assuming the generated view is a top view, the top view can include a top-view color image, and the corresponding ID image can be represented as a top-view ID image. In this case, a certain color pixel position in the top-view color image can have the same ID pixel position in the top-view ID image, allowing the determination of the part ID corresponding to the same color pixel position and ID pixel position. That is, the part ID value on the top-view ID image can be indexed from the color pixel position in the top-view color image.

[0085] It should be noted that, in order to facilitate a complete presentation of all parts in the entire panel on the terminal, the displayed view can be presented in the form of thumbnails. That is, a color image can be represented as a color thumbnail, and the ID image generated from the corresponding thumbnail can be represented as an ID thumbnail. For example, assuming the generated view is a top view, the color thumbnail can be a top-view color thumbnail, and the ID thumbnail can be a top-view ID thumbnail. This application embodiment does not impose any limitations on this.

[0086] Step 102: In response to the user's selection operation on the view, obtain the position information of the selection operation on the view;

[0087] The view intuitively presents all the parts located in the target panel and their specific positions to the user on the terminal. The user can conveniently select the parts presented in the view through the terminal's operating software. At this time, the position information selected on the view can be obtained based on the user's selection operation, so as to select the corresponding target part based on the position information.

[0088] The selection operations performed by the user can include point selection and box selection. The part selected by the user is taken as the target part. Specifically, step 102 can include the following sub-steps:

[0089] Sub-step S1021: Detect the user's selection operation on the color image, and obtain the click position of the selection operation on the color image as the position information of the selection operation on the view.

[0090] In one scenario, user clicks on a color image can be detected, and the location information of the selected element can be obtained based on the click. Specifically, assuming the color image is a top-down view, the click position on the top-down color image can be obtained. For example, (x, y) can be used as the location information of the selection operation on the top-down view, which can usually be represented as the color pixel position corresponding to (x, y), and it can correspond to the ID pixel position (x, y) on the top-down ID image.

[0091] Sub-step S1022: Detect the user's selection operation on the top-view color map, and obtain the selection range of the selection operation on the top-view color map as the position information of the selection operation on the top view.

[0092] In another scenario, a user's selection operation on a color image can be detected, and the corresponding selection location information can be obtained based on the selection operation. Specifically, assuming the color image is a top-down view, the selection range of the operation on the top-down color image can be obtained. For example, (x1, y1, x2, y2) can be used as the location information of the selection operation on the top view. This can typically be represented as a regular or irregular region formed based on the color pixel positions of (x1, y1, x2, y2), which can correspond to a regular or irregular region formed based on the ID pixel positions of (x1, y1, x2, y2) on the top-down ID image. It should be noted that the selection range is not limited to the region formed based on the four pixel positions of (x1, y1, x2, y2), but can also be a regular or irregular geometric region presented based on more than four pixel positions. This embodiment of the application does not impose any limitations on this.

[0093] Step 103: Generate a printing instruction based on the location information. The printing instruction is used to instruct the target part corresponding to the location information to be printed or to skip the printing operation.

[0094] In practical applications, when printing a model on a terminal, the terminal's operating software can generate printing instructions for the target part based on location information and send these instructions to the 3D printer. The 3D printer can then perform printing on the target part or skip the printing process. Specifically, the terminal itself runs slicing software, which can trigger the 3D printer to print the model based on the printing instructions. Alternatively, printing instructions can be sent to a cloud server, which will then trigger the 3D printer to print the model. Finally, printing instructions can be sent to a PC running slicing software, which will then trigger the 3D printer to print the model.

[0095] The process of triggering a 3D printer to print a model based on a print command can include: slicing the target part to obtain a first slice result, which is then executed by the 3D printer to complete the printing of the target part; or slicing other parts in the target disc besides the target part to obtain a second slice result, which is then executed by the 3D printer to complete the printing of the other parts. Sending either the first or second slice result to the 3D printer allows the printer to print the target part corresponding to the specified position or skip the printing operation.

[0096] It should be noted that if the terminal itself runs slicing software and includes a 3D printer, then the terminal does not need to send the first or second slicing result to the 3D printer. It can directly print the target part with the corresponding position information based on the first or second slicing result or skip the printing operation to complete the printing.

[0097] The location information of the selection operation on the view can include the click position of the point selection operation on the color map, and can also include the selection range of the box selection operation on the color map.

[0098] In one embodiment of this application, step 103 may include the following sub-steps:

[0099] Sub-step S1031: Obtain the ID image corresponding to the color image;

[0100] The pixel value at the color pixel position in the color image can be used to represent the color value of any part at that color pixel position. The pixel value at the ID pixel position in the ID image can be used to represent the part ID value of the part at that ID pixel position. The color pixel position and the ID pixel position correspond. Correspondence between the color pixel position and the ID pixel position includes situations where the color pixel position and the ID pixel position are the same.

[0101] Sub-step S1032: Based on the click location, read the pixel value of the corresponding position from the ID map as the part ID value of the target part;

[0102] Location information can be used to determine the target part selected by the user on the target panel, specifically to determine the part ID value of the target part.

[0103] The click position on the color map, such as (x, y), is the position information of the selection operation on the top view. It can usually be represented by the color pixel position corresponding to (x, y), which can correspond to the ID pixel position corresponding to (x, y) on the ID map.

[0104] At this point, the pixel value of the corresponding position can be read from the top-down ID map based on the click location and used as the part ID value of the target part.

[0105] Sub-step S1033: Generate a print instruction, which includes the part ID value of the target part.

[0106] In practical applications, after obtaining the part ID value of the target part, the terminal's operating software can generate a printing instruction for the target part based on the location information. This generated printing instruction can include the target part's part ID value and is sent to the 3D printer, allowing the printer to either print the target part or skip the printing process. In a more specific implementation, the terminal can send a printing instruction to a cloud server, which will then trigger the 3D printer to print the model based on the instruction.

[0107] In another embodiment of this application, step 103 may include the following sub-steps:

[0108] Sub-step S1034: Obtain the ID image corresponding to the color image;

[0109] The pixel value at the color pixel position in the color image can be used to represent the color value of any part at that color pixel position. The pixel value at the ID pixel position in the ID image can be used to represent the part ID value of the part at that ID pixel position. The color pixel position and the ID pixel position correspond. Correspondence between the color pixel position and the ID pixel position includes situations where the color pixel position and the ID pixel position are the same.

[0110] Sub-step S1035: Based on the selected range, read the pixel values ​​within the corresponding range of the position information from the ID map as the part ID value of the target part;

[0111] Location information can be used to determine the target part selected by the user on the target panel, specifically to determine the part ID value of the target part.

[0112] The selection area on the color map, such as (x1, y1, x2, y2), is the positional information of the selection operation on the view. It can usually be represented as a regular or irregular area formed by the color pixel positions of (x1, y1, x2, y2), which can correspond to a regular or irregular area formed by the ID pixel positions of (x1, y1, x2, y2) on the top-view ID map.

[0113] At this point, the pixel values ​​within the corresponding range of the selected area can be read from the top-view ID map as the part ID value of the target part.

[0114] Sub-step S1036: Generate a print instruction, which includes the part ID value of the target part.

[0115] In practical applications, after obtaining the part ID value of the target part, the terminal's operating software can generate a printing instruction for the target part based on the location information. This generated printing instruction can include the target part's part ID value and is sent to the 3D printer, allowing the printer to either print the target part or skip the printing process. In a more specific implementation, the terminal can send a printing instruction to a cloud server, which will then trigger the 3D printer to print the model based on the instruction.

[0116] It should be noted that the schemes of sub-steps S1031 to S1033 are parallel schemes with the schemes of sub-steps S1034 to S1036.

[0117] In a preferred embodiment of this application, the target part selected by the user by clicking or selecting by box only indicates the user's selection. The specific operation of the target part still needs to be determined in conjunction with the current selection mode. It can also be that when the target part is selected on the terminal, it is usually in a certain selection mode by default.

[0118] Specifically, the selection mode can include a print mode and a skip mode. The print mode can refer to performing subsequent printing operations on the target part selected by the user; the skip mode can refer to performing subsequent skip printing operations on the target part selected by the user. In the skip mode, the skip printing operation on the target part can also be expressed as performing subsequent printing operations on other parts in the target tray besides the target part.

[0119] The model printing performed by a 3D printer depends on the slicing results. Usually, only the target part to be printed needs to be sliced. That is, the 3D printer performs the corresponding model printing operation on the corresponding target part based on the slicing results.

[0120] Step 104: Send a print command to the cloud server. The print command is used by the cloud server to trigger the 3D printer to print the model.

[0121] The cloud server can slice the target part to obtain the first slice result, or the cloud server can slice other parts in the target disk besides the target part to obtain the second slice result.

[0122] In one embodiment of this application, the cloud server can slice the target part in a selected print mode to obtain a first slice result, which can be used by the 3D printer to complete the printing of the target part. Alternatively, the cloud server can slice other parts in the target disc besides the target part in a selected skip mode to obtain a second slice result, which can be used by the 3D printer to complete the printing of other parts. The selected print mode or the selected skip mode can be set by default by the cloud server and the terminal, or it can be selected or set by the user.

[0123] In some preferred embodiments of this application, the slicing operation can also be performed on the terminal. After the terminal triggers the 3D printer to execute model printing, or after the terminal sends a printing instruction to the cloud server, the terminal can obtain a set of part IDs generated based on the part ID values ​​of all target parts generated by the user's operation software on the terminal. This set of part IDs is based on the current selection mode and can be the set of part IDs in the selected printing mode or the set of part IDs in the skip printing mode.

[0124] The terminal can slice a target part based on its part ID value to obtain a first slicing result. This first slicing result can be used by the 3D printer to print the target part. Alternatively, it can slice other parts in the target tray besides the target part based on their part ID values ​​to obtain a second slicing result. This second slicing result can be used by the 3D printer to print other parts. Specifically, when slicing the target tray, all parts in the current tray can be checked one by one. If the response part ID value is in the set of part IDs to be printed in the selected printing mode, the target part corresponding to that part ID value is sliced. Alternatively, if the response part ID value is in the set of part IDs in the skip printing mode, other parts besides the target part corresponding to that part ID value are sliced. The terminal can then send the slicing results to the 3D printer so that the 3D printer can complete the corresponding model printing operation.

[0125] In this embodiment, after the 3D printer is triggered to print the model by a printing command generated based on location information, the target part or other parts can be sliced. By slicing only the parts to be printed, i.e., skipping the slicing of parts that do not need to be printed, the printing operation of the required parts is completed while the printing operation of unnecessary parts is skipped. This saves slicing resources, allowing for selective printing of parts that fail to print. Furthermore, skipping the slicing operation also reduces computational complexity and the file size of the slicing results, further improving the efficiency of slicing and the efficiency of transmitting the slicing results.

[0126] Reference Figure 3 This diagram illustrates a flowchart of another embodiment of the 3D printing method of this application. The 3D printing method proposed in this embodiment is executed by a cloud server and may specifically include the following steps:

[0127] Step 301: Send a view to the terminal. The view is used to present the corresponding positions of each part in the target sub-disc.

[0128] In this embodiment, the model can be printed via a terminal. Specifically, after the model creator processes the printing parameters, orientation of each part, and placement of parts on the slicing software on the PC, the sliced ​​data can be saved to the model project file. This allows the terminal to retrieve the model project file of the corresponding model and print the parts in the trays according to the configuration information such as the part trays in the model project file.

[0129] Typically, when model creators generate model project files or save relevant information, PC-based slicing software generates views and ID diagrams showing the corresponding positions of each part in the target sub-disc. When uploading model project files, model creators can upload the aforementioned configuration information along with the top-down view, which is then saved in the model project file and uploaded to the model website, i.e., the cloud server. When the terminal obtains the top-down view, it does so by acquiring it from the cloud server and then sending it back to the terminal.

[0130] In practical applications, when the cloud server has already loaded the model project file, the terminal can send a request to the cloud server to obtain the view, thus receiving a top-down view from the cloud server. Since the cloud server has pre-loaded the model project file, it can directly obtain the view. However, if the cloud server has not loaded the model project file, the terminal can generate a loading command for the model project file and send it to the cloud server. Upon responding to the loading command, the cloud server can retrieve the generated view from the model project file and send it to the terminal. This allows the terminal to present the user with views of each part in the target panel, intuitively displaying the geometric information and positional information of all parts in the current panel.

[0131] In some embodiments of this application, the terminal can respond to the user's selection operation on the view, obtain the position information of the selection operation on the view, generate a printing instruction based on the position information, and then send the printing instruction to the cloud server, so as to facilitate printing the target part corresponding to the position information or skipping the printing operation.

[0132] Step 302: Receive the printing instruction sent by the terminal. The printing instruction is generated based on the position information of the position corresponding to the user's selection operation on the view.

[0133] In practical applications, cloud servers can receive printing instructions sent by terminals and trigger 3D printers to print models based on these instructions.

[0134] The received printing instruction may include location information, which may include the user's click position and / or selection range on the view displayed on the terminal. The location information may be used to determine the target part selected by the user on the target disc, specifically to determine the part ID value of the target part. Therefore, the received printing instruction may also directly include the part ID value of the target part. This application embodiment does not limit this.

[0135] Step 303: Slice the target part to obtain the first slice result, or slice other parts in the target disk except the target part to obtain the second slice result.

[0136] The cloud server can slice the target part to obtain a first slice result, or it can slice other parts in the target disk besides the target part to obtain a second slice result. The first slice result is used by the 3D printer to complete the printing of the target part, while the second slice result is used by the 3D printer to complete the printing of other parts, allowing for printing of the target part with the corresponding positional information or skipping the printing operation.

[0137] The model printing performed by a 3D printer depends on the slicing results. The cloud server can be represented as the edge of the cloud slicing service. The cloud slicing service refers to the related services provided for cloud slicing. The cloud server prints or skips the printing operation for the target part corresponding to the location information. Specifically, the cloud server slices the part to be printed and sends the slicing results to the 3D printer so that the 3D printer can perform the corresponding model printing operation for the target part based on the slicing results.

[0138] In embodiments of this application, when slicing is performed using the position information included in the printing instructions, step 303 may include the following sub-steps:

[0139] Sub-step S3031: Obtain the target part based on the location information;

[0140] Location information can be used to determine the target part selected by the user on the target panel.

[0141] In one scenario, location information may include the user's click position on the view displayed on the terminal. In this case, the coordinates of the click position can be obtained, and the part in the target disc located at the click position can be selected as the target part based on the coordinates.

[0142] The obtained coordinate information of the click position may include a first horizontal coordinate and a first vertical coordinate. A ray can be constructed with the first horizontal coordinate, the first vertical coordinate, and a preset first vertical coordinate as the starting point. Then, the part that intersects with the ray in the target sub-disc is taken as the target part.

[0143] For example, assuming the coordinates of the clicked position are (x1, y1), a ray ray1 can be constructed, with its starting point at (x1, y1, z1) and its direction perpendicular to the xy plane pointing towards the negative z-axis (0, 0, -1). The first vertical coordinate of z1 can be any constant greater than the maximum height of the current printer. Then, the part in the current disk that intersects with ray1 can be calculated, and the part in the target disk that intersects with the ray can be selected as the target part.

[0144] In another scenario, the location information may include a selection area on the view displayed by the user on the terminal. In this case, the area coordinates of the selection area can be obtained, and the parts in the target panel that are at least partially located within the selection area can be selected as the target parts based on the area coordinates.

[0145] The obtained area coordinate information of the selected range may include the second horizontal coordinate, the second vertical coordinate, the third horizontal coordinate, and the third vertical coordinate. At this time, a cube can be constructed with the second horizontal coordinate, the second vertical coordinate, the preset second vertical coordinate, the third horizontal coordinate, the third vertical coordinate, and the preset third vertical coordinate as the starting point. The part located in the cube in the target sub-disc is taken as the target part.

[0146] For example, assuming the coordinates of the selected area are (x1, y1, x2, y2), a cube box1 can be constructed, with the starting point being (x1, y1, z1, x2, y2, z2). The second vertical coordinate z1 can be any constant less than 0, and the third vertical coordinate z2 can be any constant greater than the maximum height of the current printer. Then, each part of the current disk can be judged, and if the part is contained in box1, it can be represented as the selected target part.

[0147] It should be noted that the view may include a top view, which is achieved by adjusting the 3D scene camera's perspective using slicing software to view the entire build space of the printer from above, and then generating the view while maintaining the aforementioned top view. The generated view may also be a view generated based on different angles according to actual needs. In the process of generating views from other angles, the slicing software can adjust the 3D scene camera's perspective to match the corresponding angle to generate a view at the corresponding angle. This application does not limit this aspect.

[0148] Furthermore, assuming the generated view is a top view, the top view may include a top-view color image, and the corresponding ID image may be represented as a top-view ID image. In order to facilitate the complete presentation of all parts in the entire sub-disk on the terminal, the displayed view may be represented in the form of thumbnails. In the case where the color image can be represented as a color thumbnail, and the ID image generated by the corresponding thumbnail can be represented as an ID thumbnail, assuming the generated view is a top view, the color thumbnail may be a top-view color thumbnail, and the ID thumbnail may be a top-view ID thumbnail. This application embodiment does not limit this.

[0149] Sub-step S3032: Slice the target part to obtain the first slice result;

[0150] The selection of a target part by the user's click or box only indicates that the user has selected it. The specific operation of the target part still needs to be determined in conjunction with the current selection mode. It can also be determined by default to a certain selection mode when the target part is selected on the terminal.

[0151] Specifically, the selection mode can include a print selection mode and a skip selection mode. The print selection mode can refer to performing subsequent model printing operations on the target part selected by the user; the skip selection mode can refer to performing subsequent skip printing operations on the target part selected by the user. In the skip selection mode, the skip printing operation on the target part can also be expressed as performing subsequent model printing operations on other parts in the target disc besides the target part.

[0152] In one embodiment of the present invention, the cloud server can slice the target part in the selected printing mode to obtain a first slicing result, which can be used by the 3D printer to complete the printing of the target part.

[0153] Sub-step S3033, and / or, slice the other parts in the target disk except for the target part to obtain a second slicing result.

[0154] In another embodiment of the present invention, the cloud server can slice other parts in the target disk except the target part in the selected skip mode to obtain a second slicing result. The second slicing result can be used by the 3D printer to complete the printing of other parts.

[0155] In practical applications, cloud servers can send the aforementioned first or second slice results to 3D printers, enabling 3D printers to print the target parts corresponding to the position information or skip the printing operation.

[0156] In some embodiments of this application, the location information can specifically be used to determine the part ID value of the target part. When slicing is performed using the part ID value of the target part included in the printing instruction, step 303 may include the following sub-steps:

[0157] Sub-step S3034: Based on the part ID value, slice the target part to obtain the first slice result;

[0158] The selection of a target part by the user's click or box only indicates that the user has selected it. The specific operation of the target part still needs to be determined in conjunction with the current selection mode. It can also be determined by default to a certain selection mode when the target part is selected on the terminal.

[0159] Specifically, the selection mode can include a print selection mode and a skip selection mode. The print selection mode can refer to performing subsequent model printing operations on the target part selected by the user; the skip selection mode can refer to performing subsequent skip printing operations on the target part selected by the user. In the skip selection mode, the skip printing operation on the target part can also be expressed as performing subsequent model printing operations on other parts in the target disc besides the target part.

[0160] In one embodiment of this application, the cloud server can slice the target part according to the part ID value in the selected printing mode to obtain a first slicing result. The first slicing result can be used by the 3D printer to complete the printing of the target part.

[0161] Specifically, the terminal can obtain a set of part IDs generated based on the part ID values ​​of all target parts generated by the user's operating software on the terminal. This set of part IDs can be the set of part IDs in the selected printing mode, and the terminal can send this set of part IDs to the cloud server.

[0162] When slicing a target disk on a cloud server, all parts of the current disk can be checked one by one. The response part ID value is located in the set of part IDs to be printed in the selected printing mode, and the target part corresponding to the part ID value is sliced.

[0163] Sub-step S3035, and / or, based on the part ID value, slice the other parts in the target sub-disk except the target part to obtain the second slice result.

[0164] In another embodiment of the present invention, the cloud server can slice other parts in the target disk except the target part according to the part ID in the selected skip mode to obtain a second slicing result. The second slicing result can be used by the 3D printer to complete the printing of other parts.

[0165] Specifically, the terminal can obtain a set of part IDs generated based on the part ID values ​​of all target parts generated by the user's operating software on the terminal. This set of part IDs can be the set of part IDs in the skip printing mode, and the terminal can send this set of part IDs to the cloud server.

[0166] When slicing a target disk on a cloud server, all parts of the current disk can be checked one by one. The part ID value is located in the part ID set in the skip print mode, and other parts except the target part corresponding to that part ID value are sliced.

[0167] For example, suppose the cloud server receives a set of part IDs in the skip print mode. This set of part IDs contains only the target part with a part ID value of 1. When the cloud server checks all the parts in the current disk one by one, when it checks the target part with a part ID value of 1, it can skip the slicing operation of the part with a part ID value of 1 and slice the parts on the target disk other than the part with a part ID value of 1.

[0168] In practical applications, cloud servers can send the aforementioned first or second slice results to 3D printers, enabling 3D printers to print the target parts corresponding to the position information or skip the printing operation.

[0169] It should be noted that the schemes of sub-steps S3031 to S3033 and the schemes of sub-steps S3034 to S3035 are parallel schemes.

[0170] In some preferred embodiments of this application, the slicing operation can also be performed on the terminal. After the terminal triggers the 3D printer to execute model printing, that is, after the terminal sends a printing instruction to the cloud server, the terminal can obtain a set of part IDs generated based on the part ID values ​​of all target parts generated by the user's operation software on the terminal. The set of part IDs can be the set of part IDs in the selected printing mode or the set of part IDs in the skip printing mode, depending on the selection mode.

[0171] The terminal can slice a target part based on its part ID value to obtain a first slicing result. This first slicing result can be used by the 3D printer to print the target part. Alternatively, it can slice other parts in the target tray besides the target part based on their part ID values ​​to obtain a second slicing result. This second slicing result can be used by the 3D printer to print other parts. Specifically, when slicing the target tray, the terminal can check all parts in the current tray one by one. If the part ID value is in the set of part IDs to be printed in the selected printing mode, the terminal slices the target part corresponding to that part ID value. Alternatively, if the part ID value is in the set of part IDs in the skip printing mode, the terminal slices other parts besides the target part corresponding to that part ID value. The terminal can then send the slicing results to the 3D printer so that the 3D printer can complete the corresponding printing operation.

[0172] It should be noted that the equipment used for actual slicing in practical applications is selected based on the actual situation, and this application embodiment does not impose any restrictions on this.

[0173] In this embodiment, after the 3D printer is triggered to print the model by a printing command generated based on location information, the target part or other parts can be sliced. By slicing only the parts to be printed, i.e., skipping the slicing of parts that do not need to be printed, the printing operation of the required parts is completed while the printing operation of unnecessary parts is skipped. This saves slicing resources, allowing for selective printing of parts that fail to print. Furthermore, skipping the slicing operation also reduces computational complexity and the file size of the slicing results, further improving the efficiency of slicing and the efficiency of transmitting the slicing results.

[0174] When ordinary users actually print, the following phenomena may occur: (1) The parts are not properly bonded to the heated bed and fall off during the printing process; (2) The support of the parts is not properly generated or the support is not turned on when slicing, resulting in some areas being suspended during printing or shaking during the printing process; (3) During the printing process, some areas of the parts are lifted up and the nozzle knocks down the parts, resulting in the failure of the parts to be printed. Based on the aforementioned phenomena that may occur during the printing process, some parts in the whole tray may fail to be printed. For example, if there are 15 parts on a tray and 3 parts fail to be printed, the user needs to reprint the parts that failed to be printed.

[0175] In 3D printing technologies, a parts list allows users to select which parts to print and which to skip, enabling selective printing. However, these parts lists present a comprehensive overview of all parts, making it difficult to intuitively select which parts to reprint in case of printing failure, and also preventing slicing even when skipping the printing of a particular part.

[0176] Reference Figure 4 The illustration shows a schematic diagram of the application scenario of 3D printing provided in the embodiments of this application, involving a PC 410, a terminal 411, a cloud server 412, and a 3D printer 413.

[0177] During the 3D printing process, the terminal 411 can generate printing instructions and send these instructions to the cloud server 412, instructing the cloud server 412 to trigger the 3D printer 413 to perform model printing operations. Triggering the 3D printer to perform model printing based on the printing instructions can include: slicing the target part to obtain a first slice result, which is then used by the 3D printer to complete the printing of the target part; or slicing other parts in the target disc besides the target part to obtain a second slice result, which is then used by the 3D printer to complete the printing of the other parts. Sending the first or second slice result to the 3D printer allows the 3D printer to print the target part corresponding to the position information or skip the printing operation.

[0178] It should be noted that if the terminal itself runs slicing software and includes a 3D printer, then the terminal does not need to send the first slicing result or the second slicing result to the 3D printer. It can directly print the target part with the corresponding position information or skip the printing operation based on the first slicing result or the second slicing result, thereby completing the printing.

[0179] Specifically, the PC 410 can be equipped with slicing software, which provides model creators with configuration functions for printing parameters, orientation of parts, and placement of parts on the slicing tray. It also allows saving relevant configuration information to the corresponding model project file and uploading it to a model website. The terminal 411 can be used by ordinary users to retrieve models uploaded by model creators and control the printing of parts according to the tray settings configured by the model creators. The terminal 411 can be equipped with operating software, which can be the printer itself with a screen, a mobile app, or a webpage from a model website. This operating software may or may not include the slicing software. The cloud server 412 can be used to store models uploaded by the PC 410, specifically by storing model project files. The cloud server 412 can also function as the endpoint for cloud slicing services, which refer to related services provided for cloud slicing and used for slicing models. The 3D printer 413 can be used to print parts or skip printing operations. Skipping printing operations mainly refer to printing other parts besides those to be skipped. In this process, the slicing software on PC 410 uploads the model to cloud server 412, and terminal 411 can access the model uploaded by cloud server 412. The data of the slicing software does not need to be transmitted to the cloud server through the terminal.

[0180] When ordinary users print, some parts often fail to print. In this case, the user needs to reprint the parts that failed to print. In this embodiment, in order to print only the selected parts and reprint the parts that failed to print, the slicing software on the PC 410 can generate color images and ID images in the model. Specifically, these can be generated when the model creator saves the model project file, and specifically generated in the slicing software.

[0181] The view can include a top view, achieved by adjusting the 3D scene camera's perspective using slicing software to view the entire build space of the printer from above, and then generating the view while maintaining the aforementioned top view. The generated view can also be generated from different angles according to actual needs. In the process of generating views from other angles, the slicing software can adjust the 3D scene camera's perspective to match the corresponding angle to generate a view at that angle. This application embodiment does not limit this. Assuming the generated view is a top view, it can include a top-view color image, and the corresponding ID image can be represented as a top-view ID image. To facilitate a complete presentation of all parts in the entire tray on the terminal, the displayed view can be in thumbnail form. If the color image can be represented as a color thumbnail, and the corresponding ID image generated from the thumbnail can be represented as an ID thumbnail, then assuming the generated view is a top view, the color thumbnail can be a top-view color thumbnail, and the ID thumbnail can be a top-view ID thumbnail. This application embodiment does not limit this.

[0182] After the model creator uploads the model, specifically the model project file, to the cloud server (via a webpage, PC slicing software, or other methods), the terminal 411 can reload the model project file of the target tray that failed to print previously. The cloud server then obtains a top-down color view of each part in the target tray and displays it on the terminal 411's operating software. It can then respond to user selections on the top-down color view of the current tray, obtaining the position information of the selection on the top-down thumbnail. Based on this position information, it can perform subsequent printing or skip printing operations on the selected target parts. Specifically, this can be manifested in responding to user clicks or selections on the top-down color view, and performing subsequent printing or skip printing operations on the selected target parts based on the click position or selection range. Using position information simplifies the selection process and makes it more intuitive. Furthermore, it allows for precise reprinting of specified parts, avoiding the need to reprint the entire tray, thus reducing printing time and consumable costs.

[0183] In scenarios where parts that failed to print are reprinted, the target part selected by the user can typically be either the part that failed to print last time and needs to be reprinted, or the part that was successfully printed last time and does not need to be reprinted.

[0184] The printing of parts depends on the slicing results, which can be used by the 3D printer to perform model printing operations. The object / subject performing the slicing operation can be the terminal 411 or the cloud server 412. The first slicing result can be used by the 3D printer to complete the printing of the target part, or the second slicing result can be used by the 3D printer to complete the printing of other parts.

[0185] In this embodiment, after the 3D printer is triggered to print the model by a printing command generated based on location information, the target part or other parts can be sliced. By slicing only the parts to be printed, i.e., skipping the slicing of parts that do not need to be printed, the printing operation of the required parts is completed while the printing operation of unnecessary parts is skipped. This saves slicing resources, allowing for selective printing of parts that fail to print. Furthermore, skipping the slicing operation also reduces computational complexity and the file size of the slicing results, further improving the efficiency of slicing and the efficiency of transmitting the slicing results.

[0186] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.

[0187] Reference Figure 5 The diagram illustrates a structural block diagram of an embodiment of a 3D printing device according to this application, which is applied to a terminal and may specifically include the following modules:

[0188] The view display module 501 is used to display a view of each part in the target sub-disc; the view is used to present the corresponding position of each part in the target sub-disc;

[0189] The print instruction generation module 502 is used to respond to a user's selection operation on the top view, obtain the position information of the selection operation on the view, and generate a print instruction based on the position information. The print instruction is used to instruct the target part corresponding to the position information to be printed or to skip the printing operation.

[0190] The printing instruction sending module 503 is used to send the printing instruction to the cloud server. The printing instruction is used by the cloud server to trigger the 3D printer to execute model printing. The cloud server slices the target part to obtain a first slicing result, which is used by the 3D printer to complete the printing of the target part. Alternatively, the cloud server slices other parts in the target disk besides the target part to obtain a second slicing result, which is used by the 3D printer to complete the printing of the other parts.

[0191] In one embodiment of this application, the view includes a color image; the print instruction generation module 502 may include the following sub-modules:

[0192] The location information acquisition submodule is used to detect the user's click operation on the color image, and acquire the click position of the click operation on the color image as the location information of the selection operation on the view; and / or, detect the user's box selection operation on the color image, and acquire the box selection range of the box selection operation on the color image as the location information of the selection operation on the view.

[0193] In one embodiment of this application, the location information includes the click location; the print instruction generation module 502 may include the following sub-modules:

[0194] A print instruction generation submodule is used to obtain an ID image corresponding to the color image. The pixel value of the color pixel position in the color image is used to represent the color value of any part at that color pixel position, and the pixel value of the ID pixel position in the ID image is used to represent the part ID value of the part at that ID pixel position. The color pixel position and the ID pixel position correspond. Based on the click position, the pixel value of the corresponding position of the position information is read from the ID image as the part ID value of the target part. The print instruction is generated, and the print instruction includes the part ID value of the target part.

[0195] In one embodiment of this application, the location information includes a selected area; the print instruction generation module 502 may include the following sub-modules:

[0196] A print instruction generation submodule is used to obtain a top-view ID map corresponding to the color map. The pixel values ​​of the color pixel positions in the color map represent the color value of any part at that color pixel position, and the pixel values ​​of the ID pixel positions in the ID map represent the part ID value of the part at that ID pixel position. The color pixel positions and the ID pixel positions correspond to each other. Based on the selected range, the pixel values ​​within the corresponding range of the position information in the ID map are read as the part ID value of the target part. The print instruction is generated, and the print instruction includes the part ID value of the target part.

[0197] In one embodiment of this application, the 3D printing apparatus provided in this application embodiment may further include the following modules:

[0198] The request sending module is used to send a request to the cloud server to obtain the view;

[0199] A view receiving module is used to receive the view from the cloud server.

[0200] In one embodiment of this application, the view includes a top view.

[0201] In this embodiment, the 3D printing device proposed in this application, after triggering the 3D printer to execute model printing with a printing command generated based on position information, can slice the target part or other parts besides the target part. Based on slicing only the parts to be printed, i.e., skipping the slicing of parts that do not need to be printed, the printing operation of the required parts is completed while skipping the printing operation of unnecessary parts. This saves part slicing resources, allowing for selective printing of parts that fail to print. Furthermore, skipping the slicing operation also reduces computational complexity and the file size of the slicing results, further improving the efficiency of slicing and the efficiency of transmitting the slicing results.

[0202] Reference Figure 6 The diagram illustrates a structural block diagram of an embodiment of a 3D printing apparatus according to this application, which is applied to a cloud server and may specifically include the following modules:

[0203] The view sending module 601 is used to send a view to the terminal, the view being used to present the corresponding positions of each part in the target sub-disc;

[0204] The print instruction receiving module 602 is used to receive print instructions sent by the terminal; the print instruction is generated based on the position information of the user's selection operation on the view;

[0205] The printing instruction response module 603 is used to slice the target part corresponding to the position information to obtain a first slicing result, the first slicing result being executed by the 3D printer to complete the printing of the target part; and / or, to slice other parts in the target disc other than the target part to obtain a second slicing result, the second slicing result being executed by the 3D printer to complete the printing of the other parts.

[0206] In one embodiment of this application, the printing instruction includes the position information; the 3D printing apparatus provided in this application embodiment may further include the following modules:

[0207] The target part determination module is used to determine the target part based on the location information.

[0208] In one embodiment of this application, the printing instruction includes the part ID value of the target part, which is obtained based on the location information.

[0209] In one embodiment of this application, the location information includes the clicked location; the target part determination module may include the following sub-modules:

[0210] The target part determination submodule is used to obtain the coordinate information of the clicked position; the first target part selection unit is used to select the part in the target panel that is located at the clicked position as the target part based on the coordinate information.

[0211] In one embodiment of this application, the location information includes a selected area; the target part determination module may include the following sub-modules:

[0212] The target part determination submodule is used to obtain the area coordinate information of the selected range; based on the area coordinate information, at least some parts of the target panel that are located within the selected range are identified as target parts.

[0213] In one embodiment of this application, the 3D printing apparatus proposed in this application may further include the following modules:

[0214] The slicing result sending module is used to send the first slicing result or the second slicing result to the 3D printer, so that the 3D printer can print the target part corresponding to the position information or skip the printing operation, thereby completing the 3D printing.

[0215] In this embodiment, the 3D printing device proposed in this application, after triggering the 3D printer to execute model printing with a printing command generated based on position information, can slice the target part or other parts besides the target part. Based on slicing only the parts to be printed, i.e., skipping the slicing of parts that do not need to be printed, the printing operation of the required parts is completed while skipping the printing operation of unnecessary parts. This saves part slicing resources, allowing for selective printing of parts that fail to print. Furthermore, skipping the slicing operation also reduces computational complexity and the file size of the slicing results, further improving the efficiency of slicing and the efficiency of transmitting the slicing results.

[0216] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0217] This application also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When executed by the processor, the computer program implements the aforementioned 3D printing method. The method is executed by a terminal and includes:

[0218] Displays views of each part in the target tray; the views are used to present the corresponding positions of each part in the target tray; in response to a user's selection operation on the view, obtains the position information of the selection operation on the view; generates a print instruction based on the position information, the print instruction being used to instruct the target part corresponding to the position information to print or skip the print operation; sends the print instruction to the cloud server, the print instruction being used by the cloud server to trigger the 3D printer to execute model printing, wherein the cloud server slices the target part to obtain a first slice result, the first slice result being used by the 3D printer to complete the printing of the target part, or the cloud server slices other parts in the target tray besides the target part to obtain a second slice result, the second slice result being used by the 3D printer to complete the printing of the other parts.

[0219] Optionally, the view includes a top-down color image; the step of obtaining the position information of the selection operation on the view in response to a user's selection operation on the view includes: detecting a user's click operation on the color image, obtaining the click position of the click operation on the color image as the position information of the selection operation on the view; and / or, detecting a user's bounding box operation on the color image, obtaining the bounding box range of the bounding box operation on the color image as the position information of the selection operation on the view.

[0220] Optionally, the location information includes a click location; generating a print instruction based on the location information includes: obtaining an ID image corresponding to the color image, wherein the pixel value of the color pixel position in the color image is used to represent the color value of any part at the color pixel position, and the pixel value of the ID pixel position in the ID image is used to represent the part ID value of the part at the ID pixel position, wherein the color pixel position and the ID pixel position correspond; based on the click location, reading the pixel value of the corresponding position of the location information from the ID image as the part ID value of the target part; generating the print instruction, wherein the print instruction includes the part ID value of the target part.

[0221] Optionally, the location information includes a selected area; generating a print instruction based on the location information includes: obtaining an ID image corresponding to the color image, wherein the pixel values ​​of the color pixel positions in the color image are used to represent the color value of any part at the color pixel position, and the pixel values ​​of the ID pixel positions in the ID image are used to represent the part ID value of the part at the ID pixel position, wherein the color pixel positions and the ID pixel positions correspond; based on the selected area, reading the pixel values ​​within the corresponding range of the location information from the ID image as the part ID value of the target part; generating the print instruction, wherein the print instruction includes the part ID value of the target part.

[0222] Optionally, the correspondence between the color pixel position and the ID pixel position includes: the color pixel position and the ID pixel position are the same.

[0223] Optionally, the method further includes: sending a request to the cloud server to obtain the view; and receiving the view from the cloud server.

[0224] Optionally, the view includes a top view.

[0225] When executed by a processor, the computer program implements the aforementioned 3D printing method, which is performed by a cloud server. The method includes: sending a view to a terminal, the view being used to present the corresponding positions of various parts in a target disc; receiving a printing instruction sent by the terminal; the printing instruction being generated based on position information selected by the user on the view; slicing the target part corresponding to the position information to obtain a first slicing result, the first slicing result being executed by a 3D printer to complete the printing of the target part; and / or slicing other parts in the target disc besides the target part to obtain a second slicing result, the second slicing result being executed by a 3D printer to complete the printing of the other parts.

[0226] Optionally, the printing instruction includes the location information, and the method further includes: determining the target part based on the location information.

[0227] Optionally, the printing instruction includes the part ID value of the target part, which is obtained based on the location information.

[0228] Optionally, the location information includes the click location; obtaining the corresponding target part based on the location information includes: obtaining the coordinate information of the click location; and, based on the coordinate information, selecting the part in the target disc located at the click location as the target part.

[0229] Optionally, the location information includes a selected area; obtaining the corresponding target part based on the location information includes: obtaining the area coordinate information of the selected area; and, based on the area coordinate information, selecting at least a portion of the parts in the target disc that are located within the selected area as target parts.

[0230] Optionally, the method further includes sending the first slicing result or the second slicing result to the 3D printer, so that the 3D printer can print the target part corresponding to the position information or skip the printing operation, thereby completing the 3D printing.

[0231] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described 3D printing method. The method is executed by a terminal and includes:

[0232] Displays views of each part in the target tray; the views are used to present the corresponding positions of each part in the target tray; in response to a user's selection operation on the view, obtains the position information of the selection operation on the view; generates a print instruction based on the position information, the print instruction being used to instruct the target part corresponding to the position information to print or skip the print operation; sends the print instruction to the cloud server, the print instruction being used by the cloud server to trigger the 3D printer to execute model printing, wherein the cloud server slices the target part to obtain a first slice result, the first slice result being used by the 3D printer to complete the printing of the target part, or the cloud server slices other parts in the target tray besides the target part to obtain a second slice result, the second slice result being used by the 3D printer to complete the printing of the other parts.

[0233] Optionally, the view includes a top-down color image; the step of obtaining the position information of the selection operation on the view in response to a user's selection operation on the view includes: detecting a user's click operation on the color image, obtaining the click position of the click operation on the color image as the position information of the selection operation on the view; and / or, detecting a user's bounding box operation on the color image, obtaining the bounding box range of the bounding box operation on the color image as the position information of the selection operation on the view.

[0234] Optionally, the location information includes the click location; generating a print instruction based on the location information includes: obtaining a top-view ID map corresponding to the color map, wherein the pixel value of the color pixel position in the color map is used to represent the color value of any part at the color pixel position, and the pixel value of the ID pixel position in the ID map is used to represent the part ID value of the part at the ID pixel position, wherein the color pixel position and the ID pixel position correspond; based on the click location, reading the pixel value of the corresponding position of the location information from the ID map as the part ID value of the target part; generating the print instruction, wherein the print instruction includes the part ID value of the target part.

[0235] Optionally, the location information includes a selected area; generating a print instruction based on the location information includes: obtaining a top-view ID map corresponding to the color map, wherein the pixel values ​​of the color pixel positions in the color map are used to represent the color value of any part at the color pixel position, and the pixel values ​​of the ID pixel positions in the ID map are used to represent the part ID value of the part at the ID pixel position, wherein the color pixel positions and the ID pixel positions correspond; based on the selected area, reading the pixel values ​​within the corresponding range of the location information from the ID map as the part ID value of the target part; generating the print instruction, wherein the print instruction includes the part ID value of the target part.

[0236] Optionally, the correspondence between the color pixel position and the ID pixel position includes: the color pixel position and the ID pixel position are the same.

[0237] Optionally, the method further includes: sending a request to the cloud server to obtain the view; and receiving the view from the cloud server.

[0238] Optionally, the view includes a top view.

[0239] When executed by a processor, the computer program implements the aforementioned 3D printing method, which is performed by a cloud server. The method includes: sending a view to a terminal, the view being used to present the corresponding positions of various parts in a target disc; receiving a printing instruction sent by the terminal; the printing instruction being generated based on position information selected by the user on the view; slicing the target part corresponding to the position information to obtain a first slicing result, the first slicing result being executed by a 3D printer to complete the printing of the target part; and / or slicing other parts in the target disc besides the target part to obtain a second slicing result, the second slicing result being executed by a 3D printer to complete the printing of the other parts.

[0240] Optionally, the printing instruction includes the location information, and the method further includes: determining the target part based on the location information.

[0241] Optionally, the printing instruction includes the part ID value of the target part, which is obtained based on the location information.

[0242] Optionally, the location information includes the click location; obtaining the corresponding target part based on the location information includes: obtaining the coordinate information of the click location; and, based on the coordinate information, selecting the part in the target disc located at the click location as the target part.

[0243] Optionally, the location information includes a selected area; obtaining the corresponding target part based on the location information includes: obtaining the area coordinate information of the selected area; and, based on the area coordinate information, selecting at least a portion of the parts in the target disc that are located within the selected area as target parts.

[0244] Optionally, the method further includes sending the first slicing result or the second slicing result to the 3D printer, so that the 3D printer can print the target part corresponding to the position information or skip the printing operation, thereby completing the 3D printing.

[0245] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described 3D printing method. The method is executed by a terminal and includes:

[0246] Displays views of each part in the target tray; the views are used to present the corresponding positions of each part in the target tray; in response to a user's selection operation on the view, obtains the position information of the selection operation on the view; generates a print instruction based on the position information, the print instruction being used to instruct the target part corresponding to the position information to print or skip the print operation; sends the print instruction to the cloud server, the print instruction being used by the cloud server to trigger the 3D printer to execute model printing, wherein the cloud server slices the target part to obtain a first slice result, the first slice result being used by the 3D printer to complete the printing of the target part, or the cloud server slices other parts in the target tray besides the target part to obtain a second slice result, the second slice result being used by the 3D printer to complete the printing of the other parts.

[0247] Optionally, the view includes a top-down color image; the step of obtaining the position information of the selection operation on the view in response to a user's selection operation on the view includes: detecting a user's click operation on the color image, obtaining the click position of the click operation on the color image as the position information of the selection operation on the view; and / or, detecting a user's bounding box operation on the color image, obtaining the bounding box range of the bounding box operation on the color image as the position information of the selection operation on the view.

[0248] Optionally, the location information includes the click location; generating a print instruction based on the location information includes: obtaining a top-view ID map corresponding to the color map, wherein the pixel value of the color pixel position in the color map is used to represent the color value of any part at the color pixel position, and the pixel value of the ID pixel position in the ID map is used to represent the part ID value of the part at the ID pixel position, wherein the color pixel position and the ID pixel position correspond; based on the click location, reading the pixel value of the corresponding position of the location information from the ID map as the part ID value of the target part; generating the print instruction, wherein the print instruction includes the part ID value of the target part.

[0249] Optionally, the location information includes a selected area; generating a print instruction based on the location information includes: obtaining a top-view ID map corresponding to the color map, wherein the pixel values ​​of the color pixel positions in the color map are used to represent the color value of any part at the color pixel position, and the pixel values ​​of the ID pixel positions in the ID map are used to represent the part ID value of the part at the ID pixel position, wherein the color pixel positions and the ID pixel positions correspond; based on the selected area, reading the pixel values ​​within the corresponding range of the location information from the ID map as the part ID value of the target part; generating the print instruction, wherein the print instruction includes the part ID value of the target part.

[0250] Optionally, the correspondence between the color pixel position and the ID pixel position includes: the color pixel position and the ID pixel position are the same.

[0251] Optionally, the method further includes: sending a request to the cloud server to obtain the view; and receiving the view from the cloud server.

[0252] Optionally, the view includes a top view.

[0253] When executed by a processor, the computer program implements the aforementioned 3D printing method, which is performed by a cloud server. The method includes: sending a view to a terminal, the view being used to present the corresponding positions of various parts in a target disc; receiving a printing instruction sent by the terminal; the printing instruction being generated based on position information selected by the user on the view; slicing the target part corresponding to the position information to obtain a first slicing result, the first slicing result being executed by a 3D printer to complete the printing of the target part; and / or slicing other parts in the target disc besides the target part to obtain a second slicing result, the second slicing result being executed by a 3D printer to complete the printing of the other parts.

[0254] Optionally, the printing instruction includes the location information, and the method further includes: determining the target part based on the location information.

[0255] Optionally, the printing instruction includes the part ID value of the target part, which is obtained based on the location information.

[0256] Optionally, the location information includes the click location; obtaining the corresponding target part based on the location information includes: obtaining the coordinate information of the click location; and, based on the coordinate information, selecting the part in the target disc located at the click location as the target part.

[0257] Optionally, the location information includes a selected area; obtaining the corresponding target part based on the location information includes: obtaining the area coordinate information of the selected area; and, based on the area coordinate information, selecting at least a portion of the parts in the target disc that are located within the selected area as target parts.

[0258] Optionally, the method further includes sending the first slicing result or the second slicing result to the 3D printer, so that the 3D printer can print the target part corresponding to the position information or skip the printing operation, thereby completing the 3D printing.

[0259] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0260] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0261] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0262] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0263] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0264] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0265] Finally, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse. Also, the relevant embodiments provided in this application are implemented on the basis of complying with the relevant laws, regulations, and standards of the relevant countries and regions.

[0266] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device 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 terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0267] The foregoing has provided a detailed description of a 3D printing method, a 3D printing apparatus, a corresponding electronic device, a corresponding computer-readable storage medium, and a corresponding computer program product provided by this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and its core ideas. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A 3D printing method, characterized in that, The method is executed by a terminal, and the method includes: Displays a view of each part in the target tray; the view is used to present the corresponding position of each part in the target tray; In response to a user's selection operation on the view, obtain the position information of the selection operation on the view; A printing instruction is generated based on the location information. The printing instruction is used to instruct the target part corresponding to the location information to be printed or to skip the printing operation. The cloud server sends a printing command, which is used by the cloud server to trigger the 3D printer to execute model printing. The cloud server slices the target part to obtain a first slicing result, which is used by the 3D printer to complete the printing of the target part. Alternatively, the cloud server slices other parts in the target disk besides the target part to obtain a second slicing result, which is used by the 3D printer to complete the printing of the other parts. The view includes a color image; the step of obtaining the position information of the selection operation on the view in response to a user's selection operation includes: Detect the user's click operation on the color image, and obtain the click position of the click operation on the color image as the position information of the selection operation on the view; And / or, detect the user's selection operation on the color image, obtain the selection range of the selection operation on the color image, and use it as the position information of the selection operation on the view.

2. The method according to claim 1, characterized in that, The location information includes the click location; the step of generating a print instruction based on the location information includes: Obtain the ID image corresponding to the color image. The pixel value of the color pixel position in the color image is used to represent the color value of any part at the color pixel position. The pixel value of the ID pixel position in the ID image is used to represent the part ID value of the part at the ID pixel position. The color pixel position and the ID pixel position correspond to each other. Based on the click location, the pixel value of the corresponding position of the location information is read from the ID map and used as the part ID value of the target part; Generate the print instruction, which includes the part ID value of the target part.

3. The method according to claim 1, characterized in that, The location information includes a selected area; the step of generating printing instructions based on the location information includes: Obtain the ID image corresponding to the color image. The pixel value of the color pixel position in the color image is used to represent the color value of any part at the color pixel position. The pixel value of the ID pixel position in the ID image is used to represent the part ID value of the part at the ID pixel position. The color pixel position and the ID pixel position correspond to each other. Based on the selected area, the pixel values ​​within the corresponding range of the location information are read from the ID map and used as the part ID value of the target part; Generate the print instruction, which includes the part ID value of the target part.

4. The method according to claim 2 or 3, characterized in that, The correspondence between the color pixel position and the ID pixel position includes: the color pixel position and the ID pixel position are the same.

5. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Send a request to the cloud server to retrieve the view; Receive the view from the cloud server.

6. The method according to any one of claims 1 to 3, characterized in that, The views include a top view.

7. A 3D printing method, characterized in that, The method is executed by a cloud server, and the method includes: Send a view to the terminal, the view being used to present the corresponding positions of each part in the target sub-disc; The system receives a print command sent by the terminal; the print command is generated based on the position information of the location corresponding to the user's selection operation on the view. The target part corresponding to the location information is sliced ​​to obtain a first slicing result, which is then executed by a 3D printer to complete the printing of the target part. And / or, slice the other parts in the target disc besides the target part to obtain a second slicing result, the second slicing result being executed by the 3D printer to complete the printing of the other parts; The view includes a color image; the terminal detects a user's click operation on the color image and obtains the click position of the click operation on the color image as the position information of the selection operation on the view; and / or detects a user's bounding box operation on the color image and obtains the bounding box range of the bounding box operation on the color image as the position information of the selection operation on the view.

8. The method according to claim 7, characterized in that, The printing instruction includes the location information, and the method further includes: The target part is determined based on the location information.

9. The method according to claim 7, characterized in that, The printing instruction includes the part ID value of the target part, which is obtained based on the location information.

10. The method according to claim 8, characterized in that, The location information includes the click location; obtaining the corresponding target part based on the location information includes: Obtain the coordinate information of the clicked location; Based on the coordinate information, the part in the target sub-disc located at the clicked position is taken as the target part.

11. The method according to claim 8, characterized in that, The location information includes a selected area; obtaining the corresponding target part based on the location information includes: Obtain the region coordinate information of the selected area; Based on the area coordinate information, at least some of the parts in the target panel that are located within the selected area are designated as target parts.

12. The method according to any one of claims 7 to 11, characterized in that, The method further includes: The first slicing result or the second slicing result is sent to the 3D printer so that the 3D printer can print the target part corresponding to the position information or skip the printing operation, thereby completing the 3D printing.

13. A 3D printing apparatus, characterized in that, Applied to a terminal, the device includes: A view display module is used to display views of each part in the target sub-disc; the views are used to present the corresponding positions of each part in the target sub-disc. A print instruction generation module is used to respond to a user's selection operation on the view, obtain the position information of the selection operation on the view, and generate a print instruction based on the position information. The print instruction is used to instruct the target part corresponding to the position information to print or skip the printing operation. A print instruction sending module is used to send the print instruction to a cloud server. The print instruction is used by the cloud server to trigger the 3D printer to execute model printing. The cloud server slices the target part to obtain a first slice result, which is then executed by the 3D printer to complete the printing of the target part. Alternatively, the cloud server slices other parts in the target disc besides the target part to obtain a second slice result, which is then executed by the 3D printer to complete the printing of the other parts. The view includes a color image; the print instruction generation module includes the following sub-modules: The location information acquisition submodule is used to detect the user's click operation on the color image, and acquire the click position of the click operation on the color image as the location information of the selection operation on the view; and / or, detect the user's box selection operation on the color image, and acquire the box selection range of the box selection operation on the color image as the location information of the selection operation on the view.

14. A 3D printing apparatus, characterized in that, The device, applied to a cloud server, includes: A view sending module is used to send a view to a terminal, the view being used to present the corresponding positions of various parts in a target sub-disc, wherein the view includes a color image; enabling the terminal to detect a user's click operation on the color image, and obtain the click position of the click operation on the color image as the position information of the selection operation on the view; and / or, detect a user's box selection operation on the color image, and obtain the box selection range of the box selection operation on the color image as the position information of the selection operation on the view; A print instruction receiving module is used to receive print instructions sent by the terminal; the print instruction is generated based on the position information of the position corresponding to the user's selection operation on the view; A print instruction response module is used to slice the target part corresponding to the location information to obtain a first slicing result, the first slicing result being executed by the 3D printer to complete the printing of the target part; and / or, to slice other parts in the target disc other than the target part to obtain a second slicing result, the second slicing result being executed by the 3D printer to complete the printing of the other parts.

15. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the 3D printing method as described in any one of claims 1 to 6 or 7 to 12.

16. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the 3D printing method as described in any one of claims 1 to 6 or 7 to 12.

17. A computer program product, characterized in that, The computer program product includes a computer program, wherein the computer program, when executed by a processor, implements the 3D printing method as described in any one of claims 1 to 6 or 7 to 12.

Citation Information

Patent Citations

  • A part manufacturing method and device based on modularization

    CN109445725A

  • Method for 3D printing, computing equipment, storage medium and program product

    CN114013044A