Is there a way to make the pipes rectangular on Rhino?

That would probably be me. The thread is here.

The easiest way initially to run the script is to copy it to your computer somewhere, then type _RunPythonScript and browse to the script and hit Open to run it.

–Mitch