FIX: FIX: fix width error of rib wall

when enable timelapse_print without toolchange;

jira: none
Change-Id: I4c89acc70ee122c0ad504d97c003ebb4016567d1
This commit is contained in:
jiangkai.zhao 2025-01-24 16:59:22 +08:00 committed by lane.wei
parent 8ce8c3ffbb
commit 6350ebf9b6
1 changed files with 3 additions and 1 deletions

View File

@ -3517,8 +3517,10 @@ void WipeTower::plan_tower_new()
// only for get m_extra_spacing
{
if (m_enable_timelapse_print && max_depth < EPSILON)
if (m_enable_timelapse_print && max_depth < EPSILON) {
max_depth = min_wipe_tower_depth;
if (m_use_rib_wall) { m_wipe_tower_width = max_depth; }
}
if (max_depth + EPSILON < min_wipe_tower_depth) {
m_extra_spacing = min_wipe_tower_depth / max_depth;