|
@ -45,6 +45,9 @@ |
|
|
#include "../../inc/MarlinConfig.h" |
|
|
#include "../../inc/MarlinConfig.h" |
|
|
#include "../marlinui.h" |
|
|
#include "../marlinui.h" |
|
|
#include "../../gcode/gcode.h" |
|
|
#include "../../gcode/gcode.h" |
|
|
|
|
|
#if M600_PURGE_MORE_RESUMABLE |
|
|
|
|
|
#include "../../feature/pause.h" |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
namespace ExtUI { |
|
|
namespace ExtUI { |
|
|
|
|
|
|
|
@ -79,7 +82,8 @@ namespace ExtUI { |
|
|
void injectCommands(char * const); |
|
|
void injectCommands(char * const); |
|
|
bool commandsInQueue(); |
|
|
bool commandsInQueue(); |
|
|
|
|
|
|
|
|
GcodeSuite::MarlinBusyState getMachineBusyState(); |
|
|
GcodeSuite::MarlinBusyState getHostKeepaliveState(); |
|
|
|
|
|
bool getHostKeepaliveIsPaused(); |
|
|
|
|
|
|
|
|
bool isHeaterIdle(const heater_t); |
|
|
bool isHeaterIdle(const heater_t); |
|
|
bool isHeaterIdle(const extruder_t); |
|
|
bool isHeaterIdle(const extruder_t); |
|
@ -220,14 +224,18 @@ namespace ExtUI { |
|
|
void setFeedrate_mm_s(const feedRate_t); |
|
|
void setFeedrate_mm_s(const feedRate_t); |
|
|
void setMinFeedrate_mm_s(const feedRate_t); |
|
|
void setMinFeedrate_mm_s(const feedRate_t); |
|
|
void setMinTravelFeedrate_mm_s(const feedRate_t); |
|
|
void setMinTravelFeedrate_mm_s(const feedRate_t); |
|
|
void setPrintingAcceleration_mm_s2(const_float_t ); |
|
|
void setPrintingAcceleration_mm_s2(const_float_t); |
|
|
void setRetractAcceleration_mm_s2(const_float_t ); |
|
|
void setRetractAcceleration_mm_s2(const_float_t); |
|
|
void setTravelAcceleration_mm_s2(const_float_t ); |
|
|
void setTravelAcceleration_mm_s2(const_float_t); |
|
|
void setFeedrate_percent(const_float_t ); |
|
|
void setFeedrate_percent(const_float_t); |
|
|
void setFlow_percent(const int16_t, const extruder_t); |
|
|
void setFlow_percent(const int16_t, const extruder_t); |
|
|
bool awaitingUserConfirm(); |
|
|
bool awaitingUserConfirm(); |
|
|
void setUserConfirmed(); |
|
|
void setUserConfirmed(); |
|
|
|
|
|
|
|
|
|
|
|
#if M600_PURGE_MORE_RESUMABLE |
|
|
|
|
|
void setPauseMenuResponse(PauseMenuResponse); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(LIN_ADVANCE) |
|
|
#if ENABLED(LIN_ADVANCE) |
|
|
float getLinearAdvance_mm_mm_s(const extruder_t); |
|
|
float getLinearAdvance_mm_mm_s(const extruder_t); |
|
|
void setLinearAdvance_mm_mm_s(const_float_t, const extruder_t); |
|
|
void setLinearAdvance_mm_mm_s(const_float_t, const extruder_t); |
|
@ -235,7 +243,7 @@ namespace ExtUI { |
|
|
|
|
|
|
|
|
#if HAS_JUNCTION_DEVIATION |
|
|
#if HAS_JUNCTION_DEVIATION |
|
|
float getJunctionDeviation_mm(); |
|
|
float getJunctionDeviation_mm(); |
|
|
void setJunctionDeviation_mm(const_float_t ); |
|
|
void setJunctionDeviation_mm(const_float_t); |
|
|
#else |
|
|
#else |
|
|
float getAxisMaxJerk_mm_s(const axis_t); |
|
|
float getAxisMaxJerk_mm_s(const axis_t); |
|
|
float getAxisMaxJerk_mm_s(const extruder_t); |
|
|
float getAxisMaxJerk_mm_s(const extruder_t); |
|
@ -262,7 +270,7 @@ namespace ExtUI { |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
float getZOffset_mm(); |
|
|
float getZOffset_mm(); |
|
|
void setZOffset_mm(const_float_t ); |
|
|
void setZOffset_mm(const_float_t); |
|
|
|
|
|
|
|
|
#if HAS_BED_PROBE |
|
|
#if HAS_BED_PROBE |
|
|
float getProbeOffset_mm(const axis_t); |
|
|
float getProbeOffset_mm(const axis_t); |
|
@ -274,11 +282,11 @@ namespace ExtUI { |
|
|
void setAxisBacklash_mm(const_float_t, const axis_t); |
|
|
void setAxisBacklash_mm(const_float_t, const axis_t); |
|
|
|
|
|
|
|
|
float getBacklashCorrection_percent(); |
|
|
float getBacklashCorrection_percent(); |
|
|
void setBacklashCorrection_percent(const_float_t ); |
|
|
void setBacklashCorrection_percent(const_float_t); |
|
|
|
|
|
|
|
|
#ifdef BACKLASH_SMOOTHING_MM |
|
|
#ifdef BACKLASH_SMOOTHING_MM |
|
|
float getBacklashSmoothing_mm(); |
|
|
float getBacklashSmoothing_mm(); |
|
|
void setBacklashSmoothing_mm(const_float_t ); |
|
|
void setBacklashSmoothing_mm(const_float_t); |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -290,7 +298,7 @@ namespace ExtUI { |
|
|
|
|
|
|
|
|
#if HAS_FILAMENT_RUNOUT_DISTANCE |
|
|
#if HAS_FILAMENT_RUNOUT_DISTANCE |
|
|
float getFilamentRunoutDistance_mm(); |
|
|
float getFilamentRunoutDistance_mm(); |
|
|
void setFilamentRunoutDistance_mm(const_float_t ); |
|
|
void setFilamentRunoutDistance_mm(const_float_t); |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -300,7 +308,7 @@ namespace ExtUI { |
|
|
|
|
|
|
|
|
#if DISABLED(CASE_LIGHT_NO_BRIGHTNESS) |
|
|
#if DISABLED(CASE_LIGHT_NO_BRIGHTNESS) |
|
|
float getCaseLightBrightness_percent(); |
|
|
float getCaseLightBrightness_percent(); |
|
|
void setCaseLightBrightness_percent(const_float_t ); |
|
|
void setCaseLightBrightness_percent(const_float_t); |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -309,15 +317,15 @@ namespace ExtUI { |
|
|
float getPIDValues_Ki(const extruder_t); |
|
|
float getPIDValues_Ki(const extruder_t); |
|
|
float getPIDValues_Kd(const extruder_t); |
|
|
float getPIDValues_Kd(const extruder_t); |
|
|
void setPIDValues(const_float_t, const_float_t , const_float_t , extruder_t); |
|
|
void setPIDValues(const_float_t, const_float_t , const_float_t , extruder_t); |
|
|
void startPIDTune(const_float_t, extruder_t); |
|
|
void startPIDTune(const celsius_t, extruder_t); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(PIDTEMPBED) |
|
|
#if ENABLED(PIDTEMPBED) |
|
|
float getBedPIDValues_Kp(); |
|
|
float getBedPIDValues_Kp(); |
|
|
float getBedPIDValues_Ki(); |
|
|
float getBedPIDValues_Ki(); |
|
|
float getBedPIDValues_Kd(); |
|
|
float getBedPIDValues_Kd(); |
|
|
void setBedPIDValues(const_float_t, const_float_t , const_float_t ); |
|
|
void setBedPIDValues(const_float_t, const_float_t , const_float_t); |
|
|
void startBedPIDTune(const_float_t ); |
|
|
void startBedPIDTune(const celsius_t); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|