algorithmic modeling for Rhino
Hello there!
I have hit a little problem trying to do a region intersection on multiple curves with multiple other curves.
Basically I have a number of closed curves, I create a boundary rectangle, fill it with points, only leave the points inside that curve and then create voronoi cells. So far so good.
Now I want to use Region Intersection to only have cells that are inside the curves. It works perfectly for 1 curve, but somehow I cant get it to work properly on multiple curves. Somewhere in my tree there is an error. I can get it to check each curve with ALL the cells, but thats not what I want, because it obviously increases calculation time exponantially. Also where there is overlap in the boundary rectangles, the results are not right any more. So I want to intersect each curve only with the cells created from THAT curves boundary rectangle.
Can someone please take a look where I went wrong?
Thank you, Armin.
single:
multiple:
Tags:
Can you internalise the curves or upload the 3dm file please
Hello Danny.
Ah sorry, I copied this from a larger patch, where the curves were internalised. Seems that copying a node with internalised data to a new GH doc doesnt also copy the internalised data!? Why wouldnt it do that??
Ok, so here is an updated file. Didn't have the original curves, but same thing.
Ok, either I am an idiot or its not working for me right now. I set multiple curves, click internalise data and then save. When I reopen the file there is no data, just a Null for each curve that was there before.. :/
dont worry its a persistent bug (version dependent i think).
Right, lets try it like this with a seperate 3dm file.
Thank you very much, that's exactly what I was looking for!
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
© 2024 Created by Scott Davidson. Powered by