Prusa MINI Firmware overview
mesh_bed_leveling.h File Reference

Go to the source code of this file.

Classes

class  mesh_bed_leveling
 

Macros

#define MESH_X_DIST   (float(MESH_MAX_X - (MESH_MIN_X)) / float(GRID_MAX_POINTS_X - 1))
 
#define MESH_Y_DIST   (float(MESH_MAX_Y - (MESH_MIN_Y)) / float(GRID_MAX_POINTS_Y - 1))
 
#define _GET_MESH_X(I)   mbl.index_to_xpos[I]
 
#define _GET_MESH_Y(J)   mbl.index_to_ypos[J]
 
#define Z_VALUES_ARR   mbl.z_values
 

Enumerations

enum  MeshLevelingState : char {
  MeshReport, MeshStart, MeshNext, MeshSet,
  MeshSetZOffset, MeshReset
}
 

Variables

mesh_bed_leveling mbl
 

Macro Definition Documentation

◆ MESH_X_DIST

#define MESH_X_DIST   (float(MESH_MAX_X - (MESH_MIN_X)) / float(GRID_MAX_POINTS_X - 1))

◆ MESH_Y_DIST

#define MESH_Y_DIST   (float(MESH_MAX_Y - (MESH_MIN_Y)) / float(GRID_MAX_POINTS_Y - 1))

◆ _GET_MESH_X

#define _GET_MESH_X (   I)    mbl.index_to_xpos[I]

◆ _GET_MESH_Y

#define _GET_MESH_Y (   J)    mbl.index_to_ypos[J]

◆ Z_VALUES_ARR

#define Z_VALUES_ARR   mbl.z_values

Enumeration Type Documentation

◆ MeshLevelingState

enum MeshLevelingState : char

Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]

Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Enumerator
MeshReport 
MeshStart 
MeshNext 
MeshSet 
MeshSetZOffset 
MeshReset 
26  : char {
27  MeshReport, // G29 S0
28  MeshStart, // G29 S1
29  MeshNext, // G29 S2
30  MeshSet, // G29 S3
31  MeshSetZOffset, // G29 S4
32  MeshReset // G29 S5
33 };

Variable Documentation

◆ mbl

MeshReport
Definition: mesh_bed_leveling.h:27
MeshSetZOffset
Definition: mesh_bed_leveling.h:31
MeshNext
Definition: mesh_bed_leveling.h:29
MeshSet
Definition: mesh_bed_leveling.h:30
MeshStart
Definition: mesh_bed_leveling.h:28
MeshReset
Definition: mesh_bed_leveling.h:32