I want to tell grasshopper if there is an intersection between line 1 and line 2, do this.
But, for sure there is one intersection in the middle of line 2 because I made line 2 from line 1( dividing line 1 into several parts, then made line 2 perpendicular to line 1). However, I want to know if there is an intersection other than the middle ones.
how can I do it?
You can See the intersections that I want in Blue Crosses. Test_inter section.gh (19.1 KB)
there is one definition on the right side of the file which I deactivated the. They do not seem to be a solution, but take a look at it, it may help you
I found this from the deactivated commands in the right side of the GH file. but it is not correct, because I have to find all the intersecion, and cull the ones which are in the middle. In this file I tried to deceive grasshopper
This is just an idea. You have to make it so it solves it according to whatever logic you have. This is just a simple example. When you start working with trees and branches then it becomes a bit more complicated.
After you finish with the logic, just create a cluster, put a name to it and whatever logo you want and create an user object so you can always use it.
sorry for bothering you again, I am stuck in this issue.
You showed me how to find intersections. Now I have another problem. Before the problem with intersection, I asked grasshopper for checking if the end of the lines in X zone, if it is inside X zone, offset the Intervals and make a surface as you can see in the picture.
Now I want to tell grasshoppe that before considering the end of the line if it is inside X zone or not, check if there is intersection between Line A( Blue) and lines B(orange) , if yes, offset the intervals and make surface how we made surface in X zones( by intervals).