Square pipe script

Yes, that is correct for the original MaqueTools toolset. I am in the process of updating the set to be used either with toolbars or aliases, but it’s not done yet, and won’t get done very soon I’m afraid.

What you can do now for the scripts to run via alias:

First, decide on a folder location to store your scripts.
You can throw any existing script files or new ones posted here in there, they should have a .py extension for python or an .rvb extension for vb rhinoscript (my toolset has both).

To extract the scripts from the buttons in the toolset and make script files from them:
1. Open the button in the button editor and copy all the text out of there
2. Paste into a new text file
3. Remove the first line that looks like ! _NoEcho _-RunScript ( or ! _NoEcho _-RunPythonScript (
4. Remove the last line which should be a simple close parentheses )
5. Save the file in the scripts folder with either a .py or .rvb extension depending on the script type.

For python scripts you need to open the script editor (EditPythonScript) and go to tools>Options and set a file path to the scripts folder you designated above. For vb (rvb) scripts, you go to Rhino Options>Files>Search paths and set a path to the same folder.

Once all the above is done :sweat_smile:, you can set about making aliases. The form of the alias will be:

! _NoEcho _-RunScript “scriptfilename” for .rvb scripts

or

! _NoEcho _-RunPythonScript “scriptfilename” for .py scripts

“Scriptfilename” is the windows file name of the script in the scripts folder. Enclose it in quotes if there are spaces in the file name.

The scripts should then run via alias.

HTH, --Mitch