mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 03:23:48 +01:00
parent
ca3718e492
commit
2f04aa9c50
@ -1,5 +1,5 @@
|
||||
export const PRECISION = 0.01;
|
||||
export const VERSION = '0.0.18';
|
||||
export const LOCAL_STORAGE_KEY = 'PRINTER_SETTINGS';
|
||||
export const MIN_AREA = 25;
|
||||
export const MIN_AREA = 10;
|
||||
export const Z_OFFSET = 0.3;
|
||||
|
@ -11,9 +11,9 @@ export default function shapesToSlices(shapes, settings) {
|
||||
|
||||
fillShapes = new Shape(fillShapes, true, true, true, true)
|
||||
.fixOrientation()
|
||||
.thresholdArea(MIN_AREA / Math.pow(PRECISION, 2))
|
||||
.simplify('pftNonZero')
|
||||
.clean(1)
|
||||
.thresholdArea(MIN_AREA / Math.pow(PRECISION, 2))
|
||||
.seperateShapes();
|
||||
|
||||
lineShapesClosed = new Shape(lineShapesClosed, true, true, true, true)
|
||||
|
Loading…
Reference in New Issue
Block a user