It was a bit of a tedious job, but when I needed some 'D' section tube, I used a sheet metal jenny with one flat roller and one half round roller, and gradually rolled round tube down to 'D' section. A bit of trial and error was needed to work out which size of tube would produce the required section. The big problem is keeping the tube straight while rolling it.
Regards,
Eddie.