fix support infill
This commit is contained in:
parent
d7a735335b
commit
3524bce930
3 changed files with 5 additions and 5 deletions
|
|
@ -193,7 +193,7 @@
|
|||
sslices[index].supports = [];
|
||||
}
|
||||
sslices[index].supports.appendAll(slice.supports.map(p => {
|
||||
if (p.fills) p.fills.forEach(p => p.move(widget.track.pos));
|
||||
if (p.fill) p.fill.forEach(p => p.move(widget.track.pos));
|
||||
return p.move(widget.track.pos);
|
||||
}));
|
||||
});
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@
|
|||
.addPolys(slice.supports, vopt({ offset, height }));
|
||||
|
||||
if (slice.supports) slice.supports.forEach(poly => {
|
||||
output
|
||||
if (poly.fill) output
|
||||
.setLayer("support", COLOR.support)
|
||||
.addLines(poly.fill, vopt({ offset, height }));
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue