Browse Source

Remove SF_ARC_FIX from G5 (Cubic B-spline)

Remove SF_ARC_FIX from G5 (Cubic B-spline).
SF_ARC_FIX is a fix for G2/G3 (arcs) where Skeinforge always produced relative instead of absolute coordinates for the endpoint of an arc.
It's very unlikely this is also a problem with Cubic B-splines. More likely is copying from the G2/G3 code.
AnHardt 9 years ago
parent
commit
e761bdbb4b
1 changed files with 1 additions and 8 deletions
  1. 1
    8
      Marlin/Marlin_main.cpp

+ 1
- 8
Marlin/Marlin_main.cpp View File

@@ -106,7 +106,7 @@
106 106
  * G2  - CW ARC
107 107
  * G3  - CCW ARC
108 108
  * G4  - Dwell S<seconds> or P<milliseconds>
109
- * G5  - Cubic B-spline with
109
+ * G5  - Cubic B-spline with XYZE destination and IJPQ offsets
110 110
  * G10 - retract filament according to settings of M207
111 111
  * G11 - retract recover filament according to settings of M208
112 112
  * G28 - Home one or more axes
@@ -2546,14 +2546,7 @@ inline void gcode_G4() {
2546 2546
   inline void gcode_G5() {
2547 2547
     if (IsRunning()) {
2548 2548
 
2549
-      #ifdef SF_ARC_FIX
2550
-        bool relative_mode_backup = relative_mode;
2551
-        relative_mode = true;
2552
-      #endif
2553 2549
       gcode_get_destination();
2554
-      #ifdef SF_ARC_FIX
2555
-        relative_mode = relative_mode_backup;
2556
-      #endif
2557 2550
 
2558 2551
       float offset[] = {
2559 2552
         code_seen('I') ? code_value() : 0.0,

Loading…
Cancel
Save