Browse Source

Merge pull request #480 from PavelSindler/xyz_v2

calibration points/offset corrections
PavelSindler 6 years ago
parent
commit
74f6bbfa6b
2 changed files with 5 additions and 5 deletions
  1. 1 1
      Firmware/Configuration_prusa.h
  2. 4 4
      Firmware/mesh_bed_calibration.cpp

+ 1 - 1
Firmware/Configuration_prusa.h

@@ -273,7 +273,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
 #define MESH_HOME_Z_SEARCH 5 //Z lift for homing, mesh bed leveling etc.
 
 #define X_PROBE_OFFSET_FROM_EXTRUDER 23     // Z probe to nozzle X offset: -left  +right
-#define Y_PROBE_OFFSET_FROM_EXTRUDER 9     // Z probe to nozzle Y offset: -front +behind
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 5     // Z probe to nozzle Y offset: -front +behind
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -0.4  // Z probe to nozzle Z offset: -below (always!)
 #endif
 

+ 4 - 4
Firmware/mesh_bed_calibration.cpp

@@ -56,10 +56,10 @@ const float bed_skew_angle_extreme = (0.25f * M_PI / 180.f);
 // Positions of the bed reference points in the machine coordinates, referenced to the P.I.N.D.A sensor.
 // The points are the following: center front, center right, center rear, center left.
 const float bed_ref_points_4[] PROGMEM = {
-	13.f - BED_ZERO_REF_X,   10.4f - BED_ZERO_REF_Y,
-	221.f - BED_ZERO_REF_X,  10.4f - BED_ZERO_REF_Y,
-	221.f - BED_ZERO_REF_X, 202.4f - BED_ZERO_REF_Y,
-	13.f - BED_ZERO_REF_X, 202.4f - BED_ZERO_REF_Y
+	13.f - BED_ZERO_REF_X,   10.4f - 4.f - BED_ZERO_REF_Y,
+	221.f - BED_ZERO_REF_X,  10.4f - 4.f - BED_ZERO_REF_Y,
+	221.f - BED_ZERO_REF_X, 202.4f - 4.f - BED_ZERO_REF_Y,
+	13.f - BED_ZERO_REF_X, 202.4f - 4.f - BED_ZERO_REF_Y
 };
 
 const float bed_ref_points[] PROGMEM = {