Beruflich Dokumente
Kultur Dokumente
additive
manufacturing,
rapid
I. INTRODUCTION
141
x
z y
z
x
y
Figure 1: (a) a tessellated cube with twelve facets (b) a sliced cube
142
(1)
The outputs of the line creation algorithm are lines that are
obtained from the outputs of the aforementioned intersection
point detection algorithm with the appointed classification
reference value. Tab.1 show the column labels of the output
data arrays where the number of points and the number of lines
represent the row count of the array. The z values are
unchanged and the two associated points are grouped to create
a line.
Table 1: Output data of intersection point detection and line creation
algorithms.
Output Data
Point Array
Line Array
C. Repeating Lines
Fig.5 represents the overlapping lines which happen when
two facets share an edge at the slicing plane.
x, y, zref
x1, y1, x2, y2, zref
143
IV. CONCLUSION
In this study a new STL slicing and G-Code generation
algorithm was explained. This software algorithm shapes the
foundation for future studies and generates slice data of any
given 3D model. Performance of the algorithm is evaluated by
simulating several complex 3D geometries on a CNC milling
simulator using the generated G-Codes. There is currently a
limitation on the STL file size but this limitation can be
handled by a modifying the code to study with one facet data
at a time. Moreover, considering that the operation of integers
is faster than that of floating point numbers, the floating point
coordinates of the facets in a model may be transformed to 32
bits integers to speed up the process.
ACKNOWLEDGMENT
144
145