Skip to content

Instantly share code, notes, and snippets.

@rootiest
Last active March 28, 2023 05:24
Show Gist options
  • Save rootiest/d195298fc805f94cd6a9ff4ddbc9d5af to your computer and use it in GitHub Desktop.
Save rootiest/d195298fc805f94cd6a9ff4ddbc9d5af to your computer and use it in GitHub Desktop.
Home only if needed
[gcode_macro CG28]
gcode:
{% if printer.toolhead.homed_axes != "xyz" %}
G28
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment