How to create custom toolbars on mac that can be shared with other users easily?

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.

Use the native ‘scripts’ folder:

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

Mac V6:
~/Library/Application Support/McNeel/Rhinoceros/6.0/Scripts

Mac V7:
~/Library/Application Support/McNeel/Rhinoceros/7.0/Scripts

thanks @Helvetosaur

Do you know if it is possible to copy my whole settings to another Mac in one go? So all display settings, aliases, toolbars, etc…

On Mac, sorry, no…

Third-parties cannot add to these tabs (long-story):

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.

1 Like

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?

Hi @rrp -

No, not exactly. The limitation is only on these tabs:

You cannot customize these :point_up_2: 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.

Thank you very much! I will look at your link and I hope that I will not have any more questions. :slight_smile:

Hi @dan,

would it be possible to import only a single palette when using _ImportPreferences and choosing the Palettes option ?

_
c.

Not at the moment in Rhino 7.

@JohnM is this something you think we could support in Rhino 8?

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.

1 Like

hi @JohnM does that mean that we might be getting dockable tools in general?

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.

4 Likes

!!! OMG John, that is big news. seriously, happy that this is coming. when do you expect this to appear in the WIP?

ps: you should announce that big right now already now in a new topic, i am sure plenty of users will be thrilled to hear about it.

Dear, can you publish this script (“Test Floating Panel1”) with tabs (Layers & TestMultiDocPanel)?