Global Scripts Vs. Rhino version-specific scripts folder on macOS?

Hi,

What’s the role of /Users/<username>/Library/Application Support/McNeel/Rhinoceros/Scripts?

I always thought it would be a parent directory to the scripts directories in the version-specific Rhino directories, like /Users/<username>/Library/Application Support/McNeel/Rhinoceros/Scripts/7.0 or /Users/<username>/Library/Application Support/McNeel/Rhinoceros/8.0.
However, when I put a custom Python module in Scripts, I’m never able to import it in GHPython.

I think it would be great, if there was a parent scripts directory that would be Rhino version agnostic to a certain degree so that Python modules or libraries could be shared between different Rhino versions.

Can somebody please point out what the /Users/<username>/Library/Application Support/McNeel/Rhinoceros/Scripts if for?

That is the search path where MacRhino automatically looks for Python scripts (IIRC) so that you do not have to specify the full path to a script stored there when you want to run it, just the file name. But I think it only applies to running scripts directly from Rhino, not GH.

Thanks for your reply, but I don’t think so.

My graphtools module works fine in the version-specific scripts directories.

It must be for something else or simply pointless?

Maybe… In checking here, it looks like that folder was set up for MacRhino 5.0, but it got changed starting with 6.0 to individual folders specific to each version. So I don’t know what the purpose of the original folder is anymore.

V5:
~/Library/Application Support/McNeel/Rhinoceros/Scripts

V6 and later:
~/Library/Application Support/McNeel/Rhinoceros/6.0/Scripts (or 7.0, etc.)

But I haven’t had a Mac to test anything with for years now.

1 Like

Interesting. Now I wonder why it was placed, even though the first Rhino that was installed on this new computer was Rhino 7.