Skin class a better example please

Hi @dale,

Could we get a better example(s) here: https://developer.rhino3d.com/guides/rhinocommon/creating-a-skin/

I wish I could see more properties being changed, methods overridden:

  • Screenshot of the resulting window showing custom ApplicationName and MainIcon. Should the icon be embedded (encoded)? Can we use a filepath? What size should it be? What extension?
  • NoSplash overridden
  • colors changed. I can’t see a method for that in the api ( https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Runtime_Skin.htm)
  • a screenshot of the registry is the name of the key Scheme:myskin or is it a sub-key? It’s unclear.
  • Can we make the skin load without editing the shortcut? There should be an option somewhere in Rhino Options.
  • Python example could be very nice.

Thanks in advance.

Hi @ivelin.peychev,

There is a decent sample in our developer samples repository on GitHub.

This is a screen show of the sample I mentioned above.

Embedded

https://docs.microsoft.com/en-us/windows/desktop/uxguide/vis-icons

Sorry, I don’t know what this means.

You can change Rhino’s application colors using RhinoCommon.

Not that I know of.

A skin is a DLL - you’ll need C++ or C# to build one.

Hope this helps.

– Dale

1 Like

You can compile (build) dlls and exes with ironpython.
What could be the difference?

This means I don’t want to see the splash. How to disable it?

Hi @ivelin.peychev,

I don’t know anything about building assemblies with IronPython - sorry.

If you don’t want a splash screen, just override Rhino.Runtime.Skin.ShowSplash and do nothing.

– Dale

1 Like