mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 21:47:59 +01:00
clean after simplify
This commit is contained in:
parent
c8af1b422a
commit
f70723d6dc
@ -9,10 +9,10 @@ export default function shapesToSlices(shapes, settings) {
|
|||||||
for (let layer = 0; layer < shapes.length; layer ++) {
|
for (let layer = 0; layer < shapes.length; layer ++) {
|
||||||
let { closedShapes, openShapes } = shapes[layer];
|
let { closedShapes, openShapes } = shapes[layer];
|
||||||
|
|
||||||
.clean(CLEAN_DELTA)
|
|
||||||
closedShapes = new Shape(closedShapes, true, true, true, true)
|
closedShapes = new Shape(closedShapes, true, true, true, true)
|
||||||
.fixOrientation()
|
.fixOrientation()
|
||||||
.simplify('pftNonZero')
|
.simplify('pftNonZero')
|
||||||
|
.clean(CLEAN_DELTA)
|
||||||
.seperateShapes();
|
.seperateShapes();
|
||||||
|
|
||||||
openShapes = new Shape(openShapes, false, true, true, true)
|
openShapes = new Shape(openShapes, false, true, true, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user