|
|
@ -683,12 +683,17 @@ namespace ExtUI {
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
feedRate_t getFeedrate_mm_s() { return feedrate_mm_s; }
|
|
|
|
feedRate_t getFeedrate_mm_s() { return feedrate_mm_s; }
|
|
|
|
|
|
|
|
int16_t getFlowPercentage(const extruder_t extr) { return planner.flow_percentage[extr]; }
|
|
|
|
feedRate_t getMinFeedrate_mm_s() { return planner.settings.min_feedrate_mm_s; }
|
|
|
|
feedRate_t getMinFeedrate_mm_s() { return planner.settings.min_feedrate_mm_s; }
|
|
|
|
feedRate_t getMinTravelFeedrate_mm_s() { return planner.settings.min_travel_feedrate_mm_s; }
|
|
|
|
feedRate_t getMinTravelFeedrate_mm_s() { return planner.settings.min_travel_feedrate_mm_s; }
|
|
|
|
float getPrintingAcceleration_mm_s2() { return planner.settings.acceleration; }
|
|
|
|
float getPrintingAcceleration_mm_s2() { return planner.settings.acceleration; }
|
|
|
|
float getRetractAcceleration_mm_s2() { return planner.settings.retract_acceleration; }
|
|
|
|
float getRetractAcceleration_mm_s2() { return planner.settings.retract_acceleration; }
|
|
|
|
float getTravelAcceleration_mm_s2() { return planner.settings.travel_acceleration; }
|
|
|
|
float getTravelAcceleration_mm_s2() { return planner.settings.travel_acceleration; }
|
|
|
|
void setFeedrate_mm_s(const feedRate_t fr) { feedrate_mm_s = fr; }
|
|
|
|
void setFeedrate_mm_s(const feedRate_t fr) { feedrate_mm_s = fr; }
|
|
|
|
|
|
|
|
void setFlow_percent(const int16_t flow, const extruder_t extr) {
|
|
|
|
|
|
|
|
planner.flow_percentage[extr] = flow;
|
|
|
|
|
|
|
|
planner.refresh_e_factor(extr);
|
|
|
|
|
|
|
|
}
|
|
|
|
void setMinFeedrate_mm_s(const feedRate_t fr) { planner.settings.min_feedrate_mm_s = fr; }
|
|
|
|
void setMinFeedrate_mm_s(const feedRate_t fr) { planner.settings.min_feedrate_mm_s = fr; }
|
|
|
|
void setMinTravelFeedrate_mm_s(const feedRate_t fr) { planner.settings.min_travel_feedrate_mm_s = fr; }
|
|
|
|
void setMinTravelFeedrate_mm_s(const feedRate_t fr) { planner.settings.min_travel_feedrate_mm_s = fr; }
|
|
|
|
void setPrintingAcceleration_mm_s2(const float acc) { planner.settings.acceleration = acc; }
|
|
|
|
void setPrintingAcceleration_mm_s2(const float acc) { planner.settings.acceleration = acc; }
|
|
|
|