CN113183470A - 3D printing self-adaptive layering method capable of reserving irregular features of model - Google Patents

3D printing self-adaptive layering method capable of reserving irregular features of model Download PDF

Info

Publication number
CN113183470A
CN113183470A CN202110515918.XA CN202110515918A CN113183470A CN 113183470 A CN113183470 A CN 113183470A CN 202110515918 A CN202110515918 A CN 202110515918A CN 113183470 A CN113183470 A CN 113183470A
Authority
CN
China
Prior art keywords
height
model
feature
printing
layering
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
CN202110515918.XA
Other languages
Chinese (zh)
Other versions
CN113183470B (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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN202110515918.XA priority Critical patent/CN113183470B/en
Publication of CN113183470A publication Critical patent/CN113183470A/en
Application granted granted Critical
Publication of CN113183470B publication Critical patent/CN113183470B/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
    • 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

Abstract

The invention discloses a 3D printing self-adaptive layering method for reserving unconventional characteristics of a model, which comprises the following steps of: s1, defining and identifying the conventional features of the model, adjusting the feature height interval, and setting a layering plane at each conventional feature height after adjustment; s2, subdividing the model by controlling the layer thickness between every two adjacent conventional feature heights through the volume error rate, and keeping the unconventional features; and S3, adjusting the layering height according to the actual printing layer thickness limit. The method not only defines and identifies the common conventional characteristic points, characteristic lines and characteristic surfaces of most models, but also ensures that the characteristics are not lost or shifted in the printing process; and the model is subdivided at the detail features which do not meet the conventional definition by adopting a method for calculating the volume error rate, so that the unconventional features of the model are effectively reserved, the printing error is further reduced, and the model forming precision is improved.

Description

3D printing self-adaptive layering method capable of reserving irregular features of model
Technical Field
The invention belongs to the technical field of 3D printing data processing, and particularly relates to a 3D printing self-adaptive layering method for reserving unconventional features of a model.
Background
The 3D printing technology is additive manufacturing technology for processing a three-dimensional CAD model into an entity in a mode of accumulating materials layer by layer, and the basic principle of the additive manufacturing technology is 'layered manufacturing and layer by layer superposition', a series of data processing processes are carried out on a part model to be processed through data processing software, the three-dimensional CAD model is dispersed into two-dimensional layers, and then a processing path of a layer file is converted into a machine code which can be recognized by a printer to complete the entity printing of the part. Therefore, the data processing process, particularly the layered slicing link, is the core content of 3D printing, and has a crucial influence on the accuracy and efficiency of entity printing.
The current research on hierarchical algorithms is mainly divided into two categories: equal thickness layering and adaptive layering. The uniform-thickness layering algorithm is used for uniformly layering the whole model according to the thickness of a fixed layer, is simple to implement, and easily causes the loss of the dense characteristics of the outer surface of the model; the self-adaptive layering algorithm automatically corrects the printing thickness according to the curvature change of the outer surface of the model, and reduces the printing error by the number of layers as few as possible. However, in terms of processing the detailed features of the outer surface of the model, most of the current adaptive layering algorithms only summarize and define conventional features such as steps, holes and the like, and irregular features which do not meet the conventional definition, such as chutes, cannot be identified and processed, and are easily lost in the layering process, so that the situations of loss and deviation of the irregular features of the model in the adaptive layering process need to be considered, and the printing error is further reduced.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a 3D printing self-adaptive layering method which can identify the conventional features of a model in the layering process, ensure that the features are not lost or deviated, subdivide the irregular features and effectively reserve the irregular features of the model.
The purpose of the invention is realized by the following technical scheme: A3D printing self-adaptive layering method for preserving irregular features of a model comprises the following steps:
s1, defining and identifying the conventional features of the model, adjusting the feature height interval, and setting a layering plane at each conventional feature height after adjustment;
s2, subdividing the model by controlling the layer thickness between every two adjacent feature heights through the volume error rate, and keeping the unconventional features;
and S3, adjusting the layering height according to the actual printing layer thickness limit.
Further, the step S1 specifically includes the following sub-steps:
s11, summarizing the conventional features into three types of feature points, feature lines and feature surfaces, and then respectively identifying the feature points, the feature lines and the feature surfaces according to the topological structure data;
s12, adjusting the feature height interval:
s121, storing the lowest point height and the highest point height of the model into a characteristic height sequence, and reordering the whole sequence from low to high;
s122, calculating the height difference between every two feature heights from the lowest point of the model from low to high, and setting the height difference of the two feature heights from low to high as hc1And hc2If h isc2-hc1If min _ Δ h is less than m, h is calculatedc2Next characteristic height hc3And hc1The height difference of (a); if hc3-hc1If h is 2 min _ Δ h, then h is addedc2Is adjusted to a height of hc1+ min _ Δ h; if hc3-hc1< 2 × min _ Δ h and hc3-hc1If min _ Δ h, then h is directly discardedc2(ii) a If hc3-hc1If min _ Δ h is less than the threshold, then h is discardedc2Continue to judge hc3Next characteristic height hc4And hc1The height difference of (a); repeating the above operations until hc1The height difference with the next characteristic height is greater than or equal to min _ Δ h; then h is putc1Is set to a new hc1Adjusting the height difference until hc2Is the highest point height of the model; if when h is presentc2Is the highest point height h of the modelc2-hc1If min _ Δ h is less than the threshold, then h is discardedc1(ii) a Where min _ Δ h represents the minimum printable thickness.
Further, the feature points, the feature lines, and the feature planes are defined as follows:
the characteristic points are as follows: a locally highest or lowest dot in the printing direction; the point is a common intersection point of a plurality of triangular patches, and the coordinate value along the printing direction is the minimum value or the maximum value of the coordinate values along the printing direction in all vertexes of the triangular patch;
characteristic line: a line segment perpendicular to the printing direction, wherein two adjacent triangular surface patches of the line segment are not parallel to the layering plane, and the included angle of the normal vectors of the two triangular surface patches is larger than a set threshold;
the characteristic surface is as follows: a plane perpendicular to the printing direction.
Further, the method for identifying the feature points, the feature lines and the feature surfaces comprises the following steps:
the characteristic points are as follows: traversing all vertexes of the STL model, searching all vertexes of all triangular patches where the point is located, if the Z coordinate value of the point is the maximum value or the minimum value in the Z coordinate values of all vertexes, determining the point as a feature point, and determining the feature height as the Z coordinate value of the point;
characteristic line: traversing all edges of the STL model, if the Z coordinate values of the starting point and the ending point of the edge are equal, then judging whether two adjacent triangular patches of the line segment are feature planes, if not, calculating the normal vector included angle of the two triangular patches, if the normal vector included angle of the two triangular patches exceeds a set threshold value, determining the line segment as a feature line, and if the normal vector included angle of the two triangular patches exceeds the set threshold value, determining the feature height as the Z coordinate value of the starting point or the ending point of the line segment;
the characteristic surface is as follows: and traversing all the triangular patches of the STL model, if the Z coordinate values of three vertexes of the triangular patches are equal, determining that the plane where the triangular patch is located is a characteristic plane, and the characteristic height is the Z coordinate value of any vertex.
Further, the step S2 specifically includes the following steps:
s21, setting the layering plane where the lowest conventional feature height is located as a reference layering plane, and presetting the next layering height as the current height plus the maximum printable thickness along the layering direction;
s22, calculating the volume error rate between two layered planes:
Figure BDA0003062095390000031
where η is the volume error rate, VmAnd VpActual volume and printing volume, V, of the current two-layer modeleIs the printing error volume; the calculation method is as follows:
(1) model printing volume VpThe calculation method comprises the following steps: the height of the two sub-layers is respectively h from low to high1And h2The forming principle of 3D printing is that the cylinders with layered cross section as bottom and high layer thickness are piled up layer by layer to form a solid body, so h1And h2The inter-model print volume is actually h1The cross section is a bottom surface h2-h1High column volume;
thus, h is first obtained1Cross-sectional profile data at height: firstly, the triangular patches are sorted and preprocessed, and then the triangular patches are found out1Calculating to obtain all intersecting line segments by using the highly-intersected triangular patches, sequentially connecting the intersecting line segments end to obtain a closed contour line, and finally judging the inner contour and the outer contour line and storing the contour lines;
after all closed contour lines of the current layer are obtained, calculating the polygonal area of the section of the current layer by a triangle segmentation method; if the layering direction is along the Z-axis positive direction, the plane polygon area calculation formula is as follows:
Figure BDA0003062095390000032
wherein n is the number of polygon vertexes (x)a,ya)、(xb,yb) The coordinates of the other two vertexes of the triangle except the origin point;
from equation (2), h1Layered cross-sectional area S at heighth1Further obtaining the printing volume V of the current partial modelp=Sh1·(h2-h1);
(2) Printing error volume VeThe printing error volume between two layered planes is composed of the sum of volume errors generated between the two planes by all triangular surface patches; let SiIs a triangular surfaceSlice ACD at h1And h2Area between two layered planes, thetaiIs the sum of the normal vectors h of the triangular patches1The included angle of the layering plane at the height part is that the triangular patch ACD is at h1And h2The calculation method of the volume error between the two layers comprises the following steps:
Figure BDA0003062095390000033
traversing the triangular patch to find h1And h2And (3) calculating printing errors between two layers by using all triangular patches between two layering heights according to a formula (4):
Figure BDA0003062095390000041
then, according to the formula (1), the volume error rate eta of printing between two layers under the current layer thickness is obtainedcEta is tocWith print-enabled volume error rate threshold η0Make a comparison if ηc>η0Then, the layer thickness is adjusted according to equation (5):
Figure BDA0003062095390000042
adjusting layer height to current layer height and Δ hnewRepeating the steps to calculate a new volume error rate until the volume error rate is within a given threshold range;
and S23, taking the layering plane where the obtained layer height is located as a new reference layering plane, and repeating S21 and S23 until the model layering between the two feature heights is completed.
Further, the step S3 is performed as follows: let the minimum printable thickness be min _ Δ h, and the current regular feature height be hcThe heights of the two adjacent layers are h1、h2If h isc-h2< min _ Δ h and hc-h1If h is 2 min _ Δ h, then h is added2Is adjusted to a height of hc-min_Δh;
If hc-h1If < 2 min _ Δ h, then h is discarded2
The invention has the beneficial effects that: in the process of carrying out self-adaptive layering on the three-dimensional model, the method firstly defines and identifies the common conventional characteristic points, characteristic lines and characteristic surfaces of most models, and ensures that the characteristics are not lost or deviated in the printing process; and then, the model is subdivided at the position of the detail feature which does not meet the conventional definition by adopting a method for calculating the volume error rate, so that the unconventional feature of the model is effectively reserved, the printing error is further reduced, and the model forming precision is improved.
Drawings
FIG. 1 is a flow chart of a 3D printing adaptive layering method of the present invention;
FIG. 2 is a schematic diagram of the topology of an STL file;
FIG. 3 is a schematic diagram of polygon area calculation;
FIG. 4 is a schematic diagram of conventional features;
FIG. 5 is a schematic illustration of the layering of conventional features by the method of the present invention;
FIG. 6 is a schematic of tip height method vs. layering of conventional features;
FIG. 7 is a schematic view of an unconventional feature;
FIG. 8 is a schematic of the layering of the unconventional features by the method of the present invention;
fig. 9 is a schematic of the tip height method versus layering of unconventional features.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings.
As shown in FIG. 1, the invention relates to a 3D printing self-adaptive layering method for preserving the unconventional characteristics of a model based on volume error rate, which comprises the following steps:
s1, defining and identifying the conventional features of the model, adjusting the feature height interval, and setting a layering plane at each conventional feature height after adjustment;
the method specifically comprises the following substeps:
s11, summarizing the conventional features into three types of feature points, feature lines and feature surfaces, and then respectively identifying the feature points, the feature lines and the feature surfaces according to the topological structure data;
the characteristic points, the characteristic lines and the characteristic surfaces are defined as follows:
the characteristic points are as follows: a locally highest or lowest dot in the printing direction; the point is a common intersection point of a plurality of triangular patches, and the coordinate value along the printing direction is the minimum value or the maximum value of the coordinate values along the printing direction in all vertexes of the triangular patch;
characteristic line: a line segment perpendicular to the printing direction, wherein two adjacent triangular surface patches of the line segment are not parallel to the layering plane, and the included angle of the normal vectors of the two triangular surface patches is larger than a set threshold;
the characteristic surface is as follows: a plane perpendicular to the printing direction.
To facilitate the identification of the conventional features, the STL model data topology shown in fig. 2 is first established, and the data structure for storing points, lines, and planes is as follows:
Figure BDA0003062095390000051
Figure BDA0003062095390000061
the method for identifying the feature points, the feature lines and the feature surfaces comprises the following steps:
the characteristic points are as follows: traversing all vertexes of the STL model, searching all vertexes of all triangular patches where the point is located, if the Z coordinate value of the point is the maximum value or the minimum value in the Z coordinate values of all vertexes, determining the point as a feature point, and determining the feature height as the Z coordinate value of the point;
characteristic line: traversing all edges of the STL model, if the Z coordinate values of the starting point and the ending point of the edge are equal, then judging whether two adjacent triangular patches of the line segment are feature planes, if not, calculating the normal vector included angle of the two triangular patches, if the normal vector included angle of the two triangular patches exceeds a set threshold value, determining the line segment as a feature line, and if the normal vector included angle of the two triangular patches exceeds the set threshold value, determining the feature height as the Z coordinate value of the starting point or the ending point of the line segment;
the characteristic surface is as follows: and traversing all the triangular patches of the STL model, if the Z coordinate values of three vertexes of the triangular patches are equal, determining that the plane where the triangular patch is located is a characteristic plane, and the characteristic height is the Z coordinate value of any vertex.
S12, adjusting the feature height interval:
s121, storing the lowest point height and the highest point height of the model into a characteristic height sequence, and reordering the whole sequence from low to high;
s122, calculating the height difference between every two feature heights from the lowest point of the model from low to high, and setting the height difference of the two feature heights from low to high as hc1And hc2If h isc2-hc1If min _ Δ h is less than m, h is calculatedc2Next characteristic height hc3And hc1The height difference of (a); if hc3-hc1If h is 2 min _ Δ h, then h is addedc2Is adjusted to a height of hc1+ min _ Δ h; if hc3-hc1< 2 × min _ Δ h and hc3-hc1If min _ Δ h, then h is directly discardedc2(ii) a If hc3-hc1If min _ Δ h is less than the threshold, then h is discardedc2Continue to judge hc3Next characteristic height hc4And hc1The height difference of (a); repeating the above operations until hc1The height difference with the next characteristic height is greater than or equal to min _ Δ h; then h is putc1Is set to a new hc1Adjusting the height difference until hc2Is the highest point height of the model; if when h is presentc2Is the highest point height h of the modelc2-hc1If min _ Δ h is less than the threshold, then h is discardedc1(ii) a Where min _ Δ h represents the minimum printable thickness.
S2, subdividing the model by controlling the layer thickness between every two adjacent feature heights through the volume error rate, and keeping the unconventional features;
the method specifically comprises the following steps:
s21, setting the layering plane where the lowest conventional feature height is located as a reference layering plane, and presetting the next layering height as the current height plus the maximum printable thickness along the layering direction;
s22, calculating the volume error rate between two layered planes:
Figure BDA0003062095390000071
where η is the volume error rate, VmAnd VpActual volume and printing volume, V, of the current two-layer modeleIs the printing error volume; the calculation method is as follows:
(1) model printing volume VpThe calculation method comprises the following steps: the height of the two sub-layers is respectively h from low to high1And h2The forming principle of 3D printing is that the cylinders with layered cross section as bottom and high layer thickness are piled up layer by layer to form a solid body, so h1And h2The inter-model print volume is actually h1The cross section is a bottom surface h2-h1High column volume;
thus, h is first obtained1Cross-sectional profile data at height: firstly, the triangular patches are sorted and preprocessed, and then the triangular patches are found out1Calculating to obtain all intersecting line segments by using the highly-intersected triangular patches, sequentially connecting the intersecting line segments end to obtain a closed contour line, and finally judging the inner contour and the outer contour line and storing the contour lines;
after all closed contour lines of the current layer are obtained, calculating the polygonal area of the section of the current layer by a triangle segmentation method; if the layering direction is along the Z-axis positive direction, the plane polygon area calculation formula is as follows:
Figure BDA0003062095390000072
wherein n is the number of polygon vertexes (x)a,ya)、(xb,yb) The coordinates of the other two vertexes of the triangle except the origin point;
from equation (2), h1Layered cross-sectional area S at heighth1Further obtaining the printing volume V of the current partial modelp=Sh1·(h2-h1);
(2) Printing error volume VeThe printing error volume between two layered planes is composed of the sum of volume errors generated between the two planes by all triangular surface patches; as shown in FIG. 3, let SiFor a triangular patch ACD at h1And h2Area between two layered planes, thetaiIs the sum of the normal vectors h of the triangular patches1The included angle of the layering plane at the height part is that the triangular patch ACD is at h1And h2The calculation method of the volume error between the two layers comprises the following steps:
Figure BDA0003062095390000081
traversing the triangular patch to find h1And h2And (3) calculating printing errors between two layers by using all triangular patches between two layering heights according to a formula (4):
Figure BDA0003062095390000082
then, according to the formula (1), the volume error rate eta of printing between two layers under the current layer thickness is obtainedcEta is tocWith print-enabled volume error rate threshold η0Make a comparison if ηc>η0Then, the layer thickness is adjusted according to equation (5):
Figure BDA0003062095390000083
adjusting layer height to current layer height and Δ hnewRepeating the steps to calculate a new volume error rate until the volume error rate is within a given threshold range;
and S23, taking the layering plane where the obtained layer height is located as a new reference layering plane, and repeating S21 and S23 until the model layering between the two feature heights is completed.
S3, adjusting the layering height according to the practical printing layer thickness limit; the invention adopts the layering idea of the method to be composed of the current layerThe height is used to obtain the next layering height, so that the distance between some conventional feature heights and the previous layering height is less than the minimum printable thickness, and the layering height needs to be adjusted as follows: let the minimum printable thickness be min _ Δ h, and the current regular feature height be hcThe heights of the two adjacent layers are h1、h2If h isc-h2< min _ Δ h and hc-h1If h is 2 min _ Δ h, then h is added2Is adjusted to a height of hc-min_Δh;
If hc-h1If < 2 min _ Δ h, then h is discarded2
In this embodiment, the trophy model shown in fig. 4 and the chute model shown in fig. 7 are used to test the improvement effect of the method of the present invention on the situations of loss and deviation of the conventional features and the non-conventional features, and based on C + + programming, the method specifically includes the following steps:
the trophy model:
s1: identifying the conventional features of the model, selecting h as shown in FIG. 40、h1、h2、h3Three feature heights are used to measure the shift and loss of the conventional feature.
S2: according to the actual printing requirement, the minimum printable thickness is set to be 1mm, and the maximum printable thickness is set to be 4 mm. For the method of the invention, a volume error rate threshold of 0.1 is set.
S3: and importing the model into a program, and operating to obtain a layering result.
S4: in order to conveniently compare the effects, under the same printing condition, the center height value of 1mm is adopted to layer the model by using a center height method, and a layering result is obtained.
The results of the layering of the present invention and the tip height method on the trophy model are shown in fig. 5 and 6, respectively, the number of layering and the volume error rate for both methods are shown in table 1, and the deviation of the model characteristics is shown in table 2. By comparison, the tip height method has 148 layering and 153 layering, and both methods produce a volume error rate of about 0.2, but the tip height method results in h in dealing with loss and offset of conventional features0Loss of features at height (see FIG. 6) and h1、h2、h3The characteristic at the height is deviated to different degrees (see table 2), and the method of the invention not only retains h0Features at height (see fig. 6) while ensuring h1、h2、h3The features did not shift at height (see table 2). Thus demonstrating the effectiveness of the method of the present invention in dealing with conventional feature loss and offset situations.
TABLE 1
Figure BDA0003062095390000091
TABLE 2
Figure BDA0003062095390000092
Chute model:
s1: according to actual printing requirements, the minimum printable thickness is set to be 0.5mm, and the maximum printable thickness is set to be 10 mm. For the method of the invention, a volume error rate threshold of 0.1 is set.
S2: and importing the model into a program, and operating to obtain a layering result.
S3: in order to conveniently compare the effects, the tip height method is adopted to layer the model by adopting the tip height value of 0.5mm under the same printing condition, and a layering result is obtained.
The results of the layering of the chute models by the inventive method and tip height method are shown in fig. 8 and 9, respectively, and the number of layering and the volume error rate for both methods are shown in table 3. As can be seen from the graph, when the curvature change of the outer surface of the model cannot be identified as a conventional feature point, a feature line and a feature surface, the feature of the model cannot be effectively retained by the apex height method, so that a large volume error is generated, for example, as shown in fig. 9, according to the algorithm, the model after being printed and formed is a quadrangular prism, and all the inclined grooves are lost; the method of the invention subdivides the height of each chute, effectively retains the detail characteristics and reduces the volume error to the maximum extent. Thus demonstrating the effectiveness of the method of the present invention in dealing with the loss of unconventional features.
The invention provides a 3D printing self-adaptive layering method for reserving model unconventional features, which effectively prevents the conventional features from being lost and offset in the layering process by defining and identifying feature points, feature lines and feature surfaces, and meanwhile, controls a layer thickness subdivision model by adopting a method for calculating a volume error rate, effectively reserves the unconventional features that the model does not meet the conventional definition, further reduces printing errors and improves the model forming precision.
TABLE 3
Figure BDA0003062095390000101
It will be appreciated by those of ordinary skill in the art that the embodiments described herein are intended to assist the reader in understanding the principles of the invention and are to be construed as being without limitation to such specifically recited embodiments and examples. Those skilled in the art can make various other specific changes and combinations based on the teachings of the present invention without departing from the spirit of the invention, and these changes and combinations are within the scope of the invention.

Claims (6)

1. A3D printing self-adaptive layering method for preserving unconventional features of a model is characterized by comprising the following steps:
s1, defining and identifying the conventional features of the model, adjusting the feature height interval, and setting a layering plane at each conventional feature height after adjustment;
s2, subdividing the model by controlling the layer thickness between every two adjacent feature heights through the volume error rate, and keeping the unconventional features;
and S3, adjusting the layering height according to the actual printing layer thickness limit.
2. The 3D printing adaptive layering method for preserving model unconventional features according to claim 1, wherein the step S1 specifically comprises the following sub-steps:
s11, summarizing the conventional features into three types of feature points, feature lines and feature surfaces, and then respectively identifying the feature points, the feature lines and the feature surfaces according to the topological structure data;
s12, adjusting the feature height interval:
s121, storing the lowest point height and the highest point height of the model into a characteristic height sequence, and reordering the whole sequence from low to high;
s122, calculating the height difference between every two feature heights from the lowest point of the model from low to high, and setting the height difference of the two feature heights from low to high as hc1And hc2If h isc2-hc1If min _ Δ h is less than m, h is calculatedc2Next characteristic height hc3And hc1The height difference of (a); if hc3-hc1If h is 2 min _ Δ h, then h is addedc2Is adjusted to a height of hc1+ min _ Δ h; if hc3-hc1< 2 × min _ Δ h and hc3-hc1If min _ Δ h, then h is directly discardedc2(ii) a If hc3-hc1If min _ Δ h is less than the threshold, then h is discardedc2Continue to judge hc3Next characteristic height hc4And hc1The height difference of (a); repeating the above operations until hc1The height difference with the next characteristic height is greater than or equal to min _ Δ h; then h is putc1Is set to a new hc1Adjusting the height difference until hc2Is the highest point height of the model; if when h is presentc2Is the highest point height h of the modelc2-hc1If min _ Δ h is less than the threshold, then h is discardedc1(ii) a Where min _ Δ h represents the minimum printable thickness.
3. The 3D printing adaptive layering method for preserving model unconventional features according to claim 2, wherein the feature points, feature lines and feature planes are defined as follows:
the characteristic points are as follows: a locally highest or lowest dot in the printing direction; the point is a common intersection point of a plurality of triangular patches, and the coordinate value along the printing direction is the minimum value or the maximum value of the coordinate values along the printing direction in all vertexes of the triangular patch;
characteristic line: a line segment perpendicular to the printing direction, wherein two adjacent triangular surface patches of the line segment are not parallel to the layering plane, and the included angle of the normal vectors of the two triangular surface patches is larger than a set threshold;
the characteristic surface is as follows: a plane perpendicular to the printing direction.
4. The 3D printing adaptive layering method for preserving the unconventional features of the model according to claim 2, wherein the method for identifying the feature points, the feature lines and the feature planes comprises the following steps:
the characteristic points are as follows: traversing all vertexes of the STL model, searching all vertexes of all triangular patches where the point is located, if the Z coordinate value of the point is the maximum value or the minimum value in the Z coordinate values of all vertexes, determining the point as a feature point, and determining the feature height as the Z coordinate value of the point;
characteristic line: traversing all edges of the STL model, if the Z coordinate values of the starting point and the ending point of the edge are equal, then judging whether two adjacent triangular patches of the line segment are feature planes, if not, calculating the normal vector included angle of the two triangular patches, if the normal vector included angle of the two triangular patches exceeds a set threshold value, determining the line segment as a feature line, and if the normal vector included angle of the two triangular patches exceeds the set threshold value, determining the feature height as the Z coordinate value of the starting point or the ending point of the line segment;
the characteristic surface is as follows: and traversing all the triangular patches of the STL model, if the Z coordinate values of three vertexes of the triangular patches are equal, determining that the plane where the triangular patch is located is a characteristic plane, and the characteristic height is the Z coordinate value of any vertex.
5. The 3D printing adaptive layering method for preserving model unconventional features according to claim 1, wherein the step S2 specifically comprises the following steps:
s21, setting the layering plane where the lowest conventional feature height is located as a reference layering plane, and presetting the next layering height as the current height plus the maximum printable thickness along the layering direction;
s22, calculating the volume error rate between two layered planes:
Figure FDA0003062095380000021
where η is the volume error rate, VmAnd VpActual volume and printing volume, V, of the current two-layer modeleIs the printing error volume; the calculation method is as follows:
(1) model printing volume VpThe calculation method comprises the following steps: the height of the two sub-layers is respectively h from low to high1And h2The forming principle of 3D printing is that the cylinders with layered cross section as bottom and high layer thickness are piled up layer by layer to form a solid body, so h1And h2The inter-model print volume is actually h1The cross section is a bottom surface h2-h1High column volume;
thus, h is first obtained1Cross-sectional profile data at height: firstly, the triangular patches are sorted and preprocessed, and then the triangular patches are found out1Calculating to obtain all intersecting line segments by using the highly-intersected triangular patches, sequentially connecting the intersecting line segments end to obtain a closed contour line, and finally judging the inner contour and the outer contour line and storing the contour lines;
after all closed contour lines of the current layer are obtained, calculating the polygonal area of the section of the current layer by a triangle segmentation method; if the layering direction is along the Z-axis positive direction, the plane polygon area calculation formula is as follows:
Figure FDA0003062095380000022
wherein n is the number of polygon vertexes (x)a,ya)、(xb,yb) The coordinates of the other two vertexes of the triangle except the origin point;
from equation (2), h1Layered cross-sectional area S at heighth1Further obtaining the printing volume V of the current partial modelp=Sh1·(h2-h1);
(2) Printing error volume VeThe printing error volume between two layered planes is composed of the sum of volume errors generated between the two planes by all triangular surface patches; let SiFor a triangular patch ACD at h1And h2Area between two layered planes, thetaiIs the sum of the normal vectors h of the triangular patches1The included angle of the layering plane at the height part is that the triangular patch ACD is at h1And h2The calculation method of the volume error between the two layers comprises the following steps:
Figure FDA0003062095380000031
traversing the triangular patch to find h1And h2And (3) calculating printing errors between two layers by using all triangular patches between two layering heights according to a formula (4):
Figure FDA0003062095380000032
then, according to the formula (1), the volume error rate eta of printing between two layers under the current layer thickness is obtainedcEta is tocWith print-enabled volume error rate threshold η0Make a comparison if ηc>η0Then, the layer thickness is adjusted according to equation (5):
Figure FDA0003062095380000033
adjusting layer height to current layer height and Δ hnewRepeating the steps to calculate a new volume error rate until the volume error rate is within a given threshold range;
and S23, taking the layering plane where the obtained layer height is located as a new reference layering plane, and repeating S21 and S23 until the model layering between the two feature heights is completed.
6. The 3D printing adaptive layering method for preserving model unconventional features as claimed in claim 1, wherein the method comprisesThe step S3 adjustment method is as follows: let the minimum printable thickness be min _ Δ h, and the current regular feature height be hcThe heights of the two adjacent layers are h1、h2If h isc-h2< min _ Δ h and hc-h1If h is 2 min _ Δ h, then h is added2Is adjusted to a height of hc-min _ Δ h; if hc-h1If < 2 min _ Δ h, then h is discarded2
CN202110515918.XA 2021-05-12 2021-05-12 3D printing self-adaptive layering method capable of reserving unconventional features of model Active CN113183470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110515918.XA CN113183470B (en) 2021-05-12 2021-05-12 3D printing self-adaptive layering method capable of reserving unconventional features of model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110515918.XA CN113183470B (en) 2021-05-12 2021-05-12 3D printing self-adaptive layering method capable of reserving unconventional features of model

Publications (2)

Publication Number Publication Date
CN113183470A true CN113183470A (en) 2021-07-30
CN113183470B CN113183470B (en) 2022-07-15

Family

ID=76981329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110515918.XA Active CN113183470B (en) 2021-05-12 2021-05-12 3D printing self-adaptive layering method capable of reserving unconventional features of model

Country Status (1)

Country Link
CN (1) CN113183470B (en)

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432704A (en) * 1993-11-23 1995-07-11 Clemson University Adaptive lamina generation for shape dependent process control and/or object decomposition
US5596504A (en) * 1995-04-10 1997-01-21 Clemson University Apparatus and method for layered modeling of intended objects represented in STL format and adaptive slicing thereof
US6187214B1 (en) * 1996-05-13 2001-02-13 Universidad De Seville Method and device for production of components for microfabrication
US20050154481A1 (en) * 2004-01-13 2005-07-14 Sensable Technologies, Inc. Apparatus and methods for modifying a model of an object to enforce compliance with a manufacturing constraint
CN104783924A (en) * 2015-04-24 2015-07-22 杭州捷诺飞生物科技有限公司 Breast prosthesis manufacturing method based on three-dimensional printing technology
US20160236414A1 (en) * 2015-02-12 2016-08-18 Arevo Inc. Method to monitor additive manufacturing process for detection and in-situ correction of defects
CN106202687A (en) * 2016-07-05 2016-12-07 河海大学常州校区 A kind of adaptive layered processing method based on model area rate of change
US20170136708A1 (en) * 2008-05-05 2017-05-18 Georgia Tech Research Corporation Systems and methods for fabricating three-dimensional objects
CN106898050A (en) * 2017-02-07 2017-06-27 浙江大学 A kind of grid model adaptive layered method based on annular neighborhood reference contour line
US20170365054A1 (en) * 1999-08-11 2017-12-21 Osteoplastics, Llc Methods and systems for producing an implant
US20180071949A1 (en) * 2016-09-14 2018-03-15 Brian C. Giles Method of reinforced cementitious constrauction by high speed extrusion printing and apparatus for using same
WO2018064066A1 (en) * 2016-09-27 2018-04-05 Materialise N.V. Energy density mapping in additive manufacturing environments
US20180162066A1 (en) * 2016-12-09 2018-06-14 Canon Kabushiki Kaisha Determining an error in operation of an additive manufacturing device
US20180169953A1 (en) * 2016-12-16 2018-06-21 Massachusetts Institute Of Technology Adaptive material deposition for additive manufacturing
US20180186089A1 (en) * 2017-01-05 2018-07-05 Xyzprinting, Inc. Three-dimensional printing apparatus and inkjet coloring method thereof
CN108481735A (en) * 2018-03-22 2018-09-04 北京航星机器制造有限公司 Structural member appearance and size control method and device based on adaptive layered slice
CN109522585A (en) * 2018-09-13 2019-03-26 合肥工业大学 A kind of adaptive layered method preventing 3D printing model characteristic offset
CN110533770A (en) * 2019-08-20 2019-12-03 厦门大学 A kind of 3D printing dicing method towards implied expression medical model
EP3624011A1 (en) * 2018-09-11 2020-03-18 OCE Holding B.V. Method of printing an object having a surface of varying height
CN111203538A (en) * 2020-04-22 2020-05-29 中国航发上海商用航空发动机制造有限责任公司 Prefabricated crack defect, preparation method of built-in crack defect and prefabricated part
WO2020198038A1 (en) * 2019-03-22 2020-10-01 Desktop Metal, Inc. Z-axis measurement and control in 3d printing of metal
CN111739147A (en) * 2020-05-29 2020-10-02 黑龙江省科学院智能制造研究所 Method for continuously layering and slicing three-dimensional data model
EP3722073A1 (en) * 2019-04-11 2020-10-14 Luxexcel Holding B.V. Method for printing an optical component
CN112060272A (en) * 2020-08-26 2020-12-11 中国建筑第八工程局有限公司 Estimation method and system for vertical compression deformation amount in 3D printing process

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432704A (en) * 1993-11-23 1995-07-11 Clemson University Adaptive lamina generation for shape dependent process control and/or object decomposition
US5596504A (en) * 1995-04-10 1997-01-21 Clemson University Apparatus and method for layered modeling of intended objects represented in STL format and adaptive slicing thereof
US6187214B1 (en) * 1996-05-13 2001-02-13 Universidad De Seville Method and device for production of components for microfabrication
US20170365054A1 (en) * 1999-08-11 2017-12-21 Osteoplastics, Llc Methods and systems for producing an implant
US20050154481A1 (en) * 2004-01-13 2005-07-14 Sensable Technologies, Inc. Apparatus and methods for modifying a model of an object to enforce compliance with a manufacturing constraint
US20170136708A1 (en) * 2008-05-05 2017-05-18 Georgia Tech Research Corporation Systems and methods for fabricating three-dimensional objects
US20160236414A1 (en) * 2015-02-12 2016-08-18 Arevo Inc. Method to monitor additive manufacturing process for detection and in-situ correction of defects
CN104783924A (en) * 2015-04-24 2015-07-22 杭州捷诺飞生物科技有限公司 Breast prosthesis manufacturing method based on three-dimensional printing technology
CN106202687A (en) * 2016-07-05 2016-12-07 河海大学常州校区 A kind of adaptive layered processing method based on model area rate of change
US20180071949A1 (en) * 2016-09-14 2018-03-15 Brian C. Giles Method of reinforced cementitious constrauction by high speed extrusion printing and apparatus for using same
US20200038953A1 (en) * 2016-09-27 2020-02-06 Materialise N.V. Energy density mapping in additive manufacturing environments
WO2018064066A1 (en) * 2016-09-27 2018-04-05 Materialise N.V. Energy density mapping in additive manufacturing environments
US20180162066A1 (en) * 2016-12-09 2018-06-14 Canon Kabushiki Kaisha Determining an error in operation of an additive manufacturing device
US20180169953A1 (en) * 2016-12-16 2018-06-21 Massachusetts Institute Of Technology Adaptive material deposition for additive manufacturing
US20180186089A1 (en) * 2017-01-05 2018-07-05 Xyzprinting, Inc. Three-dimensional printing apparatus and inkjet coloring method thereof
CN106898050A (en) * 2017-02-07 2017-06-27 浙江大学 A kind of grid model adaptive layered method based on annular neighborhood reference contour line
CN108481735A (en) * 2018-03-22 2018-09-04 北京航星机器制造有限公司 Structural member appearance and size control method and device based on adaptive layered slice
EP3624011A1 (en) * 2018-09-11 2020-03-18 OCE Holding B.V. Method of printing an object having a surface of varying height
CN109522585A (en) * 2018-09-13 2019-03-26 合肥工业大学 A kind of adaptive layered method preventing 3D printing model characteristic offset
WO2020198038A1 (en) * 2019-03-22 2020-10-01 Desktop Metal, Inc. Z-axis measurement and control in 3d printing of metal
EP3722073A1 (en) * 2019-04-11 2020-10-14 Luxexcel Holding B.V. Method for printing an optical component
CN110533770A (en) * 2019-08-20 2019-12-03 厦门大学 A kind of 3D printing dicing method towards implied expression medical model
CN111203538A (en) * 2020-04-22 2020-05-29 中国航发上海商用航空发动机制造有限责任公司 Prefabricated crack defect, preparation method of built-in crack defect and prefabricated part
CN111739147A (en) * 2020-05-29 2020-10-02 黑龙江省科学院智能制造研究所 Method for continuously layering and slicing three-dimensional data model
CN112060272A (en) * 2020-08-26 2020-12-11 中国建筑第八工程局有限公司 Estimation method and system for vertical compression deformation amount in 3D printing process

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KL LONG: "《Low-profile Ultra-Broadband Log-Period Monopole End-Fire Antenna》", 《MICROWAVE & OPTICAL TECHNOLOGY LETTERS》 *
朱敏: "《利用面片法向量保留模型特征的3D打印自适应分层算法》", 《工程科技Ⅱ辑》 *
韩江: "《防止3D打印模型特征偏移的自适应分层方法》", 《合肥工业大学学报》 *

Also Published As

Publication number Publication date
CN113183470B (en) 2022-07-15

Similar Documents

Publication Publication Date Title
CN109522585B (en) Self-adaptive layering method for preventing feature migration of 3D printing model
CN110126279B (en) Conformal layer cutting and path planning method for curved surface 3D printing
CN107571506B (en) A kind of increasing material manufacturing method of adaptive layered
CN105739432B (en) Grid free form surface annular cutter method for planning track based on improved B utterfly subdivisions
CN111413923A (en) High-speed precision machining system and method for machining complex curved surface
CN112036041B (en) Comprehensive compensation method for STL model permeation error in 3DP process
CN108460174B (en) Mixed filling path generation method in arc fuse additive manufacturing technology
CN109496286B (en) Numerical control system, path planning method thereof and computer-readable storage medium
CN109597354B (en) Multi-constraint numerical control machining track generation method of triangular mesh model
CN107679333A (en) A kind of method of two-dimensional topology optimum results geometry reconstruction
CN112518433A (en) Automatic generation method for tool path for complex curved surface polishing
CN111923185A (en) 3D printing method and system for ceramic die-free direct writing
CN113953685A (en) Planar plate laser cutting path planning method
CN108594764B (en) Equal-residual-height tool contact point track generation method for triangular mesh model
CN109325316B (en) STL model efficient parallel layer cutting method based on concurrent welding sequencing
CN107037738B (en) Material removal method based on STL model in geometry Simulation of NC Machining
CN108724734B (en) Dense feature-based 3D pre-printing layering algorithm
CN107403469B (en) Self-adaptive scanning speed method for improving bevel forming quality
CN113183470B (en) 3D printing self-adaptive layering method capable of reserving unconventional features of model
CN112942837B (en) Cantilever structure concrete 3D printing method and system
CN112372631B (en) Rapid collision detection method and device for robot machining of large complex component
CN112734934A (en) STL model 3D printing slicing method based on intersecting edge mapping
Chen et al. Contour generation for layered manufacturing with reduced part distortion
US9152743B2 (en) Computer process for determining best-fitting materials for constructing architectural surfaces
CN115167275A (en) Non-interference cutter shaft direction obtaining method and cutter path planning method

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