CN113752561A - 3D printing file generation method and device, computer equipment and storage medium - Google Patents

3D printing file generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113752561A
CN113752561A CN202110997084.0A CN202110997084A CN113752561A CN 113752561 A CN113752561 A CN 113752561A CN 202110997084 A CN202110997084 A CN 202110997084A CN 113752561 A CN113752561 A CN 113752561A
Authority
CN
China
Prior art keywords
layer
support
suspended
printing
slice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110997084.0A
Other languages
Chinese (zh)
Other versions
CN113752561B (en
Inventor
敖丹军
唐京科
刘洪�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chuangxiang 3D Technology Co Ltd
Original Assignee
Shenzhen Chuangxiang 3D Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chuangxiang 3D Technology Co Ltd filed Critical Shenzhen Chuangxiang 3D Technology Co Ltd
Priority to CN202110997084.0A priority Critical patent/CN113752561B/en
Publication of CN113752561A publication Critical patent/CN113752561A/en
Application granted granted Critical
Publication of CN113752561B publication Critical patent/CN113752561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • B29C64/393Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y30/00Apparatus for additive manufacturing; Details thereof or accessories therefor

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)

Abstract

The application relates to a method and a device for generating a 3D printing file, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring each suspended surface in a model to be printed; confirming each layer of slices of the multi-layer support body according to each suspended surface and the step height, wherein the distance between each layer of the multi-layer support body and the bottom of the working space is gradually reduced along with the decreasing of the distance between each layer of the support body and the connected region where the non-suspended surface is located to form a step structure; and generating a printing file according to the printing path of each multilayer support and each layer of slice of the model to be printed. This application utilizes the multilayer to go to support the suspension face, and the suspension region of each layer supporter can cool off the shaping in succession when printing, has reduced the sunken probability of suspension face appearance promptly and has reduced the volume of support to reduced the material that the support consumed and improved printing speed.

Description

3D printing file generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of 3D printing technologies, and in particular, to a method and an apparatus for generating a 3D print file, a computer device, and a storage medium.
Background
The application field of three-dimensional (3D) printing technology is becoming wider and wider under the promotion of the intellectualization of computer digital technology, and 3D printing is to slice a model and generate a slice file, and then print a layer of bonding material according to the slice file to manufacture a three-dimensional object. Due to the diversity of the model, certain positions of the model are suspended, namely the lower parts of the certain positions are unsupported, and the unsupported positions can sink during printing, so that the suspended positions usually need to be supported; the current method of adding support is to generate vertical support from the position point of the model where the support needs to be added to the bottom of the working space or the position on the model below the position point where the support needs to be added, but the generated support is more, which affects the printing speed and causes waste of printing materials.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for generating a 3D print file, a computer device, and a storage medium.
The embodiment of the application provides a method for generating a 3D printing file, which comprises the following steps: acquiring each suspension surface in a model to be printed; confirming each layer of section of the multilayer support body corresponding to each suspension surface according to each suspension surface and the step height; the distance between each layer of support body of each multilayer support body and the bottom of the working space is gradually reduced along with the decreasing distance of the region where the unsettled surface connected with the corresponding multilayer support body is located, so that a step structure is formed; confirming a printing path of each multilayer support according to each layer slice of the multilayer support corresponding to each suspension surface, and setting a printing speed of a suspension area of each layer of each multilayer support so that the suspension area of each layer of each multilayer support is continuously cooled and molded when being printed along the printing path at the printing speed; the suspended area of each layer of support body is the area which has the same projection with the suspended surface of each layer of support body and is between the surface of each layer of support body farthest from the bottom of the working space and the corresponding suspended surface, and each multi-layer support body is in a suspended state and is used for enabling the corresponding suspended surface not to sink during printing; and generating a printing file according to the printing path of each multi-layer support body with the set printing speed and each layer of slices of the model to be printed.
The embodiment of the application provides a 3D prints generation device of file, includes: the acquisition module is used for acquiring each suspended surface in the model to be printed; the confirming module is used for confirming each layer of slice of the multilayer support body corresponding to each suspension surface according to each suspension surface and the step height; the distance between each layer of support body of each multilayer support body and the bottom of the working space is gradually reduced along with the decreasing distance of the region where the unsettled surface connected with the corresponding multilayer support body is located, so that a step structure is formed; the speed setting module is used for confirming the printing path of each multilayer support according to each layer slice of the multilayer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multilayer support so as to enable the suspension area of each layer support in each multilayer support to be continuously cooled and molded when the suspension area is printed along the printing path at the printing speed; the suspended area of each layer of support body is the area which has the same projection with the suspended surface of each layer of support body and is between the surface of each layer of support body farthest from the bottom of the working space and the corresponding suspended surface, and each multi-layer support body is in a suspended state and is used for enabling the corresponding suspended surface not to sink during printing; and the generating module is used for generating a printing file according to the printing path of each multi-layer support body with the set printing speed and each layer of slices of the model to be printed.
The embodiment of the application also provides computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the generation method of the 3D printing file when executing the computer program.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for generating a 3D print file described above.
In addition, the mode of determining the farthest layer support body contacting with the corresponding suspension surface in each of the multiple layers of support bodies is as follows: traversing each suspension surface to obtain an unsettled surface which is at the same height as the currently traversed suspension surface; judging whether an intersection point exists between the currently traversed suspended surface and a non-suspended surface which is at the same height as the currently traversed suspended surface, if so, confirming a target slice which is in contact with the currently traversed suspended surface in a multilayer support body corresponding to the currently traversed suspended surface, if not, confirming a support sub-region according to the currently traversed suspended surface, connecting the currently traversed suspended surface with the non-suspended surface which is at the same layer number as the currently traversed suspended surface to obtain a connection sub-region, and confirming a target slice which is in contact with the currently traversed suspended surface in the multilayer support body corresponding to the currently traversed suspended surface; and confirming the farthest layer of support body in contact with the currently traversed suspension surface according to the target slice and the step height. By the method, the obtained farthest layer of support body can be completely supported on the suspended surface, so that the generated multilayer support body is reasonable.
In addition, the length of each line parallel to the descending direction in the suspended area of each layer of the multi-layer support is not more than the limit length of the printing consumable during suspended printing; the descending direction refers to a direction in which the distance of the region of the unsettled surface where each layer of support body is connected with the corresponding multiple layers of support bodies is descending. The limit length of the printing consumables in the suspension printing process is considered when each layer of the multi-layer support body is confirmed, so that each layer of the multi-layer support body is more reasonable, and the probability of sinking of the multi-layer support body is reduced.
Further, the method for confirming the printing path of each of the plurality of layers of support bodies by slicing each of the plurality of layers of support bodies corresponding to each of the suspended surfaces includes: traversing each suspended surface, confirming a target slice which is in contact with the currently traversed suspended surface in a multilayer support body corresponding to the currently traversed suspended surface, acquiring an intersection point of the target slice and the contour of an unsuspended surface which is at the same height as the target slice, and judging whether a target point is included in points on the target slice, wherein the ordinate of the target point does not belong to a subset of the ordinate of the intersection point of the target slice and the contour of the unsuspended surface which is at the same height as the target slice, and/or the abscissa of the target point does not belong to a subset of the abscissa of the intersection point of the farthest slice and the contour of the unsuspended surface which is at the same height as the farthest slice; if so, dividing the target slice into a first supporting area and a second supporting area according to the intersection point of the target slice and the contour of the unsuspended surface at the same height as the target slice, and confirming the first supporting area and the second supporting area of each layer of slice of the multilayer supporting body according to the first supporting area and the second supporting area of the target slice; wherein the second support region of the target slice comprises the target point; and for each layer of slices of the multilayer support, setting an intersection point of a first support area of the slices of the multilayer support and an outline of an unsuspended surface at the same height as the slices of the multilayer support as a printing starting point of the first support area of the slices of the multilayer support, printing the first support area of the slices of the multilayer support, and printing a second support area of the slices of the multilayer support by using an intersection point of the first support area of the slices of the multilayer support, the outline of the unsuspended surface at the same height as the slices of the support area and the second support area of the slices of the support area as a printing starting point of the second support area of the slices of the multilayer support, thereby obtaining a printing path of the multilayer support corresponding to the traversed suspended surface. By the method, the printing starting point of the first supporting area and the printing starting point of the second supporting area are both reasonable acting points, the printing path generated from the reasonable acting points is reasonable, and the probability of sinking of the multilayer supporting body is further reduced.
In addition, the acquiring each suspension surface in the model to be printed includes: carrying out layered slicing on the model to be printed to obtain slices of each layer; performing exclusive-or operation on the projection of the nth layer slice and the projection of the (n +1) th layer slice; wherein n is the number of layers where the slices of the model to be printed are located, and n is a positive integer; and if the operation result is that the projection of the (n +1) th layer slice is larger than the projection of the nth layer slice, acquiring each suspended surface of the model to be printed according to the difference value between the projection of the (n +1) th layer slice and the projection of the nth layer slice. Each suspension surface obtained through calculation is accurate, the exclusive-or operation is simple, and each suspension surface can be obtained through calculation quickly.
In addition, the step height is obtained by: and determining the step height according to the thickness of the suspension area where the currently traversed suspension surface is located. Because the finally generated multilayer support body needs to support the suspended area where the suspended surface is located, the step height determined according to the height of the suspended area is reasonable, and the probability of sinking of the printing unsupported position is further reduced.
In addition, the printing speed is confirmed by: and confirming the printing speed according to the freezing point of the printing consumables. Since the printing speed is set to allow the support area to be continuously cooled and molded during printing, and the cooling molding is related to the solidifying point of the printing consumable, the printing speed confirmed by the solidifying point of the printing consumable is more reasonable.
The method, the device, the computer equipment and the storage medium have the advantages that because of the diversity of the shapes of the suspended surfaces, the corresponding supports of the suspended surfaces are arranged into the multilayer supports with the step structures, the suspended surfaces are supported by utilizing the multilayer supports, the sinking probability of the suspended surfaces is reduced, and the suspended area of each step in each multi-layer support body can be continuously cooled and formed when being printed at a set printing speed, namely, the probability of sinking of each multi-layer supporting body is reduced, thereby further reducing the probability of sinking of the suspended surface corresponding to each multi-layer supporting body, in addition, because each multilayer support is in a suspended state, compared with the mode that the vertical support is generated at the bottom of the working space or at the position below the position point needing to be added with the support, the volume of the support is reduced, the material consumed by the support is reduced, and the printing speed is improved.
Drawings
Fig. 1 is a flowchart of a 3D print file generation method according to a first embodiment of the present application;
FIG. 2 is a schematic view of a model to be printed according to a first embodiment of the present application;
FIG. 3 is a front view of a model to be printed according to a first embodiment of the present application;
FIG. 4 is a flowchart of a specific implementation manner of step 101 in the first embodiment of the present application;
FIG. 5 is a schematic diagram of a projection of an nth layer slice and a projection of an (n +1) th layer slice in a first embodiment of the present application;
fig. 6 is a front view of a model to be printed including a multilayer support corresponding to the suspended surface b in the first embodiment of the present application;
FIG. 7 is a top view of a multilayer support according to a first embodiment of the present application;
FIG. 8 is a top view of another multilayer support of the first embodiment of the present application;
fig. 9 is a detailed flowchart of a determination manner of the farthest layer of the multi-layer supporting bodies contacting with the corresponding suspension surface in the first embodiment of the present application;
FIG. 10 is a schematic illustration of a target slice including a suspension plane b contact and a suspension plane c contact according to a first embodiment of the present application;
FIG. 11 is a flow chart illustrating an exemplary embodiment of identifying a printing path for each of the plurality of layers of support from slices of each layer of the plurality of layers of support corresponding to each of the suspended surfaces according to the first embodiment of the present disclosure;
FIG. 12 is a top view of the suspended surface a of the first embodiment of the present application;
FIG. 13 is a schematic view of a target area dividing a first support area and a second support area according to a first embodiment of the present application;
FIG. 14 is a schematic view of another target area for dividing a first support area and a second support area according to the first embodiment of the present application;
FIG. 15 is a top view of the suspension surface b of the first embodiment of the present application;
fig. 16 is a schematic structural diagram of a print document generating apparatus according to a second embodiment of the present application;
fig. 17 is a schematic structural diagram of a computer device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The first embodiment of the present application relates to a method for generating a 3D print file, which is applied to a computer device, for example: computers, cell phones, etc. A flowchart of a method for generating a 3D print file according to this embodiment is shown in fig. 1, and includes:
step 101, acquiring each suspended surface in a model to be printed.
Specifically, after receiving an imported model to be printed, slicing software in the computer device places the model to be printed on a working space, wherein the working space is a space formed by a printing platform of a printer for printing the model to be printed in the slicing software and comprises an x-axis direction, a y-axis direction and a z-axis direction, and the bottom of the working space is a plane formed by the x-axis and the y-axis. The suspended surface in the model to be printed refers to a surface close to the working space in a part of the slices without other slices below and without contact with the working space, the unsettled surface refers to a surface close to the working space in a part of the slices without other slices below or with contact with the working space, that is, all surfaces except the suspended surface are unsettled surfaces, as shown in fig. 2 and 3, fig. 2 is a schematic diagram of the model to be printed, fig. 3 is a front view of the model to be printed, and for convenience of description, the model to be printed is divided into A, B, C, D areas, wherein a, b, c and d in the diagram are all suspended surfaces, and i and j in the diagram are all unsettled surfaces.
In one example, a flowchart for acquiring each suspension surface in a model to be printed is shown in fig. 4, and includes:
and step 1011, performing layered slicing on the model to be printed to obtain slices of each layer.
Step 1012, performing exclusive or operation on the projection of the nth layer slice and the projection of the (n +1) th layer slice; wherein n is a positive integer.
And step 1013, if the operation result is that the projection of the (n +1) th slice is larger than the projection of the nth slice, acquiring each suspension surface of the model to be printed according to the difference value between the projection of the (n +1) th slice and the projection of the nth slice.
Specifically, after receiving an imported model to be printed, slicing software in the computer device performs horizontal layered slicing on the model to be printed, wherein the included angle between the direction of the horizontal layered slicing and the horizontal plane is zero; and slicing the model to be printed in a layered manner to obtain slices of each layer. Carrying out XOR operation on the projection of the nth layer slice and the projection of the (n +1) th layer slice, if the operation result is that the projection of the (n +1) th layer slice is larger than that of the nth layer slice, then the region in the nth layer corresponding to the projection difference value is a suspension surface, and obtaining each suspension surface according to connectivity, if the operation result is that the projection of the (n +1) th layer slice is smaller than or equal to that of the nth layer slice, then the (n +1) th layer does not have a suspension surface; since the first slice is in contact with the working space and does not need to be supported, whether a suspended surface exists is confirmed from the 2 nd layer, exclusive or operation is carried out on the projection of the 1 st layer slice and the projection of the 2 nd layer slice, if the operation result is that the projection of the 2 nd layer slice is larger than the projection of the 1 st layer slice, the area in the 2 nd layer corresponding to the difference value of the projection is the suspended surface, if the operation result is that the projection of the 2 nd layer slice is smaller than or equal to the projection of the 1 st layer slice, the suspended surface does not exist in the 2 nd layer, and the confirmation is carried out according to the method until the value of (n +1) is the number of layers of the highest layer slice. As shown in fig. 5, a schematic diagram of the projection of the nth layer slice and the projection of the (n +1) th layer slice is shown, an ellipse is the projection of the (n +1) th layer slice, a rectangle is the projection of the nth layer slice, the projections of the two layers of slices are subjected to an exclusive-or operation, a difference value between the projection of the (n +1) th layer slice and the projection of the nth layer slice is obtained as a shadow region in the diagram, which is a region that is not repeated in the two layers of slices, and each suspending surface of the (n +1) th layer slice can be obtained according to the difference value, a shadow region on the left side is a suspending surface, a shadow region on the top side is a suspending surface, a shadow region on the bottom side is a suspending surface, and a shadow region on the right side is a suspending surface. Each suspension surface obtained through calculation is accurate, the exclusive-or operation is simple, and each suspension surface can be obtained through calculation quickly.
In one example, since the user can know the suspended surfaces in the model to be printed by observation, after the user selects the suspended surfaces directly on the model to be printed, the computer device receives the user's selection and acquires the suspended surfaces in the model to be printed. By the method, the computer equipment can obtain each suspension surface without performing corresponding calculation, and the operation burden of the computer equipment is reduced.
102, confirming each layer of slice of the multilayer support body corresponding to each suspension surface according to each suspension surface and the step height; and the distance between each layer of support body of each multi-layer support body and the bottom of the working space is gradually reduced along with the gradual reduction of the distance between the region where the unsettled surface connected with the corresponding multi-layer support body is located, so that a step structure is formed.
Specifically, the step height refers to the thickness of each layer of support, each suspension surface corresponds to one multilayer support, according to the suspension surface, a target slice in the multilayer support corresponding to the suspension surface and in contact with the suspension surface can be determined, the position of the target slice is a first position, the target slice is moved to the position close to the bottom of the working space by the step height to obtain a second position, the area formed by the first position and the second position is the farthest layer of support in contact with the corresponding suspension surface, and then the step structures are formed by the successive descending of the distance between each layer of support and the bottom of the working space along with the descending of the distance between the area of the unsettled surface connected with the corresponding multilayer support, so that other supports in the multilayer support can be determined, and thus the multilayer support with the step structure is obtained, as shown in fig. 6, which is a front view of a model to be printed of the multilayer support corresponding to the suspension surface b, the shadow area is a suspension area of each layer of support body, wherein the step structure below the suspension surface b is a multilayer support body corresponding to the suspension surface b, the multilayer support body corresponding to the suspension surface b shown in fig. 6 comprises 3 layers, and in other embodiments, the multilayer support body may also comprise 4 layers, 5 layers and the like, the multilayer support body in fig. 6 is sequentially called as a third layer support body, a second layer support body and a first layer support body from top to bottom, the distance between the region where the non-suspension surface connected with the corresponding multilayer support body is located on the third layer support body is greater than the distance between the region where the non-suspension surface connected with the corresponding multilayer support body is located on the second layer support body, the distance between the second layer support body and the corresponding multilayer support body is greater than the distance between the region where the non-suspension surface connected with the corresponding multilayer support body is located on the first layer support body, and the distance between the third layer support body and the bottom of the working space are greater than the distance between the second layer support body and the bottom of the working space, the distance between the second layer of support bodies and the bottom of the working space is greater than the distance between the first layer of support bodies and the bottom of the working space, namely, the distance between each layer of support bodies and the bottom of the working space is gradually reduced along with the distance between the region where the unsettled surface connected with the corresponding multilayer support bodies is located, so that a step structure is formed; after the multilayer support is obtained, the multilayer support is sliced into slices having a slice thickness, whereby each layer of the multilayer support can be sliced. It should be noted that the shape of each layer of the support body of each multi-layer support body is not limited, and only the step structure is formed by sequentially decreasing the distance between each layer of the support body and the bottom of the working space along with the decreasing distance of the region where the unsettled surface connected with the corresponding multi-layer support body is located, as shown in fig. 7, a top view of one multi-layer support body is shown, and as shown in fig. 8, a top view of another multi-layer support body is shown.
In one example, a specific flowchart of a method for determining the farthest layer of the multi-layer support body in contact with the corresponding suspension surface is shown in fig. 9, and includes:
step 1021, traverse a suspension surface.
In step 1022, an unsuspended surface at the same height as the currently traversed suspended surface is obtained.
Specifically, any one of the unsettled surfaces which is at the same height as the currently traversed suspended surface is obtained according to the height of the currently traversed suspended surface, wherein the height of the currently traversed suspended surface is the distance from a point on the suspended surface to the bottom of the working space; taking fig. 2 and fig. 3 as an example for explanation, the currently traversed suspended surface is a suspended surface a, and any one of the unsuspended surfaces at the same height as the suspended surface a is acquired as an unsuspended surface i or an unsuspended surface j, and so on.
In an example, the dangling surface closest to the currently traversed dangling surface and at the same height may be obtained, and the description is given by taking fig. 2 and fig. 3 as an example, where the currently traversed dangling surface is a dangling surface a, and the dangling surface closest to the dangling surface a and at the same height is an dangling surface i. In this case, the printing path of the support area can be shortened, thereby increasing the printing speed of the model to be printed.
And 1023, judging whether a cross point exists between the currently traversed suspension surface and the unsettled surface which is at the same height as the currently traversed suspension surface. If yes, go to step 1024, then to step 1026, otherwise, go to step 1025, then to step 1026.
And step 1024, according to the currently traversed suspension surface, confirming the target slice which is in contact with the currently traversed suspension surface in the multilayer support body corresponding to the currently traversed suspension surface.
And 1025, confirming a support sub-region according to the currently traversed suspension surface, connecting the currently traversed suspension surface with the unsettled surface which is in the same layer number with the currently traversed suspension surface to obtain a connection sub-region, and confirming a target slice which is in contact with the currently traversed suspension surface in the multilayer support body corresponding to the currently traversed suspension surface according to the support sub-region and the connection sub-region.
Specifically, because of the diversity of the model, there may be a connection or no connection between the suspended surface and the unsettled surface at the same height as the suspended surface, and whether there is a connection or not between the suspended surface and the unsettled surface at the same height as the suspended surface can be determined by whether there is an intersection between the suspended surface and the unsettled surface at the same height as the suspended surface.
If there is an intersection point between the currently traversed suspended surface and the unsettled surface at the same height as the currently traversed suspended surface, there is a connection between the currently traversed suspended surface and the unsettled surface at the same height as the currently traversed suspended surface, for example, there is a connection between the suspended surface a and the unsettled surface i at the same height as the suspended surface a in fig. 2 and 3, at this time, according to the currently traversed suspended surface, the shape of the currently traversed suspended surface can be identified, since the multi-layer support body corresponding to the suspended surface needs to make the corresponding unsettled surface not sink during printing, the shape of the farthest layer support body of the multi-layer support body needs to be not less than the shape of the currently traversed suspended surface, that is, a target slice in the multi-layer support body in contact with the currently traversed suspended surface may be the same as the shape of the unsettled surface or may be the shape of the unsettled surface, and the intersection point between the target slice and the unsettled surface at the same height comprises the intersection point between the unsettled surface and the unsettled surface at the same height, that is, the point on the unsettled surface is a subset of the point on the target slice in the multilayer support, so that the target slice in the multilayer support corresponding to the unsettled surface and in contact with the unsettled surface traversed at present can be identified according to the unsettled surface traversed at present, and the multilayer support obtained at this time is supported from the point on the unsettled surface. As shown in fig. 10, the schematic diagram of the target slice including the suspended surface b in contact and the suspended surface c in contact is shown, wherein there is an intersection point between the suspended surface b and the non-suspended surface at the same height as the suspended surface b, and the target slice in contact with the suspended surface b is a rectangle XYZW.
If no intersection point exists between the currently traversed suspended surface and the unsettled surface which is at the same height as the currently traversed suspended surface, there is no connection between the currently traversed suspended surface and the unsettled surface at the same height as the currently traversed suspended surface, there is no connection between the suspended surface c and the unsettled surface at the same height as in fig. 2 and 3, but the multi-layered support needs to be generated from a point on the unsettled surface, therefore, the support sub-area is firstly confirmed according to the currently traversed suspension surface, and because the corresponding suspension surface does not sink when the corresponding suspension surface is printed by the multilayer support body corresponding to the suspension surface, therefore, the shape of the support sub-region needs to be not smaller than the currently traversed suspended surface, that is, the shape of the support sub-region may be the same as the shape of the currently traversed suspended surface, or may include the currently traversed suspended surface; connecting the currently traversed suspended surface with unsettled surfaces which are the same in layer number as the currently traversed suspended surface to obtain a connected sub-region, wherein the size of the connected sub-region can be set according to actual needs, and an arc line and/or a straight line exist in a line connecting the edges of the sub-region; and then obtaining a region formed by the union of the support sub-region and the connection sub-region, and confirming that the target slice in the multilayer support body corresponding to the currently traversed suspension surface and in contact with the currently traversed suspension surface is not smaller than the region formed by the union. As shown in fig. 10, there is no intersection point between the suspended surface c and the non-suspended surface at the same height of the suspended surface c, and the target slice contacting with the suspended surface c is a rectangular EFGH. In one example, the maximum value of the intersection line of the support sub-region and the connection sub-region is equal to the maximum value of the line parallel to the intersection line in the currently traversed suspended surface, which can make the printing path simpler.
In one example, connecting the currently traversed suspension plane and the unsettled plane that is the same number of layers as the currently traversed suspension plane to obtain a connection sub-region includes: and connecting the currently traversed suspended surface and the unsuspended surface which is positioned in the same layer number with the currently traversed suspended surface in a straight line to obtain a connection sub-region. By the method, the lines connecting the edges of the sub-areas are connected in a straight line, so that the printing path is shorter when the connecting sub-areas are printed, the printing path of the supporting area is shortened, and the printing speed can be improved.
And step 1026, confirming the farthest layer of support body in contact with the currently traversed suspension surface according to the target slice and the step height.
Specifically, the position of the target slice is a first position, the target slice is moved to a position close to the bottom of the working space by a step height to obtain a second position, and an area formed by the first position and the second position is a farthest layer of support body in contact with the currently traversed suspended area.
In one example, the step height is obtained by: and determining the step height according to the thickness of the suspension area where the currently traversed suspension surface is located. Because the support area which is finally generated is the suspended area where the suspended surface needs to be supported, the step height determined according to the height of the suspended area is reasonable, and the probability of sinking of the printing unsupported position is further reduced.
In one example, the length of each line parallel to the decreasing direction in the suspended area of each layer of the multi-layer support is not greater than the limit length of the printing consumable formed during suspended printing; the descending direction refers to a direction in which the distance of the region of the unsettled surface where each layer of support body is connected with the corresponding multiple layers of support bodies is descending.
Specifically, when the printing supplies are suspended for printing, that is, there is no support below, the printing supplies have a limit length of molding at this time, and when exceeding the limit length, the probability of the printing supplies sinking increases, for example: when the printing consumables are Polylactic acid (PLA) materials, the limit length of the PLA materials formed in suspension printing is 50 mm. The suspended area of each layer of the multi-layer support is the same as the projection of the suspended surface of each layer of the support, and the area between the farthest surface of each layer of the support and the corresponding suspended surface, as shown in fig. 6, is the front view of the model to be printed of the multi-layer support corresponding to the suspended surface b, the shadow area is the suspended area of each layer of the support, and the length of each line parallel to the decreasing direction in the suspended area of each layer of the support is not more than the limit length of the printing consumable during suspended printing, wherein the decreasing direction refers to the decreasing direction of the area distance of the unsettled surface where each layer of the support is connected with the corresponding multi-layer support, i.e. the direction from right to left in fig. 6, so that the probability of sinking is low when each line of the suspended area of each layer of the support is printed, i.e. the limit length of the printing consumable during suspended printing is considered when each layer of the multi-layer of the support is confirmed, can make each layer supporter of each multilayer supporter more reasonable to reduce the probability that multilayer supporter appears sinking.
In one example, the length of each line parallel to the decreasing direction in the suspended area of each layer of the support is equal to the limit length of the printing consumable formed during suspended printing; the descending direction is the direction in which the distance of the region where the unsettled surface of each layer of support body and the corresponding multilayer support body are connected is reduced, so that the volume of each multilayer support body can be reduced on the premise of reducing the probability of sinking of the multilayer support body, and the printing speed is improved.
Step 1027, whether the suspended surface is traversed or not, if yes, step 1029 is carried out, if no, step 1028 is carried out first, and then step 1022 is carried out.
Step 1028, traverse the next suspension plane.
And 1029, obtaining the farthest layer of the support body in contact with the corresponding suspension surface in each multilayer support body.
By such a method, it is easy to obtain the farthest layer support of each of the multilayer supports, and a print document can be generated quickly.
103, confirming the printing path of each multilayer support according to each layer slice of the multilayer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multilayer support so as to continuously cool and mold the suspension area of each layer support in each multilayer support when printing along the printing path at the printing speed; the suspended area of each layer of support body is the area between the surface which is the same as the suspended surface projection of each layer of support body and is farthest away from the bottom of the working space in each layer of support body and the corresponding suspended surface, and each multi-layer support body is in a suspended state and is used for enabling the corresponding suspended surface not to sink during printing.
Specifically, the PLA consumable material and the nozzle having a diameter of 0.4mm are moved at a speed of 10mm/s, and at such a speed, the PLA consumable material extruded from the nozzle is not continuously cooled and molded, that is, the consumable material is still in a molten state, and if the PLA consumable material in the molten state is not supported, the PLA consumable material in the molten state sinks, and since each of the plurality of supports has a suspended region and an unsuspended region, when printing is performed at a normal speed of the nozzle, the suspended region of each of the plurality of supports sinks, that is, the suspended region of each of the plurality of supports does not become parallel to the hot bed, and thus the suspended surface above each of the plurality of supports sinks during printing, and therefore, in order to make each of the plurality of supports generated to be parallel to the hot bed, it is necessary to set a printing speed of the suspended region of each of the plurality of supports, and continuously cooling and forming the suspended area of each layer of the multi-layer support body when printing along the printing path at the set printing speed, namely reducing the sinking probability of each multi-layer support body, wherein the printing speed of the nozzle with the diameter of 0.4mm when printing the suspended area of each layer of the multi-layer support body can be set to be 5 mm/s.
In one example, the printing speed of each multi-layer support may be directly set so that each multi-layer support is continuously cooled and molded when printing along the printing path at the printing speed.
In one example, the print speed is confirmed by: and confirming the printing speed according to the freezing point of the printing consumables. Since the printing speed is set to allow the support area to be continuously cooled and molded during printing, and the cooling molding is related to the solidifying point of the printing consumable, the printing speed confirmed by the solidifying point of the printing consumable is more reasonable.
In one example, a specific flowchart for confirming the printing path of each multilayer support from each slice of the multilayer support corresponding to each suspended surface is shown in fig. 11, and includes:
and step 1031, traversing a suspension surface.
And 1032, confirming a target slice which is in contact with the currently traversed suspended surface in the multilayer support body corresponding to the currently traversed suspended surface, acquiring an intersection point of the target slice and the contour of the unsuspended surface at the same height as the target slice, and judging whether a target point is included in points on the target slice, wherein the ordinate of the target point does not belong to a subset of the ordinate of the intersection point of the target slice and the contour of the unsuspended surface at the same height as the target slice, and/or the abscissa of the target point does not belong to a subset of the abscissa of the intersection point of the target slice and the contour of the unsuspended surface at the same height as the target slice. If so, go to step 1033, then go to step 1034, otherwise, go to step 1035.
Specifically, since the working space includes the x-axis direction, the y-axis direction and the z-axis direction, coordinates of points on the model to be printed and the support area located on the working space can be determined, and then a target slice in contact with the currently traversed suspended surface in the multilayer support corresponding to the currently traversed suspended surface, coordinates of points on the contour of the unsuspended surface located in the same number of layers as the target slice, and points of the same coordinates are the intersections of the target slice and the contour of the unsuspended surface located in the same number of layers as the target slice, if the ordinate of the target point does not belong to the subset of the ordinate of the intersection of the contour of the target slice and the unsuspended surface located in the same number of layers as the target slice, and/or the abscissa of the target point does not belong to the subset of the abscissa of the intersection of the contour of the target slice and the contour of the unsuspended surface located in the same number of layers as the target slice, the target point is included in the points on the target slice.
Step 1033, dividing the target slice into a first supporting area and a second supporting area according to an intersection point of the target slice and the contour of the unsuspended surface at the same height as the target slice, and confirming the first supporting area and the second supporting area of each layer of slices of the multilayer supporting body according to the first supporting area and the second supporting area of the target slice; wherein the second support region of the target slice comprises the target point.
Step 1034, for each layer of slices of the multilayer support, setting an intersection point of a first support region of the slices of the multilayer support and an outline of an unsuspended surface at the same height as the slices of the multilayer support as a printing starting point of the first support region of the slices of the multilayer support, printing the first support region of the slices of the multilayer support, and printing a second support region of the slices of the multilayer support with an intersection point of the first support region of the slices of the multilayer support, the outline of the unsuspended surface at the same height as the slices of the support region and the second support region of the slices of the multilayer support as a printing starting point of the second support region of the slices of the support region, thereby obtaining a printing path of the multilayer support corresponding to the currently traversed unsuspended surface.
Specifically, the description will be given by taking the suspended surface a in fig. 2 and 3 as an example, and as shown in fig. 12, the suspended surface a is a top view of the suspended surface a, and when the suspended surface a is the target slice, the intersection point where the contour of the target slice a and the contour of the unsuspended surface having the same number of layers as the target slice a is obtained is a point on the side mh and the side gf, and since the ordinate of the point on the region formed by epho on the target slice a does not belong to the subset of the ordinates of the points on the side mh and the side gf, and the abscissa of the point on the region formed by epho on the target slice a does not belong to the subset of the abscissas of the points on the side mh and the side gf, the point on the target slice a includes the target point.
Dividing the target slice a into a first support region and a second support region according to the intersection point of the contour of the unsuspended surface at the same height as the target slice a, namely, the points on the side mh and the side gf, wherein the second support region of the target slice a includes the target point, as shown in fig. 13, a schematic diagram of a target slice dividing the first support region and the second support region, wherein the shaded portion is the first support region, as shown in fig. 14, a schematic diagram of another target slice dividing the first support region and the second support region, wherein the shaded portion is the first support region.
After the first support region and the second support region of the target section a are obtained, dividing lines of the first support region and the second support region can be obtained, and the multilayer support body can be cut from the dividing lines to obtain the first support region and the second support region of each layer of the multilayer support body. Taking the slice a of the multilayer support as an example, as shown in fig. 13, acquiring an intersection point of a first support region of the slice a and a contour of an unsuspended surface at the same height as the slice a as a point on a side mh, selecting any one point on the side mh as a printing start point of the first support region of the slice a, printing the first support region of the slice a, after printing the first support region of the slice a, acquiring an intersection point of the first support region of the slice a, the contour of the unsuspended surface at the same height as the slice a and a second support region of the slice of the multilayer support as a point on a side og, selecting any one point on the side og as a printing start point of the second support region of the slice a, printing the second support region of the slice a, and setting as described above to obtain a printing path of the slice a, and setting each layer of slices of the multilayer support body corresponding to the currently traversed suspended surface according to the above, so as to obtain the printing path of the multilayer support body corresponding to the currently traversed suspended surface.
And 1035, for each layer of the slice of the multilayer support, printing the slice of the multilayer support by taking an intersection point of the slice of the multilayer support and the outline of the unsuspended surface at the same height as the slice of the multilayer support as a printing starting point to obtain a printing path of the multilayer support corresponding to the traversed suspended surface.
Specifically, taking the suspending surface b in fig. 2 and 3 as an example, as shown in fig. 15, the suspending surface b is a top view of the suspending surface b, the suspending surface b is a target slice at this time, an intersection point of the contour of the target slice b and an unsuspended surface at the same height as the target slice b is a point on the side sx, an ordinate of a point on the region sxyt formed by the target slice b at this time belongs to a subset of ordinates of the point on the side sx, an abscissa of a point on the region sxyt formed by the target slice b belongs to a subset of abscissas of the point on the side sx, and the point on the target slice b does not include the target point.
For each layer of slices of the multilayer support body, as shown in fig. 15, an intersection point of a slice b and the contour of the unsuspended surface at the same height as the slice b is obtained as a point on the side sx, any point on the side sx is selected as a printing starting point of the slice b, the slice b is printed, a printing path of the slice b can be obtained by setting according to the above, each layer of slices of the multilayer support body corresponding to the currently traversed suspension surface is set according to the above, and a printing path of the multilayer support body corresponding to the currently traversed suspension surface can be obtained.
At step 1036, whether each of the suspension surfaces has been traversed, and if so, proceed to step 1038. If not, go to step 1037 and then to step 1032.
Step 1037, traverse the next suspension plane.
Step 1038, obtain the printing paths of the multi-layer support corresponding to each suspension surface.
By the method, the printing starting point of the first supporting area and the printing starting point of the second supporting area are both reasonable acting points, the printing path generated from the reasonable acting points is reasonable, and the probability of sinking of the multilayer supporting body is further reduced.
And 104, generating a printing file according to the printing paths of the multi-layer supports with the set printing speed and the slices of the models to be printed.
Specifically, each layer of slices of the model to be printed is obtained by horizontally slicing the model to be printed, and the gcode instruction of each layer of slices of the model to be printed can be known at the moment; because the point on each multilayer support body with the set printing speed and the point on each layer slice of the model to be printed may have intersection, for the point in the intersection, the point on each multilayer support body is reserved, namely the instruction of the point in the intersection in the gcode instruction of each layer slice is removed, the printing path of each multilayer support body with the set printing speed is added into the gcode instruction of each layer slice of the model to be printed, and the printing file can be obtained.
In the embodiment, each suspension surface in the model to be printed is obtained; confirming each layer slice of the multilayer support body corresponding to each suspension surface according to each suspension surface and the step height, wherein the distance between each layer of the support body of each multilayer support body and the bottom of the working space is sequentially reduced along with the reduction of the distance between the region where the unsettled surface connected with the corresponding multilayer support body is located, so as to form a step structure; confirming the printing path of each multilayer support according to each layer slice of the multilayer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multilayer support so as to ensure that the suspension area of each layer support in each multilayer support is continuously cooled and molded when printing along the printing path at the printing speed; the suspended area of each layer of support body is the area between the surface which has the same projection with the suspended surface of each layer of support body and is farthest away from the bottom of the working space and the corresponding suspended surface, and each multi-layer support body is in a suspended state and is used for ensuring that the corresponding suspended surface does not sink during printing; and generating a printing file according to the printing paths of the multi-layer supporting bodies with the set printing speed and the slices of the layers of the model to be printed. Because of the diversity of the shapes of the suspended surfaces, the supports corresponding to the suspended surfaces are arranged into the multilayer supporting bodies with the step structures, the suspended surfaces are supported by utilizing multiple layers, the sinking probability of the suspended surfaces is reduced, and the suspended areas of the steps in the multilayer supporting bodies can be continuously cooled and formed when being printed at a set printing speed, namely, the sinking probability of the multilayer supporting bodies is reduced, so that the sinking probability of the suspended surfaces corresponding to the multilayer supporting bodies is further reduced.
A second embodiment of the present application relates to a print document generating apparatus, a schematic structural diagram of which is shown in fig. 16, and includes:
an obtaining module 201, configured to obtain each suspended surface in the model to be printed.
A confirming module 202, configured to confirm each layer of slice of the multilayer support corresponding to each suspension surface according to each suspension surface and the step height; and the distance between each layer of support body of each multi-layer support body and the bottom of the working space is gradually reduced along with the gradual reduction of the distance between the region where the unsettled surface connected with the corresponding multi-layer support body is located, so that a step structure is formed.
A speed setting module 203, configured to confirm a printing path of each multilayer support according to each slice of the multilayer support corresponding to each suspension surface, and set a printing speed of a suspension area of each layer of each multilayer support, so that the suspension area of each layer of each multilayer support is continuously cooled and formed when printing along the printing path at the printing speed; the suspended area of each layer of support body is the area between the surface which is the same as the suspended surface projection of each layer of support body and is farthest away from the printing platform in each layer of support body and the corresponding suspended surface, and each multi-layer support body is in a suspended state and is used for enabling the corresponding suspended surface not to sink during printing.
And the generating module 204 is used for generating a printing file according to the printing paths of the multi-layer supports with the set printing speed and the slices of the models to be printed.
In one example, the farthest layer of each of the multiple layers of supports in contact with the corresponding suspension surface is determined as follows: traversing each suspension surface to obtain an unsettled surface which is at the same height as the currently traversed suspension surface; judging whether an intersection point exists between the currently traversed suspended surface and a non-suspended surface which is at the same height as the currently traversed suspended surface, if so, confirming a target slice which is in contact with the currently traversed suspended surface in a multilayer support body corresponding to the currently traversed suspended surface, if not, confirming a support sub-region according to the currently traversed suspended surface, connecting the currently traversed suspended surface with the non-suspended surface which is at the same layer number as the currently traversed suspended surface to obtain a connection sub-region, and confirming a target slice which is in contact with the currently traversed suspended surface in the multilayer support body corresponding to the currently traversed suspended surface; and confirming the farthest layer of support body in contact with the currently traversed suspension surface according to the target slice and the step height.
In one example, the length of each line parallel to the decreasing direction in the suspended area of each layer of the multi-layer support is not greater than the limit length of the printing consumable formed during suspended printing; the descending direction refers to a direction in which the distance of the region of the unsettled surface where each layer of support body is connected with the corresponding multiple layers of support bodies is descending.
In one example, the identifying a printing path of each of the plurality of layers of support according to the slice of each layer of the plurality of layers of support corresponding to each of the suspended surfaces includes: traversing each suspended surface, confirming a target slice which is in contact with the currently traversed suspended surface in a multilayer support body corresponding to the currently traversed suspended surface, acquiring an intersection point of the target slice and the contour of an unsuspended surface which is at the same height as the target slice, and judging whether a target point is included in points on the target slice, wherein the ordinate of the target point does not belong to a subset of the ordinate of the intersection point of the target slice and the contour of the unsuspended surface which is at the same height as the target slice, and/or the abscissa of the target point does not belong to a subset of the abscissa of the intersection point of the farthest slice and the contour of the unsuspended surface which is at the same height as the farthest slice; if so, dividing the target slice into a first supporting area and a second supporting area according to the intersection point of the target slice and the contour of the unsuspended surface at the same height as the target slice, and confirming the first supporting area and the second supporting area of each layer of slice of the multilayer supporting body according to the first supporting area and the second supporting area of the target slice; wherein the second support region of the target slice comprises the target point; and for each layer of slices of the multilayer support, setting an intersection point of a first support area of the slices of the multilayer support and an outline of an unsuspended surface at the same height as the slices of the multilayer support as a printing starting point of the first support area of the slices of the multilayer support, printing the first support area of the slices of the multilayer support, and printing a second support area of the slices of the multilayer support by using an intersection point of the first support area of the slices of the multilayer support, the outline of the unsuspended surface at the same height as the slices of the support area and the second support area of the slices of the support area as a printing starting point of the second support area of the slices of the multilayer support, thereby obtaining a printing path of the multilayer support corresponding to the traversed suspended surface.
In one example, the acquiring each suspension surface in the model to be printed includes: carrying out layered slicing on the model to be printed to obtain slices of each layer; performing exclusive-or operation on the projection of the nth layer slice and the projection of the (n +1) th layer slice; wherein n is the number of layers where the slices of the model to be printed are located, and n is a positive integer; and if the operation result is that the projection of the (n +1) th layer slice is larger than the projection of the nth layer slice, acquiring each suspended surface of the model to be printed according to the difference value between the projection of the (n +1) th layer slice and the projection of the nth layer slice.
In one example, the step height is obtained by: and determining the step height according to the thickness of the suspension area where the currently traversed suspension surface is located.
In one example, the print speed is confirmed by: and confirming the printing speed according to the freezing point of the printing consumables.
For the specific limitations of the apparatus, reference may be made to the limitations of the method described above, which are not described in detail herein. The various modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
A third embodiment of the present application provides a computer device, which may be a terminal, such as: the internal structure of a computer, a mobile phone and the like can be shown in fig. 17. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of generating a print file. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 17 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one example, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps in the above-described method embodiments when executing the computer program.
A fourth embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program realizes the steps in the above-mentioned method embodiments when being executed by a processor.
In one example, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for generating a 3D printing file is characterized by comprising the following steps:
acquiring each suspension surface in a model to be printed;
confirming each layer of section of the multilayer support body corresponding to each suspension surface according to each suspension surface and the step height; the distance between each layer of support body of each multilayer support body and the bottom of the working space is gradually reduced along with the decreasing distance of the region where the unsettled surface connected with the corresponding multilayer support body is located, so that a step structure is formed;
confirming a printing path of each multilayer support according to each layer slice of the multilayer support corresponding to each suspension surface, and setting a printing speed of a suspension area of each layer of each multilayer support so that the suspension area of each layer of each multilayer support is continuously cooled and molded when being printed along the printing path at the printing speed; the suspended area of each layer of support body is the area which has the same projection with the suspended surface of each layer of support body and is between the surface of each layer of support body farthest from the bottom of the working space and the corresponding suspended surface, and each multi-layer support body is in a suspended state and is used for enabling the corresponding suspended surface not to sink during printing;
and generating a printing file according to the printing path of each multi-layer support body with the set printing speed and each layer of slices of the model to be printed.
2. The method for generating a 3D printed document according to claim 1, wherein the farthest layer of each of the plurality of layers of supports in contact with the corresponding suspension surface is determined in the following manner:
traversing each suspension surface to obtain an unsettled surface which is at the same height as the currently traversed suspension surface;
judging whether an intersection point exists between the currently traversed suspended surface and a non-suspended surface which is at the same height as the currently traversed suspended surface, if so, confirming a target slice which is in contact with the currently traversed suspended surface in a multilayer support body corresponding to the currently traversed suspended surface, if not, confirming a support sub-region according to the currently traversed suspended surface, connecting the currently traversed suspended surface with the non-suspended surface which is at the same layer number as the currently traversed suspended surface to obtain a connection sub-region, and confirming a target slice which is in contact with the currently traversed suspended surface in the multilayer support body corresponding to the currently traversed suspended surface according to the support sub-region and the connection sub-region;
and confirming the farthest layer of support body in contact with the currently traversed suspension surface according to the target slice and the step height.
3. The method for generating a 3D print file according to claim 1, wherein the length of each line parallel to the decreasing direction in the suspended area of each layer of each multi-layer support is not greater than the limit length of the printing consumable molding in suspended printing; the descending direction refers to a direction in which the distance of the region of the unsettled surface where each layer of support body is connected with the corresponding multiple layers of support bodies is descending.
4. The method for generating a 3D print file according to claim 1, wherein the confirming a print path of each of the plurality of layers of supports corresponding to each of the suspended surfaces from each of the slices of each of the plurality of layers of supports includes:
traversing each suspended surface, confirming a target slice which is in contact with the currently traversed suspended surface in a multilayer support body corresponding to the currently traversed suspended surface, acquiring an intersection point of the target slice and the contour of an unsuspended surface which is at the same height as the target slice, and judging whether a target point is included in points on the target slice, wherein the ordinate of the target point does not belong to a subset of the ordinate of the intersection point of the target slice and the contour of the unsuspended surface which is at the same height as the target slice, and/or the abscissa of the target point does not belong to a subset of the abscissa of the intersection point of the farthest slice and the contour of the unsuspended surface which is at the same height as the farthest slice;
if so, dividing the target slice into a first supporting area and a second supporting area according to the intersection point of the target slice and the contour of the unsuspended surface at the same height as the target slice, and confirming the first supporting area and the second supporting area of each layer of slice of the multilayer supporting body according to the first supporting area and the second supporting area of the target slice; wherein the second support region of the target slice comprises the target point;
and for each layer of slices of the multilayer support, setting an intersection point of a first support area of the slices of the multilayer support and an outline of an unsuspended surface at the same height as the slices of the multilayer support as a printing starting point of the first support area of the slices of the multilayer support, printing the first support area of the slices of the multilayer support, and printing a second support area of the slices of the multilayer support by using an intersection point of the first support area of the slices of the multilayer support, the outline of the unsuspended surface at the same height as the slices of the support area and the second support area of the slices of the support area as a printing starting point of the second support area of the slices of the multilayer support, thereby obtaining a printing path of the multilayer support corresponding to the traversed suspended surface.
5. The method for generating the 3D print file according to claim 1, wherein the acquiring each suspension surface in the model to be printed includes:
carrying out layered slicing on the model to be printed to obtain slices of each layer;
performing exclusive-or operation on the projection of the nth layer slice and the projection of the (n +1) th layer slice; wherein n is the number of layers where the slices of the model to be printed are located, and n is a positive integer;
and if the operation result is that the projection of the (n +1) th layer slice is larger than the projection of the nth layer slice, acquiring each suspended surface of the model to be printed according to the difference value between the projection of the (n +1) th layer slice and the projection of the nth layer slice.
6. The method for generating a 3D print file according to claim 2, wherein the step height is obtained by:
and determining the step height according to the thickness of the suspension area where the currently traversed suspension surface is located.
7. The method for generating a 3D print file according to claim 1, wherein the printing speed is confirmed by:
and confirming the printing speed according to the freezing point of the printing consumables.
8. An apparatus for generating a 3D print file, comprising:
the acquisition module is used for acquiring each suspended surface in the model to be printed;
the confirming module is used for confirming each layer of slice of the multilayer support body corresponding to each suspension surface according to each suspension surface and the step height; the distance between each layer of support body of each multilayer support body and the bottom of the working space is gradually reduced along with the decreasing distance of the region where the unsettled surface connected with the corresponding multilayer support body is located, so that a step structure is formed;
the speed setting module is used for confirming the printing path of each multilayer support according to each layer slice of the multilayer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multilayer support so as to enable the suspension area of each layer support in each multilayer support to be continuously cooled and molded when the suspension area is printed along the printing path at the printing speed; the suspended area of each layer of support body is the area which has the same projection with the suspended surface of each layer of support body and is between the surface of each layer of support body farthest from the bottom of the working space and the corresponding suspended surface, and each multi-layer support body is in a suspended state and is used for enabling the corresponding suspended surface not to sink during printing;
and the generating module is used for generating a printing file according to the printing path of each multi-layer support body with the set printing speed and each layer of slices of the model to be printed.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the method of generating a 3D printed file according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of generating a 3D print file according to any one of claims 1 to 7.
CN202110997084.0A 2021-08-27 2021-08-27 Method, device, computer equipment and storage medium for generating 3D printing file Active CN113752561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110997084.0A CN113752561B (en) 2021-08-27 2021-08-27 Method, device, computer equipment and storage medium for generating 3D printing file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110997084.0A CN113752561B (en) 2021-08-27 2021-08-27 Method, device, computer equipment and storage medium for generating 3D printing file

Publications (2)

Publication Number Publication Date
CN113752561A true CN113752561A (en) 2021-12-07
CN113752561B CN113752561B (en) 2024-03-15

Family

ID=78791685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110997084.0A Active CN113752561B (en) 2021-08-27 2021-08-27 Method, device, computer equipment and storage medium for generating 3D printing file

Country Status (1)

Country Link
CN (1) CN113752561B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023193797A1 (en) * 2022-04-07 2023-10-12 深圳拓竹科技有限公司 Method and apparatus for 3d printing, and device, storage medium, and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016173064A1 (en) * 2015-04-30 2016-11-03 北京敏速自动控制设备有限公司 3d printing supporting method and system
US20170274600A1 (en) * 2016-03-23 2017-09-28 Canon Kabushiki Kaisha Shaping plate and method for shaping three-dimensional object by using the same
WO2018233866A1 (en) * 2017-06-20 2018-12-27 Amsis Gmbh Method for the additive manufacturing of at least one component, supporting structure or element of a supporting structure, component with the same and installation for carrying out such a method
WO2019062143A1 (en) * 2017-09-30 2019-04-04 浙江大学 Three-dimensional printing method
CN109774116A (en) * 2017-11-14 2019-05-21 上海微电子装备(集团)股份有限公司 A kind of 3D printing device and Method of printing
EP3536445A1 (en) * 2018-03-08 2019-09-11 Mitsubishi Heavy Industries, Ltd. Additive manufacturing method
CN112936870A (en) * 2021-02-01 2021-06-11 深圳市创想三维科技有限公司 3D printing method, supporting structure, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016173064A1 (en) * 2015-04-30 2016-11-03 北京敏速自动控制设备有限公司 3d printing supporting method and system
US20170274600A1 (en) * 2016-03-23 2017-09-28 Canon Kabushiki Kaisha Shaping plate and method for shaping three-dimensional object by using the same
WO2018233866A1 (en) * 2017-06-20 2018-12-27 Amsis Gmbh Method for the additive manufacturing of at least one component, supporting structure or element of a supporting structure, component with the same and installation for carrying out such a method
WO2019062143A1 (en) * 2017-09-30 2019-04-04 浙江大学 Three-dimensional printing method
CN109774116A (en) * 2017-11-14 2019-05-21 上海微电子装备(集团)股份有限公司 A kind of 3D printing device and Method of printing
EP3536445A1 (en) * 2018-03-08 2019-09-11 Mitsubishi Heavy Industries, Ltd. Additive manufacturing method
CN112936870A (en) * 2021-02-01 2021-06-11 深圳市创想三维科技有限公司 3D printing method, supporting structure, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
史玉升,闫春泽,周燕,吴甲民,汪艳,余圣甫著: "《3D打印材料 下》", 武汉:华中科技大学出版社, pages: 288 - 289 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023193797A1 (en) * 2022-04-07 2023-10-12 深圳拓竹科技有限公司 Method and apparatus for 3d printing, and device, storage medium, and program product

Also Published As

Publication number Publication date
CN113752561B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN113580577B (en) 3D printing file generation method, device, computer equipment and storage medium
CN109408001B (en) Multi-model 3D printing method and device, 3D printing equipment and storage medium
CN109863014B (en) Improved additive manufacturing of three-dimensional objects
CN109226759B (en) Scanning path setting method and device for powder-spreading type laser 3D printing and control equipment
US20170337748A1 (en) Three-dimensional data generation device, three-dimensional shaping device, and non-transitory computer readable medium
CN113591300B (en) Method, device, computer equipment and storage medium for generating 3D printing file
CN110100265B (en) Arrangement determination of 3D manufactured parts
CN109532006B (en) Adaptive layer thickness slicing method and printing system
WO2018194630A1 (en) Compensating for shrinking of objects in 3d printing
KR20160110073A (en) Three dimensional printing method and three dimensional printing apparatus
CN108790180B (en) Multi-galvanometer scanning control method and device, computer equipment and storage medium
US20190018908A1 (en) Information processing apparatus, medium, information processing method, and modeling system
EP3159146A1 (en) 3d printing system, method for producing 3d printed object, information processing device, method for generating shrink-resistant structure in 3d object, and program for generating shrink-resistant structure in 3d printed object
CN113752561A (en) 3D printing file generation method and device, computer equipment and storage medium
CN113386356A (en) Method and device for determining printing starting point, computer equipment and storage medium
CN108122267B (en) Filling method and device for redundant metal
WO2023051009A1 (en) Method and apparatus for determining 3d model printing position, a device, and a storage medium
CN106293547A (en) A kind of support automatic generation method printed for 3D
CN110363854A (en) Circular formwork dividing method, device, computer equipment and storage medium
CN109079136B (en) 3D printing method
WO2023098490A1 (en) 3d printed file generation method and apparatus, and terminal and storage medium
WO2023193808A1 (en) Method and apparatus for 3d printing, and device, storage medium and program product
CN113352619B (en) Skirt edge generation method and device for starting position, computer equipment and storage medium
CN110705158A (en) Prediction method, device and equipment for gas-liquid-solid three-phase behavior of selective laser melting
CN108422669B (en) Supporting printing method based on 3D printing process planning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant