I was wondering if someone would be able to point me in the right direction. I’m about one month into the GH world and I have a uni project which I am trying to put together. Attached is my current script, the two issues I am struggling with in particular are:
I want the attractor portion of the script (Step 2) to scale the fragments of the Voronoi component as it is, however, I was hoping to have the points/ Voronoi fragments to also move in the ‘Z’ direction away from the ceiling (in the opposite direction they currently are). Ideally, the smaller fragments to be at a greater distance from the surface plane (ie ceiling) than the larger whole pieces (see mark-up sketch).
In step 5, I am trying to color-code the ceiling panel fragments based on their ‘Z’ (vertical) location, but it’s not working for some reason. Sorry, I have no idea what I am doing wrong with this part.
I know there are probably so many other issues that I am unaware of, but this is where my skills currently are. Also, apologies for the slowness of the file (if you download and open), not sure what I’ve done wrong there either.
Thank you in advance, Chris.
DimarcoV23 (Option C).gh (89.9 KB)