浏览代码

Adapt MESH_EDIT_GFX_OVERLAY for 1.1.x

Scott Lahteine 7 年前
父节点
当前提交
c0190eff00
共有 72 个文件被更改,包括 251 次插入77 次删除
  1. 1
    1
      .travis.yml
  2. 2
    0
      Marlin/Configuration.h
  3. 4
    1
      Marlin/Configuration_adv.h
  4. 8
    0
      Marlin/SanityCheck.h
  5. 2
    2
      Marlin/dogm_bitmaps.h
  6. 2
    0
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h
  7. 4
    1
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  8. 2
    0
      Marlin/example_configurations/AliExpress/CL-260/Configuration.h
  9. 2
    0
      Marlin/example_configurations/Anet/A6/Configuration.h
  10. 4
    1
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  11. 2
    0
      Marlin/example_configurations/Anet/A8/Configuration.h
  12. 4
    1
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  13. 2
    0
      Marlin/example_configurations/BQ/Hephestos/Configuration.h
  14. 4
    1
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  15. 2
    0
      Marlin/example_configurations/BQ/Hephestos_2/Configuration.h
  16. 4
    1
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  17. 2
    0
      Marlin/example_configurations/BQ/WITBOX/Configuration.h
  18. 4
    1
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  19. 2
    0
      Marlin/example_configurations/Cartesio/Configuration.h
  20. 4
    1
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  21. 2
    0
      Marlin/example_configurations/Creality/CR-10/Configuration.h
  22. 4
    1
      Marlin/example_configurations/Creality/CR-10/Configuration_adv.h
  23. 2
    0
      Marlin/example_configurations/Felix/Configuration.h
  24. 4
    1
      Marlin/example_configurations/Felix/Configuration_adv.h
  25. 2
    0
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  26. 2
    0
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h
  27. 4
    1
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h
  28. 2
    0
      Marlin/example_configurations/Geeetech/GT2560/Configuration.h
  29. 2
    0
      Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h
  30. 2
    0
      Marlin/example_configurations/Infitary/i3-M508/Configuration.h
  31. 4
    1
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  32. 2
    0
      Marlin/example_configurations/Malyan/M150/Configuration.h
  33. 4
    1
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  34. 2
    0
      Marlin/example_configurations/Micromake/C1/basic/Configuration.h
  35. 2
    0
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h
  36. 4
    1
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h
  37. 2
    0
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  38. 2
    0
      Marlin/example_configurations/RigidBot/Configuration.h
  39. 4
    1
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  40. 2
    0
      Marlin/example_configurations/SCARA/Configuration.h
  41. 4
    1
      Marlin/example_configurations/SCARA/Configuration_adv.h
  42. 2
    0
      Marlin/example_configurations/Sanguinololu/Configuration.h
  43. 4
    1
      Marlin/example_configurations/Sanguinololu/Configuration_adv.h
  44. 2
    0
      Marlin/example_configurations/TinyBoy2/Configuration.h
  45. 4
    1
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  46. 2
    0
      Marlin/example_configurations/Velleman/K8200/Configuration.h
  47. 4
    1
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  48. 2
    0
      Marlin/example_configurations/Velleman/K8400/Configuration.h
  49. 4
    1
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  50. 2
    0
      Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h
  51. 2
    0
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  52. 2
    0
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  53. 4
    1
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  54. 2
    0
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  55. 4
    1
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  56. 2
    0
      Marlin/example_configurations/delta/generic/Configuration.h
  57. 4
    1
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  58. 2
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  59. 4
    1
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  60. 2
    0
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  61. 4
    1
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  62. 2
    0
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  63. 4
    1
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  64. 2
    0
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h
  65. 4
    1
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  66. 2
    0
      Marlin/example_configurations/makibox/Configuration.h
  67. 4
    1
      Marlin/example_configurations/makibox/Configuration_adv.h
  68. 2
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  69. 4
    1
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  70. 2
    0
      Marlin/example_configurations/wt150/Configuration.h
  71. 4
    1
      Marlin/example_configurations/wt150/Configuration_adv.h
  72. 44
    44
      Marlin/ultralcd.cpp

+ 1
- 1
.travis.yml 查看文件

325
   #
325
   #
326
   - use_example_configs delta/generic
326
   - use_example_configs delta/generic
327
   - opt_disable DISABLE_MIN_ENDSTOPS
327
   - opt_disable DISABLE_MIN_ENDSTOPS
328
-  - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2
328
+  - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
329
   - build_marlin
329
   - build_marlin
330
   #
330
   #
331
   # Delta Config (FLSUN AC because it's complex)
331
   # Delta Config (FLSUN AC because it's complex)

+ 2
- 0
Marlin/Configuration.h 查看文件

957
   //========================= Unified Bed Leveling ============================
957
   //========================= Unified Bed Leveling ============================
958
   //===========================================================================
958
   //===========================================================================
959
 
959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 8
- 0
Marlin/SanityCheck.h 查看文件

216
   #error "UBL_MESH_INSET is now just MESH_INSET. Please update your configuration."
216
   #error "UBL_MESH_INSET is now just MESH_INSET. Please update your configuration."
217
 #elif defined(UBL_MESH_MIN_X) || defined(UBL_MESH_MIN_Y) || defined(UBL_MESH_MAX_X)  || defined(UBL_MESH_MAX_Y)
217
 #elif defined(UBL_MESH_MIN_X) || defined(UBL_MESH_MIN_Y) || defined(UBL_MESH_MAX_X)  || defined(UBL_MESH_MAX_Y)
218
   #error "UBL_MESH_(MIN|MAX)_[XY] is now just MESH_(MIN|MAX)_[XY]. Please update your configuration."
218
   #error "UBL_MESH_(MIN|MAX)_[XY] is now just MESH_(MIN|MAX)_[XY]. Please update your configuration."
219
+#elif defined(ENABLE_MESH_EDIT_GFX_OVERLAY)
220
+  #error "ENABLE_MESH_EDIT_GFX_OVERLAY is now MESH_EDIT_GFX_OVERLAY. Please update your configuration."
221
+#elif defined(BABYSTEP_ZPROBE_GFX_REVERSE)
222
+  #error "BABYSTEP_ZPROBE_GFX_REVERSE is now set by OVERLAY_GFX_REVERSE. Please update your configurations."
219
 #endif
223
 #endif
220
 
224
 
221
 /**
225
 /**
810
   #error "G26_MESH_VALIDATION requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_UBL."
814
   #error "G26_MESH_VALIDATION requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_UBL."
811
 #endif
815
 #endif
812
 
816
 
817
+#if ENABLED(MESH_EDIT_GFX_OVERLAY) && (DISABLED(AUTO_BED_LEVELING_UBL) || DISABLED(DOGLCD))
818
+  #error "MESH_EDIT_GFX_OVERLAY requires AUTO_BED_LEVELING_UBL and a Graphical LCD."
819
+#endif
820
+
813
 /**
821
 /**
814
  * LCD_BED_LEVELING requirements
822
  * LCD_BED_LEVELING requirements
815
  */
823
  */

+ 2
- 2
Marlin/dogm_bitmaps.h 查看文件

420
     };
420
     };
421
   #endif // Extruders
421
   #endif // Extruders
422
 
422
 
423
-  #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
423
+  #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) || ENABLED(MESH_EDIT_GFX_OVERLAY)
424
     const unsigned char cw_bmp[] PROGMEM = { //AVR-GCC, WinAVR
424
     const unsigned char cw_bmp[] PROGMEM = { //AVR-GCC, WinAVR
425
       0x07,0xf8,0x00, // 000001111111100000000000
425
       0x07,0xf8,0x00, // 000001111111100000000000
426
       0x0c,0x0c,0x00, // 000011000000110000000000
426
       0x0c,0x0c,0x00, // 000011000000110000000000
510
       0x1E,0x00, // 0001111000000000
510
       0x1E,0x00, // 0001111000000000
511
       0x0C,0x00  // 0000110000000000
511
       0x0C,0x00  // 0000110000000000
512
     };
512
     };
513
-  #endif // BABYSTEP_ZPROBE_GFX_OVERLAY
513
+  #endif // BABYSTEP_ZPROBE_GFX_OVERLAY || MESH_EDIT_GFX_OVERLAY
514
 #endif // HAS_TEMP_BED
514
 #endif // HAS_TEMP_BED

+ 2
- 0
Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h 查看文件

977
   //========================= Unified Bed Leveling ============================
977
   //========================= Unified Bed Leveling ============================
978
   //===========================================================================
978
   //===========================================================================
979
 
979
 
980
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
981
+
980
   #define MESH_INSET 1              // Mesh inset margin on print area
982
   #define MESH_INSET 1              // Mesh inset margin on print area
981
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
983
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
982
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
984
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/AliExpress/CL-260/Configuration.h 查看文件

957
   //========================= Unified Bed Leveling ============================
957
   //========================= Unified Bed Leveling ============================
958
   //===========================================================================
958
   //===========================================================================
959
 
959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Anet/A6/Configuration.h 查看文件

1100
   //========================= Unified Bed Leveling ============================
1100
   //========================= Unified Bed Leveling ============================
1101
   //===========================================================================
1101
   //===========================================================================
1102
 
1102
 
1103
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1104
+
1103
   #define MESH_INSET 1              // Mesh inset margin on print area
1105
   #define MESH_INSET 1              // Mesh inset margin on print area
1104
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1106
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1105
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1107
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Anet/A6/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Anet/A8/Configuration.h 查看文件

964
   //========================= Unified Bed Leveling ============================
964
   //========================= Unified Bed Leveling ============================
965
   //===========================================================================
965
   //===========================================================================
966
 
966
 
967
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
968
+
967
   #define MESH_INSET 1              // Mesh inset margin on print area
969
   #define MESH_INSET 1              // Mesh inset margin on print area
968
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
970
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
969
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
971
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Anet/A8/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/BQ/Hephestos/Configuration.h 查看文件

948
   //========================= Unified Bed Leveling ============================
948
   //========================= Unified Bed Leveling ============================
949
   //===========================================================================
949
   //===========================================================================
950
 
950
 
951
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
952
+
951
   #define MESH_INSET 1              // Mesh inset margin on print area
953
   #define MESH_INSET 1              // Mesh inset margin on print area
952
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
954
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
953
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
955
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/BQ/Hephestos_2/Configuration.h 查看文件

958
   //========================= Unified Bed Leveling ============================
958
   //========================= Unified Bed Leveling ============================
959
   //===========================================================================
959
   //===========================================================================
960
 
960
 
961
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
962
+
961
   #define MESH_INSET 1              // Mesh inset margin on print area
963
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
964
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
965
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h 查看文件

607
   // Enable this option and reduce the value to optimize screen updates.
607
   // Enable this option and reduce the value to optimize screen updates.
608
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
608
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
609
   //#define DOGM_SPI_DELAY_US 5
609
   //#define DOGM_SPI_DELAY_US 5
610
+
611
+  // Swap the CW/CCW indicators in the graphics overlay
612
+  //#define OVERLAY_GFX_REVERSE
613
+
610
 #endif // DOGLCD
614
 #endif // DOGLCD
611
 
615
 
612
 // @section safety
616
 // @section safety
641
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
642
                                         // Note: Extra time may be added to mitigate controller latency.
646
                                         // Note: Extra time may be added to mitigate controller latency.
643
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
644
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
645
 #endif
648
 #endif
646
 
649
 
647
 // @section extruder
650
 // @section extruder

+ 2
- 0
Marlin/example_configurations/BQ/WITBOX/Configuration.h 查看文件

948
   //========================= Unified Bed Leveling ============================
948
   //========================= Unified Bed Leveling ============================
949
   //===========================================================================
949
   //===========================================================================
950
 
950
 
951
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
952
+
951
   #define MESH_INSET 1              // Mesh inset margin on print area
953
   #define MESH_INSET 1              // Mesh inset margin on print area
952
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
954
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
953
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
955
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Cartesio/Configuration.h 查看文件

956
   //========================= Unified Bed Leveling ============================
956
   //========================= Unified Bed Leveling ============================
957
   //===========================================================================
957
   //===========================================================================
958
 
958
 
959
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
960
+
959
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define MESH_INSET 1              // Mesh inset margin on print area
960
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
961
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
963
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Cartesio/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Creality/CR-10/Configuration.h 查看文件

967
   //========================= Unified Bed Leveling ============================
967
   //========================= Unified Bed Leveling ============================
968
   //===========================================================================
968
   //===========================================================================
969
 
969
 
970
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
971
+
970
   #define MESH_INSET 1              // Mesh inset margin on print area
972
   #define MESH_INSET 1              // Mesh inset margin on print area
971
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
973
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
972
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
974
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Creality/CR-10/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Felix/Configuration.h 查看文件

939
   //========================= Unified Bed Leveling ============================
939
   //========================= Unified Bed Leveling ============================
940
   //===========================================================================
940
   //===========================================================================
941
 
941
 
942
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
943
+
942
   #define MESH_INSET 1              // Mesh inset margin on print area
944
   #define MESH_INSET 1              // Mesh inset margin on print area
943
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
945
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
944
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
946
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Felix/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Felix/DUAL/Configuration.h 查看文件

939
   //========================= Unified Bed Leveling ============================
939
   //========================= Unified Bed Leveling ============================
940
   //===========================================================================
940
   //===========================================================================
941
 
941
 
942
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
943
+
942
   #define MESH_INSET 1              // Mesh inset margin on print area
944
   #define MESH_INSET 1              // Mesh inset margin on print area
943
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
945
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
944
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
946
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h 查看文件

962
   //========================= Unified Bed Leveling ============================
962
   //========================= Unified Bed Leveling ============================
963
   //===========================================================================
963
   //===========================================================================
964
 
964
 
965
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
966
+
965
   #define MESH_INSET 1              // Mesh inset margin on print area
967
   #define MESH_INSET 1              // Mesh inset margin on print area
966
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
968
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
967
   #define GRID_MAX_POINTS_Y 10
969
   #define GRID_MAX_POINTS_Y 10

+ 4
- 1
Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Geeetech/GT2560/Configuration.h 查看文件

972
   //========================= Unified Bed Leveling ============================
972
   //========================= Unified Bed Leveling ============================
973
   //===========================================================================
973
   //===========================================================================
974
 
974
 
975
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
976
+
975
   #define MESH_INSET 1              // Mesh inset margin on print area
977
   #define MESH_INSET 1              // Mesh inset margin on print area
976
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
978
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
977
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
979
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h 查看文件

957
   //========================= Unified Bed Leveling ============================
957
   //========================= Unified Bed Leveling ============================
958
   //===========================================================================
958
   //===========================================================================
959
 
959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Infitary/i3-M508/Configuration.h 查看文件

961
   //========================= Unified Bed Leveling ============================
961
   //========================= Unified Bed Leveling ============================
962
   //===========================================================================
962
   //===========================================================================
963
 
963
 
964
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
965
+
964
   #define MESH_INSET 1              // Mesh inset margin on print area
966
   #define MESH_INSET 1              // Mesh inset margin on print area
965
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
967
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
966
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Malyan/M150/Configuration.h 查看文件

985
   //========================= Unified Bed Leveling ============================
985
   //========================= Unified Bed Leveling ============================
986
   //===========================================================================
986
   //===========================================================================
987
 
987
 
988
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
989
+
988
   #define MESH_INSET 1              // Mesh inset margin on print area
990
   #define MESH_INSET 1              // Mesh inset margin on print area
989
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
991
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
990
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
992
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Malyan/M150/Configuration_adv.h 查看文件

607
   // Enable this option and reduce the value to optimize screen updates.
607
   // Enable this option and reduce the value to optimize screen updates.
608
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
608
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
609
   //#define DOGM_SPI_DELAY_US 5
609
   //#define DOGM_SPI_DELAY_US 5
610
+
611
+  // Swap the CW/CCW indicators in the graphics overlay
612
+  //#define OVERLAY_GFX_REVERSE
613
+
610
 #endif // DOGLCD
614
 #endif // DOGLCD
611
 
615
 
612
 // @section safety
616
 // @section safety
641
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
642
                                         // Note: Extra time may be added to mitigate controller latency.
646
                                         // Note: Extra time may be added to mitigate controller latency.
643
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
644
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
645
 #endif
648
 #endif
646
 
649
 
647
 // @section extruder
650
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Micromake/C1/basic/Configuration.h 查看文件

961
   //========================= Unified Bed Leveling ============================
961
   //========================= Unified Bed Leveling ============================
962
   //===========================================================================
962
   //===========================================================================
963
 
963
 
964
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
965
+
964
   #define MESH_INSET 1              // Mesh inset margin on print area
966
   #define MESH_INSET 1              // Mesh inset margin on print area
965
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
967
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
966
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h 查看文件

961
   //========================= Unified Bed Leveling ============================
961
   //========================= Unified Bed Leveling ============================
962
   //===========================================================================
962
   //===========================================================================
963
 
963
 
964
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
965
+
964
   #define MESH_INSET 1              // Mesh inset margin on print area
966
   #define MESH_INSET 1              // Mesh inset margin on print area
965
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
967
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
966
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
968
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h 查看文件

611
   // Enable this option and reduce the value to optimize screen updates.
611
   // Enable this option and reduce the value to optimize screen updates.
612
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
613
   //#define DOGM_SPI_DELAY_US 5
613
   //#define DOGM_SPI_DELAY_US 5
614
+
615
+  // Swap the CW/CCW indicators in the graphics overlay
616
+  //#define OVERLAY_GFX_REVERSE
617
+
614
 #endif // DOGLCD
618
 #endif // DOGLCD
615
 
619
 
616
 // @section safety
620
 // @section safety
645
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
649
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
646
                                         // Note: Extra time may be added to mitigate controller latency.
650
                                         // Note: Extra time may be added to mitigate controller latency.
647
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
651
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
648
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
649
 #endif
652
 #endif
650
 
653
 
651
 // @section extruder
654
 // @section extruder

+ 2
- 0
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h 查看文件

957
   //========================= Unified Bed Leveling ============================
957
   //========================= Unified Bed Leveling ============================
958
   //===========================================================================
958
   //===========================================================================
959
 
959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/RigidBot/Configuration.h 查看文件

955
   //========================= Unified Bed Leveling ============================
955
   //========================= Unified Bed Leveling ============================
956
   //===========================================================================
956
   //===========================================================================
957
 
957
 
958
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
959
+
958
   #define MESH_INSET 1              // Mesh inset margin on print area
960
   #define MESH_INSET 1              // Mesh inset margin on print area
959
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
960
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/RigidBot/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/SCARA/Configuration.h 查看文件

969
   //========================= Unified Bed Leveling ============================
969
   //========================= Unified Bed Leveling ============================
970
   //===========================================================================
970
   //===========================================================================
971
 
971
 
972
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
973
+
972
   #define MESH_INSET 1              // Mesh inset margin on print area
974
   #define MESH_INSET 1              // Mesh inset margin on print area
973
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
975
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
974
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
976
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/SCARA/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Sanguinololu/Configuration.h 查看文件

988
   //========================= Unified Bed Leveling ============================
988
   //========================= Unified Bed Leveling ============================
989
   //===========================================================================
989
   //===========================================================================
990
 
990
 
991
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
992
+
991
   #define MESH_INSET 1              // Mesh inset margin on print area
993
   #define MESH_INSET 1              // Mesh inset margin on print area
992
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
994
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
993
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
995
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Sanguinololu/Configuration_adv.h 查看文件

599
   // Enable this option and reduce the value to optimize screen updates.
599
   // Enable this option and reduce the value to optimize screen updates.
600
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
600
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
601
   //#define DOGM_SPI_DELAY_US 5
601
   //#define DOGM_SPI_DELAY_US 5
602
+
603
+  // Swap the CW/CCW indicators in the graphics overlay
604
+  //#define OVERLAY_GFX_REVERSE
605
+
602
 #endif // DOGLCD
606
 #endif // DOGLCD
603
 
607
 
604
 // @section safety
608
 // @section safety
633
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
637
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
634
                                         // Note: Extra time may be added to mitigate controller latency.
638
                                         // Note: Extra time may be added to mitigate controller latency.
635
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
639
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
636
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
637
 #endif
640
 #endif
638
 
641
 
639
 // @section extruder
642
 // @section extruder

+ 2
- 0
Marlin/example_configurations/TinyBoy2/Configuration.h 查看文件

1013
   //========================= Unified Bed Leveling ============================
1013
   //========================= Unified Bed Leveling ============================
1014
   //===========================================================================
1014
   //===========================================================================
1015
 
1015
 
1016
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1017
+
1016
   #define MESH_INSET 1              // Mesh inset margin on print area
1018
   #define MESH_INSET 1              // Mesh inset margin on print area
1017
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1019
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1018
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1020
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/TinyBoy2/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Velleman/K8200/Configuration.h 查看文件

987
   //========================= Unified Bed Leveling ============================
987
   //========================= Unified Bed Leveling ============================
988
   //===========================================================================
988
   //===========================================================================
989
 
989
 
990
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
991
+
990
   #define MESH_INSET 1              // Mesh inset margin on print area
992
   #define MESH_INSET 1              // Mesh inset margin on print area
991
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
993
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
992
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
994
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Velleman/K8200/Configuration_adv.h 查看文件

618
   // Enable this option and reduce the value to optimize screen updates.
618
   // Enable this option and reduce the value to optimize screen updates.
619
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
619
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
620
   //#define DOGM_SPI_DELAY_US 5
620
   //#define DOGM_SPI_DELAY_US 5
621
+
622
+  // Swap the CW/CCW indicators in the graphics overlay
623
+  //#define OVERLAY_GFX_REVERSE
624
+
621
 #endif // DOGLCD
625
 #endif // DOGLCD
622
 
626
 
623
 // @section safety
627
 // @section safety
652
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
656
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
653
                                         // Note: Extra time may be added to mitigate controller latency.
657
                                         // Note: Extra time may be added to mitigate controller latency.
654
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
658
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
655
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
656
 #endif
659
 #endif
657
 
660
 
658
 // @section extruder
661
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Velleman/K8400/Configuration.h 查看文件

957
   //========================= Unified Bed Leveling ============================
957
   //========================= Unified Bed Leveling ============================
958
   //===========================================================================
958
   //===========================================================================
959
 
959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/Velleman/K8400/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h 查看文件

957
   //========================= Unified Bed Leveling ============================
957
   //========================= Unified Bed Leveling ============================
958
   //===========================================================================
958
   //===========================================================================
959
 
959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/adafruit/ST7565/Configuration.h 查看文件

957
   //========================= Unified Bed Leveling ============================
957
   //========================= Unified Bed Leveling ============================
958
   //===========================================================================
958
   //===========================================================================
959
 
959
 
960
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
961
+
960
   #define MESH_INSET 1              // Mesh inset margin on print area
962
   #define MESH_INSET 1              // Mesh inset margin on print area
961
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
963
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
962
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
964
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 2
- 0
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h 查看文件

1089
   //========================= Unified Bed Leveling ============================
1089
   //========================= Unified Bed Leveling ============================
1090
   //===========================================================================
1090
   //===========================================================================
1091
 
1091
 
1092
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1093
+
1092
   #define MESH_INSET 1              // Mesh inset margin on print area
1094
   #define MESH_INSET 1              // Mesh inset margin on print area
1093
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1095
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1094
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1096
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h 查看文件

612
   // Enable this option and reduce the value to optimize screen updates.
612
   // Enable this option and reduce the value to optimize screen updates.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614
   //#define DOGM_SPI_DELAY_US 5
614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615
 #endif // DOGLCD
619
 #endif // DOGLCD
616
 
620
 
617
 // @section safety
621
 // @section safety
646
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647
                                         // Note: Extra time may be added to mitigate controller latency.
651
                                         // Note: Extra time may be added to mitigate controller latency.
648
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650
 #endif
653
 #endif
651
 
654
 
652
 // @section extruder
655
 // @section extruder

+ 2
- 0
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h 查看文件

1083
   //========================= Unified Bed Leveling ============================
1083
   //========================= Unified Bed Leveling ============================
1084
   //===========================================================================
1084
   //===========================================================================
1085
 
1085
 
1086
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1087
+
1086
   #define MESH_INSET 1              // Mesh inset margin on print area
1088
   #define MESH_INSET 1              // Mesh inset margin on print area
1087
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1089
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1088
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1090
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h 查看文件

612
   // Enable this option and reduce the value to optimize screen updates.
612
   // Enable this option and reduce the value to optimize screen updates.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614
   //#define DOGM_SPI_DELAY_US 5
614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615
 #endif // DOGLCD
619
 #endif // DOGLCD
616
 
620
 
617
 // @section safety
621
 // @section safety
646
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647
                                         // Note: Extra time may be added to mitigate controller latency.
651
                                         // Note: Extra time may be added to mitigate controller latency.
648
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650
 #endif
653
 #endif
651
 
654
 
652
 // @section extruder
655
 // @section extruder

+ 2
- 0
Marlin/example_configurations/delta/generic/Configuration.h 查看文件

1078
   //========================= Unified Bed Leveling ============================
1078
   //========================= Unified Bed Leveling ============================
1079
   //===========================================================================
1079
   //===========================================================================
1080
 
1080
 
1081
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1082
+
1081
   #define MESH_INSET 1              // Mesh inset margin on print area
1083
   #define MESH_INSET 1              // Mesh inset margin on print area
1082
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1084
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1083
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1085
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/generic/Configuration_adv.h 查看文件

612
   // Enable this option and reduce the value to optimize screen updates.
612
   // Enable this option and reduce the value to optimize screen updates.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614
   //#define DOGM_SPI_DELAY_US 5
614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615
 #endif // DOGLCD
619
 #endif // DOGLCD
616
 
620
 
617
 // @section safety
621
 // @section safety
646
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647
                                         // Note: Extra time may be added to mitigate controller latency.
651
                                         // Note: Extra time may be added to mitigate controller latency.
648
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650
 #endif
653
 #endif
651
 
654
 
652
 // @section extruder
655
 // @section extruder

+ 2
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration.h 查看文件

1081
   //========================= Unified Bed Leveling ============================
1081
   //========================= Unified Bed Leveling ============================
1082
   //===========================================================================
1082
   //===========================================================================
1083
 
1083
 
1084
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1085
+
1084
   #define MESH_INSET 1              // Mesh inset margin on print area
1086
   #define MESH_INSET 1              // Mesh inset margin on print area
1085
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1087
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1086
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1088
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h 查看文件

612
   // Enable this option and reduce the value to optimize screen updates.
612
   // Enable this option and reduce the value to optimize screen updates.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614
   //#define DOGM_SPI_DELAY_US 5
614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615
 #endif // DOGLCD
619
 #endif // DOGLCD
616
 
620
 
617
 // @section safety
621
 // @section safety
646
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647
                                         // Note: Extra time may be added to mitigate controller latency.
651
                                         // Note: Extra time may be added to mitigate controller latency.
648
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650
 #endif
653
 #endif
651
 
654
 
652
 // @section extruder
655
 // @section extruder

+ 2
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration.h 查看文件

1081
   //========================= Unified Bed Leveling ============================
1081
   //========================= Unified Bed Leveling ============================
1082
   //===========================================================================
1082
   //===========================================================================
1083
 
1083
 
1084
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1085
+
1084
   #define MESH_INSET 1              // Mesh inset margin on print area
1086
   #define MESH_INSET 1              // Mesh inset margin on print area
1085
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1087
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1086
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1088
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h 查看文件

617
   // Enable this option and reduce the value to optimize screen updates.
617
   // Enable this option and reduce the value to optimize screen updates.
618
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
618
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
619
   //#define DOGM_SPI_DELAY_US 5
619
   //#define DOGM_SPI_DELAY_US 5
620
+
621
+  // Swap the CW/CCW indicators in the graphics overlay
622
+  //#define OVERLAY_GFX_REVERSE
623
+
620
 #endif // DOGLCD
624
 #endif // DOGLCD
621
 
625
 
622
 // @section safety
626
 // @section safety
651
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
655
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
652
                                         // Note: Extra time may be added to mitigate controller latency.
656
                                         // Note: Extra time may be added to mitigate controller latency.
653
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
657
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
654
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
655
 #endif
658
 #endif
656
 
659
 
657
 // @section extruder
660
 // @section extruder

+ 2
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration.h 查看文件

1090
   //========================= Unified Bed Leveling ============================
1090
   //========================= Unified Bed Leveling ============================
1091
   //===========================================================================
1091
   //===========================================================================
1092
 
1092
 
1093
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
1094
+
1093
   #define MESH_INSET 1              // Mesh inset margin on print area
1095
   #define MESH_INSET 1              // Mesh inset margin on print area
1094
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1096
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
1095
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
1097
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h 查看文件

612
   // Enable this option and reduce the value to optimize screen updates.
612
   // Enable this option and reduce the value to optimize screen updates.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
613
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
614
   //#define DOGM_SPI_DELAY_US 5
614
   //#define DOGM_SPI_DELAY_US 5
615
+
616
+  // Swap the CW/CCW indicators in the graphics overlay
617
+  //#define OVERLAY_GFX_REVERSE
618
+
615
 #endif // DOGLCD
619
 #endif // DOGLCD
616
 
620
 
617
 // @section safety
621
 // @section safety
646
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
650
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
647
                                         // Note: Extra time may be added to mitigate controller latency.
651
                                         // Note: Extra time may be added to mitigate controller latency.
648
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
652
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
649
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
650
 #endif
653
 #endif
651
 
654
 
652
 // @section extruder
655
 // @section extruder

+ 2
- 0
Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h 查看文件

971
   //========================= Unified Bed Leveling ============================
971
   //========================= Unified Bed Leveling ============================
972
   //===========================================================================
972
   //===========================================================================
973
 
973
 
974
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
975
+
974
   #define MESH_INSET 45             // Mesh inset margin on print area
976
   #define MESH_INSET 45             // Mesh inset margin on print area
975
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
977
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
976
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
978
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/makibox/Configuration.h 查看文件

960
   //========================= Unified Bed Leveling ============================
960
   //========================= Unified Bed Leveling ============================
961
   //===========================================================================
961
   //===========================================================================
962
 
962
 
963
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
964
+
963
   #define MESH_INSET 1              // Mesh inset margin on print area
965
   #define MESH_INSET 1              // Mesh inset margin on print area
964
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
966
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
965
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
967
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/makibox/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h 查看文件

952
   //========================= Unified Bed Leveling ============================
952
   //========================= Unified Bed Leveling ============================
953
   //===========================================================================
953
   //===========================================================================
954
 
954
 
955
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
956
+
955
   #define MESH_INSET 1              // Mesh inset margin on print area
957
   #define MESH_INSET 1              // Mesh inset margin on print area
956
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
958
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
957
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
959
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h 查看文件

610
   // Enable this option and reduce the value to optimize screen updates.
610
   // Enable this option and reduce the value to optimize screen updates.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
611
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
612
   //#define DOGM_SPI_DELAY_US 5
612
   //#define DOGM_SPI_DELAY_US 5
613
+
614
+  // Swap the CW/CCW indicators in the graphics overlay
615
+  //#define OVERLAY_GFX_REVERSE
616
+
613
 #endif // DOGLCD
617
 #endif // DOGLCD
614
 
618
 
615
 // @section safety
619
 // @section safety
644
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
648
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
645
                                         // Note: Extra time may be added to mitigate controller latency.
649
                                         // Note: Extra time may be added to mitigate controller latency.
646
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
650
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
647
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
648
 #endif
651
 #endif
649
 
652
 
650
 // @section extruder
653
 // @section extruder

+ 2
- 0
Marlin/example_configurations/wt150/Configuration.h 查看文件

962
   //========================= Unified Bed Leveling ============================
962
   //========================= Unified Bed Leveling ============================
963
   //===========================================================================
963
   //===========================================================================
964
 
964
 
965
+  //#define MESH_EDIT_GFX_OVERLAY   // Display a graphics overlay while editing the mesh
966
+
965
   #define MESH_INSET 1              // Mesh inset margin on print area
967
   #define MESH_INSET 1              // Mesh inset margin on print area
966
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
968
   #define GRID_MAX_POINTS_X 10      // Don't use more than 15 points per axis, implementation limited.
967
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
969
   #define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

+ 4
- 1
Marlin/example_configurations/wt150/Configuration_adv.h 查看文件

600
   // Enable this option and reduce the value to optimize screen updates.
600
   // Enable this option and reduce the value to optimize screen updates.
601
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
601
   // The normal delay is 10µs. Use the lowest value that still gives a reliable display.
602
   //#define DOGM_SPI_DELAY_US 5
602
   //#define DOGM_SPI_DELAY_US 5
603
+
604
+  // Swap the CW/CCW indicators in the graphics overlay
605
+  //#define OVERLAY_GFX_REVERSE
606
+
603
 #endif // DOGLCD
607
 #endif // DOGLCD
604
 
608
 
605
 // @section safety
609
 // @section safety
634
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
638
   #define DOUBLECLICK_MAX_INTERVAL 1250 // Maximum interval between clicks, in milliseconds.
635
                                         // Note: Extra time may be added to mitigate controller latency.
639
                                         // Note: Extra time may be added to mitigate controller latency.
636
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
640
   //#define BABYSTEP_ZPROBE_GFX_OVERLAY // Enable graphical overlay on Z-offset editor
637
-  //#define BABYSTEP_ZPROBE_GFX_REVERSE // Reverses the direction of the CW/CCW indicators
638
 #endif
641
 #endif
639
 
642
 
640
 // @section extruder
643
 // @section extruder

+ 44
- 44
Marlin/ultralcd.cpp 查看文件

1035
     }
1035
     }
1036
   #endif
1036
   #endif
1037
 
1037
 
1038
+  #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) || ENABLED(MESH_EDIT_GFX_OVERLAY)
1039
+
1040
+    void _lcd_zoffset_overlay_gfx(const float zvalue) {
1041
+      // Determine whether the user is raising or lowering the nozzle.
1042
+      static int8_t dir;
1043
+      static float old_zvalue;
1044
+      if (zvalue != old_zvalue) {
1045
+        dir = zvalue ? zvalue < old_zvalue ? -1 : 1 : 0;
1046
+        old_zvalue = zvalue;
1047
+      }
1048
+
1049
+      #if ENABLED(OVERLAY_GFX_REVERSE)
1050
+        const unsigned char *rot_up = ccw_bmp, *rot_down = cw_bmp;
1051
+      #else
1052
+        const unsigned char *rot_up = cw_bmp, *rot_down = ccw_bmp;
1053
+      #endif
1054
+
1055
+      #if ENABLED(USE_BIG_EDIT_FONT)
1056
+        const int left = 0, right = 45, nozzle = 95;
1057
+      #else
1058
+        const int left = 5, right = 90, nozzle = 60;
1059
+      #endif
1060
+
1061
+      // Draw a representation of the nozzle
1062
+      if (PAGE_CONTAINS(3, 16))  u8g.drawBitmapP(nozzle + 6, 4 - dir, 2, 12, nozzle_bmp);
1063
+      if (PAGE_CONTAINS(20, 20)) u8g.drawBitmapP(nozzle + 0, 20, 3, 1, offset_bedline_bmp);
1064
+
1065
+      // Draw cw/ccw indicator and up/down arrows.
1066
+      if (PAGE_CONTAINS(47, 62)) {
1067
+        u8g.drawBitmapP(left  + 0, 47, 3, 16, rot_down);
1068
+        u8g.drawBitmapP(right + 0, 47, 3, 16, rot_up);
1069
+        u8g.drawBitmapP(right + 20, 48 - dir, 2, 13, up_arrow_bmp);
1070
+        u8g.drawBitmapP(left  + 20, 49 - dir, 2, 13, down_arrow_bmp);
1071
+      }
1072
+    }
1073
+
1074
+  #endif // BABYSTEP_ZPROBE_GFX_OVERLAY || MESH_EDIT_GFX_OVERLAY
1075
+
1038
   #if ENABLED(BABYSTEPPING)
1076
   #if ENABLED(BABYSTEPPING)
1039
 
1077
 
1040
     void _lcd_babystep(const AxisEnum axis, const char* msg) {
1078
     void _lcd_babystep(const AxisEnum axis, const char* msg) {
1060
 
1098
 
1061
     #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1099
     #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1062
 
1100
 
1063
-      #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
1064
-        void _lcd_babystep_zoffset_overlay(const float zprobe_zoffset) {
1065
-          // Determine whether the user is raising or lowering the nozzle.
1066
-          static int dir = 0;
1067
-          static float old_zprobe_zoffset = 0;
1068
-          if (zprobe_zoffset != old_zprobe_zoffset) {
1069
-            dir = (zprobe_zoffset > old_zprobe_zoffset) ? 1 : -1;
1070
-            old_zprobe_zoffset = zprobe_zoffset;
1071
-          }
1072
-
1073
-          #if ENABLED(BABYSTEP_ZPROBE_GFX_REVERSE)
1074
-            const unsigned char* rot_up   = ccw_bmp;
1075
-            const unsigned char* rot_down = cw_bmp;
1076
-          #else
1077
-            const unsigned char* rot_up   = cw_bmp;
1078
-            const unsigned char* rot_down = ccw_bmp;
1079
-          #endif
1080
-
1081
-          #if ENABLED(USE_BIG_EDIT_FONT)
1082
-            const int left   = 0,
1083
-                      right  = 45,
1084
-                      nozzle = 95;
1085
-          #else
1086
-            const int left   = 5,
1087
-                      right  = 90,
1088
-                      nozzle = 60;
1089
-          #endif
1090
-
1091
-          // Draw a representation of the nozzle
1092
-          if (PAGE_CONTAINS(3, 16))  u8g.drawBitmapP(nozzle + 6, 4 - dir, 2, 12, nozzle_bmp);
1093
-          if (PAGE_CONTAINS(20, 20)) u8g.drawBitmapP(nozzle + 0, 20, 3, 1, offset_bedline_bmp);
1094
-
1095
-          // Draw cw/ccw indicator and up/down arrows.
1096
-          if (PAGE_CONTAINS(47, 62)) {
1097
-            u8g.drawBitmapP(left  + 0, 47, 3, 16, rot_down);
1098
-            u8g.drawBitmapP(right + 0, 47, 3, 16, rot_up);
1099
-            u8g.drawBitmapP(right + 20, 48 - dir, 2, 13, up_arrow_bmp);
1100
-            u8g.drawBitmapP(left  + 20, 49 - dir, 2, 13, down_arrow_bmp);
1101
-          }
1102
-        }
1103
-      #endif // BABYSTEP_ZPROBE_GFX_OVERLAY
1104
-
1105
       void lcd_babystep_zoffset() {
1101
       void lcd_babystep_zoffset() {
1106
         if (lcd_clicked) { return lcd_goto_previous_menu_no_defer(); }
1102
         if (lcd_clicked) { return lcd_goto_previous_menu_no_defer(); }
1107
         defer_return_to_status = true;
1103
         defer_return_to_status = true;
1123
         if (lcdDrawUpdate) {
1119
         if (lcdDrawUpdate) {
1124
           lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), ftostr43sign(zprobe_zoffset));
1120
           lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), ftostr43sign(zprobe_zoffset));
1125
           #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
1121
           #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
1126
-            _lcd_babystep_zoffset_overlay(zprobe_zoffset);
1122
+            _lcd_zoffset_overlay_gfx(zprobe_zoffset);
1127
           #endif
1123
           #endif
1128
         }
1124
         }
1129
       }
1125
       }
1158
         mesh_edit_value = float(rounded - (rounded % 5L)) / 1000.0;
1154
         mesh_edit_value = float(rounded - (rounded % 5L)) / 1000.0;
1159
       }
1155
       }
1160
 
1156
 
1161
-      if (lcdDrawUpdate)
1157
+      if (lcdDrawUpdate) {
1162
         lcd_implementation_drawedit(msg, ftostr43sign(mesh_edit_value));
1158
         lcd_implementation_drawedit(msg, ftostr43sign(mesh_edit_value));
1159
+        #if ENABLED(MESH_EDIT_GFX_OVERLAY)
1160
+          _lcd_zoffset_overlay_gfx(mesh_edit_value);
1161
+        #endif
1162
+      }
1163
     }
1163
     }
1164
 
1164
 
1165
     void _lcd_mesh_edit_NOP() {
1165
     void _lcd_mesh_edit_NOP() {

正在加载...
取消
保存