Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CURA-12200] fix fan speed during extruder switch #2147

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/LayerPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2294,6 +2294,7 @@ void LayerPlan::writeGCode(GCodeExport& gcode)
extruder_nr = extruder_plan.extruder_nr_;

gcode.ResetLastEValueAfterWipe(prev_extruder);
gcode.writePrepareFansForNozzleSwitch();

const RetractionAndWipeConfig& prev_retraction_config = storage_.retraction_wipe_config_per_extruder[prev_extruder];
if (prev_retraction_config.retraction_hop_after_extruder_switch)
Expand All @@ -2306,8 +2307,6 @@ void LayerPlan::writeGCode(GCodeExport& gcode)
gcode.switchExtruder(extruder_nr, prev_retraction_config.extruder_switch_retraction_config);
}

gcode.writePrepareFansForNozzleSwitch();

{ // require printing temperature to be met
constexpr bool wait = true;
gcode.writeTemperatureCommand(extruder_nr, extruder_plan.required_start_temperature_, wait);
Expand Down
Loading