GUI - Rhino - Radial Menu - Cross Platform

Hi again, I think I should open a new thread, but I try asking there : Does anyone knows how to completely reset plugin settings while in “debug” (I mean, I’ve not installed the plugin but launch it from vscode).
The problem is that I do not have any settings file in …/Rhinoceros/8.0/Macplugins or …/Rhinoceros/8.0/Plug-ins

But… the settings are always there :face_with_raised_eyebrow:

Tried to remove all my compile code and build again, but still same settings. I can’t find a way to reset to empty settings. Do I have to remove them by code ?? :triumph:

Auto-reply : It seems I’m too tired, just find it in “plug-ins” folder :yawning_face:

1 Like

Great ! transparency with alpha set to 1 (int value between 0 and 255) allows me to drop in the “invisible” area of the main form window. No more outside drop animation

Thanks for the tip !

1 Like

I would love the possibility in Eto forms to toggle an override on the background to “allow mouse capture” even if fully transparent. Not sure if that’s even possible. @curtisw could you please weigh in on the feasibility of that?

1 Like

Hello guys, sorry for the lame question. Is there any way to test the radial menu? I dowloaded .rhp file from github and moved it to “~/Library/Application Support/McNeel/Rhinoceros/MacPlugIns/”. I thought that it will load at the startup of rhino, but nothing happend.

Hi @morris,

Did you try drag dropping the .rhp into the Rhino window itself?

Hi @michaelvollrath I tried it but nothing happened. It only lets me choose if I want to open /import/insert the file. When I select open, nothing happens. When I select other two options, only this error message appears:

For Mac you need to zip the rhp and rename it to .macrhi.
See also Rhino - Plugin Installers (Mac)

1 Like

Please don’t use macrhi or rhi for that matter. These are deprecated systems that have been replaced by yak packages. Yak packages work with the package manager, but also can be drag and dropped onto Rhino

1 Like

Thank you @Gijs I tried it, but nothing seems to happen.

@morris which rhp did you try to load?

@Gijs “RadialMenu.rhp” from the github link.

Hi, actually the “radialMenu” in the GitHub repo doesn’t work because I’m refactoring all the source code. So please wait some days/weeks, I’ll release a working version as soon as I can :slight_smile:

For information, I’m currently adding features like

  • UI transitions animations (fade in/out and transparency)
  • Refactoring MVVM
  • Refactoring “link” between C# data and Rhino plugin settings
  • Refactoring data model and icon storage

So hard work to do, it’s not my full time job, so I work on it only when I have time (the night or the week end)

But thank you to try use it :slight_smile:

5 Likes

Hi all and happy new year !

I’ve refactored the code, it is almost usable but I’ve to save radial menu settings to persists accros rhino launches/quit. I’ll do it later :frowning:

You can find it on GitHub : GitHub - yd021976/RhinoPluginRadialMenu
I also write a little README

Let me know what features are missing that are not in the todo list, and create bug if any.

Thank you !

5 Likes

Hi ! Now the radial menu button configuration is stored in Rhino Settings. So radial menu configuration is not lost when Rhino is closed.
The plugin is now fully usable

5 Likes

Thank you @Tigrou for the progress, but I’m still failing to install the plugin. I tried to install the .rhp file with the “macrhi” method, but I’m not getting the plugin installed window or any functionality. Can you please let me know, what I can do to install the plugin?

I am on a mac. Everything is working great, but when I restart rhino the menu has all my icon in the radial menu yet no command is issued for rhino to execute. If I put a another icon in the menu it works as expected for that command, but all the others prior commands don’t do anything.

The menu is remembering the icons I place, but not the commands within them.

I see within the Macplugins folder within the 8.0 folder a folder called RadialMenu.

RadialMenu - settings - icons

These folders are all empty besides the Icons folder which contain the PNG files of buttons I have set up. I would have thought there would be a txt file containing the config file for the commands, but I do not see one.

To install the plugin, I put the RhinoPluginRadialMenu-main folder in the: Username:Library: Application Support: McNeel: Rhinoceros: MacPlugin folder.

Let me know if i install this incorrectly. This might be the cause of the issue.
Not sure where the plugin is suppose to write the file that associates the icons to the commands.
Any help would be appreciated.

The plugin is beautiful. Thank you for you work on this. This will be a awesome addition to my workflow. This seems to be a more efficient workflow than the popup menu. The ability nest a second or third ring of associated commands to a button in the first ring is really efficient. I love this!

Ok… I see that is in the read me on the to-do list. Sorry. Ill wait for the update. Thanks.

Hi @jason and thank you very much for your encouraging message :slight_smile:

I updated the README for installation. In short, you don’t have to move the entire folder “RadialMenuPlugin”, just the RadialMenu.rhp file in bin/release… to your MacPlugins folder.

About the bug (menu “forgot” the rhino command to run), I’ve just fixed it. You can test again, it should work. I’ve just “forgot” to store the rhino command :woozy_face:

You can find the settings file (XML) in your Rhino 8.0 install path, then go to “Plug-ins” folder, then you’ll find a “RadialMenu (XXXXX…)” folder containing the file storing radial menu infos.
This is the “standard” plugins settings location provided by RhinoCommon tools.

There are still some improvements to be done, the next one will be the ability to remove (trash) icons from menu. For the moment, the only workaround is to drop a new icon on a button to “erase” the previous one. But there is no way to “trash” an icon.

Don’t hesitate to log issue on GitHub if you find some bugs or need some improvements.
I’ll be happy to help and improve this plugin.

Don’t forget I do it as a hobby, so sometimes it could be take time before I can make changes.

2 Likes

Ok, right now you can remove menu button by dragging them outside any “slot” (the ones with dashed red circle in edit mode) of the radial menu :slight_smile:

If you want to “cancel” the removing, just drop the icon button at the same place it was before.
The github repo is up to date.