add cam expert menu and 'skip shadow' safety disable

This commit is contained in:
Stewart Allen 2021-01-04 10:01:13 -05:00
commit 0d4e81b11a
6 changed files with 25 additions and 9 deletions

View file

@ -39,7 +39,8 @@
minToolDiam = Infinity,
maxToolDiam = -Infinity,
thruHoles,
tabs = settings.widget[widget.id].tab;
tabs = settings.widget[widget.id].tab,
unsafe = proc.camExpertFast;
if (tabs) {
// make tab polygons
@ -61,6 +62,10 @@
});
}
if (unsafe) {
console.log("disabling overhang safeties");
}
if (!proc.ops || proc.ops.length === 0) {
throw 'no processes specified';
}
@ -106,7 +111,8 @@
zBottom,
zThru,
ztOff,
zMax
zMax,
unsafe
};
let opList = [