diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index f01af4144..0ec06316f 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -285,6 +285,9 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th // Data from: http://www.doc-diy.net/photo/rc-1_hacked/ // #define PHOTOGRAPH_PIN 23 +// SF send wrong arc g-codes when using Arc Point as fillet procedure +//#define SF_ARC_FIX + #include "Configuration_adv.h" #include "thermistortables.h" diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index f8ae5b874..89104333b 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -1576,7 +1576,15 @@ void get_coordinates() void get_arc_coordinates() { +#ifdef SF_ARC_FIX + bool relative_mode_backup = relative_mode; + bool relative_mode = true; +#endif get_coordinates(); +#ifdef SF_ARC_FIX + relative_mode=relative_mode_backup; +#endif + if(code_seen('I')) { offset[0] = code_value(); }