Hello All,
I have to following challenge.

Divide a curve by length, not along the curve, but along a horisontal plane. I think I got this sorted.
Q: I would like to know if there is a better way? Please bare in mind the input curve could also be a tree. 
I need to project these points back to the original curve to get x,y,z coordinates where they intersect. Again, I think I got this.
Q: Is there a better way? 
I also need to get the high and low points along the curve. This is where I struggle. Curve Extremes only outputs overall high and low.
Q: How do I calculate the high and low points along the curve as shown with the green circles in the image? I will also need the get the x,y,z coordinates for these points.
Divide Curve along horisontal Curve.3dm (44.1 KB) Divide Curve along horisontal plane.gh (20.3 KB)