cam fix slice z output order, restore progress bar accuracy

This commit is contained in:
Stewart Allen 2023-01-15 15:06:29 -05:00
commit 70c00e1bab
3 changed files with 71 additions and 54 deletions

View file

@ -342,7 +342,7 @@ CAM.traces = async function(settings, widget, single) {
let traces = [];
// find and trim polys (including open) to shadow
let oneach = (data, index, total) => {
let oneach = data => {
if (single) {
for (let line of data.lines) {
if (line.p1.distTo2D(line.p2) > 1) {