Points in different orders? (Polyline vs. Interpolate Curve)

Why are these points being selected in different orders?

Just going through some basic tutorials and ran into this… haven’t found the cause, though.

Points were duplicated, so they’re exactly the same.

thanks

Did you select points one by one or all at the same time?

All at the same time, though I’ve just reassigned the points to each, and they’re in the same (“incorrect”) order:

However, the same thing happened with a new point set. Seems like a bug:

hmm, When you drag and select points you are not defining order of selected objects and leave space for interpretation and unexpected results.

But same list of points should produce same line

To be sure of the order of points: Reorder them.

  • sort along curve (used very often) Create a line, curve, circle, union region of bounded box ,whatever comes close, and sort along.
  • sort point in x,y,z order. SortPt
  • and if nothing helps, reorder them manually.
    My method: graft , BANG (now you have a list.) connect one by one to merge,
    then to Point. Internalise, and delete the old one.

Regards, Eef

Thanks Eef - I’d rather avoid that, as I’ll be using the same point set for multiple operation - also will be generating some sets out of Grasshopper.

then please upload your set, so we can have a look, and find maybe a cause and solution. regards Eef

Thanks Eef -here you go.

tutorial 2.gh (15.3 KB)

tutorial 2.3dm (189.2 KB)

No problems on my end.

Thanks @Volker_Rakow - the bottom one (curve) is still in the wrong order.

The two point containers do not contain the same lists of points.