I am working on a project where I need to move the edges of this curve in these particular directions (not that a 1D scale will not work here: only these hate to be moved)
In my script I did so by isolating the two pairs of points at the corners of the concerned edges, moving them and reinserting them in the point list to re-generate a new list.
Except upon re-insertion the points are completely out of order
Your path of least resistance for where you are at the moment would simply involve sorting these points along the original polyline (+ removing duplicates) 260303_SSK_EX1_GH.gh (18.1 KB)
*Alternatively, if you’re up for it, given the various ways to achieve this, I’d go for PointDeform relying on the endpoints of the target segments—this will help you avoid the duplicate ‘control point’: 260303_SSK_EX1_GH_Pt-Deform.gh (15.1 KB)