Create 4-point polycurves from list of 6 points

@Paul_Aubin Paste the code provided below in a code block and connect the list of 6 sided polycurves.

sp1=pn1.Curves().StartPoint;
ep1=pn1.Curves().EndPoint;
ep2=List.ShiftIndices(ep1<1>,-1);
ln1=Line.ByStartPointEndPoint(sp1,ep2);
in1=ep1.DoesIntersect(ln1);
List.FilterByBoolMask(ep1,in1)["out"];
4 Likes