Moonlight
(by ekimroyrp)
Toggle Grasshopper's GUI between Dark Mode and Light Mode.
Support Email

 

 

Give your eyes a break while you work all night!

Moonlight is a single component which can toggle Grasshopper's GUI between Light Mode (Grasshopper's default) and Dark Mode. Dark Mode is a custom GUI based on the dark mode color schemes of other software like Windows, Adobe, Office, Visual Studio ect. Dark Mode is meant to put less strain on your eyes. It also lights up less of your room so you can work away without screen brightness disturbing others as they sleep. Most important of all, it looks really cool! Dark Mode is reversible by switching the mode to false. Once set to Dark Mode you don't need Moonlight on canvas anymore, Dark Mode stays even after closing Rhino and Grasshopper until you turn it back to Light Mode. Saving a file in Dark Mode and opening it on another computer will not make the other computers Grasshopper go into Dark Mode, so don't worry about sending files to others. Moonlight is written in C# as a .gha file. Moonlight will install at the bottom of Grasshopper's Params > Util tab. 

If you want full customization of Grasshopper's GUI, check out the plug-in Palette: food4rhino.com/app/palette

Instagrams: @ekim.royrp & @designmorphine

 

Moonlight(Moonlight): Toggle Grasshopper's GUI between Dark Mode and Light Mode.

Input M: Mode - Input a button component to activate, click the button to refresh when new Rhino geometry is referenced

 

WARNING: If you already have a customized GUI it will not come back after Moonlight. Moonlight switches between Dark Mode and Grasshopper's Default GUI. If you wish to save your custom GUI settings before using Moonlight, in Grasshopper go to File > Special Folders > Settings Folder - and make a copy of the file "grasshopper_gui.xml". When you want your customized GUI back just replace the "grasshopper_gui.xml" with your copy. When you replace it, it must be named "grasshopper_gui.xml". The "grasshopper_gui.xml" is always updated with GUI changes so you must make the copy before using Moonlight or else Moonlight will overwrite it. 

How to intall Grasshopper plug-ins: www.youtube.com/watch?v=TB5wkh79Pv4

*If you have both Rhino 5 and Rhino 6 then you only need to install Moonlight in Grasshopper for Rhino 5, Rhino 6 Grasshopper will pick it up automatically.

If you are interested in developing your own GUI component, all the needed methods can be found in the GH_Skin class: https://developer.rhino3d.com/wip/api/grasshopper/html/T_Grasshopper_GUI_Canvas_GH_Skin.htm

-Michael Pryor


 

Moonlight Changelog

August 27, 2018 - Moonlight V1.0

  • First release
License:
Reviews