CN113752561B - Method, device, computer equipment and storage medium for generating 3D printing file - Google Patents

Method, device, computer equipment and storage medium for generating 3D printing file Download PDF

Info

Publication number
CN113752561B
CN113752561B CN202110997084.0A CN202110997084A CN113752561B CN 113752561 B CN113752561 B CN 113752561B CN 202110997084 A CN202110997084 A CN 202110997084A CN 113752561 B CN113752561 B CN 113752561B
Authority
CN
China
Prior art keywords
layer
slice
support
suspension
support body
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.)
Active
Application number
CN202110997084.0A
Other languages
Chinese (zh)
Other versions
CN113752561A (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

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, a device, a computer device and a storage medium for generating a 3D printing file, wherein the method comprises the following steps: acquiring each suspension surface in a model to be printed; confirming each layer of slice of the multi-layer support body according to each suspended surface and the step height, sequentially decreasing the distance between each layer of support body of each multi-layer support body and the bottom of the working space along with decreasing the distance between each layer of support body of each multi-layer support body and the area where the connected unsettled surface is located to form a step structure, confirming the printing path of the multi-layer support body according to each layer of slice of the multi-layer support body, and setting the printing speed of the suspended area of each layer of support body so as to enable continuous cooling forming during printing; and generating a printing file according to the printing path of each multi-layer support and each layer slice of the model to be printed. The multilayer is utilized to support the suspended surface, and the suspended area of each layer of supporting body can be continuously cooled and formed during printing, so that the probability of sinking of the suspended surface is reduced, the supporting volume is reduced, the consumed material for supporting is reduced, and the printing speed is increased.

Description

Method, device, computer equipment and storage medium for generating 3D printing file
Technical Field
The present disclosure relates to the field of 3D printing technologies, and in particular, to a method and apparatus for generating a 3D print file, a computer device, and a storage medium.
Background
Three-dimensional (3D) printing technology is increasingly applied to the field of computer digital technology, and 3D printing is to firstly slice a model and generate a slice file, and then print a layer of adhesive material according to the slice file to manufacture a three-dimensional object. Because of the diversity of the model, some positions of the model can be suspended, namely the lower parts of some positions are unsupported, and the problem that the unsupported positions can sink during printing can occur, so that the suspended positions are usually required to be additionally supported; the existing method for adding the support is that vertical supports are generated from the position points needing to be added to the support on the model to the bottom of the working space or the position on the model below the position points needing to be added, but the generated supports are more, so that the printing speed is influenced, and the waste of printing materials is caused.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, computer device, and storage medium for generating a 3D print file.
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; according to the suspended surfaces and the step heights, determining each layer of slice of the multi-layer support body corresponding to each suspended surface; wherein, each layer of support body of each layer of support body is gradually decreased along with the decrease of the distance of the area where the unsettled surface connected with the corresponding layer of support body is located, and the distance between the unsettled surface and the bottom of the working space is sequentially decreased to form a step structure; confirming a printing path of each multi-layer support according to each layer slice of the multi-layer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multi-layer support so as to enable the suspension area of each layer support in each multi-layer support to be continuously cooled and molded when printing along the printing path at the printing speed; the suspension area of each layer of support body is the area between the surface farthest from the bottom of the working space and the corresponding suspension surface in each layer of support body, which is the same as the suspension surface projection of each layer of support body, and each layer of support body is in a suspension state and is used for preventing the corresponding suspension surface from sinking during printing; and generating a print file according to the print path of each multi-layer support body with the set print speed and each layer slice of the model to be printed.
The embodiment of the application provides a generating device of a 3D printing file, which comprises the following steps: the acquisition module is used for acquiring each suspension surface in the model to be printed; the confirming module is used for confirming each layer of slice of the multi-layer support body corresponding to each suspended surface according to the suspended surface and the step height; wherein, each layer of support body of each layer of support body is gradually decreased along with the decrease of the distance of the area where the unsettled surface connected with the corresponding layer of support body is located, and the distance between the unsettled surface and the bottom of the working space is sequentially decreased to form a step structure; the speed setting module is used for confirming the printing path of each multi-layer support body according to each layer slice of the multi-layer support body corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support body in each multi-layer support body so as to enable the suspension area of each layer support body in each multi-layer support body to be continuously cooled and molded when being printed along the printing path at the printing speed; the suspension area of each layer of support body is the area between the surface farthest from the bottom of the working space and the corresponding suspension surface in each layer of support body, which is the same as the suspension surface projection of each layer of support body, and each layer of support body is in a suspension state and is used for preventing the corresponding suspension surface from sinking during printing; and the generation module is used for generating a print file according to the print path of each multi-layer support body with the set print speed and each layer slice 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 method for generating the 3D printing file when executing the computer program.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, the computer program realizing the method for generating the 3D printing file when being executed by a processor.
In addition, the determination mode of the furthest layer support body contacted with the corresponding suspension surface in each multi-layer support body is as follows: traversing each suspension surface to obtain an unsettled surface which is at the same height as the suspension surface traversed currently; judging whether an intersection point exists between the currently traversed suspension surface and an unsettled surface which is at the same height as the currently traversed suspension surface, if so, confirming a target slice which is in contact with the currently traversed suspension surface in the multi-layer support body corresponding to the currently traversed suspension surface, if not, confirming a support subarea according to the currently traversed suspension surface, connecting the currently traversed suspension surface with the unsettled surface which is at the same layer number as the currently traversed suspension surface to obtain a connection subarea, and confirming the target slice which is in contact with the currently traversed suspension surface in the multi-layer support body corresponding to the currently traversed suspension surface; and according to the target slice and the step height, confirming the furthest layer of support body contacted with the currently traversed suspension surface. By the method, the obtained furthest layer support body can be completely supported to the suspension surface, so that the generated multilayer support body is more reasonable.
In addition, the length of each line parallel to the decreasing direction in the suspension area of each layer of support body is not more than the limit length formed when the printing consumable is in suspension printing; the decreasing direction refers to the decreasing direction of the distance between the areas where the unsettled surfaces of the supporting bodies of each layer are connected with the corresponding multi-layer supporting bodies. When confirming each layer of support body of each multi-layer support body, considering the ultimate length of printing consumables formed during suspended printing, each layer of support body of each multi-layer support body can be more reasonable, and accordingly the probability of sinking of the multi-layer support body is reduced.
In addition, the method for confirming the printing path of each multi-layer support according to each layer slice of the multi-layer support corresponding to each suspension surface comprises the following steps: traversing each suspension surface, confirming a target slice in contact with the currently traversed suspension surface in a multi-layer support body corresponding to the currently traversed suspension surface, acquiring an intersection point of the target slice and a contour of an unsettled surface at the same height as the target slice, and judging whether a point on the target slice comprises a target point, 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 unsettled 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 furthest slice and the contour of the unsettled surface at the same height as the furthest 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 outline of the unsettled 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 support 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 setting, for each layer of slice of the multilayer support, a printing starting point of the first support region of the slice of the multilayer support, which is set by taking an intersection point of a first support region of the slice of the multilayer support and a contour of an unsettled surface at the same height as the slice of the multilayer support as a printing starting point of the first support region of the slice of the multilayer support, and then printing a second support region of the slice of the multilayer support, which is set by taking an intersection point of the first support region of the slice of the multilayer support, the contour of the unsettled surface at the same height as the slice of the support, and a second support region of the slice of the support as a printing starting point of the second support region of the slice of the multilayer support, so as to obtain a printing path of the multilayer support corresponding to the current traversed unsettled surface. By the method, the printing starting point of the first support area and the printing starting point of the second support area are reasonable acting points, and the printing path generated from the reasonable acting points is reasonable, so that the sinking probability of the multilayer support body is further reduced.
In addition, the obtaining each suspension surface in the model to be printed includes: layering and slicing the model to be printed to obtain each layer of slices; 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 slice of the model to be printed is 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 n th layer slice, acquiring each suspension 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 n th layer slice. The suspended surfaces obtained through calculation are accurate, the exclusive OR operation is simple, and the suspended surfaces 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 suspension surface traversed currently is located. The finally generated multilayer support body is required to support the suspension area where the suspension surface is located, so that the step height determined according to the height of the suspension area is reasonable, and the probability of sinking at 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 consumable. Since the printing speed is set so that the support area is continuously formed by cooling during printing, and the cooling forming is related to the freezing point of the printing consumable, the printing speed confirmed by the freezing point of the printing consumable is more reasonable.
According to the method, the device, the computer equipment and the storage medium, due to the diversity of the shapes of the suspension surfaces, the supports corresponding to the suspension surfaces are arranged to be the multi-layer support bodies with the step structures, the suspension surfaces are supported by the multiple layers, the sinking probability of the suspension surfaces is reduced, the suspension areas of the steps in the multiple layers of support bodies can be continuously cooled and formed when printing at the set printing speed, namely, the sinking probability of the multiple layers of support bodies is reduced, so that the sinking probability of the suspension surfaces corresponding to the multiple layers of support bodies is further reduced, in addition, due to the fact that the multiple layers of support bodies are in a suspension state, compared with the fact that vertical supports are generated to the bottom of a working space or the position of the model below the position points where the supports are needed to be added, the size of the supports is reduced, materials consumed by the supports are reduced, and the printing speed is improved.
Drawings
Fig. 1 is a flowchart of a method for generating a 3D print file according to a first embodiment of the present application;
FIG. 2 is a schematic diagram 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 of the first embodiment of the present application;
FIG. 4 is a flowchart of one specific implementation of step 101 in the first embodiment of the present application;
FIG. 5 is a schematic view 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 multi-layer support corresponding to a suspension surface b in the first embodiment of the present application;
FIG. 7 is a top view of a multi-layered support according to a first embodiment of the present application;
FIG. 8 is a top view of another multi-layered support in a first embodiment of the present application;
FIG. 9 is a specific flow chart of a determination method of the farthest layer support body contacting the corresponding suspending surface in each of the multiple layer supports according to the first embodiment of the present application;
FIG. 10 is a schematic view of a first embodiment of the present application including a target slice with a suspended surface b in contact and a target slice with a suspended surface c in contact;
FIG. 11 is a flowchart of a specific implementation manner for confirming a print path of each multi-layer support according to each slice of each multi-layer support corresponding to each suspension surface according to the first embodiment of the present application;
fig. 12 is a top view of a suspended surface a according to a first embodiment of the present application;
FIG. 13 is a schematic illustration 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 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 a suspended surface b according to a first embodiment of the present application;
fig. 16 is a schematic structural view of a print file 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 will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The first embodiment of the application relates to a method for generating a 3D print file, which is applied to a computer device, such as: computers, cell phones, etc. As shown in fig. 1, a flowchart of a method for generating a 3D print file according to the present embodiment includes:
step 101, obtaining each suspension surface in the model to be printed.
Specifically, after the slicing software in the computer device receives the imported model to be printed, the model to be printed is placed on a working space, wherein the working space refers to a space formed by a printing platform of a printer for printing the model to be printed in the slicing software, the space comprises an x-axis direction, a y-axis direction and a z-axis direction, and the bottom of the working space refers to a plane formed by the x-axis and the y-axis. The suspended surface in the model to be printed refers to the surface, close to the working space, of the part of the slice which is not in contact with the working space and is not provided with other slices below, and the non-suspended surface refers to the surface, close to the working space, of the part of the slice which is not in contact with the working space and is provided with other slices below, namely the non-suspended surface except the suspended surface, 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, the model to be printed is divided into A, B, C, D areas for convenience of description, wherein a, b, c, d in the figure is the suspended surface, and i and j in the figure are the non-suspended surfaces.
In one example, a flowchart for acquiring each suspension surface in the model to be printed is shown in fig. 4, and includes:
and step 1011, slicing the model to be printed in layers to obtain slices of each layer.
Step 1012, performing an exclusive OR operation on the projection of the nth slice and the projection of the (n+1) th slice; wherein n is a positive integer.
Step 1013, if the result of the operation is that the projection of the (n+1) th slice is greater than the projection of the n th slice, each suspension surface of the model to be printed is obtained according to the difference between the projection of the (n+1) th slice and the projection of the n th slice.
Specifically, after the slicing software in the computer equipment receives the imported model to be printed, the model to be printed is horizontally layered sliced, and it can be known that the included angle between the direction of the horizontally layered slice and the horizontal plane is zero; and slicing the model to be printed in layers 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, 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, the area in the nth layer corresponding to the projected difference value is a suspension surface, each suspension surface is obtained according to connectivity, and if the operation result is that the projection of the (n+1) th layer slice is smaller than or equal to the projection of the nth layer slice, the (n+1) th layer does not have the suspension surface; since the first slice is in contact with the working space and no support is needed, whether a suspension surface exists or not is confirmed from the layer 2, exclusive OR operation is carried out on the projection of the layer 1 slice and the projection of the layer 2 slice, if the operation result is that the projection of the layer 2 slice is larger than the projection of the layer 1 slice, the area in the layer 2 corresponding to the projection difference is the suspension surface, if the operation result is that the projection of the layer 2 slice is smaller than or equal to the projection of the layer 1 slice, the suspension surface does not exist on the layer 2, and the confirmation is carried out according to the method until the value of (n+1) is the layer number of the highest layer slice. As shown in fig. 5, the schematic diagram of the projection of the nth layer slice and the projection of the (n+1) th layer slice is shown, the ellipse is the projection of the (n+1) th layer slice, the rectangle is the projection of the nth layer slice, the projections of the two layers of slices are subjected to exclusive or operation, the difference value between the projection of the (n+1) th layer slice and the projection of the nth layer slice is obtained in the shadow area in the two layers of slices, the shadow area on the left side is known to be a suspension surface according to connectivity, the shadow area on the upper side is known to be a suspension surface, the shadow area on the lower side is known to be a suspension surface, and the shadow area on the right side is known to be a suspension surface. The suspended surfaces obtained through calculation are accurate, the exclusive OR operation is simple, and the suspended surfaces can be obtained through calculation quickly.
In one example, since the user can know each dangling surface in the model to be printed by observing, after the user directly selects each dangling surface on the model to be printed, the computer device receives the selection of the user, and acquires each dangling surface in the model to be printed. By the method, the computer equipment can obtain each suspension surface without corresponding calculation, and the operation load of the computer equipment is reduced.
Step 102, confirming each layer of slice of the multi-layer support body corresponding to each suspended surface according to the suspended surface and the step height; the distance between each layer of support body of each layer of support body and the bottom of the working space is gradually decreased along with the decrease of the distance between the area where the unsettled surface connected with the corresponding layer of support body is located, so that a step structure is formed.
Specifically, the step height refers to the thickness of each layer of support body, each suspension surface corresponds to one layer of support body, according to the suspension surface, a target slice in contact with the suspension surface in the layer of support body corresponding to the suspension surface can be determined, the position of the target slice is a first position, the target slice moves to the position close to the bottom of the working space to obtain a second position, the area formed by the first position and the second position is the furthest layer of support body in contact with the corresponding suspension surface, then the distance between each layer of support body and the bottom of the working space is sequentially decreased to form a step structure according to the decrease of the distance between each layer of support body and the area of the non-suspension surface connected with the corresponding layer of support body, so that other support bodies in the layer of support body can be determined, and the multilayer support body with the step structure is obtained, as shown in figure 6, the front view of the model to be printed comprising the multilayer support body corresponding to the suspension surface b, the shadow area is a suspension area of each layer of support, wherein the step structure below the suspension surface b is a multilayer support corresponding to the suspension surface b, the multilayer support corresponding to the suspension surface b shown in fig. 6 comprises 3 layers, and may also comprise 4 layers, 5 layers, etc. in other embodiments, the multilayer support in fig. 6 is sequentially called a third layer support, a second layer support and a first layer support from top to bottom, the distance between the area of the third layer support connected with the corresponding multilayer support and the area of the second layer support connected with the corresponding multilayer support and the area of the first layer support and the corresponding multilayer support and the area of the third layer support connected with the corresponding multilayer support and the first layer support and the second layer support from top to bottom, the distance between the third layer of supporting bodies and the bottom of the working space is larger than that between the second layer of supporting bodies and the bottom of the working space, and the distance between the second layer of supporting bodies and the bottom of the working space is larger than that between the first layer of supporting bodies and the bottom of the working space, namely the distance between each layer of supporting bodies and the bottom of the working space is gradually decreased along with the decrease of the distance between each layer of supporting bodies and the area where the unsettled surface connected with the corresponding multi-layer supporting bodies is located, so that a step structure is formed; after the multi-layer support is obtained, slicing the multi-layer support according to the thickness of the slice to obtain each layer slice of the multi-layer support. It should be noted that, the shape of each layer of support body is not limited, and only the distance between each layer of support body and the bottom of the working space is gradually decreased to form a step structure according to the decrease of the distance between each layer of support body and the area where the unsettled surface connected with the corresponding layer of support body is located, as shown in fig. 7, a top view of one layer of support body is shown, as shown in fig. 8, a top view of another layer of support body is shown.
In one example, a specific flowchart of a method for determining the furthest layer of the multi-layer supports that is in contact with the corresponding suspended surface is shown in fig. 9, and includes:
step 1021, traversing a floating surface.
Step 1022, obtaining the unsettled surface at the same height as the unsettled surface currently traversed.
Specifically, according to the height of the currently traversed suspension surface, any non-suspension surface which is at the same height as the currently traversed suspension surface is obtained, wherein the height of the currently traversed suspension surface refers to the distance from a point on the suspension surface to the bottom of a working space; taking fig. 2 and fig. 3 as an example, the suspension plane currently traversed is suspension plane a, any one of the non-suspension planes at the same height as suspension plane a is obtained as non-suspension plane i or non-suspension plane j, and so on.
In one example, the unsettled surface closest to the current traversed unsettled surface at the same height may be obtained, and as illustrated in fig. 2 and 3, the current traversed unsettled surface is a unsettled surface a, and the unsettled surface closest to the unsettled surface a at the same height is an unsettled surface i. In this case, the print path of the support area can be shortened, thereby improving the print speed of the model to be printed.
Step 1023, judging whether an intersection point exists between the currently traversed floating surface and the unsettled surface which is at the same height as the currently traversed floating surface. If yes, go to step 1024 and then go to step 1026, if not, go to step 1025 and then go to step 1026.
Step 1024, according to the currently traversed floating surface, determining the target slice in the multi-layer support body corresponding to the currently traversed floating surface, which is contacted with the currently traversed floating surface.
And step 1025, confirming the support subarea 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 subarea, and confirming the target slice which is in contact with the currently traversed suspension surface in the multi-layer support body corresponding to the currently traversed suspension surface according to the support subarea and the connection subarea.
Specifically, due to the diversity of the model, there may or may not be a connection between the suspended surface and the non-suspended surface at the same height as the suspended surface, and whether there is a connection between the suspended surface and the non-suspended surface at the same height as the suspended surface may be determined by whether there is an intersection point between the suspended surface and the non-suspended surface at the same height as the suspended surface.
If there is an intersection point between the currently traversed suspension surface and the unsettled surface at the same height as the currently traversed suspension surface, then there is a connection between the currently traversed suspension surface and the unsettled surface at the same height as the currently traversed suspension surface, as in fig. 2 and 3, there is a connection between suspension surface a and unsettled surface i at the same height as suspension surface a, at this time, according to the currently traversed suspension surface, the shape of the currently traversed suspension surface can be confirmed, since the multilayer support corresponding to the suspension surface needs to enable the corresponding suspension surface not to sink during printing, the shape of the furthest layer support of the multilayer support needs to be not less than the shape of the currently traversed suspension surface, namely, the shape of the target slice in the multilayer support, which is in contact with the currently traversed suspension surface, can be the same as the shape of the suspension surface, also can be the shape of the suspension surface, and the intersection point between the target slice and the unsettled surface at the same height as the suspension surface a comprises the suspension surface and the unsettled surface at the same height, that is, the intersection point on the current traversed surface is the multilayer support surface, the shape of the multilayer support is the current suspension surface, the shape of the multilayer support is confirmed from the current suspension surface, and the object slice is the point on the multilayer support. As shown in fig. 10, a schematic diagram of a target slice including a target slice contacted by a suspension surface b and a target slice contacted by a suspension surface c is shown, wherein an intersection point exists between the suspension surface b and an unsettled surface of the same height of the suspension surface b, and the target slice contacted by the suspension surface b is obtained as a rectangle XYZW.
If there is no intersection point between the currently traversed suspension surface and the non-suspension surface at the same height as the currently traversed suspension surface, there is no connection between the currently traversed suspension surface and the non-suspension surface at the same height as the currently traversed suspension surface, as in fig. 2 and 3, there is no connection between the suspension surface c and the non-suspension surface at the same height, but the multi-layer support needs to be generated from the point on the non-suspension surface, so the support subarea is confirmed according to the currently traversed suspension surface, and the shape of the support subarea needs to be not less than the currently traversed suspension surface because the multi-layer support corresponding to the suspension surface needs to be not sunk when printing, i.e. the shape in the support subarea can be the same as the shape of the currently traversed suspension surface or can be the suspension surface including the currently traversed suspension surface; connecting the currently traversed suspension surface with the unsettled surface with the same layer number as the currently traversed suspension surface to obtain a connection sub-region, wherein the size of the connection sub-region can be set according to actual needs, and an arc line and/or a straight line exist in the line of the edge of the connection sub-region; and acquiring an area formed by the union of the support sub-area and the connection sub-area, and confirming that a target slice contacted with the currently traversed suspended surface in the multi-layer support body corresponding to the currently traversed suspended surface is not smaller than the area formed by the union. As shown in fig. 10, the non-suspended surface with the suspended surface c at the same height has no intersection point, and the target slice contacting with the suspended surface c is obtained as a rectangle EFGH. In one example, the maximum value in the intersecting line of the support sub-region and the connection sub-region is equal to the maximum value in the line parallel to the intersecting line in the suspension surface traversed currently, which can make the printing path simpler.
In one example, connecting the currently traversed suspended surface with the unsettled surface with the same layer number as the currently traversed suspended surface to obtain a connection sub-region includes: and connecting the currently traversed suspension surface with the unsettled surface with the same layer number as the currently traversed suspension surface in a straight line to obtain the connection sub-region. By such a method, since the lines connecting the edges of the sub-areas are connected in a straight line, the printing path is short when printing the sub-areas, and thus the printing path of the supporting area is shortened, and the printing speed can be increased.
Step 1026, according to the target slice and step height, identifying the furthest layer support in contact with the currently traversed flying surface.
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 the area formed by the first position and the second position is the furthest layer support body contacted with the currently traversed suspension 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 suspension surface traversed currently is located. The finally generated supporting area is a suspending area where the suspending surface is required to be supported, so that the step height determined according to the height of the suspending area is reasonable, and the probability of sinking at the printing unsupported position is further reduced.
In one example, the length of each line parallel to the decreasing direction in the suspension area of each layer of support body is not more than the limit length of the printing consumable material formed during suspension printing; the decreasing direction refers to the decreasing direction of the distance between the areas where the unsettled surfaces of the supporting bodies of each layer are connected with the corresponding multi-layer supporting bodies.
Specifically, when the printing consumable is in suspension printing, i.e. there is no support below, and the printing consumable has a formed limit length, beyond which the probability of sinking of the printing consumable increases, for example: when the printing consumable is Polylactic acid (PLA) material, the ultimate length of the PLA material formed during suspended printing is 50mm. The suspension area of each layer of support body is the same as the suspension surface projection of each layer of support body and is the area between the surface farthest from the printing platform and the corresponding suspension surface in each layer of support body, as shown in fig. 6, is a front view of a model to be printed of each layer of support body corresponding to the suspension surface b, the shadow area is the suspension area of each layer of support body, and the length of each line parallel to the decreasing direction in the suspension area of each layer of support body is not greater than the ultimate length formed during suspension printing of printing consumables, wherein the decreasing direction refers to the decreasing direction of the distance between the non-suspension surface where each layer of support body is connected with the corresponding layer of support body, namely, the direction from right to left in fig. 6, so that the probability of sinking occurs when each line of the suspension area of each layer of support body is printed is lower, namely, the ultimate length formed during suspension printing consumables is considered when each layer of support body of each layer of support body is confirmed, each layer of support body of each layer of support body can be more reasonable, and the probability of sinking occurs of each layer support body of multilayer support body is reduced.
In one example, the length of each line parallel to the decreasing direction in the suspension area of each layer of support is equal to the limit length of the printing consumable material formed during suspension printing; the decreasing direction refers to the decreasing direction of the distance between the areas where the unsettled surfaces of the supporting bodies and the corresponding multi-layer supporting bodies are connected, so that the volume of each multi-layer supporting body can be reduced on the premise that the sinking probability of the multi-layer supporting bodies is reduced, and the printing speed is improved.
Step 1027, if the suspended surface is traversed, step 1029 is entered, if not, step 1028 is entered, and step 1022 is entered.
Step 1028, traversing the next suspended surface.
Step 1029, obtaining the furthest layer of the multi-layer supports contacted with the corresponding suspending surface.
By the method, the furthest layer support body of each multi-layer support body is simpler, and the printed file can be generated faster.
Step 103, confirming the printing path of each multi-layer support according to each layer slice of the multi-layer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multi-layer support so as to enable the suspension area of each layer support in each multi-layer support to be continuously cooled and molded when printing along the printing path at the printing speed; the suspension area of each layer of support body is the area between the surface farthest from the bottom of the working space and the corresponding suspension surface in each layer of support body, which is the same as the suspension surface projection of each layer of support body, and each layer of support body is in a suspension state and is used for preventing the corresponding suspension surface from sinking during printing.
Specifically, the description is made taking the case that PLA consumable material and a nozzle with a diameter of 0.4mm move at a speed of 10mm/s as an example, at such a speed, PLA consumable material extruded from the nozzle is not continuously cooled to form consumable material or molten state, if there is no support at this time, PLA consumable material in molten state will sink, and since there are suspended areas and unsettled areas of each layer of support in each layer of support, when printing is performed at a normal speed of the nozzle, the suspended areas of each layer of support in each layer of support will sink, that is, the suspended areas of each layer of support cannot be parallel to a hot bed, so that the suspended surface above each layer of support will sink at the time of printing, in order to make each layer of support formed parallel to the hot bed, it is necessary to set the printing speed of the suspended areas of each layer of support in each layer of support, so that the probability of sinking each layer of support is reduced when printing along a printing path at the set printing speed, wherein the suspended areas of each layer of support in each layer of support with a diameter of 0.4mm can be set at the printing speed of 5 mm.
In one example, the printing speed of each of the plurality of layers of support bodies may be directly set so that each of the plurality of layers of support bodies is continuously cooled and molded while 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 consumable. Since the printing speed is set so that the support area is continuously formed by cooling during printing, and the cooling forming is related to the freezing point of the printing consumable, the printing speed confirmed by the freezing point of the printing consumable is more reasonable.
In one example, a specific flowchart for confirming the print path of each multilayer support according to each layer slice of the multilayer support corresponding to each suspended surface is shown in fig. 11, and includes:
step 1031, traversing a flying surface.
Step 1032, determining a target slice in the multi-layer support corresponding to the currently traversed suspended surface, which is in contact with the currently traversed suspended surface, obtaining an intersection point of the target slice and a contour of an unsettled surface at the same height as the target slice, and determining whether a point on the target slice includes a target point, wherein an ordinate of the target point does not belong to a subset of an ordinate of the intersection point of the target slice and the contour of the unsettled surface at the same height as the target slice, and/or an abscissa of the target point does not belong to a subset of an abscissa of the intersection point of the target slice and the contour of the unsettled surface at the same height as the target slice. If yes, go to step 1033, then go to step 1034, and if not, go to step 1035.
Specifically, since the working space includes the x-axis direction, the y-axis direction and the z-axis direction, the coordinates of the points on the model to be printed and the supporting area located on the working space can be determined, so that the target slice in contact with the currently traversed suspended surface in the multi-layer supporting body corresponding to the currently traversed suspended surface can be obtained, the coordinates of the points on the contour of the non-suspended surface with the same layer number as the target slice are the coordinates of the points on the contour of the non-suspended surface with the same layer number as the target slice, if the ordinate of the target point does not belong to a subset of the ordinate of the point of the intersection of the target slice and the contour of the non-suspended surface with the same layer number as the target slice, and/or if the abscissa of the target point does not belong to a subset of the abscissa of the intersection of the target slice and the contour of the non-suspended surface with the same layer number as the target slice, the target point on the target slice is included.
Step 1033, 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 outline of the unsettled surface at the same height as the target slice, and confirming the first supporting area and the second supporting area of each slice of the multi-layer support 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, setting, for each layer slice of the multi-layer support, a printing start point of the first support region of the slice of the multi-layer support, which is set by using an intersection point of a first support region of the slice of the multi-layer support and a contour of an unsettled surface at the same height as the slice of the multi-layer support, printing the first support region of the slice of the multi-layer support, and then printing a second support region of the slice of the multi-layer support, which is set by using an intersection point of the first support region of the slice of the multi-layer support, the contour of the unsettled surface at the same height as the slice of the support, and a second support region of the slice of the multi-layer support, as a printing start point of the second support region of the slice of the support region, to obtain a printing path of the multi-layer support corresponding to the unsettled surface currently traversed.
Specifically, taking the suspended surface a in fig. 2 and 3 as an example, as shown in fig. 12, the suspended surface a is a top view of the suspended surface a, at this time, the suspended surface a is a target slice, the intersection point of the contours of the target slice a and the non-suspended surface with the same layer number as the target slice a is the point on the side mh and the side gf, and since the ordinate of the point on the region formed by eph on the target slice a does not belong to the subset of the ordinate of the point on the side mh and the side gf, and the abscissa of the point on the region formed by eph on the target slice a does not belong to the subset of the abscissa of the point 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 supporting area and a second supporting area according to points on sides mh and gf which are intersection points of the target slice a and the contour of the unsettled surface at the same height as the target slice a, wherein the second supporting area of the target slice a comprises a target point, as shown in fig. 13, a schematic view of a target slice dividing the first supporting area and the second supporting area, wherein a shadow part is the first supporting area, as shown in fig. 14, a schematic view of another target slice dividing the first supporting area and the second supporting area, wherein the shadow part is the first supporting area.
After the first support region and the second support region of the target slice a are obtained, a dividing line of the first support region and the second support region may be obtained, and the multi-layer support body may be cut from the dividing line, so that the first support region and the second support region of each layer slice of the multi-layer support body may be obtained. For each layer of slice of the multi-layer support, taking slice a of the multi-layer support as an example, as shown in fig. 13, obtaining the point on side mh of the intersection point of the first support area of slice a and the contour of the unsettled surface at the same height as slice a, selecting any one point on side mh as the printing starting point of the first support area of slice a, printing the first support area of slice a, after printing the first support area of slice a, obtaining the intersection point of the first support area of slice a, the contour of the unsettled surface at the same height as slice a and the second support area of slice of the multi-layer support, namely, the point on side og, selecting any one point on side og as the printing starting point of the second support area of slice a, printing the second support area of slice a, setting according to the above, and obtaining the printing path of slice a.
Step 1035, for each slice of the multi-layer support, setting an intersection point of the slice of the multi-layer support and the contour of the unsettled surface at the same height as the slice of the multi-layer support as a printing starting point, and printing the slice of the multi-layer support to obtain a printing path of the multi-layer support corresponding to the unsettled surface traversed currently.
Specifically, taking the suspended surface b in fig. 2 and 3 as an example, as shown in fig. 15, the suspended surface b is a top view of the suspended surface b, where the suspended surface b is a target slice, the intersection point of the contour of the non-suspended surface at the same height as the target slice b is obtained as a point on the side sx, where the ordinate of the point on the region sxyt formed by the target slice b belongs to a subset of the ordinate of the point on the side sx, and the abscissa of the point on the region sxyt formed by the target slice b belongs to a subset of the abscissa of the point on the side sx, and then the point on the target slice b does not include the target point.
For each slice of the multi-layer support, as shown in fig. 15, the intersection point of the slice b and the contour of the unsettled surface at the same height as the slice b is obtained as a point on the edge sx, any one point on the edge sx is selected as the printing starting point of the slice b, the slice b is printed, the print path of the slice b can be obtained by setting according to the above, each slice of the multi-layer support corresponding to the unsettled surface traversed at present is set according to the above, and the print path of the multi-layer support corresponding to the unsettled surface traversed at present can be obtained.
Step 1036, if all the suspended surfaces are traversed, go to step 1038. If not, go to step 1037 and then go to step 1032.
Step 1037, traversing the next dangling surface.
Step 1038, obtaining the printing path of the multi-layer support corresponding to each suspension surface.
By the method, the printing starting point of the first support area and the printing starting point of the second support area are reasonable acting points, and the printing path generated from the reasonable acting points is reasonable, so that the sinking probability of the multilayer support body is further reduced.
And 104, generating a print file according to the print paths of the multi-layer supports with the set print speed and the slices of the layers of the model to be printed.
Specifically, each slice of the model to be printed is obtained by horizontally layering the model to be printed, and at the moment, the gcode instruction of each slice of the model to be printed can be known; since there may be intersections between the points on each of the plurality of layers of support bodies with the set printing speed and the points on each of the layers of slices of the model to be printed, the points on each of the plurality of layers of support bodies are reserved for the points in the intersections, that is, the instruction of the points in the intersections in the gcode instruction of each of the layers of slices is removed, and the printing paths of each of the plurality of layers of support bodies with the set printing speed are added to the gcode instruction of each of the layers of slices of the model to be printed, so that the printing file can be obtained.
In the embodiment, each suspension surface in the model to be printed is obtained; confirming each layer of slice of the multi-layer support body corresponding to each suspended surface according to each suspended surface and the step height, wherein the distance between each layer of support body of each multi-layer support body and the bottom of the working space is sequentially decreased along with the decrease of the distance between the non-suspended surface connected with the corresponding multi-layer support body and the area where the non-suspended surface is located, so as to form a step structure; confirming the printing path of each multi-layer support according to each layer slice of the multi-layer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multi-layer support so as to enable the suspension area of each layer support in each multi-layer support to be continuously cooled and molded when printing along the printing path at the printing speed; the suspension area of each layer of support body is the area between the surface farthest from the bottom of the working space and the corresponding suspension surface in each layer of support body, which is the same as the suspension surface projection of each layer of support body, and each layer of support body is in a suspension state and is used for preventing the corresponding suspension surface from sinking during printing; and generating a print file according to the print paths of the multi-layer supports with the set print speed and the slices of the layers of the model to be printed. Because the shape diversity of unsettled face sets up the support that the unsettled face corresponds into the multilayer supporter of step structure, utilize the multilayer to support unsettled face, the probability that unsettled face appears sinking has been reduced, and the unsettled region of each layer step in each multilayer supporter can the continuous cooling shaping when printing under the printing speed that sets for, promptly reduced the probability that each multilayer supporter appears sinking, thereby further reduced the probability that each unsettled face that corresponds to each multilayer supporter appears sinking, in addition, because each multilayer supporter is in unsettled state, compared to the position to working space bottom or the mould that is located the below of the position point that needs to add the support generates vertical support, the volume of support has been reduced, thereby the material that supports consumed has been reduced and printing speed has been improved.
A second embodiment of the present application relates to a print file generating apparatus, a schematic structural diagram of which is shown in fig. 16, including:
the obtaining module 201 is configured to obtain each suspension surface in the model to be printed.
A confirmation module 202, configured to confirm each slice of the multi-layer support corresponding to each suspended surface according to each suspended surface and the step height; the distance between each layer of support body of each layer of support body and the bottom of the working space is gradually decreased along with the decrease of the distance between the area where the unsettled surface connected with the corresponding layer of support body is located, so that a step structure is formed.
The speed setting module 203 is configured to confirm a printing path of each of the plurality of layers of supports according to each layer slice of the plurality of layers of supports corresponding to each suspension surface, and set a printing speed of a suspension area of each of the plurality of layers of supports, so that the suspension area of each of the plurality of layers of supports is continuously cooled and formed when printing along the printing path at the printing speed; the suspension area of each layer of support body is the area between the surface farthest from the printing platform and the corresponding suspension surface in each layer of support body, which is the same as the suspension surface projection of each layer of support body, and each layer of support body is in a suspension state and is used for preventing the corresponding suspension surface from sinking during printing.
The generating module 204 is configured to generate a print file according to the print path of each multi-layer support with the set print speed and each slice of the model to be printed.
In one example, the furthest layer of each of the plurality of layers of support bodies in contact with the corresponding suspended surface is determined as follows: traversing each suspension surface to obtain an unsettled surface which is at the same height as the suspension surface traversed currently; judging whether an intersection point exists between the currently traversed suspension surface and an unsettled surface which is at the same height as the currently traversed suspension surface, if so, confirming a target slice which is in contact with the currently traversed suspension surface in the multi-layer support body corresponding to the currently traversed suspension surface, if not, confirming a support subarea according to the currently traversed suspension surface, connecting the currently traversed suspension surface with the unsettled surface which is at the same layer number as the currently traversed suspension surface to obtain a connection subarea, and confirming the target slice which is in contact with the currently traversed suspension surface in the multi-layer support body corresponding to the currently traversed suspension surface; and according to the target slice and the step height, confirming the furthest layer of support body contacted with the currently traversed suspension surface.
In one example, the length of each line parallel to the decreasing direction in the suspension area of each layer of support body is not more than the limit length of the printing consumable material formed during suspension printing; the decreasing direction refers to the decreasing direction of the distance between the areas where the unsettled surfaces of the supporting bodies of each layer are connected with the corresponding multi-layer supporting bodies.
In one example, the identifying the print path of each of the plurality of layers of supports according to each layer slice of the plurality of layers of supports corresponding to each of the suspended surfaces includes: traversing each suspension surface, confirming a target slice in contact with the currently traversed suspension surface in a multi-layer support body corresponding to the currently traversed suspension surface, acquiring an intersection point of the target slice and a contour of an unsettled surface at the same height as the target slice, and judging whether a point on the target slice comprises a target point, 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 unsettled 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 furthest slice and the contour of the unsettled surface at the same height as the furthest 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 outline of the unsettled 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 support 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 setting, for each layer of slice of the multilayer support, a printing starting point of the first support region of the slice of the multilayer support, which is set by taking an intersection point of a first support region of the slice of the multilayer support and a contour of an unsettled surface at the same height as the slice of the multilayer support as a printing starting point of the first support region of the slice of the multilayer support, and then printing a second support region of the slice of the multilayer support, which is set by taking an intersection point of the first support region of the slice of the multilayer support, the contour of the unsettled surface at the same height as the slice of the support, and a second support region of the slice of the support as a printing starting point of the second support region of the slice of the multilayer support, so as to obtain a printing path of the multilayer support corresponding to the current traversed unsettled surface.
In one example, the obtaining each suspension surface in the model to be printed includes: layering and slicing the model to be printed to obtain each layer of slices; 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 slice of the model to be printed is 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 n th layer slice, acquiring each suspension 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 n th 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 suspension surface traversed currently is located.
In one example, the print speed is confirmed by: and confirming the printing speed according to the freezing point of the printing consumable.
Specific limitations regarding the apparatus may be found in the limitations of the methods above and will not be described in detail herein. Each of the modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above 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, etc. 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 includes a non-volatile 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 the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements 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, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 17 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than 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 which when executed by the processor performs the steps of the method embodiments described above.
A fourth embodiment of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
In one example, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic RandomAccess Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (8)

1. A method for generating a 3D print file, comprising:
acquiring each suspension surface in a model to be printed;
according to the suspended surfaces and the step heights, determining each layer of slice of the multi-layer support body corresponding to each suspended surface; wherein, each layer of support body of each layer of support body is gradually decreased along with the decrease of the distance of the area where the unsettled surface connected with the corresponding layer of support body is located, and the distance between the unsettled surface and the bottom of the working space is sequentially decreased to form a step structure;
confirming a printing path of each multi-layer support according to each layer slice of the multi-layer support corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support in each multi-layer support according to the solidifying point of printing consumables so as to enable the suspension area of each layer support in each multi-layer support to be continuously cooled and molded when printing along the printing path at the printing speed; the suspension area of each layer of support body is the area between the surface farthest from the bottom of the working space and the corresponding suspension surface in each layer of support body, which is the same as the suspension surface projection of each layer of support body, and each layer of support body is in a suspension state and is used for preventing the corresponding suspension surface from sinking during printing;
Generating a print file according to the print path of each multi-layer support body with the print speed set and each layer slice of the model to be printed;
the method for determining the furthest layer of the multi-layer support bodies contacted with the corresponding suspension surface is as follows:
traversing each suspension surface to obtain an unsettled surface which is at the same height as the suspension surface traversed currently;
judging whether an intersection point exists between the currently traversed suspension surface and an unsettled surface which is at the same height with the currently traversed suspension surface, if so, confirming a target slice which is in contact with the currently traversed suspension surface in a multi-layer support body corresponding to the currently traversed suspension surface, if not, confirming a support subarea according to the currently traversed suspension surface, connecting the currently traversed suspension surface with the unsettled surface which is at the same layer number with the currently traversed suspension surface to obtain a connection subarea, and confirming the target slice which is in contact with the currently traversed suspension surface in the multi-layer support body corresponding to the currently traversed suspension surface according to the support subarea and the connection subarea;
and according to the target slice and the step height, confirming the furthest layer of support body contacted with the currently traversed suspension surface.
2. The method for generating a 3D print file according to claim 1, wherein a length of each line parallel to the decreasing direction in the suspension area of each layer of the support body is not more than a limit length of the printing consumable material formed at the time of suspension printing; the decreasing direction refers to the decreasing direction of the distance between the areas where the unsettled surfaces of the supporting bodies of each layer are connected with the corresponding multi-layer supporting bodies.
3. The method for generating a 3D print file according to claim 1, wherein the step of confirming the print path of each of the plurality of layers of supports based on each layer slice of the plurality of layers of supports corresponding to each of the hanging surfaces comprises:
traversing each suspension surface, confirming a target slice in contact with the currently traversed suspension surface in a multi-layer support body corresponding to the currently traversed suspension surface, acquiring an intersection point of the target slice and a contour of an unsettled surface at the same height as the target slice, and judging whether a point on the target slice comprises a target point, 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 unsettled 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 furthest slice and the contour of the unsettled surface at the same height as the furthest 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 outline of the unsettled 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 support 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 setting, for each layer of slice of the multilayer support, a printing starting point of the first support region of the slice of the multilayer support, which is set by taking an intersection point of a first support region of the slice of the multilayer support and a contour of an unsettled surface at the same height as the slice of the multilayer support as a printing starting point of the first support region of the slice of the multilayer support, and then printing a second support region of the slice of the multilayer support, which is set by taking an intersection point of the first support region of the slice of the multilayer support, the contour of the unsettled surface at the same height as the slice of the support, and a second support region of the slice of the support as a printing starting point of the second support region of the slice of the multilayer support, so as to obtain a printing path of the multilayer support corresponding to the current traversed unsettled surface.
4. The method for generating a 3D print file according to claim 1, wherein the obtaining each dangling plane in the model to be printed includes:
layering and slicing the model to be printed to obtain each layer of slices;
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 slice of the model to be printed is 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 n th layer slice, acquiring each suspension 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 n th layer slice.
5. The method of generating a 3D print file according to claim 1, wherein the step height is obtained by:
and determining the step height according to the thickness of the suspension area where the suspension surface traversed currently is located.
6. A generation apparatus of a 3D print file, comprising:
the acquisition module is used for acquiring each suspension surface in the model to be printed;
the confirming module is used for confirming each layer of slice of the multi-layer support body corresponding to each suspended surface according to the suspended surface and the step height; wherein, each layer of support body of each layer of support body is gradually decreased along with the decrease of the distance of the area where the unsettled surface connected with the corresponding layer of support body is located, and the distance between the unsettled surface and the bottom of the working space is sequentially decreased to form a step structure;
The speed setting module is used for confirming the printing path of each multi-layer support body according to each layer slice of the multi-layer support body corresponding to each suspension surface, and setting the printing speed of the suspension area of each layer support body in each multi-layer support body so as to enable the suspension area of each layer support body in each multi-layer support body to be continuously cooled and molded when being printed along the printing path at the printing speed; the suspension area of each layer of support body is the area between the surface farthest from the bottom of the working space and the corresponding suspension surface in each layer of support body, which is the same as the suspension surface projection of each layer of support body, and each layer of support body is in a suspension state and is used for preventing the corresponding suspension surface from sinking during printing;
the generation module is used for generating a printing file according to the printing paths of the multi-layer supports with the printing speed set and the slices of each layer of the model to be printed;
the method for determining the furthest layer of the multi-layer support bodies contacted with the corresponding suspension surface is as follows:
traversing each suspension surface to obtain an unsettled surface which is at the same height as the suspension surface traversed currently;
judging whether an intersection point exists between the currently traversed suspension surface and an unsettled surface which is at the same height with the currently traversed suspension surface, if so, confirming a target slice which is in contact with the currently traversed suspension surface in a multi-layer support body corresponding to the currently traversed suspension surface, if not, confirming a support subarea according to the currently traversed suspension surface, connecting the currently traversed suspension surface with the unsettled surface which is at the same layer number with the currently traversed suspension surface to obtain a connection subarea, and confirming the target slice which is in contact with the currently traversed suspension surface in the multi-layer support body corresponding to the currently traversed suspension surface according to the support subarea and the connection subarea;
And according to the target slice and the step height, confirming the furthest layer of support body contacted with the currently traversed suspension surface.
7. 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 print file according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the 3D print file generating method according to any one of claims 1 to 5.
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 CN113752561A (en) 2021-12-07
CN113752561B true 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)

Families Citing this family (1)

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

Citations (6)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10933619B2 (en) * 2016-03-23 2021-03-02 Canon Kabushiki Kaisha Shaping plate and method for shaping three-dimensional object by using the same

Patent Citations (6)

* 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
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打印材料 下》.武汉:华中科技大学出版社,2019,288-289. *

Also Published As

Publication number Publication date
CN113752561A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN113580577B (en) 3D printing file generation method, device, computer equipment and storage medium
CN109863014B (en) Improved additive manufacturing of three-dimensional objects
US20170337748A1 (en) Three-dimensional data generation device, three-dimensional shaping device, and non-transitory computer readable medium
CN109226759B (en) Scanning path setting method and device for powder-spreading type laser 3D printing and control equipment
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
CN113752561B (en) Method, device, computer equipment and storage medium for generating 3D printing file
US20190018908A1 (en) Information processing apparatus, medium, information processing method, and modeling system
CN105479747A (en) 3d printing method
CN108790180B (en) Multi-galvanometer scanning control method and device, computer equipment and storage medium
CN104827666A (en) 3D printing supporting method and system thereof
CN106293547A (en) A kind of support automatic generation method printed for 3D
CN111444573B (en) Ship symmetric segment model generation method and device, storage medium and terminal
CN111319264B (en) Data processing method applied to 3D printing equipment and 3D printing equipment
CN107766528A (en) Data load method, terminal and the computer-readable recording medium of the waterfall stream page
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
CN110705158A (en) Prediction method, device and equipment for gas-liquid-solid three-phase behavior of selective laser melting
CN113352619B (en) Skirt edge generation method and device for starting position, computer equipment and storage medium
CN113211796A (en) Model printing method, model printing device, computer equipment and storage medium
CN114670450A (en) Method, apparatus, device, storage medium and program product for 3D printing
CN114670452B (en) Support generation method and device, electronic equipment and storage medium
CN113609667B (en) Model layout method, apparatus, computer device and storage medium
US10318053B2 (en) Control device for electronic apparatus and control method for electronic apparatus

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