So I am trying to apply some simple transformations to the members in a reciprocal frame. The units of the RF are based on the mesh edges of some surface.
So I am trying to move a straight line connection B and C (say upwards in z for simplicity) by some amount proportional to the length L, say n*L.
I can locate lines BA and BC by checking for duplicated start points for all the lines in the structure. It seems necessary to flattened all the lines in the model into one list to do this, since I want to see if any points are duplicated anywhere, its not enough to shift the path or something and check locally between the members of adjacent meshes (or at least it seems complicated to do this simply). Only now it is difficult to match the length L to the correct line BC for all mesh discritizations.
Any ideas how I can organise this better?
simple_reciprocal_unit.gh (31.8 KB)