Grasshopper

algorithmic modeling for Rhino

All, I am doing a simple exercise: decompose a mesh and assign a color to each mesh face by value. The result is an unexpected gradient! What am I doing wrong? Thanks!

Views: 5487

Replies to This Discussion

meshes are coloured by vertex. as you can see from the outcome this causes a gradient effect because you can not have more than one colour for a single vertex. to get the effect you want you would need to decompise your mesh and rebuild each face as a separate mesh to assign a single colour to each vertex of the face.

Danny is correct. Here is a script that will help, by breaking your mesh into separate meshes, one for each original face.

Attachments:

Ha and just noticed there's a native component, "mesh explode" that does exactly the same thing. 

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service