mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 19:43:48 +01:00
use simplify('pftNonZero') instead of deprecated removeOverlap function
This commit is contained in:
parent
e9c2f653bf
commit
b7b2eff61b
@ -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