CN114131931A - 3D printing data generation method and device of model support and storage medium - Google Patents

3D printing data generation method and device of model support and storage medium Download PDF

Info

Publication number
CN114131931A
CN114131931A CN202111260664.8A CN202111260664A CN114131931A CN 114131931 A CN114131931 A CN 114131931A CN 202111260664 A CN202111260664 A CN 202111260664A CN 114131931 A CN114131931 A CN 114131931A
Authority
CN
China
Prior art keywords
support
target
supporting
model
printing data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111260664.8A
Other languages
Chinese (zh)
Other versions
CN114131931B (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 Nova Intelligent Technology Co ltd
Original Assignee
Shenzhen Nova Intelligent 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 Nova Intelligent Technology Co ltd filed Critical Shenzhen Nova Intelligent Technology Co ltd
Priority to CN202111260664.8A priority Critical patent/CN114131931B/en
Publication of CN114131931A publication Critical patent/CN114131931A/en
Application granted granted Critical
Publication of CN114131931B publication Critical patent/CN114131931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • 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
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • 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
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • B33Y50/02Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes

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 invention discloses a 3D printing data generation method of a model support, which comprises the following steps: determining a target supporting surface based on the three-dimensional data of the target model; generating a plurality of support printing data with the same distance between adjacent supports on the target supporting surface; generating target print data for the target based on the three-dimensional data of the target model and the support print data. The invention also discloses a 3D printing data generation device and a storage medium of the model support. According to the invention, the printing data of the plurality of supporting pieces with the same distance are generated on the target supporting surface, so that the problem that the printing effect is influenced by too large or too small distance between the supporting pieces when the printing data of the supporting pieces are generated in the prior art is solved.

Description

3D printing data generation method and device of model support and storage medium
Technical Field
The invention relates to the technical field of 3D printing, in particular to a 3D printing data generation method and device of a model support and a storage medium.
Background
The 3D printing technology is based on a digital model of a product, and a three-dimensional object, namely a target product, is formed by a method of slicing and layering the digital model and stacking materials layer by layer according to slicing and layering results. Compared with the traditional manufacturing mode, 3D printing can form products with higher complexity. Because the 3D printer prints through the mode that superposes layer upon layer, so in the in-process of printing the model, if the model appears unsettled structure, need additionally provide bearing structure and accomplish the preparation of model. At present, the technology for generating a support structure in a 3D printing model mainly includes extracting a suspended portion in model data through a preset algorithm, randomly selecting a plurality of support points in an area corresponding to the suspended portion through a random algorithm, or selecting a plurality of support points in the suspended portion in an equidistant grid manner, and then generating corresponding support columns at positions of the support points to form the support structure.
In the process of designing and realizing the application, the inventor finds that at least the following problems exist, and for complex curved surface bodies, when the outline shape of the suspended part is irregular, the distance between the selected support points is easily too small or too large, so that the distance between the generated support columns is too small or too large, when the distance is too small, materials are wasted, and when the distance is too large, the number of the added support columns is small, and the printing failure is caused.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a 3D printing data generation method and device of a model support member and a storage medium, and aims to solve the problem that the printing effect is influenced by too large or too small spacing between support columns generated in the prior art.
In order to achieve the above object, the present invention provides a 3D printing data generation method of a model support, which determines a target support surface based on three-dimensional data of a target model;
generating a plurality of support printing data with the same distance between adjacent supports on the target supporting surface;
generating target print data based on the three-dimensional data of the target model and the support print data.
Optionally, the step of generating a plurality of support printing data with the same distance between adjacent supports on the target supporting surface comprises:
acquiring a first supporting piece on the target supporting surface, establishing a circle by taking the position of the first supporting piece as the circle center and a preset distance as the radius, and acquiring a second supporting piece on the circle;
establishing a circle by taking the position of the second supporting piece as the circle center and the preset distance as the radius, and acquiring a third supporting piece on the circle;
sequentially rounding the target supporting surface and obtaining a supporting piece to obtain an Nth supporting piece, and obtaining a plurality of adjacent supporting pieces with the same distance according to the first supporting piece, the second supporting piece, the third supporting piece and the Nth supporting point;
generating support print data according to the position of each support.
Optionally, the step of obtaining a third support on the circle comprises:
acquiring a target support part, of the third support parts, of which the distance from the first support part to the second support part is greater than or equal to a preset distance;
determining the target support as the third support.
Optionally, the step of obtaining a third support on the circle comprises:
judging whether a support part which is overlapped with the first support part and/or the second support part is included in the third support part;
discarding the support of the third support coinciding with the first support and/or the second support, and retaining the support of the third support other than the support coinciding with the first support and/or the second support;
if not, the third supporting piece is reserved.
Optionally, the step of obtaining a third support on the circle comprises:
judging whether the position of the third supporting piece is on the target supporting surface;
if yes, retaining the third support piece;
if not, discarding the support part which is not positioned on the target support surface in the third support part.
Optionally, the step of generating support print data according to the position of each support comprises:
generating first support printing data according to the position of each support and the first printing layer height;
establishing second support printing data on the first support printing data according to the position of the support and the second printing layer height, wherein the cross-sectional area of the support printed by the first support printing data is larger than that of the support printed by the second support printing data, and the target printing layer height of the support is obtained after the first printing layer height and the second printing layer height are added.
Optionally, the step of determining the target supporting surface based on the three-dimensional data of the target model includes:
determining an included angle between a normal vector of each triangular surface of the target model and a negative Z axis according to the three-dimensional data;
determining a target triangular surface according to the included angle, wherein the included angle corresponding to the target triangular surface is smaller than a preset angle threshold value;
and determining the target triangular surface as the target supporting surface.
Further, to achieve the above object, the present invention also provides a 3D print data generating apparatus, the 3D print data generating apparatus of a model support including: a memory, a processor and a 3D printing data generating program of a model support stored on the memory and executable on the processor, the 3D printing data generating program of a model support implementing the steps of the 3D printing data generating method of a model support as described above when executed by the processor.
Further, to achieve the above object, the present invention also provides a storage medium having stored thereon a 3D printing data generating program of a model support, which when executed by a processor, implements the steps of the 3D printing data generating program of a model support as described above.
According to the 3D printing data generation method and device for the model support piece and the storage medium, after the target support surface of the target model is determined, the plurality of support piece printing data with the same distance between adjacent support pieces are generated on the target support surface, and the distances between each support piece and the adjacent support piece are determined to be the same, so that the problems that for a complex curved surface body, the generated support column spacing is too small or too large, when the spacing is too small, materials are wasted, and when the spacing is too large, the printing effect is influenced are solved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a method for generating 3D print data of a model support according to the present invention;
FIG. 3 is a detailed flowchart of step S20 of the first embodiment of the method for generating 3D printing data of a model support according to the present invention;
FIG. 4 is a detailed flowchart of step S22 of the second embodiment of the method for generating 3D printing data of the model support according to the present invention;
FIG. 5 is a detailed flowchart of step S22 of the 3D printing data generation method of the model support according to the third embodiment of the present invention;
fig. 6 is a detailed flowchart of step S22 of the 3D printing data generation method of the model support according to the third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: determining a target supporting surface based on the three-dimensional data of the target model; generating a plurality of support printing data with the same distance between adjacent supports on the target supporting surface;
generating target print data based on the three-dimensional data of the target model and the support print data.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a terminal device with a processing function, such as a smart phone, a tablet computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein a 3D printing data generation program of an operating system, a network communication module, a user interface module, and a model support.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the 3D printing data generation program of the model supporter stored in the memory 1005, and perform the following operations:
determining a target supporting surface based on the three-dimensional data of the target model;
generating a plurality of support printing data with the same distance between adjacent supports on the target supporting surface;
generating target print data based on the three-dimensional data of the target model and the support print data.
Further, the processor 1001 may call the 3D printing data generation program of the model support stored in the memory 1005, and also perform the following operations:
acquiring a first supporting piece on the target supporting surface, establishing a circle by taking the position of the first supporting piece as the circle center and a preset distance as the radius, and acquiring a second supporting piece on the circle;
establishing a circle by taking the position of the second supporting piece as the circle center and the preset distance as the radius, and acquiring a third supporting piece on the circle;
sequentially rounding the target supporting surface and obtaining a supporting piece to obtain an Nth supporting piece, and obtaining a plurality of adjacent supporting pieces with the same distance according to the first supporting piece, the second supporting piece, the third supporting piece and the Nth supporting point;
generating support print data according to the position of each support.
Further, the processor 1001 may call the 3D printing data generation program of the model support stored in the memory 1005, and also perform the following operations:
acquiring a target support part, of the third support parts, of which the distance from the first support part to the second support part is greater than or equal to a preset distance;
determining the target support as the third support.
Further, the processor 1001 may call the 3D printing data generation program of the model support stored in the memory 1005, and also perform the following operations:
judging whether a support part which is overlapped with the first support part and/or the second support part is included in the third support part;
if so, discarding the support part, which is overlapped with the first support part and/or the second support part, in the third support part, and reserving the support parts, which are not overlapped with the first support part and/or the second support part, in the third support part;
if not, the third supporting piece is reserved.
Further, the processor 1001 may call the 3D printing data generation program of the model support stored in the memory 1005, and also perform the following operations:
judging whether the position of the third supporting piece is on the target supporting surface;
if yes, retaining the third support piece;
if not, discarding the support part which is not positioned on the target support surface in the third support part.
Further, the processor 1001 may call the 3D printing data generation program of the model support stored in the memory 1005, and also perform the following operations:
generating first support printing data according to the position of each support and the first printing layer height;
establishing second support printing data on the first support printing data according to the position of the support and the second printing layer height, wherein the cross-sectional area of the support printed by the first support printing data is larger than that of the support printed by the second support printing data, and the target printing layer height of the support is obtained after the first printing layer height and the second printing layer height are added.
Further, the processor 1001 may call the 3D printing data generation program of the model support stored in the memory 1005, and also perform the following operations:
determining an included angle between a normal vector of each triangular surface of the target model and a negative Z axis according to the three-dimensional data;
determining a target triangular surface according to the included angle, wherein the included angle corresponding to the target triangular surface is smaller than a preset angle threshold value;
and determining the target triangular surface as the target supporting surface.
Referring to fig. 2, a first embodiment of a 3D print data generation method of a model support according to the present invention provides a 3D print data generation method of a model support, the 3D print data generation method of a model support including:
step S10, determining a target supporting surface based on the three-dimensional data of the target model;
step S20, generating a plurality of support print data with the same distance between adjacent supports on the target support surface;
step S30, generating target print data based on the three-dimensional data of the target model and the support print data.
In this embodiment, the terminal in the embodiment may be a computer, the computer is installed with slicing software, the slicing software imports the STL file corresponding to the target model and parses the STL file, and then displays the target model in a display interface of the slicing software, it can be understood that the target model is a 3D model, and the STL file includes three-dimensional data of the target model.
Optionally, after the target model is imported, a target supporting surface is obtained according to the three-dimensional data of the target model, the target supporting surface is a projection surface of a region to be supported of the three-dimensional model in the printing direction, the region to be supported is a region to be supported, and after the target supporting surface is obtained, a plurality of supporting members are added below the target supporting surface, so that when the region to be supported corresponding to the target supporting surface is printed, the plurality of supporting members can provide sufficient supporting force for the region to be supported, and the region to be supported is prevented from collapsing due to insufficient supporting force.
Optionally, in an embodiment of the present application, an embodiment of the present application provides a method for obtaining a target supporting surface, where the step of obtaining the target supporting surface according to three-dimensional data of the target model includes:
determining an included angle between a normal vector of each triangular surface of the target model and a negative Z axis according to the three-dimensional data;
determining a target triangular surface according to the included angle, wherein the included angle corresponding to the target triangular surface is smaller than a preset angle threshold value;
and determining the target triangular surface as the target supporting surface.
Optionally, the target model is composed of a plurality of triangular surfaces, the three-dimensional data of the target model further includes normal vectors corresponding to the triangular surfaces of the target model, after the three-dimensional data is acquired, the normal vectors of the triangular surfaces are acquired, then included angles between the normal vectors and a negative Z axis are acquired based on the normal vectors, when the included angles are smaller than a preset angle threshold, the triangular surfaces are determined to be areas needing supporting, and then the target triangular surfaces with the included angles smaller than the preset angle threshold are determined to be the target supporting surfaces.
Optionally, after obtaining the target triangular surface, the target triangular surface may be extended outwards, and the step of extending outwards based on the target triangular surface includes: the method comprises the steps of obtaining a triangular surface adjacent to a target triangular surface, judging an included angle between a normal vector of the triangular surface adjacent to the target triangular surface and a negative Z axis, taking the target triangular surface and the triangular surface adjacent to the target triangular surface as the target triangular surface when the included angle between the normal vector of the triangular surface adjacent to the target triangular surface and the negative Z axis is smaller than a preset angle threshold value, and then sequentially circulating the step based on outward extension of the target triangular surface until the normal vector of the triangular surface obtained at last time and the negative Z axis are larger than the preset angle threshold value, and then determining the target triangular surface as a target supporting surface.
Alternatively, the preset angle threshold may be 45 degrees.
It is understood that the manner of acquiring the target supporting surface from the three-dimensional data of the target model includes the above-mentioned manner.
Optionally, after the target supporting surface is obtained, a plurality of supports with the same distance between adjacent supports are generated on the target supporting surface, and then the support print data is generated according to the supports, specifically, referring to fig. 3, the step S20 includes:
step S21, acquiring a first support piece on the target support surface, establishing a circle by taking the position of the first support piece as the center of the circle and a preset distance as the radius, and acquiring a second support piece on the circle;
step S22, establishing a circle by taking the position of the second supporting piece as the center of the circle and the preset distance as the radius, and acquiring a third supporting piece on the circle;
step S23, rounding the target supporting surface and obtaining a supporting piece in sequence to obtain an Nth supporting piece, and obtaining a plurality of adjacent supporting pieces with the same distance according to the first supporting piece, the second supporting piece, the third supporting piece and the Nth supporting point;
step S24, generating support print data according to the position of each support.
Optionally, the position of the first support member may be a lowest-height position in the region to be supported corresponding to the target support surface, after the lowest-height position in the target support surface is obtained, the first support member is obtained at the lowest-height position, after the first support member is obtained, a circle corresponding to the first support member is established by taking the position of the first support member as a circle center and taking a preset distance as a radius, and then a second support member is obtained on the circle.
Optionally, the manner of obtaining the second support on the circle may be to divide the circle into a plurality of arc segments, determine an end point corresponding to the arc segment as a position where the second support is located, and obtain the second support at the position where the second support is located.
Optionally, after the second supporting member is obtained, a circle corresponding to the second supporting member is established by continuously taking the position of the second supporting member as a circle center and taking the preset distance as a radius, and then the third supporting member is obtained on the circle, wherein the method for obtaining the third supporting member on the circle is the same as the method for obtaining the second supporting member on the circle described above, and details are not repeated here.
Optionally, after the third supporting member is obtained, a circle is sequentially created on the target supporting surface and supporting members are obtained to obtain an nth supporting member, specifically, after the third supporting member is obtained, a circle corresponding to the third supporting member is created with the position of the third supporting member as a circle center and the preset distance as a radius, a fourth supporting member is obtained on the circle, and so on, a fifth supporting member is obtained on the circle corresponding to the fourth supporting member, so that the nth supporting member is obtained on the circle corresponding to the N-1 supporting member, and the supporting members with the same distance between adjacent supporting members are obtained based on the first supporting member, the second supporting member, the third supporting member and the nth supporting member.
Optionally, the nth support member is a last support member of the circle-drawing acquisition support member, and the condition for ending the generation of the nth support member is that when a circle corresponding to the nth support member is established with a position of the nth support member as a circle center, a new support member cannot be acquired on the circle, that is, the support member acquired on the circle coincides with some support members from the first support member, the second support member, the third support member to the N-1 st support member.
Optionally, after the first support member, the second support member, the third support member and the nth support member are obtained, the first support member, the second support member, the third support member and the nth support member are used as the plurality of adjacent support members with the same distance therebetween, and then the support member print data is generated at the positions of the plurality of adjacent support members with the same distance therebetween, it can be understood that the support member print data includes the positions corresponding to the support members and the support members.
Optionally, in the process of printing the target model, the supporting member is printed at the same time, after the target model is printed, the supporting member needs to be manually removed, and if the contact area between the supporting member and the target supporting surface is too large, it is easy to cause difficulty in removing the supporting member and to cause the supporting member to leave traces, thereby affecting the printing effect.
Based on this, after obtaining a plurality of supports having the same distance between adjacent supports, the step of producing support print data according to the position of each of the supports includes:
generating first support printing data according to the position of each support and the first printing layer height;
establishing second support printing data on the first support printing data according to the position of the support and the second printing layer height, wherein the cross-sectional area of the support printed by the first support printing data is larger than that of the support printed by the second support printing data, and the target printing layer height of the support is obtained after the first printing layer height and the second printing layer height are added.
Optionally, the support print data includes a first support print data and a second support print data, the support includes a support upper portion and a support lower portion, the support upper portion is connected to the target supporting surface, the support lower portion is connected to a forming platform of the 3D printer or to a target model below the target supporting surface, that is, the support lower portion is a portion away from the target supporting surface, the support upper portion is a portion close to the target supporting surface, the first support print data includes the support lower portion, and the second support print data includes the support upper portion.
Optionally, the first printing layer height is a printing layer height at the lower part of the support, the second printing layer height is a printing layer height at the upper part of the support, and the target printing layer height is a printing layer height after the first printing layer height and the second printing layer height are added, specifically, the target printing layer height is obtained by obtaining bottom position points of each support, taking each bottom position point as an origin of a ray, and taking a direction perpendicular to the target support surface as an emission direction of the ray, constructing rays corresponding to each bottom position point, so as to obtain an intersection point of the ray corresponding to each bottom position point and the target support surface, and determining the target printing layer height according to a distance between the intersection point and the bottom position point.
Optionally, the target model is composed of a plurality of triangular surfaces, the target supporting surface is also composed of a plurality of triangular surfaces, and a specific implementation manner of obtaining intersection points of the rays corresponding to the bottom position points and the target supporting surface is as follows: and after obtaining the rays corresponding to each bottom position point, calculating the intersection point of each ray and one triangular surface in the target supporting surface.
Optionally, the bottom position points of the support members are obtained in the following two ways:
if the target model does not exist below the target supporting surface, the bottom position point of the supporting piece is positioned on the forming platform;
and if a target model exists below the target supporting surface, the bottom position point of the supporting piece is on the target model.
Optionally, the first print layer height is a print layer height of the lower portion of the support, and after the lower portion of the support is obtained, the first print layer height of the lower portion of the support is obtained, and the first support print data is generated based on the position of each support and the first print layer height of the lower portion of the support.
Optionally, the second print level height is a print level height of an upper portion of the support, after acquiring the upper portion of the support, acquiring a second printing layer height of the upper part of the support according to the target printing layer height of the support, determining a print layer height of an upper portion of the support from a difference between the target print layer height and the first print layer height after acquiring the target print layer height and the first print layer height, i.e. the second print level height, to create second support print data on the first support print data based on the position of the support and the print level height of the upper part of the support, it will be appreciated that the cross-sectional area of the support on which the first support print data is printed is greater than the cross-sectional area of the support on which the second support print data is printed, i.e. the cross-sectional area of the upper portion of the support is less than the cross-sectional area of the lower portion of the support.
Optionally, in a further embodiment, the support comprises an upper support part connected to the target supporting surface, a lower support part connected to the forming platform or to the target model below the target supporting surface, a middle support part connecting the upper support part and the lower support part, the upper support part having a smaller cross-sectional area than the middle support part, and the middle support part having a smaller cross-sectional area than the lower support part, based on which the support print data may further comprise a first support print data comprising a print layer height of the lower support part, a second support print data comprising a print layer height of the middle support part, and a third support print data, the third support print data includes a print layer height of an upper portion of the support. It will be appreciated that in some embodiments, the upper portion of the support member may be configured as a weak link structure to facilitate removal, the middle portion of the support member may be configured as a solid structure to increase the supporting force of the support member on the target model, and the lower portion of the support member may be configured as a hollow structure to facilitate material saving in subsequent printing of the support member.
Optionally, after the first support piece printing data and the second support piece printing data are acquired, target printing data are generated based on the first support piece printing data, the second support piece printing data and the three-dimensional data of the target model, and after the target printing data are generated, the target printing data are sent to a 3D printer so that the 3D printer can print out the target model including the support pieces according to the target printing data.
In the embodiment of the application, after selecting the target supporting surface of the target model, based on the target supporting surface makes circles in sequence, and then obtains each in sequence the support piece on the circle to obtain a plurality of adjacent support pieces with the same distance, and then according to each the support piece generates corresponding first support piece print data and second support piece print data, and then according to first support piece print data, second support piece print data and the three-dimensional data of the target model generates target print data, so that the 3D printer prints out the target model including a plurality of adjacent support pieces with the same distance according to the target print data, improves the printing effect of the 3D print model, and avoids the problem of too big or too small distance between the support pieces.
Optionally, referring to fig. 4, an embodiment of the present application provides a second embodiment of a 3D printing data generation method for a model support, where the step of acquiring a third support includes:
step S40, obtaining a target support, of the third supports, whose distance from the first support and the second support is greater than or equal to a preset distance;
step S50, determining the target support as the third support.
Optionally, in the process of sequentially rounding and sequentially acquiring the supports, a situation that a distance between a newly acquired support and a previously acquired support is small may occur, and at this time, only the previously acquired support needs to be generated to provide sufficient supporting force for the target model, and if the support printing data is generated based on the newly acquired support and the previously acquired support at the same time, the newly acquired support and the previously acquired support are printed at the same time, which causes waste of materials. Based on this, when acquiring a new support, the embodiment of the application calculates the distance between each new support and the previous support, and when the distance is smaller, the new support can be discarded, and only the support print data needs to be generated according to the previous support.
Specifically, after the third support is obtained, the third support is a new support, and the first support and the second support are previous supports, and then distances between the third support and the first support and between the third support and the second support are respectively calculated, and a target support, in the third support, whose distances to the first support and the second support are both greater than or equal to a preset distance is determined as the third support. For example, the preset distance is 1mm, the first support member is a1, a2, the second support member is B1, B2, the third support member is C1, C2, the distance between C1 and a1 is 1.2mm, the distance between C1 and a2 is 1mm, the distance between C1 and B1 is 1.1mm, and the distance between C1 and B2 is 1.3 mm; the distance between C2 and A1 is 1.1mm, the distance between C2 and A2 is 1mm, the distance between C2 and B1 is 0.9mm, and the distance between C2 and B2 is 0.8 mm; it can be seen that the distances between C1 and a1, a2, B1 and B4 are all greater than or equal to 1mm, the distances between C2 and a1 and a2 are greater than or equal to 1mm, and the distances between C1 and B2 are less than 1mm, so that C2 is discarded, and only C1 is retained, that is, the C1 is determined as the third supporting member.
It can be understood that the second support is a supporting point on the circle corresponding to the first support, and the distance between the second support and the first support is equal to the preset distance, so as to retain all the second supports, so that after a third support is obtained subsequently, a target support having a distance greater than or equal to the preset distance from the first support and the second support is selected from the third supports, the target support is determined as the third support, and a support having a distance less than the preset distance from the first support and/or a distance less than the preset distance from the second support is discarded.
Optionally, after a third support member whose distances to the first support member and the second support member are both greater than or equal to a preset distance is obtained, a circle is created based on the third support member whose distances to the first support member and the second support member are both greater than or equal to the preset distance, a fourth support member is obtained, the fourth support member needs to be compared with the first support member, the second support member and the third support member respectively, and then distances between the fourth support member and the first support member, the second support member and the third support member respectively are obtained, and then the fourth support member whose distance to the first support member, the second support member and the third support member is all greater than or equal to the preset distance in the fourth support member is determined as the fourth support member, and then only the fourth support member whose distance to the first support member, the second support member and the third support member is all greater than or equal to the preset distance is retained, discarding a fourth support having a distance to the first support and/or second support and/or third support that is less than a preset distance.
In this way, after obtaining the nth support member based on the nth-1 support member, comparing the nth support member with the first support member, the second support member, the third support member and the nth-1 support member, respectively, to obtain distances between the nth support member and the first support member, the second support member, and the third support member and the nth-1 support member, respectively, determining the support member, which is greater than or equal to the preset distance from the nth support member to the first support member, the second support member, and the third support member to the nth-1 support member, as the nth support member, only keeping the nth support member, which is greater than or equal to the preset distance from the first support member, the second support member, and the third support member to the nth-1 support member, discarding the nth support member, which is greater than or equal to the preset distance from the first support member and/or the second support member, and/or the distance from the third support member to the nth-1 support member is less than or less than the preset distance from the third support member to the nth-1 support member A predetermined distance of the Nth supporting member.
In the embodiment of the application, after the new supporting point is obtained, the distance between the new supporting point and the previous supporting point is calculated, when the new supporting point comprises the supporting points which are larger than or equal to the preset distance with the previous supporting point, the supporting points which are larger than or equal to the preset distance with the previous supporting point are reserved, and the supporting points which are smaller than the preset distance with the previous supporting point are abandoned, so that a plurality of adjacent supporting pieces with the same distance are generated, the situation that materials are wasted due to the fact that the distance between the supporting pieces in the generated supporting piece printing data is too small is prevented, and the printing effect is improved.
Optionally, based on the above embodiment, referring to fig. 5, the step of obtaining the third support on the circle includes:
step S60, determining whether the third supporting member includes a supporting member that overlaps with the first supporting member and/or the second supporting member;
step S70, if yes, discarding the support component of the third support component coinciding with the first support component and/or the second support component, and reserving the support components of the third support component other than the support component coinciding with the first support component and/or the second support component;
step S80, if not, the third supporting member is retained.
Optionally, during the process of sequentially rounding and sequentially acquiring the supports, a situation that a position of a newly acquired support coincides with a position of a previously acquired support may occur, and at this time, only the previously acquired support needs to be generated to provide sufficient supporting force for the target model, and if the support print data is generated based on the newly acquired support and the previously acquired support at the same time, two supports occur at the same position, which causes waste of materials. Based on this, when acquiring a new supporting member, by judging whether the position of the new supporting member coincides with the position of the previous supporting member, when the coincidence occurs, the new supporting member may be discarded, and only the printing data of the supporting member needs to be generated according to the previous supporting member, or only the printing data of the supporting member needs to be generated according to the new supporting member.
In the embodiment of the present application, the third supporting member is a new supporting member, the first supporting member and the second supporting member are previous supporting members, after the third supporting member is obtained, the first supporting member and the second supporting member are taken, the specific way of determining whether the third supporting member coincides with the first supporting member and/or the second supporting member is to determine whether the position of the third supporting member coincides with the position of the first supporting member and/or the position of the second supporting member, if the position of the third supporting member coincides with the position of the first supporting member and/or the position of the second supporting member, it is determined that the third supporting member coincides with the first supporting member and/or the second supporting member, the supporting member which coincides with the first supporting member and/or the second supporting member in the third supporting member is discarded, and then determining the support pieces except the overlapped third support piece as the third support piece, namely that the position of the obtained third support piece is different from the position of the first support piece and is also different from the position of the second support piece.
Specifically, the manner of determining whether the position of the third support coincides with the positions of the first support and the second support may be to obtain a third coordinate value of the third support, a first coordinate value of the first support, and a second coordinate value of the second support, determine that the third support includes a support that coincides with the first support and the second support when the third coordinate value is the same as the first coordinate value and/or the second coordinate value, discard the support that coincides with the third support, and determine the third support except the position of the support that coincides with the third support as the third support.
In this way, after the nth support member is obtained based on the nth-1 support member, the position of the nth support member needs to be compared with the positions of the first support member, the second support member, the third support member and the nth-1 support member, so as to obtain the support members, which coincide with the first support member, the second support member, the third support member and the nth-1 support member, in the nth support member, so as to abandon the support members, which coincide with the first support member, the second support member, the third support member and the nth-1 support member, in the nth support member, and determine the nth support member, except the support member, which coincides with the nth support member, as the nth support member.
Optionally, in yet another embodiment, after obtaining a third support based on a second support, the embodiment of the present application may determine whether the third support overlaps with the first support and/or the second support, discard a third support that overlaps with the first support and/or the second support in the third support, determine a third support other than the third support that overlaps as the third support (i.e., a third support that does not overlap), further obtain a target support that is located at a distance greater than or equal to a preset distance from the first support and the second support in the third support that does not overlap, and further determine the target support as the third support.
In the embodiment of the application, the position of the third support member is compared with the position of the first support member and the position of the second support member to obtain the support member which is overlapped with the first support member and/or the second support member in the third support member, and then the third support member except the support member which is overlapped is determined as the third support member, so as to obtain the printing data of the support members which have the same distance and are not overlapped, so that the situation that the support members are overlapped when the printing data of the support members are generated is avoided, the material waste is caused, and the printing effect is improved.
Optionally, referring to fig. 6, based on all the above embodiments, the step of obtaining the third support on the circle includes:
step S90, judging whether the position of the third supporting piece is on the target supporting surface;
step S100, if yes, the third supporting piece is reserved;
step S110, if not, discarding the support member, which is not located on the target support surface, in the third support member.
Optionally, in the process of sequentially rounding and sequentially acquiring the supporting members, a situation that the acquired position of the supporting member is not on the target supporting surface may occur, and based on this, the embodiment of the present application provides a method for determining whether the acquired position of the supporting point is on the target supporting surface to generate the supporting member.
Optionally, after the third supporting member is obtained, a coordinate value corresponding to the position of the third supporting member and a coordinate range of the target supporting surface are obtained, and it is further determined whether the coordinate range includes the coordinate value corresponding to the position of the third supporting member, if the coordinate range includes the coordinate value corresponding to the position of the third supporting member, it is determined that the position of the third supporting member is on the target supporting surface, and the third supporting member is retained, and if the position of the third supporting member including the supporting member is not on the supporting member of the target supporting surface, the supporting member whose position is not on the target supporting surface is discarded, and only the supporting member whose position is on the target supporting surface is retained. For example, if the third support member comprises C1, C2, C3, C1 at the target support surface and C2, C3 at the target support surface, then C1 is retained and C2, C3 are discarded.
It can be understood that, after the second support is obtained, it is also necessary to obtain a coordinate value corresponding to the position of the second support and a coordinate range of the target supporting surface, and further determine whether the coordinate range includes the coordinate value corresponding to the position of the second support, and if the coordinate range includes the coordinate value corresponding to the position of the second support, determine that the position of the second support is on the target supporting surface, and further generate the second support at the position of the second support.
By analogy, after the first support member, the second support member, the third support member and the Nth support member are obtained, coordinate values of positions of the first support, the second support, the third support to the nth support may be acquired, and then obtaining a support which is not on the target support surface from the first support, the second support, the third support to the Nth support based on the coordinate values of the first support, the second support, the third support to the Nth support, and then abandoning the supporting piece which is not positioned on the target supporting surface, and reserving the supporting piece positioned on the target supporting surface from the first supporting piece, the second supporting piece, the third supporting piece to the Nth supporting piece, and generating the support printing data based on the support in the target support surface among the first support, the second support, the third support to the nth support.
In the embodiment of the application, after the third supporting member is obtained, whether the position of the third supporting member is in the target supporting surface or not can be judged by judging, and then the third supporting member is obtained only at the position of the third supporting member in the target supporting surface, so that a plurality of supporting member printing data which are adjacent and have the same distance are generated and are all in the target supporting surface, and the printing effect is improved.
Furthermore, an embodiment of the present invention further provides a storage medium, on which a 3D printing data generation program of a model support is stored, and when executed by a processor, the 3D printing data generation program of the model support implements the steps of the various embodiments described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A3D printing data generation method of a model support is characterized in that the 3D printing data generation method of the model support comprises the following steps:
determining a target supporting surface based on the three-dimensional data of the target model;
generating a plurality of support printing data with the same distance between adjacent supports on the target supporting surface; generating target print data based on the three-dimensional data of the target model and the support print data.
2. The 3D print data generation method of a model support according to claim 1, wherein the step of generating a plurality of support print data having the same distance between adjacent ones on the target support surface comprises:
acquiring a first supporting piece on the target supporting surface, establishing a circle by taking the position of the first supporting piece as the circle center and a preset distance as the radius, and acquiring a second supporting piece on the circle;
establishing a circle by taking the position of the second supporting piece as the circle center and the preset distance as the radius, and acquiring a third supporting piece on the circle;
sequentially rounding the target supporting surface and obtaining a supporting piece to obtain an Nth supporting piece, and obtaining a plurality of adjacent supporting pieces with the same distance according to the first supporting piece, the second supporting piece, the third supporting piece and the Nth supporting piece;
generating support print data according to the position of each support.
3. The 3D printing data generating method of a model support according to claim 2, wherein the step of acquiring a third support on the circle comprises:
acquiring a target support part, of the third support parts, of which the distance from the first support part to the second support part is greater than or equal to a preset distance;
determining the target support as the third support.
4. The 3D printing data generating method of a model support according to claim 2, wherein the step of acquiring a third support on the circle comprises:
judging whether a support part which is overlapped with the first support part and/or the second support part is included in the third support part;
if so, discarding the support part, which is overlapped with the first support part and/or the second support part, in the third support part, and reserving the support parts, which are not overlapped with the first support part and/or the second support part, in the third support part;
if not, the third supporting piece is reserved.
5. The 3D printing data generating method of a model support according to claim 2, wherein the step of acquiring a third support on the circle comprises:
judging whether the position of the third supporting piece is on the target supporting surface;
if yes, retaining the third support piece;
if not, discarding the support part which is not positioned on the target support surface in the third support part.
6. The 3D print data generation method of a model support according to claim 2, wherein the step of generating support print data according to the positions of the respective supports includes:
generating first support printing data according to the position of each support and the first printing layer height;
establishing second support printing data on the first support printing data according to the position of the support and the second printing layer height, wherein the cross-sectional area of the support printed by the first support printing data is larger than that of the support printed by the second support printing data, and the target printing layer height of the support is obtained after the first printing layer height and the second printing layer height are added.
7. The method for generating 3D printing data of a model support according to claim 1, wherein the step of determining a target support surface based on three-dimensional data of a target model comprises:
determining an included angle between a normal vector of each triangular surface of the target model and a negative Z axis according to the three-dimensional data;
determining a target triangular surface according to the included angle, wherein the included angle corresponding to the target triangular surface is smaller than a preset angle threshold value;
and determining the target triangular surface as the target supporting surface.
8. A3D printing data generation device of a model support, characterized by comprising: memory, a processor and a 3D printing data generation program of a model support stored on the memory and executable on the processor, the 3D printing data generation program of a model support realizing the steps of the 3D printing data generation method of a model support according to any one of claims 1 to 7 when executed by the processor.
9. A storage medium, characterized in that the storage medium has stored thereon a 3D printing data generation program of a model support, which when executed by a processor implements the steps of the 3D printing data generation program of a model support according to any one of claims 1 to 7.
CN202111260664.8A 2021-10-27 2021-10-27 3D printing data generation method and device of model support and storage medium Active CN114131931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111260664.8A CN114131931B (en) 2021-10-27 2021-10-27 3D printing data generation method and device of model support and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111260664.8A CN114131931B (en) 2021-10-27 2021-10-27 3D printing data generation method and device of model support and storage medium

Publications (2)

Publication Number Publication Date
CN114131931A true CN114131931A (en) 2022-03-04
CN114131931B CN114131931B (en) 2022-07-12

Family

ID=80395642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111260664.8A Active CN114131931B (en) 2021-10-27 2021-10-27 3D printing data generation method and device of model support and storage medium

Country Status (1)

Country Link
CN (1) CN114131931B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104772905A (en) * 2015-03-25 2015-07-15 北京工业大学 Distance guided adaptive hybrid support structure generating method
CN105643943A (en) * 2016-03-31 2016-06-08 周宏志 Generating method and generating system for support of additive manufacturing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104772905A (en) * 2015-03-25 2015-07-15 北京工业大学 Distance guided adaptive hybrid support structure generating method
CN105643943A (en) * 2016-03-31 2016-06-08 周宏志 Generating method and generating system for support of additive manufacturing

Also Published As

Publication number Publication date
CN114131931B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
JP6859509B2 (en) Blockchain data processing method and equipment
US9811611B2 (en) Method and apparatus for creating curved surface model
CN108846274B (en) Security verification method, device and terminal
CN110705213B (en) PDF table extraction method, device, terminal and computer readable storage medium
CN106528301B (en) Method and device for updating timeout waiting duration
US11335025B2 (en) Method and device for joint point detection
CN109726368B (en) Map marking method and device
WO2017074809A1 (en) Computing device having user-input accessory
CN111935468B (en) Method and device for detecting deviation of projection center and computer readable storage medium
CN106293420B (en) Application prompt information display method and device
CN111144584A (en) Parameter tuning method, device and computer storage medium
CN108052869B (en) Lane line recognition method, lane line recognition device and computer-readable storage medium
CN110866555A (en) Incremental data clustering method, device and equipment and readable storage medium
CN104820523A (en) Method and device for realizing touch control
CN114661394B (en) Interface display control method and device, storage medium and processor
CN111598084A (en) Defect segmentation network training method, device and equipment and readable storage medium
CN114131931B (en) 3D printing data generation method and device of model support and storage medium
CN114241105A (en) Interface rendering method, device, equipment and computer readable storage medium
CN113520638A (en) Design and manufacturing method of titanium mesh for alveolar bone increment
CN114083800B (en) 3D printing data generation method and device of model supporting surface and storage medium
CN110717486B (en) Text detection method and device, electronic equipment and storage medium
CN108288303B (en) Automatic checking method, device, equipment and medium for three-dimensional model purchasing specification
CN115619904A (en) Image processing method, device and equipment
CN111625693A (en) Data processing method, device, equipment and computer readable storage medium
CN113971630A (en) Projection posture recommendation method and device for converting three-dimensional structure diagram into two-dimensional three-view diagram

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