Skip to content

Commit 6b7b299

Browse files
committed
Do not unretract after nozzle switch for BambuLab printers
CURA-12474 They do handle the unretract in their switching/purging process
1 parent e20a46a commit 6b7b299

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/gcodeExport.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,13 @@ void GCodeExport::startExtruder(const size_t new_extruder)
13391339
estimate_calculator_.addTime(extruder_change_duration);
13401340
}
13411341

1342+
if (flavor_ == EGCodeFlavor::BAMBULAB)
1343+
{
1344+
// BambuLab printers handle the unretraction in the extruder change sequence
1345+
extruder_attr_[current_extruder_].retraction_e_amount_current_ = 0.0;
1346+
extruder_attr_[current_extruder_].retraction_e_amount_at_e_start_ = 0.0;
1347+
}
1348+
13421349
estimate_calculator_.addTime(start_code_duration);
13431350
current_extruder_ = new_extruder;
13441351

0 commit comments

Comments
 (0)