fixes #346 laser marking
This commit is contained in:
parent
e9112cff93
commit
98320ec7c6
2 changed files with 7 additions and 5 deletions
|
|
@ -235,7 +235,6 @@ CAM.slice = async function(settings, widget, onupdate, ondone) {
|
|||
unsafe,
|
||||
color,
|
||||
dark,
|
||||
// workarea
|
||||
};
|
||||
|
||||
let opList = [
|
||||
|
|
@ -275,7 +274,9 @@ CAM.slice = async function(settings, widget, onupdate, ondone) {
|
|||
// apply operation override vars
|
||||
let workover = structuredClone(workarea_orig);
|
||||
let valz = op.op;
|
||||
if (valz.ov_topz) workover.top_z = bottom_stock + valz.ov_topz;
|
||||
if (valz.ov_topz) {
|
||||
workover.top_z = bottom_stock + valz.ov_topz;
|
||||
}
|
||||
if (valz.ov_botz) {
|
||||
workover.bottom_z = bottom_stock + valz.ov_botz;
|
||||
workover.bottom_cut = Math.max(workover.bottom_z, -zThru);
|
||||
|
|
|
|||
Loading…
Reference in a new issue