|
|
@ -1850,7 +1850,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif // HAS_AXIS_UNHOMED_ERR
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(Z_PROBE_SLED)
|
|
|
|
#if ENABLED(Z_PROBE_SLED)
|
|
|
|
|
|
|
|
|
|
|
@ -2053,7 +2053,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif // Z_PROBE_ALLEN_KEY
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(PROBING_FANS_OFF)
|
|
|
|
#if ENABLED(PROBING_FANS_OFF)
|
|
|
|
|
|
|
|
|
|
|
@ -3383,6 +3383,10 @@ inline void gcode_G0_G1(
|
|
|
|
bool fast_move=false
|
|
|
|
bool fast_move=false
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
|
|
|
|
#if ENABLED(NO_MOTION_BEFORE_HOMING)
|
|
|
|
|
|
|
|
if (axis_unhomed_error()) return;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (IsRunning()) {
|
|
|
|
if (IsRunning()) {
|
|
|
|
gcode_get_destination(); // For X Y Z E F
|
|
|
|
gcode_get_destination(); // For X Y Z E F
|
|
|
|
|
|
|
|
|
|
|
@ -3438,6 +3442,10 @@ inline void gcode_G0_G1(
|
|
|
|
#if ENABLED(ARC_SUPPORT)
|
|
|
|
#if ENABLED(ARC_SUPPORT)
|
|
|
|
|
|
|
|
|
|
|
|
inline void gcode_G2_G3(bool clockwise) {
|
|
|
|
inline void gcode_G2_G3(bool clockwise) {
|
|
|
|
|
|
|
|
#if ENABLED(NO_MOTION_BEFORE_HOMING)
|
|
|
|
|
|
|
|
if (axis_unhomed_error()) return;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (IsRunning()) {
|
|
|
|
if (IsRunning()) {
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SF_ARC_FIX)
|
|
|
|
#if ENABLED(SF_ARC_FIX)
|
|
|
@ -3535,6 +3543,10 @@ inline void gcode_G4() {
|
|
|
|
* G5: Cubic B-spline
|
|
|
|
* G5: Cubic B-spline
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
inline void gcode_G5() {
|
|
|
|
inline void gcode_G5() {
|
|
|
|
|
|
|
|
#if ENABLED(NO_MOTION_BEFORE_HOMING)
|
|
|
|
|
|
|
|
if (axis_unhomed_error()) return;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (IsRunning()) {
|
|
|
|
if (IsRunning()) {
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(CNC_WORKSPACE_PLANES)
|
|
|
|
#if ENABLED(CNC_WORKSPACE_PLANES)
|
|
|
@ -5862,6 +5874,10 @@ void home_all_axes() { gcode_G28(true); }
|
|
|
|
* G42: Move X & Y axes to mesh coordinates (I & J)
|
|
|
|
* G42: Move X & Y axes to mesh coordinates (I & J)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
inline void gcode_G42() {
|
|
|
|
inline void gcode_G42() {
|
|
|
|
|
|
|
|
#if ENABLED(NO_MOTION_BEFORE_HOMING)
|
|
|
|
|
|
|
|
if (axis_unhomed_error()) return;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (IsRunning()) {
|
|
|
|
if (IsRunning()) {
|
|
|
|
const bool hasI = parser.seenval('I');
|
|
|
|
const bool hasI = parser.seenval('I');
|
|
|
|
const int8_t ix = hasI ? parser.value_int() : 0;
|
|
|
|
const int8_t ix = hasI ? parser.value_int() : 0;
|
|
|
|