mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 21:47:59 +01:00
Don't scale up or scale down open shapes
This commit is contained in:
parent
04a66da688
commit
922111c3e3
@ -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,9 +19,10 @@ 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