What about square pipes

I think what would be magical. is to have, something similar to sweep Modifier in 3D Max.