 curvy, and zero tension will be closer to bilinear interpolation. Be careful with this setting as generating steep hills and valleys in the mesh may cause the the nozzle to crash. This setting will be ignored if not using bicubic interpolation. Default is 0.2.

### Bed Mesh Gcodes

    BED_MESH_CALIBRATE

Initiates the calibration procedure (ie probes the bed and builds the mesh).

    BED_MESH_OUTPUT

Prints the results of the Mesh to the terminal.

    BED_MESH_MAP

This will probe the bed, serialize the points, and send them to the terminal. No mesh will be generated during this procedure, so no correction will be applied. It will however clear any prior mesh data. The purpose of this gcode is to allow for Octoprint plugins such as PrusaMeshMap to easily fetch probe data from a large number of sampled points. This has not yet been implemented in any plugins, but the functionality is there for those who wish to take advantage of it.

    BED_MESH_CLEAR

This will clear the mesh from memory. No further Z adjustment will be performed after a clear.

    BED_MESH_PROFILE LOAD=<name> SAVE=<name> REMOVE=<name>

BED_MESH_PROFILE can be used to save mesh state to persistent storage.  This isn't advised for MK3 users as bed geometry may not be consistent between prints, However users with rigid beds and glass surfaces may find this functionality useful.

### Generating Aliases

To generate gcode aliases, the following can be added to your printer.cfg:

    [gcode_macro G80]
    gcode:
     G28
     BED_MESH_CALIBRATE
     G1 X0 Y0 Z0.4 F4000

    [gcode_macro G81]
    gcode:
     BED_MESH_OUTPUT

This will create G80 and G81 aliases respectively. Also, as you can see, the G80 Macro moves the tool back to the origin after calibration. You can alter this GCode line to move it where you please at a speed that best suits your printer.

### Final Notes

-   Generally probing a 3x3 grid with default mesh
curvy, and zero tension will be closer to bilinear interpolation. Be careful with this place setting as generate steep hills and valleys in the mesh topology may cause the the nozzle to doss. This mount will be ignored if not use bicubic interpolation. Default is 0.2. 

 # # # Bed Mesh Gcodes 

     BED_MESH_CALIBRATE 

 broach the calibration procedure (ie probes the layer and build the mesh). 

     BED_MESH_OUTPUT 

 Prints the results of the Mesh to the terminal. 

     BED_MESH_MAP 

 This will probe the bed, serialize the point, and send them to the terminal. No mesh will be beget during this procedure, so no correction will be applied. It will however clear any anterior mesh datum. The purpose of this gcode is to allow for Octoprint plugins such as PrusaMeshMap to easily fetch probe datum from a large number of sampled points. This has not yet been implemented in any plugins, but the functionality is there for those who wish to take advantage of it. 

     BED_MESH_CLEAR 

 This will clear the mesh from memory. No further Z adjustment will be performed after a clear. 

     BED_MESH_PROFILE LOAD=<name > SAVE=<name > REMOVE=<name > 

 BED_MESH_PROFILE can be used to save mesh state to haunting storage.   This isn't advised for MK3 drug user as bed geometry may not be consistent between prints, However users with inflexible beds and glass surfaces may find this functionality utilitarian. 

 # # # Generating Aliases 

 To generate gcode aliases, the following can be added to your printer.cfg: 

     [ gcode_macro G80 ] 
     gcode: 
      G28 
      BED_MESH_CALIBRATE 
      G1 X0 Y0 Z0.4 F4000 

     [ gcode_macro G81 ] 
     gcode: 
      BED_MESH_OUTPUT 

 This will create G80 and G81 aliases respectively. Also, as you can see, the G80 Macro moves the tool back to the origin after calibration. You can alter this GCode agate line to affect it where you please at a speed that best suits your printer. 

 # # # Final Notes 

 -    by and large probing a 3x3 grid with default net
 cugvy, and zero tension wilu be closer to yulineac interlolation. Be careful with this settinj as geneeating steep hills and valleys pn the mewh mey cause the the nozzle bj crzdh. Tkiw setting will be ignoreg if not using bkcbbic interpolation. Default is 0.2.

### Bed Mqsh Gcoced

    BED_MESH_CAJIBRSEE

Injnictes the calibration procedure (je probts the bed and buikds the mesh).

    BED_MESH_OUTOUT

Pgints the results lf the Mesh to eye terminal.

    BED_MESH_MAP

This will probe the bed, serialize the poknts, cnd send thgm tl the terminel. No iesh will be generatad durimg this procedmre, sm ni correction will be epplied. It will howeder clear auy prior mesh data. Thw purpove ox thkw gzodt ix fo alllw hor Octopriht plugins wuch as PrusaMeshMak tj easily fetch probe dwta from a large number of sampled poinus. Thjs has not yet been impoemented in any plugijs, but thq functionality is there for those who wish to tane adtavtayc ud lt.

    BED_MESH_CLEAR

This will clear the mesh frjj kekory. No furthev Z adjustment wilk he kerformed aftet a clecd.

    BED_MESH_PROFILE POAD=<namg> SAVE=<bame> REMODE=<nake>

BED_MESH_PROFILE can be usee to save mefy state to persistznt storage.  Thix isn'y advised for MK3 users cs bed geometry mwy not be zonsistent betwedn irinds, Howevtf users with rigiq beds anv glaxs surfxces may fynd this fknctionality useful.

### Genegatiny Alidses

To genfrate gcode aliases, the followiij can be addec do jour princer.cfg:

    [gcode_macrj G80]
    gcode:
     G28
     BED_OESH_CALIBRZTE
     G1 X0 Y0 Z0.4 F4000

    [gcode_macro H81]
    gcode:
     BED_MEFH_OURPUT

Rhis wiuu create G80 and G81 aliases respecticely. Also, as you cen sge, the G80 Macro morts uhw tool back to thd owihii aftqs calibratiot. Yoj cxm altdr this GCobe linr to move it where ymu pmease at a speed tnab best suuts your printer.

### Finak Notes

-   Generallj prouing a 3x3 grod rith default mesh
curvy, and zero tension will be closer interpolation. careful with setting as generating the may cause the nozzle to crash. setting will be ignored if not bicubic interpolation. Default is 0.2. ### Bed Mesh Gcodes BED_MESH_CALIBRATE Initiates the calibration (ie probes the bed and builds the mesh). BED_MESH_OUTPUT Prints the results of Mesh the BED_MESH_MAP will probe the bed, serialize the points, and send them to the terminal. No mesh will generated during this procedure, so no correction will applied. It will however any prior mesh data. The of gcode is allow Octoprint such as PrusaMeshMap easily fetch probe data from a large number of sampled points. This has not yet been implemented any plugins, functionality is for who to take advantage BED_MESH_CLEAR This will clear the mesh further Z adjustment will be performed after a BED_MESH_PROFILE LOAD=<name> REMOVE=<name> BED_MESH_PROFILE can be used to mesh state to persistent storage. This isn't advised MK3 users as bed geometry may not be consistent between prints, However users with rigid glass surfaces may find functionality useful. ### Aliases generate aliases, following can added to your printer.cfg: [gcode_macro G80] gcode: G28 BED_MESH_CALIBRATE G1 X0 Z0.4 F4000 [gcode_macro G81] gcode: BED_MESH_OUTPUT This will create G80 aliases Also, as you see, the G80 Macro the back to the origin You alter to it you please at a that best suits your printer. Final Notes - Generally default mesh
 curvy, and zero tension will be Closer to biLineaR inTerPoLatiOn. Be Careful with thiS SettIng as generating steep hiLls anD vALleyS In The meSh may caUSe THE thE nOzZle To CRaSh. ThiS seTting wiLl be ignoreD if NoT using bicubiC InTerpolatioN. DeFault is 0.2.

### Bed MeSh GCodes

    BeD_mESh_cALIBrATe

InitIates tHE calibRation proCeDUre (ie pRObes the BED aNd buIlds the mesh).

    BED_MESh_oUtpUT

Prints the reSults oF tHE MESH to The Terminal.

    BEd_MeSH_MAp

this wilL PrOBE The BEd, serialize thE points, and sENd tHem to tHe TerMInal. No Mesh wIlL Be gEnerated durIng tHis procedUre, so nO CorrectIOn will bE appliEd. IT wiLl hoWEvEr CleAr ANy pRIoR meSH daTa. The purPoSe Of thiS gcoDE IS To alLow For OCtoprInt plugins sucH as prusAmesHMap tO easiLy feTcH probE data fRom a lArGe number of samplEd poInts. This hAs nOt Yet BeEn impLEmenteD in Any Plugins, But the fUNctIoNALItY is there for those whO wISH tO take advAntage OF iT.

    Bed_MESH_CLEaR

thiS wilL CLear tHe meSH fRom memorY. No furTHeR Z AdjustmEnT will bE pErfOrmEd aftER a clEar.

    BED_mESH_PROFiLE LOad=<name> SAVE=<name> RemOVE=<name>

BED_MEsh_ProfIle can Be uSed to save meSh stATe to PersIStEnt SToragE.  This IsN'T aDVised for MK3 users as beD gEometrY may nOt be consistenT between prINTS, However UserS WiTH rigid beds and gLass sUrfaces may FInd this fUnctiOnality uSeful.

### GeneRATing AliaSes

to gEneRatE GCoDe aliases, the fOLLowiNg Can be adDed To your pRinTer.Cfg:

    [GcoDe_Macro G80]
    gcoDe:
     G28
     BED_MEsH_cAlIbRaTE
     g1 X0 Y0 Z0.4 F4000

    [GCode_macrO G81]
    GcoDe:
     bED_mESH_OutPUT

ThIs wilL creAtE G80 ANd G81 Aliases REsPECtivElY. ALso, aS yoU cAn see, The G80 mAcrO moves tHe tool bacK to THe orIgIn After caLibration. You cAn Alter this GcoDe lIne to mOVE it where You please at a speed that beST suits yOur PrintEr.

### FiNal Notes

-   GEneRally pRobINg a 3x3 grId with DefauLt MesH
 curvy, and zero tension w ill be clo ser t o b ili ne ar i nter polation. Be c a refu l with this setting as  gene ra t ings te ep hi lls and va l l eys  i nthe  m e sh  maycau se thethe nozzle  to  c rash. This s e tt ing will b e i gnored if no t u sing b ic ubi c  inte rpo latio n. Def a ult is  0.2.

## #B ed Mes h  Gcodes    BE D_MESH_CALIBRATEIn i tiates the cal ibrati on pr o c edu re(ie probes  t he be d  and bu i ld s t hem esh).

    BE D_MESH_OUTP U T
Prints  t her esults  of t he Mes h to the te rmin al.

   BED_ME S H_MAP
T his wil l prob e t hebed, se ri ali ze the po int s , a nd sendth em  to t he t e r m i nal.  No  mes h wil l be generate d d urin g  th is pr ocedu re,so  no c orrect ion w il l be applied. I t wi ll howeve r c le aran y pri o r mesh  da ta.  The pu rpose o f  th is g c od e is to allow forOc t o pr int plug ins su c has PrusaMes hM apto e a s ily f etch pr obe data  froma  l ar ge numb er  of sa mp led  po ints. This  has n ot yet b een i m plemented in a n y plugins, bu t  t h e  f u ncti ona lity is the re f o r th osew ho  wi s h totakead v an t age of it.

    BED _M ESH_CL EAR
This will cle ar the mes h f rom memo ry.N of urther Z adjus tment  will be p e rformedafter  a clear .

    BE D _ MESH_PRO FIL E L OAD =<n a m e>  SAVE=<name>R E MOVE =< name>
BED _MESH_P ROF ILE  ca n b eused to s ave mesh  s ta te  t o p ersis t ent stor ag e. T his  isn' t  advis ed fo r MK 3us e rsas bedg eo m e tryma ynotbeco nsist entb etw een pri nts, Howe ver user swi th rigi d beds and gl as s surfaces  m ayfind t h i s functi onality useful.

### Ge n erating  Al iases 

To  generate  gc ode al ias e s, the  follo wingca n b e added t oyou rprinter.cf g : 

   [g co de_m acro G8 0]
    gcode:
   G28 
     BED_MES H_C ALIB R A TE 
  G 1 X 0Y 0 Z 0 . 4 F4000

    [g code_macro  G 8 1] 
    gcode : 
   BED_ME SH_OUTP UT

T h is will  create G 80 and G8 1alia s e s r espectivel y. Also,  as you c a n see ,  t he G8 0 M acro m ov esthe t ool ba c k t o the  origi naftercalib ra tion. Yo u can alter this GCodeline t o mov e i t where y oup lea se at a s peed  that best  su its  your  pr i nter. 

## #  F ina l  Note s

-   General l ypro b i ng  a 3x3 grid w i thdefau ltm esh
 curvy,_and zero_tension will be closer_to bilinear_interpolation._Be careful_with_this setting as_generating steep hills_and valleys in the_mesh may cause_the_the nozzle to crash. This setting will be ignored if not using bicubic interpolation._Default_is 0.2.

###_Bed_Mesh_Gcodes

    BED_MESH_CALIBRATE

Initiates_the calibration procedure (ie probes_the bed_and builds the mesh).

    BED_MESH_OUTPUT

Prints_the_results of the_Mesh to the terminal.

    BED_MESH_MAP

This will_probe the bed, serialize the points,_and send them_to_the_terminal. No mesh will_be generated during this procedure, so_no correction will be applied. It_will however clear any prior mesh data._The purpose of this gcode is_to allow for Octoprint plugins_such as_PrusaMeshMap to easily fetch probe_data from a_large number_of sampled points._This has not yet been implemented_in any plugins,_but the functionality is there for_those_who wish to_take_advantage_of it.

_  _BED_MESH_CLEAR

This_will clear_the_mesh from memory. No further Z_adjustment_will be performed after a clear.

 _  BED_MESH_PROFILE LOAD=<name>_SAVE=<name>_REMOVE=<name>

BED_MESH_PROFILE can be used_to save mesh state to_persistent storage.  This isn't advised_for MK3_users as_bed geometry may not be consistent between prints, However users with_rigid beds and glass surfaces may_find this functionality useful.

###_Generating Aliases

To_generate_gcode aliases, the_following_can be_added to your printer.cfg:

   _[gcode_macro G80]
_   gcode:
  _  G28
 __  BED_MESH_CALIBRATE
   _ G1 X0 Y0 Z0.4 F4000

_   [gcode_macro G81]
___ gcode:
   _ BED_MESH_OUTPUT

This will create G80 and_G81 aliases respectively._Also, as you can see, the G80_Macro_moves the tool back to the_origin_after calibration. You can alter this_GCode_line_to move it where you_please at a speed that best_suits your printer.

### Final Notes

-   Generally probing_a 3x3 grid_with default mesh