Expand the first layer of a tree support raft once

The non-organic tree support raft was grown by the first layer
expansion on every raft layer, and its first layer by that expansion a
second time. The default 2 mm put the first layer 4 mm out, and a
20 mm setting 40 mm. The second expansion came with BambuStudio's fix
for this setting, which assumes the fixed 3 mm grip that Orca had
replaced with the setting. Restore that grip, so the setting widens the
first layer only, as it does for the other supports.

Ported from Snapmaker/OrcaSlicer@0e572ec63a

Co-authored-by: zackaree-shen <zackary_shen@qq.com>
This commit is contained in:
Ian Bassiandzackaree-shen committed 2026-11-30 14:11:14 -03:00
1 parent 553040c43c
commit 141aeb8a00
2 files changed
+27 -1

No files matched your search

+2 -1
View File
@@ -1573,7 +1573,8 @@ void TreeSupport::generate_toolpaths()
raft_areas.push_back(expoly);
}
raft_areas = offset_ex(raft_areas, scale_(object_config.raft_first_layer_expansion));
// A fixed grip for every raft layer, as in BambuStudio. The first layer expansion is added to the first layer below.
raft_areas = offset_ex(raft_areas, scale_(3.));
size_t layer_nr = 0;
for (; layer_nr < m_slicing_params.base_raft_layers; layer_nr++) {