Fix of SPE-525

V přiloženém AMF se např. u spodní hrany oken generují pouze top solid layers, ale nikoliv solid layers.
Objevuje se už v 1.41.0.
This commit is contained in:
bubnikv 2018-10-04 11:16:55 +02:00
parent 38f8ed62a0
commit 79bbe7bec9

View File

@ -915,7 +915,7 @@ void PrintObject::discover_vertical_shells()
#if 1
// Intentionally inflate a bit more than how much the region has been shrunk,
// so there will be some overlap between this solid infill and the other infill regions (mainly the sparse infill).
shell = offset2(shell, - 0.5f * min_perimeter_infill_spacing, 0.8f * min_perimeter_infill_spacing, ClipperLib::jtSquare);
shell = offset(offset_ex(union_ex(shell), - 0.5f * min_perimeter_infill_spacing), 0.8f * min_perimeter_infill_spacing, ClipperLib::jtSquare);
if (shell.empty())
continue;
#else