Disclosure of Invention
Based on this, it is necessary to provide a support generating method that solves the above-mentioned problems, in view of the problem of inconvenient separation of the conventional support generating method.
A support generation method, comprising:
Acquiring a surface to be supported of a printing model;
Generating each supporting body downwards by taking the surface to be supported as the top surface;
Each supporting body comprises two connected supporting parts, the positions of the two supporting parts connected with the surface to be supported are provided with intervals, the positions from the surface to be supported point to the printing platform, and the intervals of the two supporting parts at least in partial areas are gradually reduced.
In one embodiment, the acquiring the surface to be supported of the printing model includes:
Acquiring a suspension surface of a printing model, and determining the length of a suspension wire in the suspension surface;
Comparing the length of the suspended wire with a preset length, and taking the suspended wire as a target suspended wire if the length of the suspended wire is larger than the preset length;
And taking a surface formed by the communicated target suspended wiring as a surface to be supported of the printing model.
In one embodiment, the method for obtaining the suspended surface includes:
Layering and slicing the printing model in a horizontal slicing mode;
Calculating the projection areas of an nth layer slice and an n+1th layer slice on a printing platform, wherein the n+1th layer slice is positioned above the nth layer slice;
And if the projection area of the n+1th layer slice is larger than that of the n layer slice, acquiring a suspension surface of the printing model according to the difference value of the projection areas of the n+1th layer slice and the n layer slice.
In one embodiment, each of the support portions is generated by:
Acquiring a first preset interval between the positions of the two supporting parts connected to the surface to be supported and the projection size of the surface to be supported on a printing platform;
determining the lengths of two supporting parts in each supporting body according to the projection size;
Determining the number of the supporting bodies according to the first preset interval and the projection size;
and generating each supporting part downwards by taking the surface to be supported as the top surface according to the first preset interval, the length and the number.
In one embodiment, each of the supports further comprises a single-arm support; after each supporting portion is generated downward with the surface to be supported according to the first preset interval, the length and the number, the method includes:
Acquiring preset heights between the top ends and the bottom ends of the two supporting parts; the two supporting parts are supporting plates which are inclined relative to the horizontal plane, and the bottom ends of the two supporting parts are overlapped;
determining a first height of a single-arm support generated by taking the bottom end of the support part as the top surface downwards according to the preset height;
and according to the first height and the length, the single-arm support is generated downwards at the bottom end of the support part.
In one embodiment, the support further comprises a reinforcing support set comprising a first support and a plurality of second supports; before the step of generating each supporting portion downward with the surface to be supported according to the first preset distance, the length and the number, the method includes:
determining a second height of the reinforced support group according to the height of the surface to be supported;
determining a shape of the first support according to the projected size;
Determining the shape of each second support piece according to the projection size, the preset angle between each second support piece and the printing line direction and the second preset interval between each second support piece;
determining the shape of the reinforced support group according to the shape of the first support piece and the shape of each second support piece;
and generating the reinforced support group downwards by taking the surface to be supported as the top surface according to the second height and the shape of the reinforced support group.
In one embodiment, the support further comprises at least one reinforcing support, the reinforcing support is arranged between the two support parts, and the bottom ends of the reinforcing support are coincident with the bottom ends of the support parts; after each supporting portion is generated downward by taking the surface to be supported as the top surface according to the first preset interval, the length and the number, the method comprises the following steps:
acquiring a second preset distance between the top end of the reinforcing support piece and the top end of one of the support parts;
And generating the reinforced supporting piece downwards by taking the surface to be supported as the top surface according to the second preset interval and the length.
A support generating apparatus comprising:
the acquisition unit is used for acquiring the surface to be supported in the printing model;
the generating unit is used for generating a supporting body downwards by taking the surface to be supported as the top surface;
The support body comprises two connected support parts, the positions, connected with the surfaces to be supported, of the two support parts are provided with intervals, the positions, pointing to the printing platform, of the surfaces to be supported are provided with intervals, and the intervals of the two support parts at least in partial areas are gradually reduced.
An electronic device, comprising:
A processor;
A memory for storing program instructions executable by the processor;
Wherein the processor is configured to invoke the program instructions stored by the memory to perform the support generation method as described above.
A storage medium storing computer program instructions which, when executed by a processor, implement a support generation method as described above
The technical scheme has the following beneficial effects: according to the support generating method, the to-be-supported surface of the printing model is obtained, and the support is printed below the to-be-supported surface so as to ensure the printing quality of the printing model. Through generating the supporter, two supporting parts of supporter connect in the position of unsettled face have the clearance for the supporter need not with whole unsettled face contact, and the supporter is less with the area of contact of printing the model, makes the supporter more easily peel off from printing the model, reduces the risk that the supporter remains on the model surface, guarantees when supporting effect and supporting stability, guarantees the pleasing to the eye degree of model, and then guarantees the printing quality. Further, the gap between the two supporting parts forms a hollow area, printing materials are not required to be consumed in the area without printing, waste of the printing materials is reduced, time consumed by printing supporting is shortened, and printing speed is guaranteed.
Detailed Description
In order that the above objects, features and advantages of the invention will be readily understood, a more particular description of the invention will be rendered by reference to the appended drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The present invention may be embodied in many other forms than described herein and similarly modified by those skilled in the art without departing from the spirit of the invention, whereby the invention is not limited to the specific embodiments disclosed below.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
It will be understood that when an element is referred to as being "fixed" or "disposed" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "upper," "lower," "left," "right," and the like are used herein for illustrative purposes only and are not meant to be the only embodiment.
As shown in fig. 1, an embodiment of the present application provides a support generating method, including:
Step 110, a surface to be supported of the print model is obtained.
Specifically, after the three-dimensional modeling of the print model is completed on the computer device, the print model is imported into slicing software associated with the 3D printer, and the slicing software places the print model on the working space after receiving the imported print model. The working space is a three-dimensional space formed by the printing platform of the 3D printer in the slicing software, and comprises an X axis, a Y axis, a Z axis and an origin, so that the coordinates of points on a printing model in the working space can be directly acquired and output through the slicing software. The surface to be supported of the printing model is the surface of the bottom to be supported.
In one embodiment, the step of obtaining the surface to be supported specifically includes:
step 111, obtaining a suspension surface of the print model, and determining the length of suspension wires in the suspension surface.
After the suspension surface of the printing model is obtained, the information such as the area of the suspension surface and the length of the suspension wiring can be known according to the coordinates of the points on the suspension surface. The suspended surface in the print model refers to a surface below the plane, which is not in contact with the bottom of the working space, and the support point is not arranged in the actual printing process because the surface below is not supported by the print model and is not in contact with the bottom of the working space, so that the risk of sinking exists. The length of the suspended wiring is as follows: when the flying surface is piled up, the printhead follows the largest path in the printing direction. Fig. 5 is a schematic view of a suspension plane according to an embodiment, where the suspension plane includes an a region, a b region, and a c region. When the suspended surface is printed, the printing head moves back and forth along the horizontal direction, and when the printing head moves in the area a, the length of the suspended wiring is L1; when the printing head moves in the area b, the length of the suspended wiring is L2; when the printing head moves in the region c, the length of the suspended wiring is L3. Correspondingly, the surface below which the printing model exists or is contacted with the bottom of the working space is a non-suspension surface, namely, the surface except the suspension surface is a non-suspension surface. The bottom of the working space refers to a plane formed by an X axis and a Y axis, and corresponds to a printing platform in the 3D printer.
In one embodiment, the method for obtaining the suspended surface specifically includes:
and 1111, slicing the print model in layers in a horizontal slice manner.
Specifically, after receiving the imported print model, slicing software in the computer device takes a position of the highest point of the print model, namely a position of the print model farthest from the bottom of the working space, as a first position, takes the bottom of the working space as a second position, starts to horizontally slice the print model in layers from the second position, and slices the print model in layers to obtain each layer of slices. It will be appreciated that the angle between the horizontal slice and the horizontal plane is zero.
In step 1112, the projection areas of the nth layer slice and the n+1th layer slice on the printing platform are calculated, and the n+1th layer slice is located above the nth layer slice. It will be appreciated that n is a positive integer.
Specifically, since the coordinates of the points on the print model located in the working space can be determined, the coordinates of the points on each slice can be obtained, and the projection area of each slice on the print platform, namely the projection area of the slice on the XY plane at the bottom of the working space, can be calculated through a computer by acquiring the coordinates of each point on the slice.
In step 1113, if the projection area of the n+1th slice is larger than the projection area of the n slice, the suspension plane is calculated according to the difference between the projection areas.
Specifically, subtraction is performed on the projection of the nth layer slice at the bottom of the working space and the projection of the n+1th layer slice at the bottom of the working space, and a region which is not repeated in the two layers of slices is obtained, and if the calculation result is that the projection of the n+1th layer slice is greater than the projection of the nth layer slice, the region in the nth layer corresponding to the difference value of the projections is a suspended surface. If the calculation result is that the projection area of the n+1th slice is smaller than or equal to the projection of the n-th slice area, the n+1th slice has no suspended surface.
Since the print model is horizontally layered from the first position, i.e., the bottom of the working space, the first slice layer must be in contact with the bottom of the working space and no support is required, so that it is confirmed from layer 2 whether a suspended surface is present. And subtracting the projection of the 1 st slice at the bottom of the working space from the projection of the 2 nd slice at the bottom of the working space through a computer, wherein if the operation result is that the projection of the 2 nd slice is larger than the projection of the 1 st slice, the area in the 2 nd layer corresponding to the projected difference value is a suspension surface, and if the operation result is that the projection of the 2 nd slice is smaller than or equal to the projection of the 1 st slice, the 2 nd layer has no suspension surface, and confirming according to the method until the value of n+1 is the number of layers of the highest slice. The projection areas of two adjacent layers of slices at the bottom of the working space are compared, so that a plurality of suspension surfaces are obtained, the positions of the corresponding suspension surfaces, namely the number of layers, and the coordinates of points on the suspension surfaces are obtained, and the suspension surface size is obtained, wherein the maximum value of the projection length of the suspension surfaces along the X axis and the projection length of the suspension surfaces along the Y axis is the length of the suspension wiring; the product of the projection length along the X axis and the projection length along the Y axis is the suspension area of the suspension surface, etc.
In another embodiment, the user can know each suspension surface of the print model in the working space through slicing software, and after each suspension surface is selected on the print model, the computer equipment receives the selection of the user, and each suspension surface in the print model is obtained. By the method, the computer can obtain each suspension surface without corresponding calculation, and the operation load of the computer is reduced.
After calculating the length of the suspended parameter trace, step 112 is performed to compare the length of the suspended trace with the preset length, and if the length of the suspended trace is greater than the preset length, the suspended trace is used as the target suspended trace.
The setting standard of the preset length depends on the maximum support limit of the suspension surface of the printing model, and when the length of the suspension wiring is smaller than the preset length, the suspension surface is not printed with the support body, so that the risk of sinking of the printing model can be reduced, the printing quality is ensured, the risk of unnecessary support for printing is reduced, and the waste of printing materials can be reduced while the printing efficiency is improved. When the length of the suspended wiring is greater than the preset length, the suspended surface at the position is required to print the supporting body, otherwise, the suspended area of the layer can be at risk of sinking along with the layer-by-layer accumulation of the upper layer model.
And 113, taking a surface formed by the communicated target suspended wiring as a surface to be supported.
As shown in fig. 5, if the suspended wire length L1 is greater than the preset length, the wire with the suspended wire length L1 is a target suspended wire, if the suspended wire length L2 is less than the preset length, the wire with the suspended wire length L2 is not a target suspended wire, if the suspended wire length L3 is greater than the preset length, the wire with the suspended wire length L3 is a target suspended wire, at this time, the surface formed by the wire with the target suspended wire length L2 is a region a, the surface formed by the wire with the target suspended wire length L3 is a region c, the region a is a surface to be supported, and the region c is a surface to be supported.
And 120, taking the surface to be supported as the top surface to downwards generate a support body.
The fact that the supporting body is generated downwards by taking the surface to be supported as the top surface means that the top end of the supporting body is connected to the surface to be supported, and the shape of the surface to be supported is not taken as the cross section shape of the supporting body.
Specifically, as shown in fig. 2, the support body includes two connected support portions 110, the positions of the two support portions 110 connected to the suspension surface have a distance, compared with the existing support structure in which the suspension surface is directly used as a section to generate the support structure, the contact area between the support body formed by the two support portions 110 with the distance and the printing model is reduced, so that the support body is easier to peel off from the printing model, the risk that the support body remains on the surface of the printing model 200 is reduced, the support effect and the support stability are ensured, the attractive appearance of the model is ensured, and the printing quality is further ensured.
Specifically, the distance between the two supporting parts at least in partial areas gradually decreases from the suspension surface to the direction of the printing platform. In this embodiment, the two supporting portions are in a V-shaped structure, and the gap between the two supporting portions forms a hollow area, so that printing material is not required to be consumed in the area without printing, waste of the printing material is reduced, time consumed by printing and supporting can be reduced, and printing speed is ensured. In other embodiments, the two support portions may be a superposition of a V-shaped structure and a columnar structure, i.e. the upper half of the two support portions has a hollow area, and the lower half has a solid area, which also has the effect of reducing the contact area between the support body and the printing model.
In one embodiment, the step of generating the support body with the surface to be supported as the top surface includes:
Step 121, obtaining a first preset interval between the positions of the two supporting parts connected to the surface to be supported, and obtaining the projection size of the surface to be supported on the printing platform.
Specifically, as shown in fig. 2, in order to clearly see the structures of the support body and the printing model, the support body and the printing model in fig. 2 have a certain gap, and in fact, after the printing of the support body is completed, the top end of the support body is connected with the printing model, so that the support effect can be ensured. On the premise of ensuring the supporting effect, the position where the two supporting parts are connected to the surface to be supported, namely the distance between the top ends of the two supporting parts along the X direction, is preset, and the distance is recorded as a first preset distance. When the support body is generated, a first preset distance between the two support parts is directly obtained.
After the suspended surface of each layer of slice required to be printed and supported is determined in a horizontal slice mode, the projection size of the suspended surface at the bottom of the printing platform, namely the working space, can be correspondingly obtained, and the projection size comprises the projection length along the X direction, the projection length along the Y direction, the projection area and the like.
Step 122, determining the lengths of two supporting parts in each supporting body according to the projection size;
as shown in fig. 2, specifically, when the first preset pitch is a distance between the top ends of the two supporting portions in the X direction, the length of the supporting portions obviously refers to an extension value of the supporting portions in the Y direction, that is, the length direction is parallel to the Y direction, correspondingly. The length of the supporting part can be consistent with the projection length of the suspended surface along the Y direction, so that the supporting effect on the suspended surface is ensured, and the collapse risk is reduced.
In other embodiments, the length of the supporting portion may be slightly smaller than the projection length of the suspending surface along the Y direction, and the difference between the two should be smaller than the predetermined length. Therefore, the collapse risk of the suspended position where the supporting part is not generated can be reduced, printing materials can be saved, and the printing speed can be improved.
And step 123, determining the number of the supporting bodies according to the first preset interval and the projection size of the surface to be supported.
Specifically, the projection length of the surface to be supported in the X-axis direction and the projection length of the surface to be supported in the Y-axis direction can be known according to the projection size of the surface to be supported. When the printing direction is along the X-axis direction, the projection length of the surface to be supported on the printing platform along the X-axis direction is divided by the first distance between the two supporting parts along the X-axis direction, so that the number of the supporting bodies to be arranged can be obtained, and the extension length of the supporting parts in the supporting bodies along the Y-axis direction is consistent with the projection length of the corresponding lines in the surface to be supported on the printing platform along the Y-axis direction. In other embodiments, when the printing direction is along the Y-axis direction, the number of the supporting bodies to be set can be obtained by dividing the projection length of the surface to be supported on the printing platform along the Y-axis direction by the preset distance between the two supporting parts along the Y-axis direction, and the extension length of the supporting parts in the supporting bodies along the X-axis direction is consistent with the projection length of the corresponding lines in the surface to be supported on the printing platform along the X-axis direction.
And 124, generating each supporting part downwards by taking the surface to be supported as the top surface according to the first preset interval, length and number.
Specifically, after the distance between the top ends of the two supporting parts along the X direction, the extension length of the supporting parts along the Y direction, and the number of the supporting bodies are obtained, each supporting part can be generated downward by taking the surface to be supported as the top surface.
As shown in fig. 2, in one embodiment, after the step of generating each supporting portion downward with the surface to be supported as the top surface according to the first preset interval, length and number, that is, after step 124, the method further includes:
in step 125, the single-arm support 120 is generated with the bottom ends of the two support portions as the top surfaces.
As shown in fig. 2, specifically, a preset height between the top ends and the bottom ends of the two supporting portions, that is, a distance between the top ends and the bottom ends along the Z direction, is obtained. Therefore, the first height of the single-arm support, namely the extending height along the Z direction, can be obtained according to the distance between the surface to be supported and the bottom of the working space, namely the difference between the height of the surface to be supported along the Z direction and the preset height, and the single-arm support can be generated downwards through the bottom end of the supporting part.
Wherein, two supporting portions 110 are each the backup pad that inclines to horizontal plane, XY plane, through setting up supporting portion 110 to platelike structure for supporting portion 110 has certain area of contact with the unsettled face, thereby guarantees the support intensity. The single-arm support 120 is vertical in-line, and connects in the bottom of supporting part 110 to extend to the bottom of workspace, through setting up the single-arm support, can reduce the extension length of supporter along the X direction, and then reduced the occupation volume of supporter, thereby reduce the required consumptive material of printing the supporter, and the printing degree of difficulty reduces.
As shown in fig. 2 and 3, in yet another embodiment, before the step of generating each supporting portion downward with the surface to be supported as the top surface according to the first preset interval, length and number, that is, before step 124, the method further includes:
in step 126, the reinforced supporting set 130 is generated with the surface to be supported as the top surface.
The reinforcing support set 130 is connected to the top end of the support portion 110, and the coordinate value of the second height of the reinforcing support set in the Z direction is the same as the coordinate value of the surface to be supported in the Z direction. Specifically, the reinforcing support set 130 includes a first support member 131 and a plurality of second support members 132, the plurality of second support members 132 are spaced apart from each other and are cross-connected, and the first support member 131 is disposed around edges of the plurality of second support members 132. Because two supporting parts 110 are connected in the position of unsettled face and have the clearance, consequently through setting up reinforcing support group 130 for the supporter is comparatively even along XY plane distribution, and then guarantees the supporting effect and the supporting stability to unsettled face, and a plurality of second support piece interval and cross connection each other, makes its area of contact with unsettled face reduce, has reduced the separation degree of difficulty of supporter and printing the model, and can reduce the required consumptive material of printing the supporter.
The projection length of the surface to be supported along the X direction is the extension length of the first support piece along the X direction, and the projection length of the surface to be supported along the Y direction is the projection length of the first support piece along the Y direction, so that the shape and the size of the first support piece can be determined according to the projection size. The second supporting member and the printing line direction form an included angle, and the included angle value can be set manually, for example, the included angle between the second supporting member and the printing line direction can be 45 degrees. The printing wiring direction comprises an X direction and a Y direction. And obtaining the position of each second support piece, namely the shape of the second support piece, according to the included angle value, the distance between the adjacent second support pieces and the area of the surface to be supported. The first supporting piece and each second supporting piece enclose a reinforcing supporting group, so that the shape of the reinforcing supporting group is obtained, and the reinforcing supporting group can be generated downwards by taking the surface to be supported as the top surface.
As shown in fig. 4, in one embodiment, the support body includes at least one reinforcing support 140, the reinforcing support 140 is disposed between two support parts, and the bottom end of the reinforcing support 140 coincides with the bottom end of the support part. That is, in the XZ plane, the supporting body is in a split shape, and the distance between two adjacent supporting portions 110 is gradually reduced from the suspending surface to the direction of the bottom of the working space. By providing the supporting portion 110 and at least one reinforcing supporting member 140 connected to the suspended surface, the contact area between the supporting body and the printing model 200 can be increased, thereby improving the supporting strength of the supporting body. Meanwhile, a hollow region is formed between two adjacent support portions 110, printing material is not required to be consumed in the region, waste of the printing material is reduced, time consumed by printing support is reduced, and printing speed is ensured.
As shown in fig. 4, the number of the reinforcing support members is three, and any one reinforcing support member forms an included angle with the support portion at the left end or the support portion at the right end, and the value of the included angle can be set by a user, for example, the included angle between each reinforcing support member and the support portion at the left end is 35 degrees, 90 degrees and 145 degrees in sequence in the left-to-right direction. Because the bottom end of the reinforcing support piece coincides with the bottom end of the support part, the height of the top end of the reinforcing support piece coincides with the height of the top end of the support part, and therefore, the position of each reinforcing support piece can be determined only by determining the included angle between the two. The extending length of the reinforcing support piece along the Y direction can be consistent with the extending length of the support part, so that the corresponding reinforcing support piece can be generated downwards by taking the surface to be supported as the top surface according to the position of the reinforcing support piece and the extending length of the reinforcing support piece along the Y direction.
According to the support generation method, the information of the suspension surface of the printing model is acquired, the suspension parameters of the suspension surface are compared with the preset parameters, and when the suspension parameters are smaller than the preset parameters, the fact that the support is not printed at the suspension surface is indicated, the printing quality can be ensured, the risk of unnecessary support printing is reduced, and further the waste of printing materials is reduced. When the suspension parameter is larger than the preset parameter, the suspension surface is the surface to be supported, and printing support is needed. Through waiting to support the face and generating the supporter, two supporting parts of supporter connect in the position of unsettled face have the clearance for the supporter need not with whole unsettled face contact, and the supporter is less with the area of contact who prints the model, makes the supporter more easily peel off from printing the model, reduces the risk that the supporter remains on the model surface, guarantees when supporting effect and supporting stability, guarantees the pleasing to the eye degree of model, and then guarantees the printing quality. Further, the gap between the two supporting parts forms a hollow area, printing materials are not required to be consumed in the area without printing, waste of the printing materials is reduced, time consumed by printing supporting is shortened, and printing speed is guaranteed.
Further, the application also provides a support generating device, which comprises an acquisition unit and a generating unit, wherein the acquisition unit is used for acquiring a surface to be supported in the printing model; the generating unit is used for taking the surface to be supported as the top surface and generating the supporting body downwards. The support body comprises two connected support parts, the two support parts are connected to the position of the surface to be supported, the distance is reserved between the two support parts, the support parts point to the direction of the printing platform from the surface to be supported, and the distance between the two support parts at least in a partial area is gradually reduced.
This two supporting parts of support body that 3D printing system generated connect in the position of unsettled face have the clearance for the support body reduces with the area of contact who prints the model, makes the support body more easily peel off from printing the model, reduces the support body and remains the risk on the model surface, guarantees when supporting effect and supporting stability, guarantees the pleasing to the eye degree of model, and then guarantees the printing quality. Further, the gap between the two supporting parts forms a hollow area, printing materials are not required to be consumed in the area without printing, waste of the printing materials is reduced, time consumed by printing supporting is shortened, and printing speed is guaranteed.
Specifically, the acquiring unit can acquire coordinates of points on the printing model in the working space, the suspension surface of the printing model in the working space can be calculated according to the coordinates of the points on the printing model, then the coordinates of the points on the suspension surface can be acquired, the position of the suspension surface in the working space can be calculated according to the coordinates of the points on the suspension surface, and the size of the suspension surface can be calculated, for example, the extension length of the suspension surface along the X direction, the extension length along the Y direction, the projection of the suspension surface at the bottom of the working space, and the like. The generation unit generates the supporting bodies according to the position of the printing model, the position of the suspension surface and the size of the suspension surface, which are acquired by the acquisition unit, for example, when the extension length of the supporting parts along the Y direction is consistent with the projection length of the suspension surface on the printing platform along the Y direction, the projection length of the suspension surface on the printing platform along the X direction is divided by the first interval of the two supporting parts along the X direction, so that the number of the supporting bodies required to be arranged can be obtained and the corresponding supporting bodies are generated, and further, the printing model is generated on the supporting bodies, and the risk of sinking of the suspension surface of the printing model is reduced.
Further, in order to more conveniently and thoroughly separate the support, the support is printed with a soluble material such as: polyvinyl alcohol (PVA) or impact polystyrene (HIPS), etc. If the same material as the 3D model is used for printing the support body, a trace amount of material always remains on the 3D model after separation, and the support body can be dissolved by soaking after printing by adopting a soluble material, so that the separation difficulty of the support body and the printing model is reduced, and the suspension surface of the printing model is smoother.
The application also provides an electronic device comprising a memory and a processor, wherein the memory stores program instructions of the support generating method, and the processor is used for controlling the execution of the program instructions, and the program instructions realize the steps of any support generating method provided by the embodiment when loaded and executed by the processor. It should be noted that, in addition to the memory and the processor, the electronic device may include other hardware according to its actual functions, which will not be described in detail.
Furthermore, the present application provides a storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of any of the support generating methods provided by the above embodiments. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described 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 illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.