Five-Point-3D-Bed-Leveling Code

G-Code Sample for Leveling the 3-D Printer Bed

The G-Code below by ingenioso3D provides five test points to level the bed of your Ender 3 3-D printer.

It moves the extruder to each corner of the printing plate and to the center, and at each point stops for a manual clearance adjustment.  It then tests each corner again for a final adjustment.

  • A piece of paper or thin piece of plastic is a perfect tool to test clearance between the extruder tip and the bed. 
  • when running the leveling-code, place the paper under the extruder just before it drops to the test point
  • adjust the leveling screws until the paper can move under the tip without effort but still making contact; this levels the bed to that point leaving the extruder enough clearance to deposit the filament on the bed, but not too high to prent good adhesion to the bed for the initial layers. 

Use with another printer may require some changes.  

If your 3D printer does not have auto-leveling capability you are strongly encouraged to level your print bed before each print job.  It will take no more than 3-5 minutes and can save hours on failed print jobs. 

				
					; Bed leveling Ender 3 by ingenioso3D
; Modified by elproducts CHEP FilamentFriday.com

G90

G28 ; Home all axis
G1 Z5 ; Lift Z axis
G1 X32 Y36 ; Move to Position 1
G1 Z0
M0 ; Pause print
G1 Z10 ; Lift Z axis
G1 X32 Y206 ; Move to Position 2
G1 Z0
M0 ; Pause print
G1 Z5 ; Lift Z axis
G1 X202 Y206 ; Move to Position 3
G1 Z0
M0 ; Pause print
G1 Z5 ; Lift Z axis
G1 X202 Y36 ; Move to Position 4
G1 Z0
M0 ; Pause print
G1 Z5 ; Lift Z axis
G1 X117 Y121 ; Move to Position 5
G1 Z0
M0 ; Pause print
G1 Z5 ; Lift Z axis
G1 X32 Y206 ; Move to Position 2
G1 Z0
M0 ; Pause print
G1 Z5 ; Lift Z axis
G1 X202 Y206 ; Move to Position 3
G1 Z0
M0 ; Pause print
G1 Z5 ; Lift Z axis
G1 X202 Y36 ; Move to Position 4
G1 Z0
M0 ; Pause print
G1 Z5 ; Lift Z axis
G1 X32 Y36 ; Move to Position 1
G1 Z0
M0 ; Pause print

G28;
M84 ; disable motors




				
			

Save this code (or your modified version) to a file labeled Five-Point-Bed-Level.gcode for future use.