Build a per-segment color accessor for ir under mode. Feedrate auto-range (or the explicit range) is resolved once here, so the returned function is O(1) per segment. The returned RGB is honest: unknown channel values yield the mode's fallback.
ir
mode
range
Build a per-segment color accessor for
irundermode. Feedrate auto-range (or the explicitrange) is resolved once here, so the returned function is O(1) per segment. The returned RGB is honest: unknown channel values yield the mode's fallback.