Skip to content

fix bug: The calculation for the material required for the wipe tower… - #320

Merged
fire2wind merged 1 commit into
Snapmaker:square_wipe_towerfrom
fire2wind:square_wipe_tower_for_rib
May 14, 2026
Merged

fix bug: The calculation for the material required for the wipe tower…#320
fire2wind merged 1 commit into
Snapmaker:square_wipe_towerfrom
fire2wind:square_wipe_tower_for_rib

Conversation

@fire2wind

Copy link
Copy Markdown

软件在统计各个项的数据时,使用写在gcode代码中的标识(Tag)进行区分,在 GCodeProcessor::process_tags 函数中。对于擦除塔,只有在遇到了ETags::Wipe_Tower_End后才会统计。
在WipeTower2.cpp中,擦除塔的路径主要在两个部分,一个是WipeTower2::tool_change函数中,另一个在WipeTower2::finish_layer函数中。
在WipeTower2::finish_layer函数中,并没有写入Wipe_Tower_Start和Wipe_Tower_End标记,导致此部分的擦除塔路径未被记录,最终导致擦除塔用料计算错误。

@fire2wind
fire2wind merged commit 728cdf6 into Snapmaker:square_wipe_tower May 14, 2026
@fire2wind
fire2wind deleted the square_wipe_tower_for_rib branch May 14, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant