Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/libslic3r/Support/SupportMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3157,6 +3157,15 @@ void PrintObjectSupportMaterial::trim_support_layers_by_object(
if (object_layer.bottom_z() > support_layer.print_z + gap_extra_above - EPSILON)
break;

// Skip the object layer directly supported by this top contact layer: its lslices
// cover the overhang itself, so trimming by it would cut away the contact area.
// With variable layer heights the synchronised gap is shorter than the configured
// gap, so this layer used to fall inside the trimming window and removed ~80% of
// the contact surface.
if (support_layer.layer_type == SupporLayerType::TopContact &&
i == support_layer.idx_object_layer_above)
continue;

bool is_overlap = is_layers_overlap(support_layer, object_layer);
for (const ExPolygon& expoly : object_layer.lslices) {
// BBS
Expand Down