From 01dc889fd8ba006759295a2329d8844d36e4f1a2 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 Mar 2026 13:19:39 +0000 Subject: [PATCH] Fix: FLOW_TEST_CUBE - print sections at same Z height, not stacked MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Previous: Sections stacked vertically (20mm each, 100mm total!) - Fixed: All sections print at Z=0.2-1.0mm (4 layers × 0.2mm) - Much more practical for flow calibration - Added info message showing actual print height --- calibration/test_patterns.cfg | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/calibration/test_patterns.cfg b/calibration/test_patterns.cfg index 6b4b5d2..45d3271 100644 --- a/calibration/test_patterns.cfg +++ b/calibration/test_patterns.cfg @@ -109,7 +109,8 @@ gcode: G92 E0 {% set step_size = (END_FLOW - START_FLOW) / STEPS %} - {% set cube_height = 20 %} + {% set layers_per_section = 4 %} + {% set layer_height = 0.2 %} {% set wall_thickness = 0.4 %} # Calculate cube corner positions (centered) @@ -121,19 +122,20 @@ gcode: RESPOND MSG="Printing flow cube with {STEPS} sections" RESPOND MSG="Flow range: {START_FLOW} to {END_FLOW}" RESPOND MSG="Cube centered at X{BED_CENTER_X} Y{BED_CENTER_Y}" + RESPOND MSG="Each section: {layers_per_section} layers at Z0.2-{layers_per_section * layer_height}mm" + # Print all sections at same Z height (not stacked!) {% for step in range(STEPS) %} {% set current_flow = START_FLOW + (step * step_size) %} - {% set z_start = step * cube_height %} RESPOND MSG="Section {step + 1}/{STEPS}: Flow={current_flow}" # Set flow rate (via extrusion multiplier simulation) {% set flow_multiplier = current_flow %} - # Print walls for this section - {% for layer in range(4) %} - {% set z_height = z_start + (layer * 0.2) %} + # Print walls for this section (all at same Z levels) + {% for layer in range(layers_per_section) %} + {% set z_height = 0.2 + (layer * layer_height) %} G1 Z{z_height} F600 # Wall 1 (front)