add array grouping and walk order. add new thin fill output method

This commit is contained in:
Stewart Allen 2021-12-30 17:35:10 -05:00
commit 5e6c4b91aa
4 changed files with 81 additions and 2 deletions

View file

@ -189,7 +189,7 @@
} else {
// frop top object passed back by slicePost()
let top = new Top(poly.poly);
top.thin_fill = poly.thin_fill.map(p => BASE.newPoint(p.x,p.y,p.z));
top.thin_fill = poly.thin_fill ? poly.thin_fill.map(p => BASE.newPoint(p.x,p.y,p.z)) : undefined;
top.fill_lines = poly.fill_lines;
top.fill_off = poly.fill_off;
top.last = poly.last;