Surface Thickness Settings


Is there any way in Rhino common to access the new Thickness settings found on some objects such as surfaces? As Shown below…



Hi @jeremy.graham86,

These data is provided by the RDK (Render Development Kit).

@Andy, can this be access via RhinoCommon?

– Dale

Thanks @dale!

@andy any help would be appreciated. Can I access this data via a standard C# plugin?


following, would the RDK help me solve the issue of accessing a mesh for edge count which is stuck internally right now @dale

Hi @jeremy.graham86,

It turns out you can access RDK thinkness values using RhinoObject.GetCustomRenderMeshParameter and RhinoObject.SetCustomRenderMeshParameter methods.

For the providerId parameter, specify the Rhino.Render.CustomRenderMeshProvider.ThickeningId id.

The applicable parameter names and data types for thickening are:

"on", bool
"distance", double
"solid", bool
"both-sides", bool
"offset-only", bool

For example, to determine of thickening is enabled on an object, you can do this:

var providerId = Rhino.Render.CustomRenderMeshProvider.ThickeningId;
var value = obj.GetCustomRenderMeshParameter(providerId, "On");
var enabled = System.Convert.ToBoolean(value);

Does this help?

– Dale

Sorry, no.

– Dale

That is perfect! Thank you Dale!

Thought I looked everywhere for those methods but obviously not! Thanks again :slight_smile:

I’m sorry for bumping this since it’s already answered

Though I’m wondering if there is a way to find the custom render mesh parameter names for all these settings (like displacement, edge softening, custom mesh modifier …)

Alexandre Beaudet

@andy, is there a place where these key/values are documented?