diff --git a/cfgs/misc-macros.cfg b/cfgs/misc-macros.cfg index 6ed5397..e0a245f 100644 --- a/cfgs/misc-macros.cfg +++ b/cfgs/misc-macros.cfg @@ -80,7 +80,7 @@ gcode: gcode: {% set PRE_PURGE_PRIME_LENGTH=printer["gcode_macro _globals"].pre_purge_prime_length|default(1.40)|float %} ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1 - + G0 Y0 X0 F4000 ; go to tongue of print bed G1 Z0.4 F500.0 ; move bed to nozzle G92 E0.0 ; reset extruder @@ -135,8 +135,8 @@ gcode: # Set safe speeds {% set zVelocity = printer.configfile.settings.printer.max_z_velocity|default(15)|int %} {% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %} - {% set zVelocityAdjusted = (0.85 * zVelocity)|int %} - {% set maxVelocityAdjusted = (0.85 * maxVelocity)|int %} + {% set zVelocityAdjusted = (0.85 * zVelocity * 60)|int %} + {% set maxVelocityAdjusted = (0.85 * maxVelocity * 60)|int %} # Get Boundaries {% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}