How to create a metal perforated radiance material with LBT

Hi @LaFleur,

To recreate that example, you can use the Mixfunc class. In the example below I use the from_string method. We can add mesh_material using the add_dependent method. As you can see in the right panel, this method will add the modifier before the mixfunc modifier. If you want to replace void* with a modifier, you can simply add another modifier to the input dependent - as you can see in Python it adds all modifiers in the list called dependent.

*I mean this “void”: “6 mesh_material void y_hole …”

Download the example here: mixfunc.gh (12.4 KB)

2 Likes