I created ~250.000 curves which were joined to ~500 curves. Can someone tell me why I get an Invalid curve after the first join, and when I explode them and join again, it’s working? All curves are created the same way, so there shouldn’t be a problem with the script, because like 95% are correctly joined.
ps. not that it would in any way help you, but you can use the Null Item component to inspect invalid data. Maybe, sometimes it could give you a hint, but it’s mostly just useful for developers.
@tim.stark see the comments by Chuck on the youtrack item:
This happens because the inputs, which are already polycurves, do not meet at their ends. There are overhangs that include entire tiny polycurve segments. See the second 3dm file. It should be easy to detect this situation and ignore the little segments. […] These curves probably should not have been created like this in the first place. It would be good to fix the creation code if possible. Can you isolate it?