mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 03:23:48 +01:00
add clean to open shapes
Is now possible because of updated clipper-lib
This commit is contained in:
parent
f3c1ca885a
commit
f857a2f76f
@ -20,11 +20,8 @@ export default function shapesToSlices(shapes, settings) {
|
|||||||
lineShapesClosed = new Shape(lineShapesClosed, true, true, true, true)
|
lineShapesClosed = new Shape(lineShapesClosed, true, true, true, true)
|
||||||
.clean(cleanDelta);
|
.clean(cleanDelta);
|
||||||
|
|
||||||
lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true);
|
lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true)
|
||||||
// .clean(cleanDelta);
|
.clean(cleanDelta);
|
||||||
// TODO
|
|
||||||
// Cleaning is actually wanted here but there is a bug in the clean function
|
|
||||||
// https://sourceforge.net/p/jsclipper/tickets/16/
|
|
||||||
|
|
||||||
const slice = new Slice();
|
const slice = new Slice();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user