3D printer G-code · Klipper

BED_MESH_PROFILE: Save and load mesh profiles (Klipper)

Save and load mesh profiles — Loads a stored mesh instead of probing, or saves the active mesh under a name. Handy with several build plates.

By cnccode · Updated
On this page
  1. What does BED_MESH_PROFILE do?
  2. Parameters
  3. Example
  4. Tips from practice
  5. Related commands
  6. More bed levelling commands
  7. Frequently asked questions
PropertyValue
CommandBED_MESH_PROFILE
FunctionSave and load mesh profiles
FirmwareKlipper
GroupBed levelling
SyntaxBED_MESH_PROFILE LOAD=<name> | SAVE=<name> | REMOVE=<name>

What does BED_MESH_PROFILE do?

Loads a stored mesh instead of probing, or saves the active mesh under a name. Handy with several build plates.

Parameters

ParameterMeaning
LOADActivate a stored mesh
SAVEStore the active mesh
REMOVEDelete a profile

Example

Klipper
BED_MESH_PROFILE LOAD=pei_60c

Tips from practice

  • Saved profiles go into printer.cfg only after SAVE_CONFIG.

Klipper. Extended commands need their section in printer.cfg. Results of calibration commands are kept only after SAVE_CONFIG.

More bed levelling commands

CommandFunctionFirmware
G29Bed levelling (probe the mesh)Marlin
M420Bed levelling stateMarlin
M851Probe offset (Z offset)Marlin
M48Probe repeatability testMarlin
G34Z stepper auto-alignMarlin
G26Mesh validation patternMarlin
BED_MESH_CALIBRATEProbe the bed mesh (Klipper)Klipper
Z_TILT_ADJUSTLevel the gantry (two or three Z motors)Klipper
QUAD_GANTRY_LEVELQuad gantry levelKlipper
PROBE_CALIBRATEFind the probe Z offsetKlipper
SET_GCODE_OFFSETLive Z (babystep)Klipper
SCREWS_TILT_CALCULATEBed screw turnsKlipper

Test it before you print

Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.

Open the simulator

Frequently asked questions

What does BED_MESH_PROFILE do on a 3D printer?
BED_MESH_PROFILE is save and load mesh profiles. Loads a stored mesh instead of probing, or saves the active mesh under a name. Handy with several build plates.
Does BED_MESH_PROFILE work in Klipper and Marlin?
BED_MESH_PROFILE is a Klipper command. Marlin printers use other G-codes for this task.
Was this page helpful?