Skip to main content

Hello everyone,

 

I am currently exploring the generation of displacement vectors between two sets of coordinates in a point cloud, with the aim of creating graphical representations for further analysis.

 

My current situation involves the availability of two distinct pairs of coordinates for each point, and the aim is to create arrows indicating the direction of displacement, with a length proportional to the displacement of each point. However, I am facing a major difficulty concerning the scale of these arrows, which must be adjusted so that they are visible on screen or on a plane.

 

I've appended the script I've developed so far, but I notice that it doesn't take the notion of scale into account. More precisely, the problem lies in the inability of the "Scaler" transformer to allow individual definition of the X and Y coordinates of each point, which is necessary to determine the origin of each arrow.

 

Does anyone have any ideas?

 

I thank you in advance for your help and wish you a good day.

 

Sebastian

To stretch your line, you can use the LineExtender or maybe the Scaler.


Thank you @tomfriedl for your reply. I was able to improve the arrows using the LineExtender Transformer. Now I just have to manage to change the scale of the arrows while keeping the Y and X origin point of the arrow base. Any suggestions? With Transformer Scaler, I can only choose "0,0" or the center point as the origin. This has the effect of moving all my arrows and making them no longer correspond to their point of origin.


Reply