I have a set of polylines (pattern for sewing) and a subset of its CVs, which are used for numbering to sew the parts together correctly.
The CVs are sent to the “location”-inputs of TextTags3D. To give corresponding points the same number i used PointGroups, and listed the CVs in a tree, using the PointGroups as branches.
I generated the cut polylines by offsetting the sewing lines outwards.
Now i want to align the TextTags3D (the numbers from step 1) to the cut polylines. To make the numbers reside in the seam allowance area between cut and sew line and align them correctly, i created planes by evaluating the cut lines at the respective parameters.
These planes are also ordered in a tree, using the polylines as branches.
To align the TextTags3D to their respective closest plane i need to reorder the list of the planes for the “Location”-input. For the “Text”-input of the TextTags3D i have to use the PointGrouped CVs and keep them in their original tree-order. i just cant figure, how to reorder the planes without distroying the numbering texts.
number_align.gh (103.4 KB)