Fix: error skip_point when infill gap greater than 200

jira: none
Change-Id: I0440ebeb57530fbe4914c3b061f4a67d6a6b0e47
This commit is contained in:
jiangkai.zhao 2025-03-20 21:03:07 +08:00 committed by lane.wei
parent 8dd8979201
commit 0016f5f507
1 changed files with 1 additions and 0 deletions

View File

@ -2746,6 +2746,7 @@ void WipeTower::get_wall_skip_points(const WipeTowerInfo &layer)
size_t new_filament = tool_change.new_tool;
float spacing = m_layer_info->extra_spacing;
if (m_need_reverse_travel && m_layer_info->extra_spacing < m_tpu_fixed_spacing) spacing = 1;
else if (m_need_reverse_travel) spacing = spacing / m_tpu_fixed_spacing;
float nozzle_change_depth = tool_change.nozzle_change_depth * spacing;
//float nozzle_change_depth = tool_change.nozzle_change_depth * (has_tpu_filament() ? m_tpu_fixed_spacing : layer.extra_spacing);
auto* block = get_block_by_category(m_filpar[new_filament].category, false);