Fast Algorithm of Slicing Surface-color AMF Model
-
Graphical Abstract
-
Abstract
As the low efficiency of existing surface-color AMF model slicing algorithms,this paper proposed a fast slicing algorithm to obtain the color slice and the two-dimensional contour information.First,triangles of the model surface are transformed into triangular prisms,which form a surface-color area to improve the quality of color printing.Next,Topological relationship of triangles is used to make contour slice.Last,the color-information coordinate formula is deduced for the three representations of the AMF color triangle,and the color-information coordinates of the adjacent pixels on the X-axis scanning line are calculated by the incremental method.The experimental results show that the proposed algorithm can improve the efficiency of the algorithm compared with the algorithm given by AMF official.
-
-