use sparse fill strategy to connect polish lines
This commit is contained in:
parent
3a715a24fe
commit
a3487f96a8
2 changed files with 17 additions and 17 deletions
|
|
@ -181,19 +181,19 @@ var gs_kiri_fdm = exports;
|
|||
// console.log({polish_update});
|
||||
});
|
||||
// compute y polishing slices
|
||||
// SLICER.sliceWidget(widget, {
|
||||
// height: sdev.nozzleSize,
|
||||
// swapX: false,
|
||||
// swapY: true,
|
||||
// simple: true
|
||||
// }, (polish_done => {
|
||||
// widget.polish.y = polish_done
|
||||
// .filter(s => s.groups.length)
|
||||
// .map(s => s.groups)
|
||||
// .forEach(p => pa.appendAll(p));
|
||||
// }), (polish_update) => {
|
||||
// // console.log({polish_update});
|
||||
// });
|
||||
SLICER.sliceWidget(widget, {
|
||||
height: sdev.nozzleSize,
|
||||
swapX: false,
|
||||
swapY: true,
|
||||
simple: true
|
||||
}, (polish_done => {
|
||||
widget.polish.y = polish_done
|
||||
.filter(s => s.groups.length)
|
||||
.map(s => s.groups)
|
||||
.forEach(p => pa.appendAll(p));
|
||||
}), (polish_update) => {
|
||||
// console.log({polish_update});
|
||||
});
|
||||
// apply polishing finishes to layers
|
||||
forSlices(1.0, 1.0, slice => {
|
||||
if (slice.index >= polish) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue