From 6266a987d45f9fdb7228d51627324abe9e8fa8e8 Mon Sep 17 00:00:00 2001 From: "jiaxi.chen" Date: Mon, 24 Feb 2025 10:13:12 +0800 Subject: [PATCH] FIX: first layer overlaps still need to check if layers' bottom_z is under initial_layer_height since z_heights[0] is fixed to it. jira: STUDIO-10282 Change-Id: Ia2d0565039389c8eb7edbb6b5403996b5ee412c2 --- src/libslic3r/Support/TreeSupport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/Support/TreeSupport.cpp b/src/libslic3r/Support/TreeSupport.cpp index a7f4f7cee..a8aafeae4 100644 --- a/src/libslic3r/Support/TreeSupport.cpp +++ b/src/libslic3r/Support/TreeSupport.cpp @@ -3790,6 +3790,7 @@ void TreeSupport::generate_contact_points() // print_z=object_layer->bottom_z: it directly contacts the bottom // height=z_distance_top: it's height is exactly the gap distance // dist_mm_to_top=0: it directly contacts the bottom + if (bottom_z - z_distance_top < m_object->get_layer(0)->print_z) return contact_node; // dont add it if overlapping with the initial layer contact_node = m_ts_data->create_node(pt, -gap_layers, layer_nr - 1, roof_layers + (gap_layers > 0 ? 1 : 0), to_buildplate, SupportNode::NO_PARENT, bottom_z, z_distance_top, 0, radius); contact_node->overhang = overhang;