Skip to content

Commit

Permalink
Fix issue causing support skin lines to overlap with the model
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRahm committed Jun 3, 2024
1 parent ae25532 commit fba4d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TreeSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2738,7 +2738,7 @@ void TreeSupport::generateSupportSkin(

for (Polygons part : support_on_layer.splitIntoParts())
{
Polygons part_outline = part.getOutsidePolygons();
Polygons part_outline = part.getOutsidePolygons().difference(volumes_.getCollision(0, layer_idx - support_skin_ctr, true));
if (! PolygonUtils::clipPolygonWithAABB(may_need_skin_area, AABB(part_outline)).empty())
{
// Use line infill to scan which area the line infill has to occupy to reach the outer outline of a branch.
Expand Down

0 comments on commit fba4d7b

Please sign in to comment.