add missing thin wall render

This commit is contained in:
Stewart Allen 2020-11-08 08:19:05 -05:00
commit e7a050e03e
7 changed files with 37 additions and 21 deletions

View file

@ -444,6 +444,10 @@
.setLayer("infill", COLOR.infill)
.addPolys(top.fill_sparse, vopt({ offset, height, open: true, outline: true }))
if (top.thin_fill) output
.setLayer("fill", COLOR.fill)
.addLines(top.thin_fill, vopt({ offset, height }));
// emit solid areas
// if (isThin && debug) {
// output
@ -607,8 +611,6 @@
return;
}
const render = slice.output();
slice.tops.forEach(function(top) {
const lines = fillArea(top.fill_off, angle, spacing, null);
top.fill_lines.appendAll(lines);