How can i get the sizes of the subdivided faces to scale according to mesh color. Lets say the white area makes surface face smaller and black makes surface face bigger. Appreciate your help.
looks like you just need to invert the values you are using now. Files always help.
Ive attached file. Thanks a lot (37.9 KB)
Mesh Pattern color Based.gh (37.9 KB)
I haven’t looked into your gh but I think this is similiar to what you need
Thanks Gijs for your reply. However, this wouldn’t work as in your case you are using image sampler to inform the size of openings. In my case, I’m trying to get the colored mesh to inform the size of the openings. I’ve attached the grasshopper file containing both the referenced colored mesh and surface.
you have to order the points of the mesh to make this work, also the UV amount of your surface patches should match the amount of vertices
Mesh Pattern color Based_RE.gh (39.7 KB)
Check this as well.
thats it! thanks Gijs and HS_Kim! Lastly, is there another way i can get the result as in attached below (where i get the frames resulting from boolean difference the openings from the solid surface). When i use boolean difference, it takes a while to perform operation. another other way to get this result as attached?
yes solid difference is a last resort if you want decent performance. I’d use surface split (SrfSplit) and sort it based on largest boundingbox