Skip to content

Commit

Permalink
start_end: Move offsets to _PRINT_START_PHASE_PURGE
Browse files Browse the repository at this point in the history
  • Loading branch information
jschuh committed Jun 11, 2023
1 parent 27ebac6 commit 23834f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions start_end.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,17 @@ gcode:
_KM_PARK_IF_NEEDED HEATER={printer.toolhead.extruder} RANGE=ABOVE
M109 S{EXTRUDER}
{% endif %}
# Apply the offset for bed placement randomization.
_KM_APPLY_PRINT_OFFSET
# apply Z offset for bed surface (just in case it was reset).
_APPLY_BED_SURFACE_OFFSET
PRINT_START_SET PRINT_START_PHASE="purge"

[gcode_macro _print_start_phase_purge]
description: Inserted by slicer at start of print. Generates purge lines.
Usage: See PRINT_START.
gcode:
_PRINT_START_PHASE_CHECK PHASE=purge
# Apply the offset for bed placement randomization.
_KM_APPLY_PRINT_OFFSET
# apply Z offset for bed surface (just in case it was reset).
_APPLY_BED_SURFACE_OFFSET
{% set print = printer["gcode_macro print_start_set"].print %}
{% set MESH_MIN = print.MESH_MIN|default(None) %}
{% set MESH_MAX = print.MESH_MAX|default(None) %}
Expand Down

0 comments on commit 23834f4

Please sign in to comment.