Просмотр исходного кода

Do a small raise for all move-back

Scott Lahteine 7 лет назад
Родитель
Сommit
2672120a97
1 измененных файлов: 4 добавлений и 0 удалений
  1. 4
    0
      Marlin/src/module/tool_change.cpp

+ 4
- 0
Marlin/src/module/tool_change.cpp Просмотреть файл

@@ -444,7 +444,11 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
444 444
           destination[Z_AXIS] += z_diff;  // Include the Z restore with the "move back"
445 445
         #endif
446 446
 
447
+        // Raise, move, and lower again
447 448
         if (safe_to_move && !no_move && IsRunning()) {
449
+          // Do a small lift to avoid the workpiece in the move back (below)
450
+          current_position[Z_AXIS] += 1.0;
451
+          planner.buffer_line_kinematic(current_position, planner.max_feedrate_mm_s[Z_AXIS], active_extruder);
448 452
           #if ENABLED(DEBUG_LEVELING_FEATURE)
449 453
             if (DEBUGGING(LEVELING)) DEBUG_POS("Move back", destination);
450 454
           #endif

Загрузка…
Отмена
Сохранить