FIX: no interface for small sharp_tails

jira: STUDIO-11439
Change-Id: Iaf9e16690f25a51f308c8b0e8f45d7d78f72df0e
This commit is contained in:
jiaxi.chen 2025-04-08 12:05:51 +08:00 committed by lane.wei
parent 8bd6e99f07
commit bcd72a2217
1 changed files with 1 additions and 1 deletions

View File

@ -3817,7 +3817,7 @@ void TreeSupport::generate_contact_points()
} }
for (auto &overhang : overhangs_regular) { for (auto &overhang : overhangs_regular) {
if (is_sharp_tail && overhang.area() < SQ(scale_(2.))) add_interface = false; if (is_sharp_tail && !m_support_params.soluble_interface && overhang.area() < SQ(scale_(2.))) add_interface = false;
BoundingBox overhang_bounds = get_extents(overhang); BoundingBox overhang_bounds = get_extents(overhang);
double radius = std::clamp(unscale_(overhang_bounds.radius()), MIN_BRANCH_RADIUS, base_radius); double radius = std::clamp(unscale_(overhang_bounds.radius()), MIN_BRANCH_RADIUS, base_radius);
// add supports at corners for both auto and manual overhangs, github #2008 // add supports at corners for both auto and manual overhangs, github #2008