Curve.DuplicateSegments(self: Curve) returns empty array



I’m running into an issue where Curve.DuplicateSegments() returns an empty array
Is this expected? I expected single segment curve to return that single segment.
From the docs it’s not obvious an empty array can be returned:


(Dale Fugier) #2

Hi @Willem,

The documentation could certainly be better. But the function “explodes” polylines, polycurves and G1 discontinuous NURBS curves. And, yes, it returns an empty array (false) on anything else.

– Dale