Browse Source

Merge pull request #3918 from epatel/marlin/mbl_negative_xy_adv

MBL: Move border macros to Configuration_adv.h
pull/1/head
Scott Lahteine 9 years ago
parent
commit
1582ed43bf
  1. 12
      Marlin/Configuration_adv.h
  2. 12
      Marlin/example_configurations/Felix/Configuration_adv.h
  3. 12
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  4. 12
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  5. 12
      Marlin/example_configurations/K8200/Configuration_adv.h
  6. 12
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  7. 12
      Marlin/example_configurations/SCARA/Configuration_adv.h
  8. 12
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  9. 12
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  10. 12
      Marlin/example_configurations/delta/biv2.5/Configuration_adv.h
  11. 12
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  12. 12
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  13. 12
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  14. 12
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  15. 12
      Marlin/example_configurations/makibox/Configuration_adv.h
  16. 12
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  17. 4
      Marlin/mesh_bed_leveling.h

12
Marlin/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/Felix/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/Hephestos/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 1.75 #define D_FILAMENT 1.75
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/Hephestos_2/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/K8200/Configuration_adv.h

@ -451,6 +451,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/RigidBot/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 1.75 #define D_FILAMENT 1.75
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/SCARA/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 1.75 #define D_FILAMENT 1.75
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/TAZ4/Configuration_adv.h

@ -453,6 +453,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/WITBOX/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 1.75 #define D_FILAMENT 1.75
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h

@ -447,6 +447,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/delta/generic/Configuration_adv.h

@ -447,6 +447,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h

@ -446,6 +446,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h

@ -451,6 +451,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h

@ -447,6 +447,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/makibox/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

12
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

@ -445,6 +445,18 @@
#define D_FILAMENT 2.85 #define D_FILAMENT 2.85
#endif #endif
// @section leveling
// Default mesh area is an area with an inset margin on the print area.
// Below are the macros that are used to define the borders for the mesh area,
// made available here for specialized needs, ie dual extruder setup.
#if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#endif
// @section extras // @section extras
// Arc interpretation settings: // Arc interpretation settings:

4
Marlin/mesh_bed_leveling.h

@ -24,10 +24,6 @@
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)
#define MESH_MIN_X (X_MIN_POS + MESH_INSET)
#define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
#define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
#define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
#define MESH_X_DIST ((MESH_MAX_X - (MESH_MIN_X))/(MESH_NUM_X_POINTS - 1)) #define MESH_X_DIST ((MESH_MAX_X - (MESH_MIN_X))/(MESH_NUM_X_POINTS - 1))
#define MESH_Y_DIST ((MESH_MAX_Y - (MESH_MIN_Y))/(MESH_NUM_Y_POINTS - 1)) #define MESH_Y_DIST ((MESH_MAX_Y - (MESH_MIN_Y))/(MESH_NUM_Y_POINTS - 1))

Loading…
Cancel
Save