Explode Curve component removes segments?

Hi all,
I’ve got a few curves here where the explode component removes segments of the curve. Does anybody have any idea why this is the case and how to solve this?

191017 Gh Explode bug.gh (16.0 KB)

The problem happens in all versions I’ve tested: Rhino5, Rhino6, Rhino WIP.
Is this a bug? @DavidRutten

fit curve can fix it.

1 Like

Looking into it now, definitely seems like a bug, only real question is where.

edit: code looks horrible, must have written this a looong time ago. Odds are the issue is in Grasshopper, not Rhino.

Logged under RH-55262

1 Like

RH-55262 is fixed in the latest WIP