I have this simple condition where i want the curves to radiate from the centre of the rectangles to an outer rectangle. As u can see i get a lot of intersection within the rectangles themselves which i want to get rid of. Can anyone help me..
Hi David,
I have worked with Tushar on that:
we were wondering how we could tell grasshopper to delete the lines going through other rectangles from the list.
Then we were wondering how to replace them, in the same list, with only the first segment of each line before they enter another rectangle.
Basicaly like a trim which would only keep the segment towards the center of the initial rectangle from which the line radiate.
i hope this makes sense....
cheers,
arthur
You may have to use a Curve Intersect, then count the number of hits you get. If it's zero then your line can stay, if it's one or higher you want to cull it. Would an approach like that work?