Changes from 2024-08-17

This commit is contained in:
Martyn 2024-08-17 16:09:11 +01:00
parent d21f31af5c
commit 28708e8425

View file

@ -379,50 +379,7 @@ sensor_type: temperature_mcu
# Macros
#####################################################################
[gcode_macro G32]
gcode:
SAVE_GCODE_STATE NAME=STATE_G32
G90
G28
QUAD_GANTRY_LEVEL
G28
## Uncomment for for your size printer:
#--------------------------------------------------------------------
## Uncomment for 250mm build
#G0 X125 Y125 Z30 F3600
## Uncomment for 300 build
#G0 X150 Y150 Z30 F3600
## Uncomment for 350mm build
G0 X175 Y175 Z30 F3600
#--------------------------------------------------------------------
RESTORE_GCODE_STATE NAME=STATE_G32
# Use PRINT_END for the slicer ending script - please customise for your slicer of choice
[gcode_macro PRINT_END]
gcode:
# safe anti-stringing move coords
{% set th = printer.toolhead %}
{% set x_safe = th.position.x + 20 * (1 if th.axis_maximum.x - th.position.x > 20 else -1) %}
{% set y_safe = th.position.y + 20 * (1 if th.axis_maximum.y - th.position.y > 20 else -1) %}
{% set z_safe = [th.position.z + 2, th.axis_maximum.z]|min %}
SAVE_GCODE_STATE NAME=STATE_PRINT_END
M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
G1 E-5.0 F1800 ; retract filament
TURN_OFF_HEATERS
G90 ; absolute positioning
G0 X{x_safe} Y{y_safe} Z{z_safe} F20000 ; move nozzle to remove stringing
G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y - 2} F3600 ; park nozzle at rear
M107 ; turn off fan
RESTORE_GCODE_STATE NAME=STATE_PRINT_END
[probe]
pin: ebb36:PB8
@ -442,7 +399,7 @@ samples_tolerance_retries: 3
speed: 120
horizontal_move_z: 10
mesh_min: 35, 35
mesh_max: 320, 320
mesh_max: 310, 310
zero_reference_position: 175, 175
#probe_count: 5, 5
mesh_pps: 3, 3
@ -484,3 +441,8 @@ shaper_type: 3hump_ei
#*#
#*# [probe]
#*# z_offset = 5.880
#*#
#*# [skew_correction calilantern_skew_profile]
#*# xy_skew = 0.008146115207013459
#*# xz_skew = 0.0008273174781853165
#*# yz_skew = -0.00037476759249049555