mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-30 01:14:57 +01:00
use simplify('pftNonZero') instead of deprecated removeOverlap function
This commit is contained in:
parent
a9ae3b220e
commit
b7ab01c39d
@ -12,7 +12,7 @@ export default function shapesToSlices(shapes, settings) {
|
|||||||
closedShapes = new Shape(closedShapes, true, true, false)
|
closedShapes = new Shape(closedShapes, true, true, false)
|
||||||
.clean(CLEAN_DELTA)
|
.clean(CLEAN_DELTA)
|
||||||
.fixOrientation()
|
.fixOrientation()
|
||||||
.removeOverlap()
|
.simplify('pftNonZero')
|
||||||
.seperateShapes();
|
.seperateShapes();
|
||||||
|
|
||||||
openShapes = new Shape(openShapes, false, true, false)
|
openShapes = new Shape(openShapes, false, true, false)
|
||||||
|
Loading…
Reference in New Issue
Block a user