mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-19 05:31:04 +00:00
ENH: do not leave a gap for top interface if the top z distance is 0
Previously when the overhang is a slop, it's controled by the xy distance. Now we control it with top z distance as long as it's an interface. Note: Not working with Snug support, which has a different mechanism of support interface. Jira: STUDIO-3991 Change-Id: I1b7c4cf892b4c4ec2f3e668bd966ab0971212364 (cherry picked from commit c094b5ec83dc98dca7a8b8c0438b8f1994134db6)
This commit is contained in:
1 parent
a631e6cb99
commit
6612086816
2 files changed
+6
-3
No files matched your search
@@ -3359,7 +3359,9 @@ void PrintObjectSupportMaterial::trim_support_layers_by_object(
|
||||
// perimeter's width. $support contains the full shape of support
|
||||
// material, thus including the width of its foremost extrusion.
|
||||
// We leave a gap equal to a full extrusion width.
|
||||
support_layer.polygons = diff(support_layer.polygons, polygons_trimming);
|
||||
// arthur: do not leave a gap for top interface if the top z distance is 0.
|
||||
if (support_layer.layer_type != sltTopContact || m_slicing_params.gap_support_object != 0)
|
||||
support_layer.polygons = diff(support_layer.polygons, polygons_trimming);
|
||||
}
|
||||
});
|
||||
BOOST_LOG_TRIVIAL(debug) << "PrintObjectSupportMaterial::trim_support_layers_by_object() in parallel - end";
|
||||
|
||||
Reference in new issue
Block a user