FIX: the wipe tower generated incorrectly

when the first support interface layer is default color, and the support filament is different
Jira: XXXX

Change-Id: Ibec1eb266ca86947cb56f7bfb4546569f66b1036
This commit is contained in:
zhimin.zeng 2023-09-20 17:26:29 +08:00 committed by Lane.Wei
parent 5eb9770f2f
commit 88e27d84c2
1 changed files with 3 additions and 0 deletions

View File

@ -1603,6 +1603,9 @@ void WipeTower::generate(std::vector<std::vector<WipeTower::ToolChangeResult>> &
// BBS
//m_internal_rotation += 180.f;
if (m_layer_info->depth < m_perimeter_width)
continue;
if (m_layer_info->depth < m_wipe_tower_depth - m_perimeter_width) {
// align y shift to perimeter width
float dy = m_extra_spacing * m_perimeter_width;