Adjusted print_end to fix speed calculation error.

This commit is contained in:
Bassam Husain
2023-03-26 14:35:04 -04:00
parent aff79ff8de
commit 4528151bc1

View File

@@ -135,8 +135,8 @@ gcode:
# Set safe speeds # Set safe speeds
{% set zVelocity = printer.configfile.settings.printer.max_z_velocity|default(15)|int %} {% set zVelocity = printer.configfile.settings.printer.max_z_velocity|default(15)|int %}
{% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %} {% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %}
{% set zVelocityAdjusted = (0.85 * zVelocity)|int %} {% set zVelocityAdjusted = (0.85 * zVelocity * 60)|int %}
{% set maxVelocityAdjusted = (0.85 * maxVelocity)|int %} {% set maxVelocityAdjusted = (0.85 * maxVelocity * 60)|int %}
# Get Boundaries # Get Boundaries
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %} {% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}