mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 23:05:10 +08:00
Set a safety offset on a freshly sliced mesh to 0.0001
to satisfy GH #520, #1029, #1364 This change needs to be tested throughly on a large data set of meshes.
This commit is contained in:
parent
91102e2c9e
commit
2b9f52c33c
@ -1771,10 +1771,11 @@ void TriangleMeshSlicer::make_expolygons(const Polygons &loops, ExPolygons* slic
|
|||||||
// p_slices = diff(p_slices, *loop);
|
// p_slices = diff(p_slices, *loop);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
// perform a safety offset to merge very close facets (TODO: find test case for this)
|
// Perform a safety offset to merge very close facets (TODO: find test case for this)
|
||||||
double safety_offset = scale_(0.0499);
|
// 0.0499 comes from https://github.com/slic3r/Slic3r/issues/959
|
||||||
//FIXME see https://github.com/prusa3d/Slic3r/issues/520
|
// double safety_offset = scale_(0.0499);
|
||||||
// double safety_offset = scale_(0.0001);
|
// 0.0001 is set to satisfy GH #520, #1029, #1364
|
||||||
|
double safety_offset = scale_(0.0001);
|
||||||
|
|
||||||
/* The following line is commented out because it can generate wrong polygons,
|
/* The following line is commented out because it can generate wrong polygons,
|
||||||
see for example issue #661 */
|
see for example issue #661 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user