Browse Source

Add extra Linear Advance factors (#13490)

pull/1/head
Sam Lane 6 years ago
committed by Scott Lahteine
parent
commit
e3ab54753b
  1. 1
      Marlin/Configuration_adv.h
  2. 78
      Marlin/src/gcode/feature/advance/M900.cpp
  3. 11
      Marlin/src/module/configuration_store.cpp
  4. 1
      config/default/Configuration_adv.h
  5. 1
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  6. 1
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  7. 1
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  8. 1
      config/examples/Anet/A2/Configuration_adv.h
  9. 1
      config/examples/Anet/A2plus/Configuration_adv.h
  10. 1
      config/examples/Anet/A6/Configuration_adv.h
  11. 1
      config/examples/Anet/A8/Configuration_adv.h
  12. 1
      config/examples/AnyCubic/i3/Configuration_adv.h
  13. 1
      config/examples/ArmEd/Configuration_adv.h
  14. 1
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  15. 1
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  16. 1
      config/examples/BQ/Hephestos/Configuration_adv.h
  17. 1
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  18. 1
      config/examples/BQ/WITBOX/Configuration_adv.h
  19. 1
      config/examples/Cartesio/Configuration_adv.h
  20. 1
      config/examples/Creality/CR-10/Configuration_adv.h
  21. 1
      config/examples/Creality/CR-10S/Configuration_adv.h
  22. 1
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  23. 1
      config/examples/Creality/CR-10mini/Configuration_adv.h
  24. 1
      config/examples/Creality/CR-8/Configuration_adv.h
  25. 1
      config/examples/Creality/Ender-2/Configuration_adv.h
  26. 1
      config/examples/Creality/Ender-3/Configuration_adv.h
  27. 1
      config/examples/Creality/Ender-4/Configuration_adv.h
  28. 1
      config/examples/Einstart-S/Configuration_adv.h
  29. 1
      config/examples/Felix/Configuration_adv.h
  30. 1
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  31. 1
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  32. 1
      config/examples/Formbot/Raptor/Configuration_adv.h
  33. 1
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  34. 1
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  35. 1
      config/examples/Geeetech/A10M/Configuration_adv.h
  36. 1
      config/examples/Geeetech/A20M/Configuration_adv.h
  37. 1
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  38. 1
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  39. 1
      config/examples/Infitary/i3-M508/Configuration_adv.h
  40. 1
      config/examples/JGAurora/A5/Configuration_adv.h
  41. 1
      config/examples/MakerParts/Configuration_adv.h
  42. 1
      config/examples/Malyan/M150/Configuration_adv.h
  43. 1
      config/examples/Malyan/M200/Configuration_adv.h
  44. 1
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  45. 1
      config/examples/Mks/Robin/Configuration_adv.h
  46. 1
      config/examples/Mks/Sbase/Configuration_adv.h
  47. 1
      config/examples/RapideLite/RL200/Configuration_adv.h
  48. 1
      config/examples/RigidBot/Configuration_adv.h
  49. 1
      config/examples/SCARA/Configuration_adv.h
  50. 1
      config/examples/Sanguinololu/Configuration_adv.h
  51. 1
      config/examples/TheBorg/Configuration_adv.h
  52. 1
      config/examples/TinyBoy2/Configuration_adv.h
  53. 1
      config/examples/Tronxy/X3A/Configuration_adv.h
  54. 1
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  55. 1
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  56. 1
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  57. 1
      config/examples/VORONDesign/Configuration_adv.h
  58. 1
      config/examples/Velleman/K8200/Configuration_adv.h
  59. 1
      config/examples/Velleman/K8400/Configuration_adv.h
  60. 1
      config/examples/WASP/PowerWASP/Configuration_adv.h
  61. 3
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  62. 1
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  63. 1
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  64. 1
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  65. 1
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  66. 1
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  67. 1
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  68. 1
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  69. 1
      config/examples/delta/generic/Configuration_adv.h
  70. 1
      config/examples/delta/kossel_mini/Configuration_adv.h
  71. 1
      config/examples/delta/kossel_xl/Configuration_adv.h
  72. 1
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  73. 1
      config/examples/makibox/Configuration_adv.h
  74. 1
      config/examples/tvrrug/Round2/Configuration_adv.h
  75. 1
      config/examples/wt150/Configuration_adv.h

1
Marlin/Configuration_adv.h

@ -1029,6 +1029,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

78
Marlin/src/gcode/feature/advance/M900.cpp

@ -28,25 +28,93 @@
#include "../../../module/planner.h"
#include "../../../module/stepper.h"
#if ENABLED(EXTRA_LIN_ADVANCE_K)
float saved_extruder_advance_K[EXTRUDERS];
uint8_t lin_adv_slot = 0;
#endif
/**
* M900: Get or Set Linear Advance K-factor
*
* K<factor> Set advance K factor
* T<tool> Which tool to address
* K<factor> Set current advance K factor (Slot 0).
* L<factor> Set secondary advance K factor (Slot 1). Requires EXTRA_LIN_ADVANCE_K.
* S<0/1> Activate slot 0 or 1. Requires EXTRA_LIN_ADVANCE_K.
*/
void GcodeSuite::M900() {
#if EXTRUDERS < 2
constexpr uint8_t tmp_extruder = 0;
#else
const uint8_t tmp_extruder = parser.seenval('T') ? parser.value_int() : active_extruder;
const uint8_t tmp_extruder = parser.intval('T', active_extruder);
if (tmp_extruder >= EXTRUDERS) {
SERIAL_ECHOLNPGM("?T value out of range.");
return;
}
#endif
#if ENABLED(EXTRA_LIN_ADVANCE_K)
bool ext_slot = bitRead(lin_adv_slot, tmp_extruder);
if (parser.seenval('S')) {
const bool slot = parser.value_bool();
if (ext_slot != slot) {
ext_slot = slot;
bitWrite(lin_adv_slot, tmp_extruder, slot);
planner.synchronize();
const float temp = planner.extruder_advance_K[tmp_extruder];
planner.extruder_advance_K[tmp_extruder] = saved_extruder_advance_K[tmp_extruder];
saved_extruder_advance_K[tmp_extruder] = temp;
}
}
if (parser.seenval('K')) {
const float newK = parser.floatval('K');
const float newK = parser.value_float();
if (WITHIN(newK, 0, 10)) {
if (ext_slot)
saved_extruder_advance_K[tmp_extruder] = newK;
else {
planner.synchronize();
planner.extruder_advance_K[tmp_extruder] = newK;
}
}
else
SERIAL_ECHOLNPGM("?K value out of range (0-10).");
}
if (parser.seenval('L')) {
const float newL = parser.value_float();
if (WITHIN(newL, 0, 10)) {
if (!ext_slot)
saved_extruder_advance_K[tmp_extruder] = newL;
else {
planner.synchronize();
planner.extruder_advance_K[tmp_extruder] = newL;
}
}
else
SERIAL_ECHOLNPGM("?L value out of range (0-10).");
}
if (!parser.seen_any()) {
#if EXTRUDERS < 2
SERIAL_ECHOLNPAIR("Advance S", ext_slot, " K", planner.extruder_advance_K[0]);
SERIAL_ECHOLNPAIR("(Slot ", 1 - ext_slot, " K", saved_extruder_advance_K[0], ")");
#else
LOOP_L_N(i, EXTRUDERS) {
const int slot = (int)bitRead(lin_adv_slot, i);
SERIAL_ECHOLNPAIR("Advance T", int(i), " S", slot, " K", planner.extruder_advance_K[i]);
SERIAL_ECHOLNPAIR("(Slot ", 1 - slot, " K", saved_extruder_advance_K[i], ")");
SERIAL_EOL();
}
#endif
}
#else
if (parser.seenval('K')) {
const float newK = parser.value_float();
if (WITHIN(newK, 0, 10)) {
planner.synchronize();
planner.extruder_advance_K[tmp_extruder] = newK;
@ -67,6 +135,8 @@ void GcodeSuite::M900() {
SERIAL_EOL();
#endif
}
#endif
}
#endif // LIN_ADVANCE

11
Marlin/src/module/configuration_store.cpp

@ -86,6 +86,10 @@
#include "../feature/pause.h"
#if ENABLED(EXTRA_LIN_ADVANCE_K)
extern float saved_extruder_advance_K[EXTRUDERS];
#endif
#if EXTRUDERS > 1
#include "tool_change.h"
void M217_report(const bool eeprom);
@ -2233,7 +2237,12 @@ void MarlinSettings::reset() {
//
#if ENABLED(LIN_ADVANCE)
LOOP_L_N(i, EXTRUDERS) planner.extruder_advance_K[i] = LIN_ADVANCE_K;
LOOP_L_N(i, EXTRUDERS) {
planner.extruder_advance_K[i] = LIN_ADVANCE_K;
#if ENABLED(EXTRA_LIN_ADVANCE_K)
saved_extruder_advance_K[i] = LIN_ADVANCE_K;
#endif
}
#endif
//

1
config/default/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/3DFabXYZ/Migbot/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/AliExpress/UM2pExt/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Anet/A2/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Anet/A2plus/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Anet/A6/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Anet/A8/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/AnyCubic/i3/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/ArmEd/Configuration_adv.h

@ -1036,6 +1036,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/BIBO/TouchX/default/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/BQ/Hephestos/Configuration_adv.h

@ -1029,6 +1029,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -1037,6 +1037,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/BQ/WITBOX/Configuration_adv.h

@ -1029,6 +1029,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Cartesio/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/CR-10/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/CR-10S/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/CR-10_5S/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/CR-10mini/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/CR-8/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/Ender-2/Configuration_adv.h

@ -1029,6 +1029,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/Ender-3/Configuration_adv.h

@ -1029,6 +1029,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Creality/Ender-4/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Einstart-S/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Felix/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/FlashForge/CreatorPro/Configuration_adv.h

@ -1028,6 +1028,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/FolgerTech/i3-2020/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Formbot/Raptor/Configuration_adv.h

@ -1034,6 +1034,7 @@
#define LIN_ADVANCE
#endif
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Formbot/T_Rex_2+/Configuration_adv.h

@ -1036,6 +1036,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Formbot/T_Rex_3/Configuration_adv.h

@ -1036,6 +1036,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Geeetech/A10M/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Geeetech/A20M/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Infitary/i3-M508/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/JGAurora/A5/Configuration_adv.h

@ -1029,6 +1029,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/MakerParts/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Malyan/M150/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Malyan/M200/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Micromake/C1/enhanced/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Mks/Robin/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Mks/Sbase/Configuration_adv.h

@ -1033,6 +1033,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/RapideLite/RL200/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/RigidBot/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/SCARA/Configuration_adv.h

@ -1029,6 +1029,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Sanguinololu/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/TheBorg/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/TinyBoy2/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Tronxy/X3A/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Tronxy/X5S-2E/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/UltiMachine/Archim1/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/UltiMachine/Archim2/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/VORONDesign/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Velleman/K8200/Configuration_adv.h

@ -1045,6 +1045,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/Velleman/K8400/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/WASP/PowerWASP/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

3
config/examples/Wanhao/Duplicator 6/Configuration_adv.h

@ -1031,7 +1031,8 @@
*/
#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
#define LIN_ADVANCE_K 0 // Unit: mm compression per 1mm/s extruder speed
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.00 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/Anycubic/Kossel/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/FLSUN/kossel/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/MKS/SBASE/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/Tevo Little Monster/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/generic/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/kossel_mini/Configuration_adv.h

@ -1030,6 +1030,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/delta/kossel_xl/Configuration_adv.h

@ -1031,6 +1031,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/gCreate/gMax1.5+/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/makibox/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/tvrrug/Round2/Configuration_adv.h

@ -1032,6 +1032,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

1
config/examples/wt150/Configuration_adv.h

@ -1033,6 +1033,7 @@
*/
//#define LIN_ADVANCE
#if ENABLED(LIN_ADVANCE)
//#define EXTRA_LIN_ADVANCE_K // Enable for second linear advance constants
#define LIN_ADVANCE_K 0.22 // Unit: mm compression per 1mm/s extruder speed
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
#endif

Loading…
Cancel
Save