mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 05:36:03 +08:00
Fix of #8437 - Very tiny unprintable polygons caused InfillFailedException in the lightning infill.
This commit is contained in:
parent
c7640bb650
commit
38ca763c36
@ -68,6 +68,8 @@ void Generator::generateInitialInternalOverhangs(const PrintObject &print_object
|
|||||||
|
|
||||||
// Remove the part of the infill area that is already supported by the walls.
|
// Remove the part of the infill area that is already supported by the walls.
|
||||||
Polygons overhang = diff(offset(infill_area_here, -float(m_wall_supporting_radius)), infill_area_above);
|
Polygons overhang = diff(offset(infill_area_here, -float(m_wall_supporting_radius)), infill_area_above);
|
||||||
|
// Filter out unprintable polygons and near degenerated polygons (three almost collinear points and so).
|
||||||
|
overhang = opening(std::move(overhang), SCALED_EPSILON, SCALED_EPSILON);
|
||||||
|
|
||||||
m_overhang_per_layer[layer_nr] = overhang;
|
m_overhang_per_layer[layer_nr] = overhang;
|
||||||
infill_area_above = std::move(infill_area_here);
|
infill_area_above = std::move(infill_area_here);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user