Bending a pipe by 'x' degrees?

Blitz3D Forums/Blitz3D Programming/Bending a pipe by 'x' degrees?

DC: he needs his app to bend the bars in realtime. ;)

TBH, I'd approach this problem in 2D, then extrapolate the calcs to create a 3D bar. I *might* have a crack at this during the week. I'm pretty rusty, coding-wise, though. :)