Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Eto Dockable Panel (Python3 on MacOS)

$
0
0

Hi all

I’ve written a script in Rhino ScriptEditor including user input, the UI is built with an Eto.Forms dialog box. Now, I would like to have this dialog box as a docked custom panel in Rhino, so that it is more easy accessible to the user. With a ‘docked custom panel’ I mean something like this:

I’ve learned so far that this is only possible when creating a plug-in instead of a script. I managed to create a plug-in from my script in a similar manner like demonstrated here (i.e. publish from ScriptEditor): https://www.youtube.com/watch?v=sQwDIHbYB6Q

However, I don’t get how I can make a ‘dockable panel’ that can be selected with a tab just like the native Properties or Layers panels..

I am working in Rhino 8 on Mac OSX and I’m coding in Python3 in the Rhino ScriptEditor. Many thanks for any leads/tutorials/information in advance..!

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles