Skip to content

Instantly share code, notes, and snippets.

@ipedrazas
Last active March 28, 2019 12:22
Show Gist options
  • Save ipedrazas/39287349013ec7e0f685dd0ece04cb32 to your computer and use it in GitHub Desktop.
Save ipedrazas/39287349013ec7e0f685dd0ece04cb32 to your computer and use it in GitHub Desktop.
Pause 3d printer
// Replace “layer 19” with your desired layer number.
{REPLACE "\n; layer 19, Z = " "; layer 19\nG28 Y0 X0\nM300\nM25\nG92 E0\nG28 Y0 X0\n; layer 19 "}
// G28: Move to origin
// M300: Play beep sound
// M25: Pause SD print
// G92: set position
// G92 E0 sets the extrusion length to zero and stops the reversal of the extruder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment