Applied Sciences (Dec 2022)

A Non-Uniform Offset Algorithm for Milling Toolpath Generation Based on Boolean Operations

  • Giuseppe Venturini,
  • Niccolò Grossi,
  • Lorenzo Morelli,
  • Antonio Scippa

DOI
https://doi.org/10.3390/app13010208
Journal volume & issue
Vol. 13, no. 1
p. 208

Abstract

Read online

In milling, the advancement of CAM strategies has increased the need for tailored algorithms for semi-finished phase computation. In some cases (e.g., thin-wall milling), variable radial engagement of the tool during the toolpath is desired, leading to the need of non-uniform machining allowance on the component that could be achieved only with a non-uniform offset algorithm, i.e., offset where the distance to the initial contour varies along that input. This work presents a general algorithm for non-uniform offset of polyline curves. The approach is based on 2D polygons and Boolean union operation, following these steps: (i) projection segments are generated, (ii) polygons (trapezoids and circular sectors) are created, (iii) Boolean union of all the polygons is performed, (iv) boundary of interest is extracted. The proposed algorithm is able to handle both internal and external offset and is robust for complexity of both the polyline and variable offset magnitude along that line, as proven by several examples and two applications to thin-wall milling provided.

Keywords