Basically what I want to do is add a new tab to the windows-style interface tabs, add a runpythonscript command to the buttons and create my own buttons or better use text buttons. Command editor doesn’t seem to let me do that or maybe I am missing some magical key combinations to make this happen?
Another question I had regarding the runpythonscript:
I tried ! _-RunPythonScript "~/Documents/Scripts/script.py" however this doesn’t work, I can only make it work with ! _-RunPythonScript "Users/<username>/Documents/Scripts/script.py" but I don’t like that as it makes it difficult to share my script with others.
The end goal is to make a toolbar that I can easily share, like we can on windows.
ExportPreferences and ImportPreferences should allow you to share custom tool palettes with other Rhino for Mac users. ImportPreferences allows you to selectively import specific preferences, like just the tool palettes.
One of the things many of us would like to see in Rhino 8 is the ability to use rui files on both platforms. We’ll see.
If I understand you correctly, then on the Rhino version for mac I can’t add a new toolbar, tabs and buttons?
If your answer is YES, can you say when this option can be available for mac users?
You cannot customize these in Rhino 5, 6, or 7. We hope to eliminate this limitation in Rhino 8 (@JohnM is actively working on it now).
That said, today, in Rhino 5, 6 and 7, you can add your own custom “tool palettes” (the Mac word for Toolbars). You can transfer these with ExportPreferences and ImportPreferences.
Rhino 8 on Mac should directly support plug-in RUI files as well as custom RUI files when it is all done. The ribbon bar at the top will just be a normal docking control that you can put whatever you want into.
General docking similar to what we have on Windows is one of my goals for Mac. I have a very rough proof of concept working now but there is still a ton of work to be done.