[GH] Orient Direction component --> orients AND scales the geometry instead

Hello,
Some basic stuff here but getting weird behavior from the Orient Direction component. While I expected the component to ONLY orient in a given direction my object, it actually scales it (down in my case). I suspect this is because of the component asks for a direction input and that I am using a Vector and therefore it catches the amplitude of my vector as well… But why would it behave in such way ? Am I getting it wrong ?

All I want is to orient an object of 100x100x500mm on a polyline made of segments of 500mm.

To get this …

But all I get is this … (the object is scaled down to the 1mm )

I am attaching a GH file with internalized Data… Please let me know if I am doing something wrong or if indeed the component shouldn’t do this…
orient_direction_bug.gh (14.4 KB)

Thanks !

Try this…

First you should unitize vectors as input data for target directions and no need for culling & grafting data…

Thanks ! Yes I fixed that afterward !