From f258da6add939ba962b4408c4ee3f2b06d67d031 Mon Sep 17 00:00:00 2001 From: "yifan.wu" Date: Wed, 9 Nov 2022 17:45:58 +0800 Subject: [PATCH] FIX: remove gap btw internal bridge and inner wall Signed-off-by: yifan.wu Change-Id: I7223cedb4ab5394b370d8e413dbbf478b9928c42 (cherry picked from commit be4daaf6fc5428b51b239c5692d1735d4e47b1f6) --- src/libslic3r/PrintObject.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index eec4e5663c..b0c06a87b5 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -1642,6 +1642,10 @@ void PrintObject::bridge_over_infill() to_bridge_pp = intersection(to_bridge_pp, lower_internal); } + // BBS: expand to make avoid gap between bridge and inner wall + to_bridge_pp = expand(to_bridge_pp, bridge_flow.scaled_width()); + to_bridge_pp = intersection(to_bridge_pp, internal_solid); + // there's no point in bridging too thin/short regions //FIXME Vojtech: The offset2 function is not a geometric offset, // therefore it may create 1) gaps, and 2) sharp corners, which are outside the original contour.