Square Pipe in Rhino, Script or Native in-app method?

image
Does Rhino offer a simple solution to doing square/sharp pipe commands that can be considered a real life version of metal rods ?

Hello- the simplest way would be to define the cross section as a curve, using whatever tools are appropriate - there are several that might be useful depending on exactly what you need - and then ExtrudeCrv

-Pascal