Merge branch 'main' into belt/baseChanges

This commit is contained in:
Joseph Robertson
2026-06-18 09:41:14 -05:00
committed by GitHub
210 changed files with 80490 additions and 187481 deletions
+9
View File
@@ -2521,6 +2521,15 @@ void TreeSupport::draw_circles()
ts_layer->base_areas = std::move(expanded_base_areas);
}
// Orca: Final tree base polygons may be too close above model surfaces.
// Enforce bottom Z clearance for non-contact support layers as well.
if (!ts_layer->base_areas.empty()) {
const Polygons trimming = get_trim_support_regions(
*m_object, ts_layer, 0., m_slicing_params.gap_object_support, 0);
if (!trimming.empty())
ts_layer->base_areas = diff_ex(ts_layer->base_areas, trimming);
}
auto &area_groups = ts_layer->area_groups;
for (auto& expoly : ts_layer->base_areas) {