Rectangular pipes

Hi! I’m trying to create diagrids using lunchbox. I need rectangular pipes instead of the circular ones. Does anyone know how to achieve that?

I need diagrids like this

Try this:

Check this