Updated y_park and x_park calculation

minimum.y seems to be negative. Therefore substracting leeds to an error. The used values worked on my printer.
This commit is contained in:
Christian Drumm 2024-05-23 19:22:08 +02:00 committed by GitHub
parent 3c6ae0c22e
commit e7e661099a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,8 +59,8 @@ variable_m600_state: 0
variable_fan0_speed: 0
gcode:
{% set E = printer["gcode_macro PAUSE"].extrude|float %}
{% set y_park = printer.toolhead.axis_minimum.y|float - 5.0 %}
{% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
{% set y_park = printer.toolhead.axis_minimum.y|float + 5.0 %}
{% set x_park = printer.toolhead.axis_maximum.x|float - 10.0 %}
{% set max_z = printer["gcode_macro PRINTER_PARAM"].max_z_position|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% set z_safe = 0.0 %}