|
|
@ -106,7 +106,7 @@
|
|
|
|
* G2 - CW ARC
|
|
|
|
* G2 - CW ARC
|
|
|
|
* G3 - CCW ARC
|
|
|
|
* G3 - CCW ARC
|
|
|
|
* G4 - Dwell S<seconds> or P<milliseconds>
|
|
|
|
* G4 - Dwell S<seconds> or P<milliseconds>
|
|
|
|
* G5 - Cubic B-spline with
|
|
|
|
* G5 - Cubic B-spline with XYZE destination and IJPQ offsets
|
|
|
|
* G10 - retract filament according to settings of M207
|
|
|
|
* G10 - retract filament according to settings of M207
|
|
|
|
* G11 - retract recover filament according to settings of M208
|
|
|
|
* G11 - retract recover filament according to settings of M208
|
|
|
|
* G28 - Home one or more axes
|
|
|
|
* G28 - Home one or more axes
|
|
|
@ -2546,14 +2546,7 @@ inline void gcode_G4() {
|
|
|
|
inline void gcode_G5() {
|
|
|
|
inline void gcode_G5() {
|
|
|
|
if (IsRunning()) {
|
|
|
|
if (IsRunning()) {
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef SF_ARC_FIX
|
|
|
|
|
|
|
|
bool relative_mode_backup = relative_mode;
|
|
|
|
|
|
|
|
relative_mode = true;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
gcode_get_destination();
|
|
|
|
gcode_get_destination();
|
|
|
|
#ifdef SF_ARC_FIX
|
|
|
|
|
|
|
|
relative_mode = relative_mode_backup;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float offset[] = {
|
|
|
|
float offset[] = {
|
|
|
|
code_seen('I') ? code_value() : 0.0,
|
|
|
|
code_seen('I') ? code_value() : 0.0,
|
|
|
@ -7604,13 +7597,14 @@ void prepare_move() {
|
|
|
|
|
|
|
|
|
|
|
|
float feed_rate = feedrate * feedrate_multiplier / 60 / 100.0;
|
|
|
|
float feed_rate = feedrate * feedrate_multiplier / 60 / 100.0;
|
|
|
|
|
|
|
|
|
|
|
|
millis_t previous_ms = millis();
|
|
|
|
millis_t next_ping_ms = millis() + 200UL;
|
|
|
|
|
|
|
|
|
|
|
|
for (i = 1; i < segments; i++) { // Iterate (segments-1) times
|
|
|
|
for (i = 1; i < segments; i++) { // Iterate (segments-1) times
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thermalManager.manage_heater();
|
|
|
|
millis_t now = millis();
|
|
|
|
millis_t now = millis();
|
|
|
|
if (now - previous_ms > 200UL) {
|
|
|
|
if (ELAPSED(now, next_ping_ms)) {
|
|
|
|
previous_ms = now;
|
|
|
|
next_ping_ms = now + 200UL;
|
|
|
|
idle();
|
|
|
|
idle();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|