add missing thin wall render
This commit is contained in:
parent
709336c36e
commit
e7a050e03e
7 changed files with 37 additions and 21 deletions
|
|
@ -160,7 +160,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
FDM.printRender = function(print, options) {
|
||||
let debug = KIRI.api.const.LOCAL;
|
||||
let scope = print, emits, last,
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
let KIRI = self.kiri,
|
||||
BASE = self.base,
|
||||
UTIL = BASE.util,
|
||||
POLY = BASE.polygons,
|
||||
FDM = KIRI.driver.FDM,
|
||||
newPoint = BASE.newPoint;
|
||||
|
||||
|
|
@ -368,6 +369,8 @@
|
|||
layerout = [];
|
||||
lastOut = undefined;
|
||||
}
|
||||
|
||||
console.log({output});
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue