Skip to content

Instantly share code, notes, and snippets.

@TheZackCodec
Last active March 16, 2024 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save TheZackCodec/5545ff29c7988c1d3e3a7e8793a0a57a to your computer and use it in GitHub Desktop.
Save TheZackCodec/5545ff29c7988c1d3e3a7e8793a0a57a to your computer and use it in GitHub Desktop.
Octoprint - Bed Visualizer Settings for Prusa Printers
;
; MBL Prep
;
G0 X0 Y-4 Z15 F4800 ; move away from printbed
M140 S60 ; set bed temp
M104 S170 ; set extruder temp for bed leveling
M109 R170 ; wait for temp
M84 E ; turn off E motor
M302 S160 ; lower cold extrusion limit to 160C
G1 E-2 F2400 ; retraction
M84 E ; turn off E motor
G28 ; home all without mesh bed level
M106 S100
G0 Z40 F10000
M190 S60 ; wait for bed temp
M107
;
; MBL
;
M84 E ; turn off E motor
G29 P1 ; invalidate mbl & probe print area
G29 P3.2 ; interpolate mbl probes
G29 P3.13 ; extrapolate mbl outside probe area
;
; MBL Update Mesh
;
@ BEDLEVELVISUALIZER
G29 T ; print bed topography report
;
; Cleanup
;
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
G0 X0 Y-4 Z15 F4800 ; move away from printbed
@jordwan
Copy link

jordwan commented Feb 7, 2024

thanks for this! worked great on my MK4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment