remove legacy cam slice options from fdm slicer. fix sla export
This commit is contained in:
parent
881992b52e
commit
24546c8735
4 changed files with 30 additions and 105 deletions
|
|
@ -439,7 +439,6 @@
|
|||
sliceFillAngle += 90.0;
|
||||
}, "fill solids");
|
||||
if (promises) {
|
||||
console.log({fill_awaiting: promises.length});
|
||||
await Promise.all(promises);
|
||||
}
|
||||
}
|
||||
|
|
@ -470,7 +469,6 @@
|
|||
lastType = newType;
|
||||
}, "infill");
|
||||
if (promises) {
|
||||
console.log({infill_awaiting: promises.length});
|
||||
await Promise.all(promises);
|
||||
}
|
||||
} else if (isSynth) {
|
||||
|
|
|
|||
|
|
@ -485,12 +485,11 @@
|
|||
|
||||
function scaleMovePoly(poly) {
|
||||
let points = poly.points;
|
||||
let bounds = poly.bounds = BASE.newBounds();
|
||||
poly._bounds = undefined;
|
||||
for (let i=0, il=points.length; i<il; i++) {
|
||||
let p = points[i];
|
||||
p.y = height - (p.y * scaleY + height2);
|
||||
p.x = p.x * scaleX + width2;
|
||||
bounds.update(p);
|
||||
}
|
||||
if (poly.inner) {
|
||||
for (let i=0, ia=poly.inner, il=poly.inner.length; i<il; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue