PA values per nozzle: SET_NOZZLE, slicer check, no Spoolman write

A PA value only holds for the nozzle it was measured with, so values are
saved per nozzle and spool (pa_value_0_4_spool_<id>). SET_NOZZLE sets the
fitted size; a different NOZZLE= from the slicer on PRINT_WARMUP stops the
print before anything heats. The existing values are copied to 0.4 once at
the first start; the old variables stay in the file, unread.

Each nozzle has its own test flow and PA range (0.2: 5 mm3/s, 0-0.196,
starting estimates, about 9 min a lane). The test primes at the test flow
instead of 120 mm3/s.

Remove the Spoolman write: it went to localhost and never arrived, and
nothing read the values back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mangavalkandClaude Opus 5.5 committed 2026-11-06 19:49:25 +01:00
1 parent 1dcbc50bf6
commit b415cbebf4
7 files changed
+108 -133

No files matched your search

+3 -1
View File
@@ -117,7 +117,9 @@ gcode:
G21
M83
M109 S{NOZZLE_TEMP}
G1 E4
# At the test flow. Without F this ran at the speed of the move before
# (F3000 in LANE_CALIBRATE_PA: 120 mm3/s), too much for a small nozzle.
G1 E4 F{MAX_VOLUMETRIC / 2.405 * 60}
SET_PRESSURE_ADVANCE ADVANCE=0.04; Override pressure advance value
SET_VELOCITY_LIMIT ACCEL={ACC_WALL} ACCEL_TO_DECEL={ACC_TO_DEC}
SET_VELOCITY_LIMIT ACCEL={ACC_WALL} MINIMUM_CRUISE_RATIO={MIN_CRUISE}