speed FILAMENTCHANGE

how to change the speed in FILAMENT CHANGE mode.

I need to slow down, change FILAMENT, where do I find this parameter?

Comments

  • The speeds defined also for G10/G11 are used here. So enable that feature and edit the config values.
  • I proexperimented with G10 g11. not exactly what you need!
  • is there a line in the code that is responsible for the rate of change of filament
  • In extruder.cpp

    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.


Sign In or Register to comment.