CNC Tool-path Planning