Hi, I am new to recursion scripting, and am trying to script route searching.
In normal situation it returns intersections.
/*
bool viewLineToGoalIntersected = false;
for(int i = 0; i < interceptor.Count; i++){
var e1 = Rhino.Geometry.Intersect.Intersection.CurveCurve(viewLineToGoal, interceptor[i], 0, 0);
if(e1.Count > 0){
viewLineToGoalIntersected = true;
}
}
*/
but in deep part of recursion, it doesn’t work.
If anyone know why, or better way to search route,
please advice me.
Thank you.
The attached .gh sometimes freeze your Rhino. (I do not know why)
please be careful.
Untitled.3dm (33.4 KB)