Pick the tube cross-section resolution for a large file (DD-022 / RR-006 correction). Bounding tube
memory by dropping segments shreds the tube (each survivor becomes a disconnected capped stub →
spikes); the right lever is a coarser cross-section at full segment continuity. Returns the largest
radialSegments in [MIN_RADIAL_SEGMENTS, requested] whose whole-build cost fits byteBudget, or
null when even the minimum does not — the caller then falls back to flat lines (honest, continuous).
Pick the tube cross-section resolution for a large file (DD-022 / RR-006 correction). Bounding tube memory by dropping segments shreds the tube (each survivor becomes a disconnected capped stub → spikes); the right lever is a coarser cross-section at full segment continuity. Returns the largest
radialSegmentsin[MIN_RADIAL_SEGMENTS, requested]whose whole-build cost fitsbyteBudget, ornullwhen even the minimum does not — the caller then falls back to flat lines (honest, continuous).