Browse Source

Level bed corners Z-hop height option (#12858)

pull/1/head
Ondřej Nový 6 years ago
committed by Scott Lahteine
parent
commit
a0ef6198ff
  1. 1
      Marlin/Configuration.h
  2. 1
      Marlin/src/config/default/Configuration.h
  3. 1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h
  4. 1
      Marlin/src/config/examples/AliExpress/CL-260/Configuration.h
  5. 1
      Marlin/src/config/examples/Anet/A2/Configuration.h
  6. 1
      Marlin/src/config/examples/Anet/A2plus/Configuration.h
  7. 1
      Marlin/src/config/examples/Anet/A6/Configuration.h
  8. 1
      Marlin/src/config/examples/Anet/A8/Configuration.h
  9. 1
      Marlin/src/config/examples/ArmEd/Configuration.h
  10. 1
      Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
  11. 1
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h
  12. 1
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h
  13. 1
      Marlin/src/config/examples/BQ/Hephestos/Configuration.h
  14. 1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h
  15. 1
      Marlin/src/config/examples/BQ/WITBOX/Configuration.h
  16. 1
      Marlin/src/config/examples/Cartesio/Configuration.h
  17. 1
      Marlin/src/config/examples/Creality/CR-10/Configuration.h
  18. 1
      Marlin/src/config/examples/Creality/CR-10S/Configuration.h
  19. 1
      Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
  20. 1
      Marlin/src/config/examples/Creality/CR-8/Configuration.h
  21. 1
      Marlin/src/config/examples/Creality/Ender-2/Configuration.h
  22. 1
      Marlin/src/config/examples/Creality/Ender-3/Configuration.h
  23. 1
      Marlin/src/config/examples/Creality/Ender-4/Configuration.h
  24. 1
      Marlin/src/config/examples/Einstart-S/Configuration.h
  25. 1
      Marlin/src/config/examples/Felix/Configuration.h
  26. 1
      Marlin/src/config/examples/Felix/DUAL/Configuration.h
  27. 1
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h
  28. 1
      Marlin/src/config/examples/Formbot/Raptor/Configuration.h
  29. 1
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h
  30. 1
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h
  31. 1
      Marlin/src/config/examples/Geeetech/GT2560/Configuration.h
  32. 1
      Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  33. 1
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h
  34. 1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  35. 1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  36. 1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  37. 1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  38. 1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration.h
  39. 1
      Marlin/src/config/examples/JGAurora/A5/Configuration.h
  40. 1
      Marlin/src/config/examples/MakerParts/Configuration.h
  41. 1
      Marlin/src/config/examples/Malyan/M150/Configuration.h
  42. 1
      Marlin/src/config/examples/Malyan/M200/Configuration.h
  43. 1
      Marlin/src/config/examples/Micromake/C1/basic/Configuration.h
  44. 1
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h
  45. 1
      Marlin/src/config/examples/Mks/Robin/Configuration.h
  46. 1
      Marlin/src/config/examples/Mks/Sbase/Configuration.h
  47. 1
      Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h
  48. 1
      Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h
  49. 1
      Marlin/src/config/examples/RigidBot/Configuration.h
  50. 1
      Marlin/src/config/examples/SCARA/Configuration.h
  51. 1
      Marlin/src/config/examples/STM32F10/Configuration.h
  52. 1
      Marlin/src/config/examples/STM32F4/Configuration.h
  53. 1
      Marlin/src/config/examples/Sanguinololu/Configuration.h
  54. 1
      Marlin/src/config/examples/TheBorg/Configuration.h
  55. 1
      Marlin/src/config/examples/TinyBoy2/Configuration.h
  56. 1
      Marlin/src/config/examples/Tronxy/X1/Configuration.h
  57. 1
      Marlin/src/config/examples/Tronxy/X3A/Configuration.h
  58. 1
      Marlin/src/config/examples/Tronxy/X5S/Configuration.h
  59. 1
      Marlin/src/config/examples/Tronxy/XY100/Configuration.h
  60. 1
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h
  61. 1
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h
  62. 1
      Marlin/src/config/examples/VORONDesign/Configuration.h
  63. 1
      Marlin/src/config/examples/Velleman/K8200/Configuration.h
  64. 1
      Marlin/src/config/examples/Velleman/K8400/Configuration.h
  65. 1
      Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h
  66. 1
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h
  67. 1
      Marlin/src/config/examples/adafruit/ST7565/Configuration.h
  68. 1
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h
  69. 1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  70. 1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h
  71. 1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h
  72. 1
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h
  73. 1
      Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h
  74. 1
      Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h
  75. 1
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h
  76. 1
      Marlin/src/config/examples/delta/generic/Configuration.h
  77. 1
      Marlin/src/config/examples/delta/kossel_mini/Configuration.h
  78. 1
      Marlin/src/config/examples/delta/kossel_pro/Configuration.h
  79. 1
      Marlin/src/config/examples/delta/kossel_xl/Configuration.h
  80. 1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h
  81. 1
      Marlin/src/config/examples/makibox/Configuration.h
  82. 1
      Marlin/src/config/examples/stm32f103ret6/Configuration.h
  83. 1
      Marlin/src/config/examples/tvrrug/Round2/Configuration.h
  84. 1
      Marlin/src/config/examples/wt150/Configuration.h
  85. 4
      Marlin/src/lcd/menu/menu.h
  86. 8
      Marlin/src/lcd/menu/menu_bed_corners.cpp

1
Marlin/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/default/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration.h

@ -1201,6 +1201,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/AliExpress/CL-260/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Anet/A2/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Anet/A2plus/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Anet/A6/Configuration.h

@ -1319,6 +1319,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Anet/A8/Configuration.h

@ -1194,6 +1194,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/ArmEd/Configuration.h

@ -1193,6 +1193,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/BQ/Hephestos/Configuration.h

@ -1169,6 +1169,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/BQ/WITBOX/Configuration.h

@ -1169,6 +1169,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Cartesio/Configuration.h

@ -1180,6 +1180,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Creality/CR-10/Configuration.h

@ -1191,6 +1191,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Creality/CR-10S/Configuration.h

@ -1182,6 +1182,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h

@ -1200,6 +1200,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Creality/CR-8/Configuration.h

@ -1191,6 +1191,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Creality/Ender-2/Configuration.h

@ -1185,6 +1185,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Creality/Ender-3/Configuration.h

@ -1185,6 +1185,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Creality/Ender-4/Configuration.h

@ -1191,6 +1191,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Einstart-S/Configuration.h

@ -1191,6 +1191,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Felix/Configuration.h

@ -1163,6 +1163,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Felix/DUAL/Configuration.h

@ -1163,6 +1163,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration.h

@ -1187,6 +1187,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Formbot/Raptor/Configuration.h

@ -1286,6 +1286,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration.h

@ -1216,6 +1216,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration.h

@ -1206,6 +1206,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Geeetech/GT2560/Configuration.h

@ -1196,6 +1196,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration.h

@ -1188,6 +1188,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h

@ -1197,6 +1197,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h

@ -1196,6 +1196,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Infitary/i3-M508/Configuration.h

@ -1185,6 +1185,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/JGAurora/A5/Configuration.h

@ -1193,6 +1193,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/MakerParts/Configuration.h

@ -1201,6 +1201,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Malyan/M150/Configuration.h

@ -1209,6 +1209,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Malyan/M200/Configuration.h

@ -1180,6 +1180,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Micromake/C1/basic/Configuration.h

@ -1185,6 +1185,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration.h

@ -1185,6 +1185,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Mks/Robin/Configuration.h

@ -1182,6 +1182,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Mks/Sbase/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/RepRapPro/Huxley/Configuration.h

@ -1230,6 +1230,7 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/RepRapWorld/Megatronics/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/RigidBot/Configuration.h

@ -1179,6 +1179,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/SCARA/Configuration.h

@ -1194,6 +1194,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/STM32F10/Configuration.h

@ -1183,6 +1183,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/STM32F4/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Sanguinololu/Configuration.h

@ -1212,6 +1212,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/TheBorg/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/TinyBoy2/Configuration.h

@ -1237,6 +1237,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Tronxy/X1/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Tronxy/X3A/Configuration.h

@ -1185,6 +1185,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Tronxy/X5S/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Tronxy/XY100/Configuration.h

@ -1192,6 +1192,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/UltiMachine/Archim1/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/VORONDesign/Configuration.h

@ -1190,6 +1190,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Velleman/K8200/Configuration.h

@ -1211,6 +1211,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Velleman/K8400/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Velleman/K8400/Dual-head/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration.h

@ -1191,6 +1191,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/adafruit/ST7565/Configuration.h

@ -1181,6 +1181,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration.h

@ -1372,6 +1372,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration.h

@ -1310,6 +1310,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration.h

@ -1309,6 +1309,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration.h

@ -1309,6 +1309,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration.h

@ -1311,6 +1311,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/Hatchbox_Alpha/Configuration.h

@ -1312,6 +1312,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/MKS/SBASE/Configuration.h

@ -1297,6 +1297,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration.h

@ -1301,6 +1301,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/generic/Configuration.h

@ -1297,6 +1297,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/kossel_mini/Configuration.h

@ -1299,6 +1299,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/kossel_pro/Configuration.h

@ -1300,6 +1300,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/delta/kossel_xl/Configuration.h

@ -1300,6 +1300,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration.h

@ -1195,6 +1195,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/makibox/Configuration.h

@ -1184,6 +1184,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/stm32f103ret6/Configuration.h

@ -1183,6 +1183,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/tvrrug/Round2/Configuration.h

@ -1176,6 +1176,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

1
Marlin/src/config/examples/wt150/Configuration.h

@ -1186,6 +1186,7 @@
#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

4
Marlin/src/lcd/menu/menu.h

@ -154,8 +154,8 @@ template<typename NAME>
class TMenuItem : MenuItemBase {
private:
typedef typename NAME::type_t type_t;
inline static float unscale(const float value) { return value * (1.0f / NAME::scale); }
inline static float scale(const float value) { return value * NAME::scale; }
static inline float unscale(const float value) { return value * (1.0f / NAME::scale); }
static inline float scale(const float value) { return value * NAME::scale; }
static void load(void *ptr, const int32_t value) { *((type_t*)ptr) = unscale(value); }
static char* to_string(const int32_t value) { return NAME::strfunc(unscale(value)); }
public:

8
Marlin/src/lcd/menu/menu_bed_corners.cpp

@ -32,12 +32,18 @@
#include "../../module/motion.h"
#include "../../module/planner.h"
#ifndef LEVEL_CORNERS_Z_HOP
#define LEVEL_CORNERS_Z_HOP 4.0
#endif
static_assert(LEVEL_CORNERS_Z_HOP >= 0, "LEVEL_CORNERS_Z_HOP must be >= 0. Please update your configuration.");
/**
* Level corners, starting in the front-left corner.
*/
static int8_t bed_corner;
void _lcd_goto_next_corner() {
line_to_z(4.0);
line_to_z(LEVEL_CORNERS_Z_HOP);
switch (bed_corner) {
case 0:
current_position[X_AXIS] = X_MIN_BED + LEVEL_CORNERS_INSET;

Loading…
Cancel
Save