Should be easy to convert any specific example, but the reason this was done in OpenSCAD is that it can design pretty much any part you want.
Say you want a beam 12 holes long with a square cross second hole in from either end, and the rest round holes - just call
legoTechnicBeam(12, [1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1] );
Then File | Export | STL to get your actual printable part file.
Once you convert any given example to STL (or OBJ, etc) then you lose this ability to easily define the shape