hey M Baarou,
sorry I have extremely little time today.
you basically have three ranges:
1st range = 0 To length of Pointlist divided by number of divisions (P.count/D)
2nd range = end range 1 plus one To length of Pointlist - length of pointlist/(d-1)
end of 2nd range +1 To pointlist length-1
(the minus one is for index correction, as lists start to count at index 0)
and then you can just plug the ranges to list items element.
in any way I would try to obtain what you are looking for with tweencurves instead of constructing every single curve.
However, as you would like to do it with Grasshopper elements, I guess @Joseph_Oster is a better choice than me, he’s very experienced in knowing all the plugins and existing elements from plugins. I work so much with c#, so my help is pragmatic but leads you to no learning effect
I added the corrected CS element anyway, it might be of use for you. the element can be copied to other files without problem or any plugins missing.
divide pointsV2_CS.gh (11.5 KB)
have a good day