mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-06-11 18:03:18 +02:00
fix filled shapes
This commit is contained in:
@ -95,7 +95,11 @@ export default function intersectionsToShapes(layerPoints, layerFaceIndexes, fac
|
||||
const path = shape[pathIndex];
|
||||
|
||||
if (almostEquals(path[0], path[path.length - 1])) {
|
||||
lineShapesClosed.push(path);
|
||||
if (openShape) {
|
||||
lineShapesClosed.push(path);
|
||||
} else {
|
||||
fillShapes.push(path);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user