|
|
@ -26,10 +26,16 @@
|
|
|
|
* This may be combined with related G-codes if features are consolidated.
|
|
|
|
* This may be combined with related G-codes if features are consolidated.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "../libs/nozzle.h"
|
|
|
|
typedef struct {
|
|
|
|
|
|
|
|
float unload_length, load_length;
|
|
|
|
|
|
|
|
} fil_change_settings_t;
|
|
|
|
|
|
|
|
|
|
|
|
#include "../inc/MarlinConfigPre.h"
|
|
|
|
#include "../inc/MarlinConfigPre.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "../libs/nozzle.h"
|
|
|
|
|
|
|
|
|
|
|
|
enum AdvancedPauseMode : char {
|
|
|
|
enum AdvancedPauseMode : char {
|
|
|
|
ADVANCED_PAUSE_MODE_PAUSE_PRINT,
|
|
|
|
ADVANCED_PAUSE_MODE_PAUSE_PRINT,
|
|
|
|
ADVANCED_PAUSE_MODE_LOAD_FILAMENT,
|
|
|
|
ADVANCED_PAUSE_MODE_LOAD_FILAMENT,
|
|
|
@ -86,3 +92,5 @@ bool load_filament(const float &slow_load_length=0, const float &fast_load_lengt
|
|
|
|
const bool pause_for_user=false, const AdvancedPauseMode mode=ADVANCED_PAUSE_MODE_PAUSE_PRINT DXC_PARAMS);
|
|
|
|
const bool pause_for_user=false, const AdvancedPauseMode mode=ADVANCED_PAUSE_MODE_PAUSE_PRINT DXC_PARAMS);
|
|
|
|
|
|
|
|
|
|
|
|
bool unload_filament(const float &unload_length, const bool show_lcd=false, const AdvancedPauseMode mode=ADVANCED_PAUSE_MODE_PAUSE_PRINT);
|
|
|
|
bool unload_filament(const float &unload_length, const bool show_lcd=false, const AdvancedPauseMode mode=ADVANCED_PAUSE_MODE_PAUSE_PRINT);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif //ADVANCED_PAUSE_FEATURE
|
|
|
|