speed FILAMENTCHANGE
how to change the speed in FILAMENT CHANGE mode.
I need to slow down, change FILAMENT, where do I find this parameter?
I need to slow down, change FILAMENT, where do I find this parameter?
Comments
void Extruder::retractDistance(float dist, bool extraLength) {
float oldFeedrate = Printer::feedrate;
int32_t distance = static_cast<int32_t>(dist * stepsPerMM / Printer::extrusionFactor);
int32_t oldEPos = Printer::currentPositionSteps[E_AXIS];
float speed = distance > 0 ? EEPROM_FLOAT(RETRACTION_SPEED) : EEPROM_FLOAT(RETRACTION_UNDO_SPEED);
#if MIXING_EXTRUDER
if(!extraLength)
Printer::setAllEMotors(true);
#endif
PrintLine::moveRelativeDistanceInSteps(0, 0, 0, -distance, RMath::max(speed, 1.f), false, false);
#if MIXING_EXTRUDER
if(!extraLength)
Printer::setAllEMotors(false);
#endif
Printer::currentPositionSteps[E_AXIS] = oldEPos; // restore previous extruder position
Printer::feedrate = oldFeedrate;
}
especially
float speed = distance > 0 ? EEPROM_FLOAT(RETRACTION_SPEED) : EEPROM_FLOAT(RETRACTION_UNDO_SPEED);
where you see the 2 values from G10/G11 config. But also see that they are stored to eeprom so you need to change them there.