Skip to content

Commit

Permalink
Fix of Unnecessary raft on models with large perimeter but nothing in…
Browse files Browse the repository at this point in the history
…side. #430

Don't fill in the holes in 1st layer of the raft.
The user may apply a higher raft_expansion if one wants a better 1st layer adhesion.
  • Loading branch information
bubnikv committed Feb 24, 2021
1 parent 6bdd42b commit e9875f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/libslic3r/SupportMaterial.cpp
Expand Up @@ -1371,8 +1371,13 @@ PrintObjectSupportMaterial::MyLayersPtr PrintObjectSupportMaterial::top_contact_
if (layer_id == 0) {
// This is the first object layer, so the object is being printed on a raft and
// we're here just to get the object footprint for the raft.
// We only consider contours and discard holes to get a more continuous raft.
#if 0
// The following line was filling excessive holes in the raft, see GH #430
overhang_polygons = collect_slices_outer(layer);
#else
// Don't fill in the holes. The user may apply a higher raft_expansion if one wants a better 1st layer adhesion.
overhang_polygons = to_polygons(layer.lslices);
#endif
// Expand for better stability.
contact_polygons = offset(overhang_polygons, scaled<float>(m_object_config->raft_expansion.value));
} else {
Expand Down

0 comments on commit e9875f5

Please sign in to comment.