FIX: 0 top z distance of hybrid tree support not working

1. fix the issue that setting top z distance=0 not working
2. remove too small extrusions of tree support

jira: STUDIO-8578
Change-Id: I8c3face9d6a756698a6fab876fdb1acc0686647c
(cherry picked from commit 4d219266a1f520445bec6ac5a0274dcfec4050e8)
This commit is contained in:
Arthur 2024-10-29 19:23:49 +08:00 committed by Noisyfox
parent c1df01fd8e
commit d54d81e89d
2 changed files with 19 additions and 13 deletions

View file

@ -114,7 +114,7 @@ SlicingParameters SlicingParameters::create_from_config(
params.min_layer_height = std::min(params.min_layer_height, params.layer_height);
params.max_layer_height = std::max(params.max_layer_height, params.layer_height);
if (! soluble_interface || is_tree_slim(object_config.support_type.value, object_config.support_style.value)) {
if (! soluble_interface) {
params.gap_raft_object = object_config.raft_contact_distance.value;
//BBS
params.gap_object_support = object_config.support_bottom_z_distance.value;