I'd like to subdivide a curve into segments with equal chord heights. I know I can divide into equal chord lengths with the Divide Distance tool, but I can't find a height option. I've written some really dirty code that does it here. (Don't judge me, it's inelegant and inefficient, but it does the job.)
What I'd really like to hear is that there's no point in going on to make something like a binary search because there's already a feature in Grasshopper that does it, but failing that, does anyone have any suggestions on how to do it in a more efficient way?