Added fix for SF Arc Point fillet procedure
This commit is contained in:
		| @@ -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" | ||||
|  | ||||
|   | ||||
| @@ -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(); | ||||
|    }  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user