UI questions

Hi Community,

I have been playing around the GUIs today.

Can someone confirm the different features of the UI types for Winforms, ETO as well as WPF?

I want to find out what type is the most suitable for V5 and V6. I realized I need to focus on two types of window.

  1. One that is constantly open, provides info and I can work on the 3D.
  2. One that visible when I need to modify a setting or a list (from database).

For type 1., I think I cannot use python script, because it has to be running all the time as well as I want to access the viewport as well. Or is there solution to run script constanlt? Do I need to use C#? Regarding development I am not sure what could be the best, if I start developing it in Python and l have to rewrite?

Is Wpf available for V5?

Hi @onrender,

WPF is a feature of Windows, not Rhino. There is lots of info available in the web that discuss WinForms, WPF, and their differences.

For Rhino 5, you can use either WinForms or WPF.

For Rhino 6 and 7, you can use WinForms, WPF, or Eto (which uses WPF).

Eto also runs cross-platform (e.g. Mac).

#1 is best done from a plug-in. #2 can be done from a script or from a plug-in.

Python and .NET plug-ins both use RhinoCommon. So, it’s generally not too hard to port code between the two if needed.

– Dale