Browse Source

Added fix for SF Arc Point fillet procedure

pull/1/head
Erik vd Zalm 12 years ago
parent
commit
e358a2d7af
  1. 3
      Marlin/Configuration.h
  2. 8
      Marlin/Marlin.pde

3
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"

8
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();
}

Loading…
Cancel
Save