Fix: Remove format specifiers from RESPOND MSG templates
- Klipper parser doesn't support :.3f/:.2f/:.1f in template strings - Affects PA_TEST_PATTERN, FLOW_TEST_CUBE, RETRACT_TEST_PATTERN - Values will display with default float precision instead
This commit is contained in:
parent
37b38c713a
commit
336beb5cf0
1 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ gcode:
|
|||
{% set x_pos = start_x + col * (square_size + spacing) %}
|
||||
{% set y_pos = start_y + row * (square_size + spacing) %}
|
||||
|
||||
RESPOND MSG="Square {step + 1}/{STEPS}: PA={current_pa:.3f} at X{x_pos} Y{y_pos}"
|
||||
RESPOND MSG="Square {step + 1}/{STEPS}: PA={current_pa} at X{x_pos} Y{y_pos}"
|
||||
SET_PRESSURE_ADVANCE ADVANCE={current_pa}
|
||||
|
||||
# Move to position
|
||||
|
|
@ -126,7 +126,7 @@ gcode:
|
|||
{% set current_flow = START_FLOW + (step * step_size) %}
|
||||
{% set z_start = step * cube_height %}
|
||||
|
||||
RESPOND MSG="Section {step + 1}/{STEPS}: Flow={current_flow:.2f}"
|
||||
RESPOND MSG="Section {step + 1}/{STEPS}: Flow={current_flow}"
|
||||
|
||||
# Set flow rate (via extrusion multiplier simulation)
|
||||
{% set flow_multiplier = current_flow %}
|
||||
|
|
@ -211,7 +211,7 @@ gcode:
|
|||
{% set x_pos = start_x + col * tower_spacing %}
|
||||
{% set y_pos = start_y + row * tower_spacing %}
|
||||
|
||||
RESPOND MSG="Tower {step + 1}/{STEPS}: Retract={current_retract:.1f}mm at X{x_pos} Y{y_pos}"
|
||||
RESPOND MSG="Tower {step + 1}/{STEPS}: Retract={current_retract}mm at X{x_pos} Y{y_pos}"
|
||||
|
||||
# Print tower
|
||||
{% for layer in range(layers_per_tower) %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue