How to create a Double Sided material

In Rhino UI, it looks like below. How to create such material using RhinoCommon in Rhino 7? I’d like to assign it to mesh and surface.

I’ll see if I can quickly create a simple example script.

I created a short script that does the job. First the visual candy:

The script code can be found at:

The literate program from which the script was created: https://jesterking.github.io/rhipy/create_doublesided_rendermaterial.html . This explains the workings in more detail.

Thanks @nathanletwory . Your information is awosome!