Making square rods

With the solid tool “pipe: round caps” I can make from several selected lines very quick a 3D pipeconstruction.
Is there also a quick manner to do the same for making square rods?
it would save me a lot of time!

Coen

some recent deja vu’s here… anyway check 1, 2, 3