I am new to grasshopper and want to create a HexGrid in the area inside two curves. I have attempted this but don’t think I am approaching it the right way. I successfully created a grid of hexagons overlayed on top of a set of curves representing eyewear, however, I am not having luck using the InCurve operation and passing in data from the HexGrid. To be clear, I want to create a pattern overlayed on the eyewear - whatever shapes/curves made using the grid should not extend beyond the curve outlines of the eyewear.
In the attached gh and rhino files I tried to create some circles using the output of InCurve, hoping that they would reside inside the curve I selected, but as you can see they are not restricted to inside the curve and also seem to be in a different plane than I anticipated (see perspective view screenshot).
I have attached the rhino file which is a template for some eyewear, and also the grasshopper file in which I make the attempt.
Thank you - it seems like Dispatch is the correct tool to be using but unfortunately I’m not getting the output I expected. I inserted some Inspectors to see if anything pops out at you in terms of the data. The InCurves function seems to have mostly -1 values and an occasional 0 value. I don’t see any +1 values which could indicate that there are none found (?)
This is a perspective view - it seems that the circles are not drawn at all. I also zoomed in on the bottom left corner to ensure there wasn’t any “funny business” going on there.
Thanks, this helps a lot! I can still see areas where the circles are not clipped by the curves (see overlap) but I am investigating the Shatter tool for those - maybe that can be used to trim them and is a separate problem.