mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 07:24:57 +01:00
re enable applying and removing precision for open shapes
This commit is contained in:
parent
f0b23647bb
commit
4fb2caee53
@ -5,7 +5,7 @@ export default function applyPrecision(shapes) {
|
|||||||
const { closedShapes, openShapes } = shapes[i];
|
const { closedShapes, openShapes } = shapes[i];
|
||||||
|
|
||||||
scaleUpShape(closedShapes);
|
scaleUpShape(closedShapes);
|
||||||
// scaleUpShape(openShapes);
|
scaleUpShape(openShapes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,10 +19,9 @@ export default function removePrecision(slices) {
|
|||||||
innerLine.scaleDown(inversePrecision);
|
innerLine.scaleDown(inversePrecision);
|
||||||
}
|
}
|
||||||
part.fill.scaleDown(inversePrecision);
|
part.fill.scaleDown(inversePrecision);
|
||||||
|
} else {
|
||||||
|
part.shape.scaleDown(inversePrecision);
|
||||||
}
|
}
|
||||||
// else {
|
|
||||||
// part.shape.scaleDown(inversePrecision);
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (slice.support !== undefined) {
|
if (slice.support !== undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user