Ran into an issue with the rail curve for the Sweep1 component. This is probably known to most and possibly a redundant discussion, but I’m putting it out there just in case anyone else stumbles upon the same problem.
In the attached file, I’m trying to sweep a rectangle along a (white) polyline rail curve. (The control points of this curve vary not just in xy but also in z.)
The initial attempt fails (creates a ‘bad’ sweep). The issue seems to be that the Sweep1 command uses the ‘wrong’ number of segments, since when I rebuild the curve with x+1 segments, the new (green) polyline works as expected.
Not exactly a question I guess, but wouldn’t it make sense for Sweep1 to adopt this behaviour in the first place? Maybe I’m overlooking scenarios when the first behaviour is expected and desired?
200402_sweep1-question.gh (16.2 KB)