Is it possible to set a Rhino material as the default GH material?

As titled.
Is there any way or plugin or code that can do this?

And… this is a good idea, right?

Let me shamelessly push this thread to the top again.

good idea. +1

It is strange that although more advanced materials can be created in GH, the preview menu does not allow to create them.

the presets, I believe are stored here… all very basic: (settings folder)

human can read the material table, but be aware that the material needs to be assigned to an object in order to show up!

then you could at least get it into GH and use it as custom preview. (no textures/reflectivity setting)

Rhino 8 now has a Query Model Materials component which will return a list of materials available in the Rhino document. You can use any of these materials in the Custom Preview component and it should work straight away. However, I’m not aware of any way for you to set one of these materials as the default material for every new file. Sorry.

1 Like

Thanks!
I think the native component Custom Preview can do that as long as I set the materials in Rhino beforehand.

1 Like

I am using Rhino 7 and I can read the material table inside Custom Preview.
I installed many plugins, is this a magic I get from one of them? I am not sure.

You can press Allt+Ctrl+LMB on the component to find which plugin it is from. My guess is it’s from human.

I did what you told me. The arrow indicates here.
Is this only me can read the material table inside Custom Preview? I always think it is a native function.

Oh ok. I thought you were using the material table component from human.

Nevertheless, I wasn’t aware that the custom preview can do this haha. Thanks for the tip.

Looks like I never did a right click on the custom preview M input before. :person_facepalming:t2::sweat_smile:

Thanks for that!

1 Like

You can use a File Path parameter and go in the AppData\Roaming\McNeel\Rhinoceros\7.0\Localization\en-US\Render Content folder to reference a material file from there.

The Material input understands it.

Thank you!
Do you think it is possible to make one of the materials in Rhino a default GH preview material?
I want these two to become Rhino materials. Maybe the red one becomes car paint, and the green one becomes stainless steel.