fix inner polys in stacked output
This commit is contained in:
parent
88c64b4780
commit
805d21aa30
1 changed files with 7 additions and 0 deletions
|
|
@ -309,7 +309,14 @@ async function prepare(widgets, settings, update) {
|
||||||
// 3d stack output, no merging or layout
|
// 3d stack output, no merging or layout
|
||||||
for (let slice of widget.slices) {
|
for (let slice of widget.slices) {
|
||||||
let group = [];
|
let group = [];
|
||||||
|
let polys = [];
|
||||||
for (let poly of slice.offset) {
|
for (let poly of slice.offset) {
|
||||||
|
if (poly.inner) {
|
||||||
|
polys.push(...poly.inner);
|
||||||
|
}
|
||||||
|
polys.push(poly);
|
||||||
|
}
|
||||||
|
for (let poly of polys) {
|
||||||
print.PPP(poly, group, {
|
print.PPP(poly, group, {
|
||||||
extrude: 1,
|
extrude: 1,
|
||||||
rate: 1,
|
rate: 1,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue