ENH: improve shar tail detection of tree support
The expansion was too large and may miss sharp tails near the object. jira: STUDIO-8400 Change-Id: Iee5bd15cc7c23f16d30365d5f1c9fbcc0a632c19
This commit is contained in:
parent
e835122054
commit
05174d0706
|
@ -832,7 +832,7 @@ void TreeSupport::detect_overhangs(bool check_support_necessity/* = false*/)
|
|||
bool is_sharp_tail = false;
|
||||
// 1. nothing below
|
||||
// this is a sharp tail region if it's floating and non-ignorable
|
||||
if (!overlaps(offset_ex(expoly, 0.5 * extrusion_width_scaled), lower_polys)) {
|
||||
if (!overlaps(offset_ex(expoly, 0.1 * extrusion_width_scaled), lower_polys)) {
|
||||
is_sharp_tail = !offset_ex(expoly, -0.1 * extrusion_width_scaled).empty();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue