mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-16 19:17:57 +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)
|
||||
.clean(cleanDelta);
|
||||
|
||||
lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true);
|
||||
// .clean(cleanDelta);
|
||||
// TODO
|
||||
// Cleaning is actually wanted here but there is a bug in the clean function
|
||||
// https://sourceforge.net/p/jsclipper/tickets/16/
|
||||
lineShapesOpen = new Shape(lineShapesOpen, false, true, true, true)
|
||||
.clean(cleanDelta);
|
||||
|
||||
const slice = new Slice();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user