Fix: FLOW_TEST_CUBE - print sections at same Z height, not stacked
- 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
This commit is contained in:
parent
0c561e5054
commit
01dc889fd8
1 changed files with 7 additions and 5 deletions
|
|
@ -109,7 +109,8 @@ gcode:
|
||||||
G92 E0
|
G92 E0
|
||||||
|
|
||||||
{% set step_size = (END_FLOW - START_FLOW) / STEPS %}
|
{% 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 %}
|
{% set wall_thickness = 0.4 %}
|
||||||
|
|
||||||
# Calculate cube corner positions (centered)
|
# Calculate cube corner positions (centered)
|
||||||
|
|
@ -121,19 +122,20 @@ gcode:
|
||||||
RESPOND MSG="Printing flow cube with {STEPS} sections"
|
RESPOND MSG="Printing flow cube with {STEPS} sections"
|
||||||
RESPOND MSG="Flow range: {START_FLOW} to {END_FLOW}"
|
RESPOND MSG="Flow range: {START_FLOW} to {END_FLOW}"
|
||||||
RESPOND MSG="Cube centered at X{BED_CENTER_X} Y{BED_CENTER_Y}"
|
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) %}
|
{% for step in range(STEPS) %}
|
||||||
{% set current_flow = START_FLOW + (step * step_size) %}
|
{% set current_flow = START_FLOW + (step * step_size) %}
|
||||||
{% set z_start = step * cube_height %}
|
|
||||||
|
|
||||||
RESPOND MSG="Section {step + 1}/{STEPS}: Flow={current_flow}"
|
RESPOND MSG="Section {step + 1}/{STEPS}: Flow={current_flow}"
|
||||||
|
|
||||||
# Set flow rate (via extrusion multiplier simulation)
|
# Set flow rate (via extrusion multiplier simulation)
|
||||||
{% set flow_multiplier = current_flow %}
|
{% set flow_multiplier = current_flow %}
|
||||||
|
|
||||||
# Print walls for this section
|
# Print walls for this section (all at same Z levels)
|
||||||
{% for layer in range(4) %}
|
{% for layer in range(layers_per_section) %}
|
||||||
{% set z_height = z_start + (layer * 0.2) %}
|
{% set z_height = 0.2 + (layer * layer_height) %}
|
||||||
G1 Z{z_height} F600
|
G1 Z{z_height} F600
|
||||||
|
|
||||||
# Wall 1 (front)
|
# Wall 1 (front)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue