Similar to Tube Tool

It‘s already in.
Under topology / tube topology uncheck „constant density“ and enter 4 in Division X
If you want sharp corner, check flat subdivision and increase subs to 2, or uncheck smooth shading in display settings, but that is a global setting.

2 Likes