Hey there—long time listener first time caller.
I've been working on developing a parametric stair modeling tool with Grasshopper, and I've come up against a wall. The basic idea is that the user picks a line in Rhino, and it builds a stair using that line's location, elevation and direction. Here's the hitch: I can make it work fine for a single line, which results in a single stair. I have reworked it to allow the user to select multiple lines, resulting in multiple stairs. But I can't make a general script that works for a single line *or* multiple lines.
I think I've tracked the problem down to the Simplify component, which I use to correlate the riser and lines before joining and extruding them. When I Simplify a tree based on multiple base curves, the result is, predictably, a simple tree with three branches and just one node. (Is "node" the correct term?) But when a tree with just one branch in it goes through the same component, none of the empty nodes are removed. The image below shows both situations. Anyone know why this is happening?