algorithmic modeling for Rhino
The problem is that at the point that you cull your points, you move from a list of 400 to a list of 241 - whereas you still have 400 colors. Since you wind up with a bunch of empty branches and you graft your colors, your display works out fine - but the "list item" and "closest point" approach you're using needs a little tweaking, since the index it finds is based on the list of 241, and the list you're grabbing from has 400 items.
I think the transformation that will achieve the desired goal with minimal change to your existing definition is to apply the same cull pattern to your list of colors - so that you wind up with 241 colors before using list item. See the attached.
Awesome! Thanks so much Andrew! I feel dumb for not thinking of that before.
Do you have any logic advice for accomplishing this more elegantly? I'm trying to have the 3D thermal data accessible from a point cloud, so this first attempt just uses multiple image samples projected onto my mesh. It looks good, but it's really clunky, and not truly one list.
I'll take another stab at it from scratch, but any wisdom would be appreciated! Thanks again for the previous explanation!
front+back file attached
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by