mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 19:43:48 +01:00
Don't scale up or scale down open shapes
This commit is contained in:
parent
e88e8804d2
commit
721b75b1f5
@ -5,7 +5,7 @@ export default function applyPrecision(shapes) {
|
|||||||
const { closedShapes, openShapes } = shapes[i];
|
const { closedShapes, openShapes } = shapes[i];
|
||||||
|
|
||||||
scaleUpShape(closedShapes);
|
scaleUpShape(closedShapes);
|
||||||
scaleUpShape(openShapes);
|
// scaleUpShape(openShapes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,9 +19,10 @@ export default function removePrecision(slices) {
|
|||||||
innerLine.scaleDown(inversePrecision);
|
innerLine.scaleDown(inversePrecision);
|
||||||
}
|
}
|
||||||
part.fill.scaleDown(inversePrecision);
|
part.fill.scaleDown(inversePrecision);
|
||||||
} else {
|
|
||||||
part.shape.scaleDown(inversePrecision);
|
|
||||||
}
|
}
|
||||||
|
// else {
|
||||||
|
// part.shape.scaleDown(inversePrecision);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (slice.support !== undefined) {
|
if (slice.support !== undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user