Colour gradient number remapping

One little detail of the CMesh cluster bugged me so I fixed it. I had flattened the output of MCol so it wasn’t going to work properly with branches.

Built a rather elaborate demo / test GH file, only to realize that the fix makes it possible to have one mesh in each branch but otherwise the mesh colors are unaffected, they were correct. :thinking:

The result of flattening in this case was to combine the mesh faces (colored correctly) into a single mesh instead of separate meshes. So weird that three meshes that don’t touch each other can be considered one mesh.

cmesh_cluster_2023Sep22a


cmesh_demo_2023Sep24a.gh (27.7 KB)

1 Like