add milling direction per op

This commit is contained in:
Stewart Allen 2025-12-12 12:46:43 -05:00
commit a1880f7dc3
11 changed files with 26 additions and 33 deletions

View file

@ -10,10 +10,11 @@ class OpPocket extends CamOp {
async slice(progress) {
let { op, state } = this;
let { contour, down, expand, follow, outline, ov_botz, ov_topz } = op;
let { contour, direction, down, expand, follow, outline, ov_botz, ov_topz } = op;
let { plunge, rate, refine, smooth, spindle, surfaces, tolerance, tool } = op;
let pocket = {
areas: {},
direction,
down,
expand,
follow,