algorithmic modeling for Rhino
Hi Matt,
never tried, but here's a possible approach:
1) convert all your colours to points (rgb becomes xyz).
2) then use the [Closest Point] component to find distances between any colour you have and the nearest colour in the palette.
Do note that mesh faces do not have a colour. It's mesh vertices that can have colours. A mesh face is can either have 3 or 4 colours, depending on whether it's a tri or a quad.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
I'm not sure how this works in theory but I'm testing now.
-So I would decompose the RGB into xyz create point from xyz
-Decompose the color I am testing against and create xyz point
I tried the closest point but I'm not sure how that would be utilized?
- I then tried distance which gave me data but how would I associate the data back to the mesh to dispatch?
Thanks,
David
It is. Thank you for noticing. Would you post the file please or images with Draw Icons unchecked.
-Matt
sure
here it is
[uto],
Thanks so much. I'm just now responding due to the internet being down. Exactly what I was trying to do. Thanks for the help.
-Matt
Hey Matt,
no problem,
are you already in Innsbruck?
[uto],
Yes. I have been here since this past monday. It's beautiful here.
-Matt
[uto],
I feel I'm almost there in accomplishing my objective, only though your help ofcourse, but I'm not able to cull all of the mesh cells.
I set up multiple color swatches to capture the meshes containing the RGB data and adjusted the percentage so as to not overlap the mesh faces.
Some of the swatches are successful but others are not in collecting the faces that fall within the percentage of similarity.
Thanks,
-Matt
Hi Matt
this is the better solution
divide the solar impact range in domains and use this ranges for extracting the corresponding meshfaces.
see attached file
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