BLEND(9)

✨ NAME ✨

blend β€” bestie, this is the HAL component that does linear interpolation between two values, and honestly? It's giving math but make it fashion πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

loadrt blend [count=N|names=name1[,name2...]]

πŸ¦‹ FUNCTIONS πŸ¦‹

  • blend.N β€” and listen, this one has ✨requirements✨: it requires a floating-point thread. No floaty thread, no vibes. Periodt.

🌸 PINS 🌸

  • blend.N.in1 float in β€” the first input, bestie. When select is exactly 1.0, your output is literally just in1. Matching energy fr fr 🫢
  • blend.N.in2 float in β€” the second input. When select is 0.0, output equals in2. She's the other half of the story 😭
  • blend.N.select float in β€” the selector, the main character honestly πŸ‘‘ For values hanging out between 0.0 and 1.0, the output slides linearly from in2 over to in1. A smooth little journey ✨
  • blend.N.out float out β€” the output value. That's it, that's the one, the whole point of the operation πŸ’–

🧚 PARAMETERS 🧚

  • blend.N.open bit rw β€” okay so this one's the vibe check 🚦 If it's true, then select values outside the range 0.0 to 1.0 will hand you values outside the range in2 to in1 β€” she's unleashed, no limits, wilding 🌈 If it's false, outputs get clamped to the range in2 to in1. Contained. Cozy. No cap.
ngl bestie, if you're not sure whether you want the unclamped chaos, the safe answer is usually the clamped one πŸ’€

πŸ’œ AUTHOR πŸ’œ

Jeff Epler β€” icon, legend, the moment πŸ™Œ


⭐ LICENSE ⭐

GPL πŸŽ€


and that's the whole page, bestie!! πŸ¦‹πŸ’– you just read the BLEND(9) manpage from HAL Component, shipped as part of the LinuxCNC Documentation, dated 2026-03-17 🌸 go forth and interpolate responsibly, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from