Get orientation/translate vector after Orient?

Any suggestions how to get the orientation/translate vector after an Orient?


get orientation vector.gh (6.5 KB)

Hello,

The X output is the transformation matrix associated to the Orient component. It stores more information than a simple vector.

You can use Display Matrix to get a peek at it, though I’m not sure it would be useful.

The Orient inputs ‘A’ (Source) and ‘B’ (Target) expect planes: “Initial plane” and “Final plane”.

You can see how GH derives planes from your geometry input by connecting Plane params to them. Then you can create a vector between them:

The Orient ‘X’ output is intended to be used with a Transform component like this (white group):


orient_2023Feb5a.gh (11.6 KB)

1 Like

Thanks. Another day, another thing learned.