Skip to content

Instantly share code, notes, and snippets.

@subtubes-io
Created February 20, 2024 21:37
Show Gist options
  • Save subtubes-io/63c0ab295196885df56a073bc557abcc to your computer and use it in GitHub Desktop.
Save subtubes-io/63c0ab295196885df56a073bc557abcc to your computer and use it in GitHub Desktop.
G-Code for Bambulabs P1S and X1 to pause and lower bed
G91 ; Set relative positioning
G0 Z100 ; Lower bed 100 mm
M400 U1 ; Pause for user interaction
G0 Z-100 ; Raise bed back to original position
G90 ; Back to absolute positioning...
M83 ; ...but extruder relative!
@subtubes-io
Copy link
Author

G91
G0 Z100
M400 U1
G0 Z-100
G90
M83

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