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)