The offset edge algorithm is a common method for creating contour-parallel paths and has been widely studied. The method includes approaches such as a pair-wise intersection and Voronoi diagram. Different from these approaches, the method proposed in ...
The offset edge algorithm is a common method for creating contour-parallel paths and has been widely studied. The method includes approaches such as a pair-wise intersection and Voronoi diagram. Different from these approaches, the method proposed in this paper discerns an optimized offset algorithm via the offset vertex and includes four steps as follows. (1) The offset vertices are computed based on bisectors (line-segment, line segment); (2) the validity of combining the direction and position checking for each offset edge is the main point of the proposed paper; (3) an efficient algorithm is constructed to connect all offset edges simultaneously to generate raw offset lines without local invalid loops; and (4) the offset-distance check is performed to remove the global invalid loops from the raw offset lines as well as interference loops in joining boundaries and multiple islands. The proposed method is verified with various slice contour shapes, with or without islands, and good results were obtained for significant reductions in the calculation time.