Bladeren bron

Use bed size and inset instead of travel limits to define mesh area\n\nAs proposed in #7435 (#7480)

Frederik Kemner 7 jaren geleden
bovenliggende
commit
25a11cd485
27 gewijzigde bestanden met toevoegingen van 216 en 216 verwijderingen
  1. 8
    8
      Marlin/Configuration_adv.h
  2. 8
    8
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  3. 8
    8
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  4. 8
    8
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  5. 8
    8
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  6. 8
    8
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  7. 8
    8
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  8. 8
    8
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  9. 8
    8
      Marlin/example_configurations/Felix/Configuration_adv.h
  10. 8
    8
      Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h
  11. 8
    8
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  12. 8
    8
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  13. 8
    8
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  14. 8
    8
      Marlin/example_configurations/SCARA/Configuration_adv.h
  15. 8
    8
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  16. 8
    8
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  17. 8
    8
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  18. 8
    8
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  19. 8
    8
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  20. 8
    8
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  21. 8
    8
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  22. 8
    8
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  23. 8
    8
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  24. 8
    8
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  25. 8
    8
      Marlin/example_configurations/makibox/Configuration_adv.h
  26. 8
    8
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  27. 8
    8
      Marlin/example_configurations/wt150/Configuration_adv.h

+ 8
- 8
Marlin/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Anet/A6/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Anet/A8/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Cartesio/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Felix/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Malyan/M150/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/RigidBot/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/SCARA/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/TinyBoy2/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Velleman/K8200/Configuration_adv.h Bestand weergeven

674
 // Below are the macros that are used to define the borders for the mesh area,
674
 // Below are the macros that are used to define the borders for the mesh area,
675
 // made available here for specialized needs, ie dual extruder setup.
675
 // made available here for specialized needs, ie dual extruder setup.
676
 #if ENABLED(MESH_BED_LEVELING)
676
 #if ENABLED(MESH_BED_LEVELING)
677
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
677
+  #define MESH_MIN_X MESH_INSET
678
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
678
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
679
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
679
+  #define MESH_MIN_Y MESH_INSET
680
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
680
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
681
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
681
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
682
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
682
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
683
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
683
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
684
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
684
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
685
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
685
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
686
 
686
 
687
   // If this is defined, the currently active mesh will be saved in the
687
   // If this is defined, the currently active mesh will be saved in the
688
   // current slot on M500.
688
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/Velleman/K8400/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h Bestand weergeven

663
 // Below are the macros that are used to define the borders for the mesh area,
663
 // Below are the macros that are used to define the borders for the mesh area,
664
 // made available here for specialized needs, ie dual extruder setup.
664
 // made available here for specialized needs, ie dual extruder setup.
665
 #if ENABLED(MESH_BED_LEVELING)
665
 #if ENABLED(MESH_BED_LEVELING)
666
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_X MESH_INSET
667
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
668
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
668
+  #define MESH_MIN_Y MESH_INSET
669
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
669
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
671
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
673
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
673
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
674
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
674
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
675
 
675
 
676
   // If this is defined, the currently active mesh will be saved in the
676
   // If this is defined, the currently active mesh will be saved in the
677
   // current slot on M500.
677
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h Bestand weergeven

663
 // Below are the macros that are used to define the borders for the mesh area,
663
 // Below are the macros that are used to define the borders for the mesh area,
664
 // made available here for specialized needs, ie dual extruder setup.
664
 // made available here for specialized needs, ie dual extruder setup.
665
 #if ENABLED(MESH_BED_LEVELING)
665
 #if ENABLED(MESH_BED_LEVELING)
666
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_X MESH_INSET
667
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
668
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
668
+  #define MESH_MIN_Y MESH_INSET
669
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
669
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
671
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
673
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
673
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
674
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
674
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
675
 
675
 
676
   // If this is defined, the currently active mesh will be saved in the
676
   // If this is defined, the currently active mesh will be saved in the
677
   // current slot on M500.
677
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/delta/generic/Configuration_adv.h Bestand weergeven

663
 // Below are the macros that are used to define the borders for the mesh area,
663
 // Below are the macros that are used to define the borders for the mesh area,
664
 // made available here for specialized needs, ie dual extruder setup.
664
 // made available here for specialized needs, ie dual extruder setup.
665
 #if ENABLED(MESH_BED_LEVELING)
665
 #if ENABLED(MESH_BED_LEVELING)
666
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_X MESH_INSET
667
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
668
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
668
+  #define MESH_MIN_Y MESH_INSET
669
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
669
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
671
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
673
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
673
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
674
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
674
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
675
 
675
 
676
   // If this is defined, the currently active mesh will be saved in the
676
   // If this is defined, the currently active mesh will be saved in the
677
   // current slot on M500.
677
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Bestand weergeven

663
 // Below are the macros that are used to define the borders for the mesh area,
663
 // Below are the macros that are used to define the borders for the mesh area,
664
 // made available here for specialized needs, ie dual extruder setup.
664
 // made available here for specialized needs, ie dual extruder setup.
665
 #if ENABLED(MESH_BED_LEVELING)
665
 #if ENABLED(MESH_BED_LEVELING)
666
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_X MESH_INSET
667
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
668
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
668
+  #define MESH_MIN_Y MESH_INSET
669
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
669
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
671
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
673
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
673
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
674
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
674
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
675
 
675
 
676
   // If this is defined, the currently active mesh will be saved in the
676
   // If this is defined, the currently active mesh will be saved in the
677
   // current slot on M500.
677
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Bestand weergeven

668
 // Below are the macros that are used to define the borders for the mesh area,
668
 // Below are the macros that are used to define the borders for the mesh area,
669
 // made available here for specialized needs, ie dual extruder setup.
669
 // made available here for specialized needs, ie dual extruder setup.
670
 #if ENABLED(MESH_BED_LEVELING)
670
 #if ENABLED(MESH_BED_LEVELING)
671
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
671
+  #define MESH_MIN_X MESH_INSET
672
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
672
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
673
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
673
+  #define MESH_MIN_Y MESH_INSET
674
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
674
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
675
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
675
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
676
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
676
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
677
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
677
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
678
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
678
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
679
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
679
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
680
 
680
 
681
   // If this is defined, the currently active mesh will be saved in the
681
   // If this is defined, the currently active mesh will be saved in the
682
   // current slot on M500.
682
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Bestand weergeven

663
 // Below are the macros that are used to define the borders for the mesh area,
663
 // Below are the macros that are used to define the borders for the mesh area,
664
 // made available here for specialized needs, ie dual extruder setup.
664
 // made available here for specialized needs, ie dual extruder setup.
665
 #if ENABLED(MESH_BED_LEVELING)
665
 #if ENABLED(MESH_BED_LEVELING)
666
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_X MESH_INSET
667
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
668
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
668
+  #define MESH_MIN_Y MESH_INSET
669
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
669
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
670
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
671
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
673
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
673
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
674
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
674
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
675
 
675
 
676
   // If this is defined, the currently active mesh will be saved in the
676
   // If this is defined, the currently active mesh will be saved in the
677
   // current slot on M500.
677
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/makibox/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

+ 8
- 8
Marlin/example_configurations/wt150/Configuration_adv.h Bestand weergeven

661
 // Below are the macros that are used to define the borders for the mesh area,
661
 // Below are the macros that are used to define the borders for the mesh area,
662
 // made available here for specialized needs, ie dual extruder setup.
662
 // made available here for specialized needs, ie dual extruder setup.
663
 #if ENABLED(MESH_BED_LEVELING)
663
 #if ENABLED(MESH_BED_LEVELING)
664
-  #define MESH_MIN_X (X_MIN_POS + MESH_INSET)
664
+  #define MESH_MIN_X MESH_INSET
665
-  #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
665
+  #define MESH_MAX_X (X_BED_SIZE - (MESH_INSET))
666
-  #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
666
+  #define MESH_MIN_Y MESH_INSET
667
-  #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
667
+  #define MESH_MAX_Y (Y_BED_SIZE - (MESH_INSET))
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
668
 #elif ENABLED(AUTO_BED_LEVELING_UBL)
669
-  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
669
+  #define UBL_MESH_MIN_X UBL_MESH_INSET
670
-  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
670
+  #define UBL_MESH_MAX_X (X_BED_SIZE - (UBL_MESH_INSET))
671
-  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
671
+  #define UBL_MESH_MIN_Y UBL_MESH_INSET
672
-  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
672
+  #define UBL_MESH_MAX_Y (Y_BED_SIZE - (UBL_MESH_INSET))
673
 
673
 
674
   // If this is defined, the currently active mesh will be saved in the
674
   // If this is defined, the currently active mesh will be saved in the
675
   // current slot on M500.
675
   // current slot on M500.

Laden…
Annuleren
Opslaan