mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 21:41:15 +00:00
Adjusted print_end to fix speed calculation error.
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user