Hi, so I’m pretty new to Grasshopper, I was making a curved stairwell so I first made outlines for every step. I merged the four edges together (left edge, right edge, connecting widths) using JoinCrv but I’m left with a single line at the end because it doesn’t have any other geometry to connect to.
This is the far end of my Grasshopper set-up, and one branch says Line-like curve at the end of the panel connected to the Join component.
Yet another method, closer to your original approach and question. This doesn’t use SrfSplit so doesn’t require Sort Along Curve, though it looks more complex, eh? One simplification is to use Divide Curve instead of DivLength.
This was a classic example of jumping to a conclusion (“a shortcut”) that painted myself into a corner, requiring “extraordinary measures” (sorting) to get out of it. Software is like that, hence the many revisions. Sorry about the info overload.
This is my final offer, I promise! Shortest List instead of Prune Tree.